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
526 lines (525 loc) • 19.2 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 */
const e = "Gen", i = "Feb", o = "Mar", t = "Apr", a = "Mag", n = "Giu", l = "Lug", r = "Ago", s = "Set", c = "Ott", d = "Nov", m = "Dic", p = "Tipografia", u = "Paragrafo", g = "Citazione", C = "Preformattato", z = "Aggiornato", S = "Nuovo", b = "Modelli", v = "Nome", T = "Contenuto", I = "Grassetto", h = "Sottolineato", f = "Barrato", A = "Corsivo", E = "Reattivo", y = "Serie", D = "Totale", w = "Etichetta", L = "Valore", P = "Colore", F = "Formato", M = "X", R = "Y", V = "Dimensione", k = "URL", B = "Ancora", U = "Titolo", N = "Copia", x = "Salva", H = "Visualizza", O = "Duplica", G = "Annulla", q = "Modifica", Y = "Elimina", W = "Rimuovi", X = "Lingua", J = "Esporta", _ = "Sei sicuro?", j = "sfoglia", K = "Caricamento", Z = "Parole", Q = "Caratteri", $ = "Frasi", ee = "Paragrafi", ie = "Annulla", oe = "Ripristina", te = "Ripristina", ae = "Note a Piè di Pagina", ne = "Inserisci", le = "min", re = "Legenda", se = "Applica", ce = "Tema", de = "Dimensioni", me = "Larghezza", pe = "Bordi", ue = "Colori", ge = "Effetti", Ce = "Breakpoint", ze = "Allineamento", Se = "Spaziatura", be = "Altezza", ve = "Dividi", Te = "Orizzontalmente", Ie = "Verticalmente", he = "Unisci", fe = "Sposta", Ae = "Su", Ee = "Giù", ye = "Impostazioni", De = "Taglia", we = "Incolla", Le = "Ordina", Pe = "Proprietà", Fe = "Celle", Me = "Mobile", Re = "Tablet", Ve = "Desktop", ke = "Grande", Be = "Ultra", Ue = "Fluido", Ne = "Timer", xe = "Generale", He = "giorni", Oe = "ore", Ge = "sec", qe = "Fino a", Ye = "Crea", We = "Aggiorna", Xe = "Azioni", Je = "Crescente", _e = "Partecipanti", je = "Calendario", Ke = "Categoria", Ze = "Cancella", Qe = "Collaborazione", $e = "Dati", ei = "Decrescente", ii = "Descrizione", oi = "Evento", ti = "Alto", ai = "Importa", ni = "Posizione", li = "Basso", ri = "Medio", si = "Orientamento", ci = "Priorità", di = "Selezione", mi = "Tag", pi = "Ora", ui = "Suggerimenti", gi = {
"New Block": "Nuovo Blocco",
"Split Horizontally": "Dividi Orizzontalmente",
"Split Vertically": "Dividi Verticalmente",
"Move Up": "Sposta Su",
"Move Down": "Sposta Giù",
"Block 1": "Blocco 1",
"Block 2": "Blocco 2",
"Series 1": "Serie 1",
"No valid data points to display": "Nessun punto dati valido da visualizzare",
Jan: e,
Feb: i,
Mar: o,
Apr: t,
May: a,
Jun: n,
Jul: l,
Aug: r,
Sep: s,
Oct: c,
Nov: d,
Dec: m,
"Keyboard Shortcuts": "Scorciatoie da Tastiera",
"Insert Table": "Inserisci Tabella",
"Add Row Above": "Aggiungi Riga Sopra",
"Add Row Below": "Aggiungi Riga Sotto",
"Add Column Left": "Aggiungi Colonna a Sinistra",
"Add Column Right": "Aggiungi Colonna a Destra",
"Delete Row": "Elimina Riga",
"Delete Column": "Elimina Colonna",
"Delete Table": "Elimina Tabella",
"Merge Cells": "Unisci Celle",
"Split Cell": "Dividi Cella",
"Set Cell Border": "Imposta Bordo Cella",
"Include header row": "Includi riga di intestazione",
Typography: p,
"Typography Styles": "Stili di Tipografia",
"Clear Formatting": "Cancella Formattazione",
"Heading 1": "Intestazione 1",
"Heading 2": "Intestazione 2",
"Heading 3": "Intestazione 3",
"Heading 4": "Intestazione 4",
Paragraph: u,
Blockquote: g,
Preformatted: C,
"Horizontal Line": "Linea Orizzontale",
Updated: z,
"Insert Video": "Inserisci Video",
"Are you sure you want to delete this template?": "Sei sicuro di voler eliminare questo modello?",
New: S,
Templates: b,
Name: v,
Content: T,
"Insert YouTube Video": "Inserisci Video YouTube",
"YouTube Video URL": "URL del Video YouTube",
Bold: I,
Underline: h,
Strikethrough: f,
Italic: A,
"Responsive View": "Visualizzazione Reattiva",
"Mobile View": "Visualizzazione Mobile",
"Tablet View": "Visualizzazione Tablet",
"Desktop View": "Visualizzazione Desktop",
"Large Desktop View": "Visualizzazione Desktop Grande",
"Ultra Wide View": "Visualizzazione Ultra Larga",
Responsive: E,
"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.": "Seleziona una dimensione del viewport per visualizzare l'anteprima del tuo contenuto a diverse larghezze dello schermo.<br>Usa le maniglie di ridimensionamento in modalità reattiva per regolare manualmente la larghezza.",
Series: y,
Total: D,
"Data Points": "Punti Dati",
"Add Point": "Aggiungi Punto",
Label: w,
Value: L,
Color: P,
Format: F,
"Delete Point": "Elimina Punto",
"Series Data": "Dati della Serie",
"Add Series": "Aggiungi Serie",
"Series name": "Nome della serie",
"Insert Code Block": "Inserisci Blocco di Codice",
"Copy to clipboard": "Copia negli Appunti",
"+ Add Data Point": "+ Aggiungi Punto Dati",
X: M,
Y: R,
"Bullet List": "Elenco Puntato",
"Numbered List": "Elenco Numerato",
Size: V,
URL: k,
Anchor: B,
Title: U,
'Open in new tab (target="_blank")': 'Apri in una nuova scheda (target="_blank")',
'Add rel="nofollow"': 'Aggiungi rel="nofollow"',
"Insert Chart": "Inserisci Grafico",
"Enter your code here...": "Inserisci il tuo codice qui...",
"Copied!": "Copiato!",
Copy: N,
Save: x,
View: H,
Duplicate: O,
Cancel: G,
Edit: q,
Delete: Y,
Remove: W,
Language: X,
Export: J,
Error: "Errore",
"Insert Link": "Inserisci Collegamento",
"Align Left": "Allinea a Sinistra",
"Align Center": "Allinea al Centro",
"Align Right": "Allinea a Destra",
"Insert Image": "Inserisci Immagine",
"Font Size": "Dimensione del Carattere",
"Font Family": "Famiglia del Carattere",
"Font Settings": "Impostazioni del Carattere",
"Upload File": "Carica File",
"Plain Text": "Testo Semplice",
"Markdown File": "File Markdown",
"HTML File": "File HTML",
"Use comments to provide feedback or suggestions.": "Usa i commenti per fornire feedback o suggerimenti.",
"Delete Comment": "Elimina Commento",
"Please select some text to comment on": "Seleziona del testo per commentare",
"Failed to insert comment. Please try selecting a simpler text range.": "Inserimento del commento fallito. Prova a selezionare un intervallo di testo più semplice.",
"Insert Comment": "Inserisci Commento",
"Recent Colors": "Colori Recenti",
Confirm: _,
"Background Color": "Colore di Sfondo",
"Text Color": "Colore del Testo",
"Drag and drop your file here, or": "Trascina e rilascia il tuo file qui, oppure",
browse: j,
"Maximum file size: ": "Dimensione massima del file: ",
Uploading: K,
"File size exceeds 10MB limit": "La dimensione del file supera il limite di {{max}}",
"Upload failed. Please try again.": "Caricamento fallito. Riprova.",
Words: Z,
Characters: Q,
"Characters (without spaces)": "Caratteri (senza spazi)",
Sentences: $,
Paragraphs: ee,
"HTML Source": "Codice Sorgente HTML",
"View HTML": "Visualizza HTML",
Undo: ie,
Redo: oe,
Restore: te,
"Initial version": "Versione iniziale",
"Changes from previous version:": "Modifiche rispetto alla versione precedente:",
"Edit History": "Cronologia delle Modifiche",
"View History": "Visualizza Cronologia",
"Reading time": "Tempo di lettura",
"Insert Footnote": "Inserisci Nota a Piè di Pagina",
Footnotes: ae,
"Add Footnote": "Aggiungi Nota a Piè di Pagina",
"Add explanatory or reference text that will appear at the bottom of the document": "Aggiungi testo esplicativo o di riferimento che apparirà in fondo al documento",
Insert: ne,
min: le,
"Export PNG": "Esporta PNG",
"Select template...": "Seleziona modello...",
"Bar: Sales": "Barra: Vendite",
"Pie: Expenses": "Torta: Spese",
"Doughnut: Browsers": "Ciambella: Browser",
"Line: Visitors": "Linea: Visitatori",
"Chart Title": "Titolo del grafico",
"X Axis Label": "Etichetta asse X",
"Y Axis Label": "Etichetta asse Y",
Legend: re,
"Show Legend": "Mostra legenda",
"Hide Legend": "Nascondi legenda",
"Table Properties": "Proprietà tabella",
Apply: se,
"Style & Theme": "Stile e tema",
"Table Style": "Stile tabella",
Theme: ce,
Dimensions: de,
Width: me,
"Cell Padding": "Spaziatura celle",
Borders: pe,
"Border Style": "Stile bordo",
"Border Width": "Spessore bordo",
"Border Color": "Colore bordo",
Colors: ue,
"Header Background": "Sfondo intestazione",
"Header Text Color": "Colore testo intestazione",
Effects: ge,
"Zebra Stripe": "Righe zebrate",
"Hover Effect": "Effetto hover",
"Responsive Settings": "Impostazioni responsive",
Breakpoint: Ce,
"Enable Horizontal Scroll": "Abilita scroll orizzontale",
"Enable Touch Support": "Abilita supporto touch",
"Enable Cards on Mobile": "Abilita schede su mobile",
"Cell Formatting": "Formattazione celle",
"Text Formatting": "Formattazione testo",
"Font Weight": "Spessore font",
"Font Style": "Stile font",
"Text Decoration": "Decorazione testo",
Alignment: ze,
"Horizontal Alignment": "Allineamento orizzontale",
"Vertical Alignment": "Allineamento verticale",
Padding: Se,
Height: be,
"Insert Lazy Table": "Inserisci tabella lazy",
"Edit Lazy Table": "Modifica tabella lazy",
"Fill Table": "Riempi tabella",
"Fill Table with Data": "Riempi tabella con dati",
"Update Table": "Aggiorna tabella",
"Text Block": "Blocco testo",
"Container Block": "Blocco contenitore",
"Split Container": "Dividi contenitore",
Split: ve,
Horizontally: Te,
Vertically: Ie,
Merge: he,
Move: fe,
Up: Ae,
Down: Ee,
Settings: ye,
"Make Editable": "Rendi modificabile",
"Make Read-only": "Rendi solo lettura",
"Insert Block": "Inserisci blocco",
"Clear Cell": "Cancella cella",
"Delete Cell": "Elimina cella",
"Select All": "Seleziona tutto",
Cut: De,
Paste: we,
"Auto Size": "Dimensione automatica",
Sort: Le,
"Sort Ascending": "Ordina crescente",
"Sort Descending": "Ordina decrescente",
"Export Table": "Esporta tabella",
"Import Table": "Importa tabella",
Properties: Pe,
Cells: Fe,
Mobile: Me,
Tablet: Re,
Desktop: Ve,
Large: ke,
Ultra: Be,
Fluid: Ue,
"Resize editor width": "Ridimensiona larghezza editor",
Timer: Ne,
General: xe,
days: He,
hours: Oe,
sec: Ge,
"Time expired": "Tempo scaduto",
Until: qe,
"Edit Timer": "Modifica timer",
"Copy Timer": "Copia timer",
"Export Timer": "Esporta timer",
"Import Timer": "Importa timer",
"Delete Timer": "Elimina timer",
"Timer copied successfully": "Timer copiato con successo",
"Failed to copy timer": "Copia del timer non riuscita",
"Export failed": "Esportazione fallita",
"Timer imported successfully": "Timer importato con successo",
"Import failed": "Importazione fallita",
"Title is required": "Il titolo è obbligatorio",
"Target date is required": "La data di destinazione è obbligatoria",
"Target time is required": "L'orario di destinazione è obbligatorio",
"Invalid date/time format": "Formato data/ora non valido",
"Enter timer title": "Inserisci il titolo del timer",
"Enter timer description": "Inserisci la descrizione del timer",
"Enter category": "Inserisci la categoria",
"Enter tags separated by commas": "Inserisci i tag separati da virgole",
"New Timer": "Nuovo timer",
Create: Ye,
Update: We,
"No timers found": "Nessun timer trovato",
"Create your first timer to get started": "Crea il tuo primo timer per iniziare",
"Are you sure you want to delete this timer?": "Sei sicuro di voler eliminare questo timer?",
Actions: Xe,
"Add Column": "Aggiungi colonna",
"Add Event": "Aggiungi evento",
"Add Row": "Aggiungi riga",
"All day event": "Evento tutto il giorno",
"Are you sure you want to delete this calendar?": "Sei sicuro di voler eliminare questo calendario?",
Ascending: Je,
Attendees: _e,
"Auto Fit": "Adattamento automatico",
"Bar/Area Mode": "Modalità barre/aree",
"Block Style": "Stile blocco",
"Block Style Editor": "Editor stile blocco",
"CSS Classes": "Classi CSS",
"CSS Selector (for HTML)": "Selettore CSS (per HTML)",
"CSV Delimiter": "Delimitatore CSV",
Calendar: je,
"Calendar Title": "Titolo calendario",
"Calendar copied successfully": "Calendario copiato con successo",
"Calendar imported successfully": "Calendario importato con successo",
Category: Ke,
"Cell Operations": "Operazioni cellula",
"Chart Type": "Tipo grafico",
Clear: Ze,
"Clear Table": "Cancella tabella",
"Clipboard Operations": "Operazioni appunti",
Collaboration: Qe,
"Copy Calendar": "Copia calendario",
"Copy Cell": "Copia cellula",
"Copy Event": "Copia evento",
"Copy Table": "Copia tabella",
"Create your first calendar to get started": "Crea il tuo primo calendario per iniziare",
"Current locale - Click to change": "Locale corrente - Clicca per cambiare",
"Current viewport - Click to change": "Viewport corrente - Clicca per cambiare",
"Cut Cell": "Taglia cellula",
Data: $e,
"Data URL": "URL dati",
Date: "Data",
"Default Colors": "Colori predefiniti",
"Delete Calendar": "Elimina calendario",
"Delete Elements": "Elimina elementi",
"Delete Event": "Elimina evento",
Descending: ei,
Description: ii,
"Display Settings": "Impostazioni visualizzazione",
"Duplicated Block": "Blocco duplicato",
"Duration (minutes)": "Durata (minuti)",
"Edit Calendar": "Modifica calendario",
"Edit Event": "Modifica evento",
"Enter X axis label...": "Inserisci etichetta asse X...",
"Enter Y axis label...": "Inserisci etichetta asse Y...",
"Enter attendees (comma separated)": "Inserisci partecipanti (separati da virgole)",
"Enter calendar description": "Inserisci descrizione calendario",
"Enter calendar title": "Inserisci titolo calendario",
"Enter chart title...": "Inserisci titolo grafico...",
"Enter event description": "Inserisci descrizione evento",
"Enter event location": "Inserisci posizione evento",
"Enter event title": "Inserisci titolo evento",
"Enter tags (comma separated)": "Inserisci tag (separati da virgole)",
Event: oi,
"Event copied successfully": "Evento copiato con successo",
"Export Calendar": "Esporta calendario",
"Export as PNG": "Esporta come PNG",
"Failed to copy calendar": "Impossibile copiare calendario",
"Failed to copy event": "Impossibile copiare evento",
"First row contains headers": "La prima riga contiene intestazioni",
"Fluid width": "Larghezza fluida",
"Format Cell": "Formatta cellula",
High: ti,
Import: ai,
"Import Calendar": "Importa calendario",
"Import Type": "Tipo importazione",
"Import/Export": "Importa/Esporta",
"Inline Styles": "Stili inline",
"Insert Cell": "Inserisci cellula",
"Insert Cell Above": "Inserisci cellula sopra",
"Insert Cell Below": "Inserisci cellula sotto",
"Insert Cell Left": "Inserisci cellula a sinistra",
"Insert Cell Right": "Inserisci cellula a destra",
"Insert Math": "Inserisci matematica",
"Language Settings": "Impostazioni lingua",
"Large Desktop": "Desktop grande",
"Large desktop view": "Vista desktop grande",
"Line Height": "Altezza riga",
Location: ni,
Low: li,
Medium: ri,
"Merge Horizontally": "Unisci orizzontalmente",
"Merge Vertically": "Unisci verticalmente",
"New Calendar": "Nuovo calendario",
"New Template": "Nuovo modello",
"No calendars found": "Nessun calendario trovato",
"No reminder": "Nessun promemoria",
"Note: Width is disabled when Horizontal Scroll is enabled": "Nota: La larghezza è disabilitata quando lo scorrimento orizzontale è abilitato",
Orientation: si,
"Paste Cell": "Incolla cellula",
"Please enter a valid URL": "Inserisci un URL valido",
"Print / PDF File": "Stampa / File PDF",
Priority: ci,
"Reminder (minutes before)": "Promemoria (minuti prima)",
"Resize Columns": "Ridimensiona colonne",
"Search shortcuts...": "Cerca scorciatoie...",
"Select Column": "Seleziona colonna",
"Select Elements": "Seleziona elementi",
"Select Row": "Seleziona riga",
"Select Viewport": "Seleziona viewport",
"Select category": "Seleziona categoria",
Selection: di,
"Show Grid": "Mostra griglia",
"Smartphone view": "Vista smartphone",
"Sort Table": "Ordina tabella",
"Spell Check": "Controllo ortografico",
"Standard desktop": "Desktop standard",
"Table ID (optional)": "ID tabella (opzionale)",
"Table Management": "Gestione tabella",
"Table Operations": "Operazioni tabella",
"Table Tools": "Strumenti tabella",
"Tablet view": "Vista tablet",
Tags: mi,
"Tags (comma separated)": "Tag (separati da virgole)",
"Target Date": "Data obiettivo",
"Target Time": "Ora obiettivo",
Time: pi,
Tips: ui,
"Ultra Wide": "Ultra largo",
"Ultra wide screen": "Schermo ultra largo",
"• Responsive mode allows manual resizing": "• La modalità responsive consente il ridimensionamento manuale",
"• Tables adapt automatically to viewport size": "• Le tabelle si adattano automaticamente alla dimensione del viewport",
"• Use hotkeys for quick switching": "• Usa le scorciatoie per il cambio rapido",
"• Viewport state is saved automatically": "• Lo stato del viewport viene salvato automaticamente"
};
export {
Xe as Actions,
ze as Alignment,
B as Anchor,
se as Apply,
t as Apr,
Je as Ascending,
_e as Attendees,
r as Aug,
g as Blockquote,
I as Bold,
pe as Borders,
Ce as Breakpoint,
je as Calendar,
G as Cancel,
Ke as Category,
Fe as Cells,
Q as Characters,
Ze as Clear,
Qe as Collaboration,
P as Color,
ue as Colors,
_ as Confirm,
T as Content,
N as Copy,
Ye as Create,
De as Cut,
$e as Data,
m as Dec,
Y as Delete,
ei as Descending,
ii as Description,
Ve as Desktop,
de as Dimensions,
Ee as Down,
O as Duplicate,
q as Edit,
ge as Effects,
oi as Event,
J as Export,
i as Feb,
Ue as Fluid,
ae as Footnotes,
F as Format,
xe as General,
be as Height,
ti as High,
Te as Horizontally,
ai as Import,
ne as Insert,
A as Italic,
e as Jan,
l as Jul,
n as Jun,
w as Label,
X as Language,
ke as Large,
re as Legend,
ni as Location,
li as Low,
o as Mar,
a as May,
ri as Medium,
he as Merge,
Me as Mobile,
fe as Move,
v as Name,
S as New,
d as Nov,
c as Oct,
si as Orientation,
Se as Padding,
u as Paragraph,
ee as Paragraphs,
we as Paste,
C as Preformatted,
ci as Priority,
Pe as Properties,
oe as Redo,
W as Remove,
E as Responsive,
te as Restore,
x as Save,
di as Selection,
$ as Sentences,
s as Sep,
y as Series,
ye as Settings,
V as Size,
Le as Sort,
ve as Split,
f as Strikethrough,
Re as Tablet,
mi as Tags,
b as Templates,
ce as Theme,
pi as Time,
Ne as Timer,
ui as Tips,
U as Title,
D as Total,
p as Typography,
k as URL,
Be as Ultra,
h as Underline,
ie as Undo,
qe as Until,
Ae as Up,
We as Update,
z as Updated,
K as Uploading,
L as Value,
Ie as Vertically,
H as View,
me as Width,
Z as Words,
M as X,
R as Y,
j as browse,
He as days,
gi as default,
Oe as hours,
le as min,
Ge as sec
};