on-codemerge
Version:
A WYSIWYG editor for on-codemerge is a user-friendly interface that allows users to edit and view their code in real time, exactly as it will appear in the final product
3 lines (2 loc) • 17.8 kB
JavaScript
/*! on-codemerge v1.3.1 @author Pavel Kuzmin @license MIT @homepage https://s00d.github.io/on-codemerge/ @repository git+https://github.com/s00d/on-codemerge.git Copyright (c) 2026 Pavel Kuzmin - Built on 2026-07-02T13:39:17.947Z */
;Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="Ene",a="Feb",o="Mar",t="Abr",r="May",i="Jun",n="Jul",l="Ago",s="Sep",c="Oct",d="Nov",p="Dic",m="Tipografía",u="Párrafo",g="Cita",C="Preformateado",b="Actualizado",E="Nuevo",T="Plantillas",h="Nombre",v="Contenido",S="Negrita",A="Subrayado",y="Tachado",I="Cursiva",f="Responsivo",D="Serie",z="Total",w="Etiqueta",L="Valor",P="Color",F="Formato",x="X",M="Y",V="Tamaño",H="URL",R="Ancla",B="Título",U="Copiar",N="Guardar",k="Ver",q="Duplicar",j="Cancelar",O="Editar",G="Eliminar",Y="Eliminar",W="Idioma",J="Exportar",X="¿Estás seguro?",_="explorar",K="Subiendo",Z="Palabras",Q="Caracteres",$="Oraciones",ee="Párrafos",ae="Deshacer",oe="Rehacer",te="Restaurar",re="Notas al Pie",ie="Insertar",ne="min",le="Leyenda",se="Aplicar",ce="Tema",de="Dimensiones",pe="Ancho",me="Bordes",ue="Colores",ge="Efectos",Ce="Punto de quiebre",be="Alineación",Ee="Relleno",Te="Altura",he="Dividir",ve="Horizontalmente",Se="Verticalmente",Ae="Combinar",ye="Mover",Ie="Arriba",fe="Abajo",De="Configuración",ze="Cortar",we="Pegar",Le="Ordenar",Pe="Propiedades",Fe="Celdas",xe="Móvil",Me="Tablet",Ve="Escritorio",He="Grande",Re="Ultra",Be="Fluido",Ue="Temporizador",Ne="General",ke="días",qe="horas",je="seg",Oe="Hasta",Ge="Crear",Ye="Actualizar",We="Acciones",Je="Ascendente",Xe="Asistentes",_e="Calendario",Ke="Categoría",Ze="Limpiar",Qe="Colaboración",$e="Datos",ea="Descendente",aa="Descripción",oa="Evento",ta="Alto",ra="Importar",ia="Ubicación",na="Bajo",la="Medio",sa="Orientación",ca="Prioridad",da="Selección",pa="Etiquetas",ma="Hora",ua="Consejos",ga={"New Block":"Nuevo Bloque","Split Horizontally":"Dividir Horizontalmente","Split Vertically":"Dividir Verticalmente","Move Up":"Mover Arriba","Move Down":"Mover Abajo","Block 1":"Bloque 1","Block 2":"Bloque 2","Series 1":"Serie 1","No valid data points to display":"No hay puntos de datos válidos para mostrar",Jan:e,Feb:a,Mar:o,Apr:t,May:r,Jun:i,Jul:n,Aug:l,Sep:s,Oct:c,Nov:d,Dec:p,"Keyboard Shortcuts":"Atajos de Teclado","Insert Table":"Insertar Tabla","Add Row Above":"Agregar Fila Arriba","Add Row Below":"Agregar Fila Abajo","Add Column Left":"Agregar Columna a la Izquierda","Add Column Right":"Agregar Columna a la Derecha","Delete Row":"Eliminar Fila","Delete Column":"Eliminar Columna","Delete Table":"Eliminar Tabla","Merge Cells":"Combinar Celdas","Split Cell":"Dividir Celda","Set Cell Border":"Establecer Borde de Celda","Include header row":"Incluir fila de encabezado",Typography:m,"Typography Styles":"Estilos de Tipografía","Clear Formatting":"Borrar Formato","Heading 1":"Encabezado 1","Heading 2":"Encabezado 2","Heading 3":"Encabezado 3","Heading 4":"Encabezado 4",Paragraph:u,Blockquote:g,Preformatted:C,"Horizontal Line":"Línea Horizontal",Updated:b,"Insert Video":"Insertar Video","Are you sure you want to delete this template?":"¿Estás seguro de que deseas eliminar esta plantilla?",New:E,Templates:T,Name:h,Content:v,"Insert YouTube Video":"Insertar Video de YouTube","YouTube Video URL":"URL del Video de YouTube",Bold:S,Underline:A,Strikethrough:y,Italic:I,"Responsive View":"Vista Responsiva","Mobile View":"Vista Móvil","Tablet View":"Vista de Tableta","Desktop View":"Vista de Escritorio","Large Desktop View":"Vista de Escritorio Grande","Ultra Wide View":"Vista Ultra Ancha",Responsive:f,"Select a viewport size to preview your content at different screen widths.<br>Use the resize handles in responsive mode to adjust the width manually.":"Seleccione un tamaño de ventana gráfica para previsualizar su contenido en diferentes anchos de pantalla.<br>Use los controles de redimensionamiento en modo responsivo para ajustar el ancho manualmente.",Series:D,Total:z,"Data Points":"Puntos de Datos","Add Point":"Agregar Punto",Label:w,Value:L,Color:P,Format:F,"Delete Point":"Eliminar Punto","Series Data":"Datos de la Serie","Add Series":"Agregar Serie","Series name":"Nombre de la serie","Insert Code Block":"Insertar Bloque de Código","Copy to clipboard":"Copiar al portapapeles","+ Add Data Point":"+ Agregar Punto de Datos",X:x,Y:M,"Bullet List":"Lista con Viñetas","Numbered List":"Lista Numerada",Size:V,URL:H,Anchor:R,Title:B,'Open in new tab (target="_blank")':'Abrir en una nueva pestaña (target="_blank")','Add rel="nofollow"':'Agregar rel="nofollow"',"Insert Chart":"Insertar Gráfico","Enter your code here...":"Ingrese su código aquí...","Copied!":"¡Copiado!",Copy:U,Save:N,View:k,Duplicate:q,Cancel:j,Edit:O,Delete:G,Remove:Y,Language:W,Export:J,Error:"Error","Insert Link":"Insertar Enlace","Align Left":"Alinear a la Izquierda","Align Center":"Centrar","Align Right":"Alinear a la Derecha","Insert Image":"Insertar Imagen","Font Size":"Tamaño de Fuente","Font Family":"Familia de Fuentes","Font Settings":"Configuración de Fuente","Upload File":"Subir Archivo","Plain Text":"Texto Plano","Markdown File":"Archivo Markdown","HTML File":"Archivo HTML","Use comments to provide feedback or suggestions.":"Use comentarios para proporcionar comentarios o sugerencias.","Delete Comment":"Eliminar Comentario","Please select some text to comment on":"Por favor, seleccione un texto para comentar","Failed to insert comment. Please try selecting a simpler text range.":"Error al insertar el comentario. Intente seleccionar un rango de texto más simple.","Insert Comment":"Insertar Comentario","Recent Colors":"Colores Recientes",Confirm:X,"Background Color":"Color de Fondo","Text Color":"Color de Texto","Drag and drop your file here, or":"Arrastra y suelta tu archivo aquí, o",browse:_,"Maximum file size: ":"Tamaño máximo de archivo: ",Uploading:K,"File size exceeds 10MB limit":"El tamaño del archivo supera el límite de {{max}}","Upload failed. Please try again.":"Error al subir. Inténtelo de nuevo.",Words:Z,Characters:Q,"Characters (without spaces)":"Caracteres (sin espacios)",Sentences:$,Paragraphs:ee,"HTML Source":"Código Fuente HTML","View HTML":"Ver HTML",Undo:ae,Redo:oe,Restore:te,"Initial version":"Versión inicial","Changes from previous version:":"Cambios desde la versión anterior:","Edit History":"Historial de Edición","View History":"Ver Historial","Reading time":"Tiempo de lectura","Insert Footnote":"Insertar Nota al Pie",Footnotes:re,"Add Footnote":"Agregar Nota al Pie","Add explanatory or reference text that will appear at the bottom of the document":"Agregue texto explicativo o de referencia que aparecerá al final del documento",Insert:ie,min:ne,"Export PNG":"Exportar PNG","Select template...":"Seleccionar plantilla...","Bar: Sales":"Barra: Ventas","Pie: Expenses":"Tarta: Gastos","Doughnut: Browsers":"Dona: Navegadores","Line: Visitors":"Línea: Visitantes","Chart Title":"Título del gráfico","X Axis Label":"Etiqueta del eje X","Y Axis Label":"Etiqueta del eje Y",Legend:le,"Show Legend":"Mostrar leyenda","Hide Legend":"Ocultar leyenda","Table Properties":"Propiedades de la tabla",Apply:se,"Style & Theme":"Estilo y tema","Table Style":"Estilo de tabla",Theme:ce,Dimensions:de,Width:pe,"Cell Padding":"Relleno de celda",Borders:me,"Border Style":"Estilo de borde","Border Width":"Ancho de borde","Border Color":"Color de borde",Colors:ue,"Header Background":"Fondo del encabezado","Header Text Color":"Color del texto del encabezado",Effects:ge,"Zebra Stripe":"Rayas de cebra","Hover Effect":"Efecto al pasar","Responsive Settings":"Configuración responsive",Breakpoint:Ce,"Enable Horizontal Scroll":"Habilitar desplazamiento horizontal","Enable Touch Support":"Habilitar soporte táctil","Enable Cards on Mobile":"Habilitar tarjetas en móvil","Cell Formatting":"Formato de celda","Text Formatting":"Formato de texto","Font Weight":"Peso de fuente","Font Style":"Estilo de fuente","Text Decoration":"Decoración de texto",Alignment:be,"Horizontal Alignment":"Alineación horizontal","Vertical Alignment":"Alineación vertical",Padding:Ee,Height:Te,"Insert Lazy Table":"Insertar tabla lazy","Edit Lazy Table":"Editar tabla lazy","Fill Table":"Llenar tabla","Fill Table with Data":"Llenar tabla con datos","Update Table":"Actualizar tabla","Text Block":"Bloque de texto","Container Block":"Bloque contenedor","Split Container":"Dividir contenedor",Split:he,Horizontally:ve,Vertically:Se,Merge:Ae,Move:ye,Up:Ie,Down:fe,Settings:De,"Make Editable":"Hacer editable","Make Read-only":"Hacer solo lectura","Insert Block":"Insertar bloque","Clear Cell":"Limpiar celda","Delete Cell":"Eliminar celda","Select All":"Seleccionar todo",Cut:ze,Paste:we,"Auto Size":"Tamaño automático",Sort:Le,"Sort Ascending":"Ordenar ascendente","Sort Descending":"Ordenar descendente","Export Table":"Exportar tabla","Import Table":"Importar tabla",Properties:Pe,Cells:Fe,Mobile:xe,Tablet:Me,Desktop:Ve,Large:He,Ultra:Re,Fluid:Be,"Resize editor width":"Redimensionar ancho del editor",Timer:Ue,General:Ne,days:ke,hours:qe,sec:je,"Time expired":"Tiempo expirado",Until:Oe,"Edit Timer":"Editar temporizador","Copy Timer":"Copiar temporizador","Export Timer":"Exportar temporizador","Import Timer":"Importar temporizador","Delete Timer":"Eliminar temporizador","Timer copied successfully":"Temporizador copiado con éxito","Failed to copy timer":"No se pudo copiar el temporizador","Export failed":"Error al exportar","Timer imported successfully":"Temporizador importado con éxito","Import failed":"Error al importar","Title is required":"El título es obligatorio","Target date is required":"La fecha objetivo es obligatoria","Target time is required":"La hora objetivo es obligatoria","Invalid date/time format":"Formato de fecha/hora inválido","Enter timer title":"Ingrese el título del temporizador","Enter timer description":"Ingrese la descripción del temporizador","Enter category":"Ingrese la categoría","Enter tags separated by commas":"Ingrese las etiquetas separadas por comas","New Timer":"Nuevo temporizador",Create:Ge,Update:Ye,"No timers found":"No se encontraron temporizadores","Create your first timer to get started":"Cree su primer temporizador para comenzar","Are you sure you want to delete this timer?":"¿Estás seguro de que quieres eliminar este temporizador?",Actions:We,"Add Column":"Agregar columna","Add Event":"Agregar evento","Add Row":"Agregar fila","All day event":"Evento de todo el día","Are you sure you want to delete this calendar?":"¿Estás seguro de que quieres eliminar este calendario?",Ascending:Je,Attendees:Xe,"Auto Fit":"Ajuste automático","Bar/Area Mode":"Modo barras/áreas","Block Style":"Estilo de bloque","Block Style Editor":"Editor de estilo de bloque","CSS Classes":"Clases CSS","CSS Selector (for HTML)":"Selector CSS (para HTML)","CSV Delimiter":"Delimitador CSV",Calendar:_e,"Calendar Title":"Título del calendario","Calendar copied successfully":"Calendario copiado con éxito","Calendar imported successfully":"Calendario importado con éxito",Category:Ke,"Cell Operations":"Operaciones de celda","Chart Type":"Tipo de gráfico",Clear:Ze,"Clear Table":"Limpiar tabla","Clipboard Operations":"Operaciones del portapapeles",Collaboration:Qe,"Copy Calendar":"Copiar calendario","Copy Cell":"Copiar celda","Copy Event":"Copiar evento","Copy Table":"Copiar tabla","Create your first calendar to get started":"Crea tu primer calendario para comenzar","Current locale - Click to change":"Configuración regional actual - Haz clic para cambiar","Current viewport - Click to change":"Viewport actual - Haz clic para cambiar","Cut Cell":"Cortar celda",Data:$e,"Data URL":"URL de datos",Date:"Fecha","Default Colors":"Colores predeterminados","Delete Calendar":"Eliminar calendario","Delete Elements":"Eliminar elementos","Delete Event":"Eliminar evento",Descending:ea,Description:aa,"Display Settings":"Configuración de visualización","Duplicated Block":"Bloque duplicado","Duration (minutes)":"Duración (minutos)","Edit Calendar":"Editar calendario","Edit Event":"Editar evento","Enter X axis label...":"Ingresa etiqueta del eje X...","Enter Y axis label...":"Ingresa etiqueta del eje Y...","Enter attendees (comma separated)":"Ingresa asistentes (separados por comas)","Enter calendar description":"Ingresa descripción del calendario","Enter calendar title":"Ingresa título del calendario","Enter chart title...":"Ingresa título del gráfico...","Enter event description":"Ingresa descripción del evento","Enter event location":"Ingresa ubicación del evento","Enter event title":"Ingresa título del evento","Enter tags (comma separated)":"Ingresa etiquetas (separadas por comas)",Event:oa,"Event copied successfully":"Evento copiado con éxito","Export Calendar":"Exportar calendario","Export as PNG":"Exportar como PNG","Failed to copy calendar":"Error al copiar calendario","Failed to copy event":"Error al copiar evento","First row contains headers":"La primera fila contiene encabezados","Fluid width":"Ancho fluido","Format Cell":"Formatear celda",High:ta,Import:ra,"Import Calendar":"Importar calendario","Import Type":"Tipo de importación","Import/Export":"Importar/Exportar","Inline Styles":"Estilos en línea","Insert Cell":"Insertar celda","Insert Cell Above":"Insertar celda arriba","Insert Cell Below":"Insertar celda abajo","Insert Cell Left":"Insertar celda a la izquierda","Insert Cell Right":"Insertar celda a la derecha","Insert Math":"Insertar matemáticas","Language Settings":"Configuración de idioma","Large Desktop":"Escritorio grande","Large desktop view":"Vista de escritorio grande","Line Height":"Altura de línea",Location:ia,Low:na,Medium:la,"Merge Horizontally":"Combinar horizontalmente","Merge Vertically":"Combinar verticalmente","New Calendar":"Nuevo calendario","New Template":"Nueva plantilla","No calendars found":"No se encontraron calendarios","No reminder":"Sin recordatorio","Note: Width is disabled when Horizontal Scroll is enabled":"Nota: El ancho se deshabilita cuando el desplazamiento horizontal está habilitado",Orientation:sa,"Paste Cell":"Pegar celda","Please enter a valid URL":"Por favor ingresa una URL válida","Print / PDF File":"Imprimir / Archivo PDF",Priority:ca,"Reminder (minutes before)":"Recordatorio (minutos antes)","Resize Columns":"Redimensionar columnas","Search shortcuts...":"Buscar atajos...","Select Column":"Seleccionar columna","Select Elements":"Seleccionar elementos","Select Row":"Seleccionar fila","Select Viewport":"Seleccionar viewport","Select category":"Seleccionar categoría",Selection:da,"Show Grid":"Mostrar cuadrícula","Smartphone view":"Vista de smartphone","Sort Table":"Ordenar tabla","Spell Check":"Verificación ortográfica","Standard desktop":"Escritorio estándar","Table ID (optional)":"ID de tabla (opcional)","Table Management":"Gestión de tabla","Table Operations":"Operaciones de tabla","Table Tools":"Herramientas de tabla","Tablet view":"Vista de tablet",Tags:pa,"Tags (comma separated)":"Etiquetas (separadas por comas)","Target Date":"Fecha objetivo","Target Time":"Hora objetivo",Time:ma,Tips:ua,"Ultra Wide":"Ultra ancho","Ultra wide screen":"Pantalla ultra ancha","• Responsive mode allows manual resizing":"• El modo responsive permite redimensionamiento manual","• Tables adapt automatically to viewport size":"• Las tablas se adaptan automáticamente al tamaño del viewport","• Use hotkeys for quick switching":"• Usa atajos de teclado para cambio rápido","• Viewport state is saved automatically":"• El estado del viewport se guarda automáticamente"};exports.Actions=We;exports.Alignment=be;exports.Anchor=R;exports.Apply=se;exports.Apr=t;exports.Ascending=Je;exports.Attendees=Xe;exports.Aug=l;exports.Blockquote=g;exports.Bold=S;exports.Borders=me;exports.Breakpoint=Ce;exports.Calendar=_e;exports.Cancel=j;exports.Category=Ke;exports.Cells=Fe;exports.Characters=Q;exports.Clear=Ze;exports.Collaboration=Qe;exports.Color=P;exports.Colors=ue;exports.Confirm=X;exports.Content=v;exports.Copy=U;exports.Create=Ge;exports.Cut=ze;exports.Data=$e;exports.Dec=p;exports.Delete=G;exports.Descending=ea;exports.Description=aa;exports.Desktop=Ve;exports.Dimensions=de;exports.Down=fe;exports.Duplicate=q;exports.Edit=O;exports.Effects=ge;exports.Event=oa;exports.Export=J;exports.Feb=a;exports.Fluid=Be;exports.Footnotes=re;exports.Format=F;exports.General=Ne;exports.Height=Te;exports.High=ta;exports.Horizontally=ve;exports.Import=ra;exports.Insert=ie;exports.Italic=I;exports.Jan=e;exports.Jul=n;exports.Jun=i;exports.Label=w;exports.Language=W;exports.Large=He;exports.Legend=le;exports.Location=ia;exports.Low=na;exports.Mar=o;exports.May=r;exports.Medium=la;exports.Merge=Ae;exports.Mobile=xe;exports.Move=ye;exports.Name=h;exports.New=E;exports.Nov=d;exports.Oct=c;exports.Orientation=sa;exports.Padding=Ee;exports.Paragraph=u;exports.Paragraphs=ee;exports.Paste=we;exports.Preformatted=C;exports.Priority=ca;exports.Properties=Pe;exports.Redo=oe;exports.Remove=Y;exports.Responsive=f;exports.Restore=te;exports.Save=N;exports.Selection=da;exports.Sentences=$;exports.Sep=s;exports.Series=D;exports.Settings=De;exports.Size=V;exports.Sort=Le;exports.Split=he;exports.Strikethrough=y;exports.Tablet=Me;exports.Tags=pa;exports.Templates=T;exports.Theme=ce;exports.Time=ma;exports.Timer=Ue;exports.Tips=ua;exports.Title=B;exports.Total=z;exports.Typography=m;exports.URL=H;exports.Ultra=Re;exports.Underline=A;exports.Undo=ae;exports.Until=Oe;exports.Up=Ie;exports.Update=Ye;exports.Updated=b;exports.Uploading=K;exports.Value=L;exports.Vertically=Se;exports.View=k;exports.Width=pe;exports.Words=Z;exports.X=x;exports.Y=M;exports.browse=_;exports.days=ke;exports.default=ga;exports.hours=qe;exports.min=ne;exports.sec=je;