suneditor
Advanced tools
Comparing version 2.36.1 to 2.36.2
@@ -6,3 +6,3 @@ { | ||
], | ||
"version": "2.36.1", | ||
"version": "2.36.2", | ||
"description": "Pure JavaScript based WYSIWYG web editor", | ||
@@ -9,0 +9,0 @@ "main": "src/suneditor.js", |
@@ -7,2 +7,3 @@ import ckb from './ckb'; | ||
import fr from './fr'; | ||
import he from './he'; | ||
import it from './it'; | ||
@@ -20,2 +21,2 @@ import ja from './ja'; | ||
export { ckb, da, de, en, es, fr, it, ja, ko, lv, pl, pt_br, ro, ru, se, ua, zh_cn }; | ||
export { ckb, da, de, en, es, fr, he, it, ja, ko, lv, pl, pt_br, ro, ru, se, ua, zh_cn }; |
@@ -9,2 +9,3 @@ 'use strict'; | ||
import fr from './fr'; | ||
import he from './he'; | ||
import it from './it'; | ||
@@ -22,3 +23,3 @@ import ja from './ja'; | ||
export { ckb, da, de, en, es, fr, it, ja, ko, lv, pl, pt_br, ro, ru, se, ua, zh_cn }; | ||
export default { ckb, da, de, en, es, fr, it, ja, ko, lv, pl, pt_br, ro, ru, se, ua, zh_cn }; | ||
export { ckb, da, de, en, es, fr, he, it, ja, ko, lv, pl, pt_br, ro, ru, se, ua, zh_cn }; | ||
export default { ckb, da, de, en, es, fr, he, it, ja, ko, lv, pl, pt_br, ro, ru, se, ua, zh_cn }; |
@@ -34,32 +34,32 @@ /* | ||
underline: 'Sottolineato', | ||
italic: 'Italico', | ||
strike: 'Cancellato', | ||
italic: 'Corsivo', | ||
strike: 'Barrato', | ||
subscript: 'Apice', | ||
superscript: 'Pedice', | ||
removeFormat: 'Rimuovi Formattazione', | ||
fontColor: 'Colore Testo', | ||
hiliteColor: 'Colore Sottolineatura', | ||
removeFormat: 'Rimuovi formattazione', | ||
fontColor: 'Colore testo', | ||
hiliteColor: 'Colore sottolineatura', | ||
indent: 'Aumenta rientro', | ||
outdent: 'Riduci rientro', | ||
align: 'Allinea', | ||
alignLeft: 'Sinistra', | ||
alignRight: 'Destra', | ||
alignCenter: 'Centrato', | ||
alignJustify: 'Giustificato', | ||
list: 'Lista', | ||
orderList: 'Lista numerata', | ||
unorderList: 'Lista Puntata', | ||
horizontalRule: 'Linea Orizzontale', | ||
hr_solid: 'Linea', | ||
hr_dotted: 'Puntinato', | ||
hr_dashed: 'Tratteggiato', | ||
alignLeft: 'Allinea a sinistra', | ||
alignRight: 'Allinea a destra', | ||
alignCenter: 'Allinea al centro', | ||
alignJustify: 'Giustifica testo', | ||
list: 'Elenco', | ||
orderList: 'Elenco numerato', | ||
unorderList: 'Elenco puntato', | ||
horizontalRule: 'Linea orizzontale', | ||
hr_solid: 'Linea continua', | ||
hr_dotted: 'Puntini', | ||
hr_dashed: 'Trattini', | ||
table: 'Tabella', | ||
link: 'Link', | ||
math: 'Matematica', | ||
link: 'Collegamento ipertestuale', | ||
math: 'Formula matematica', | ||
image: 'Immagine', | ||
video: 'Video', | ||
audio: 'Audio', | ||
fullScreen: 'Tutto Schermo', | ||
showBlocks: 'Visualizza Blocchi', | ||
codeView: 'Visualizza Codice', | ||
fullScreen: 'A tutto schermo', | ||
showBlocks: 'Visualizza blocchi', | ||
codeView: 'Visualizza codice', | ||
undo: 'Annulla', | ||
@@ -70,18 +70,18 @@ redo: 'Ripristina', | ||
tag_p: 'Paragrafo', | ||
tag_div: 'DIV Normale', | ||
tag_h: 'Intestazione', | ||
tag_div: 'Normale (DIV)', | ||
tag_h: 'Titolo', | ||
tag_blockquote: 'Citazione', | ||
tag_pre: 'Codice', | ||
template: 'Template', | ||
lineHeight: 'Altezza linea', | ||
paragraphStyle: 'Stile Paragrafo', | ||
textStyle: 'Stile Testo', | ||
template: 'Modello', | ||
lineHeight: 'Interlinea', | ||
paragraphStyle: 'Stile paragrafo', | ||
textStyle: 'Stile testo', | ||
imageGallery: 'Galleria di immagini', | ||
mention: 'Citare' | ||
mention: 'Menzione' | ||
}, | ||
dialogBox: { | ||
linkBox: { | ||
title: 'Inserisci un Link', | ||
url: 'Indirizzo in link', | ||
text: 'Applica Testo da visualizzare', | ||
title: 'Inserisci un link', | ||
url: 'Indirizzo', | ||
text: 'Testo da visualizzare', | ||
newWindowCheck: 'Apri in una nuova finestra', | ||
@@ -98,3 +98,3 @@ downloadLinkCheck: 'Link per scaricare', | ||
imageBox: { | ||
title: 'Inserisci Immagine', | ||
title: 'Inserisci immagine', | ||
file: 'Seleziona da file', | ||
@@ -105,8 +105,8 @@ url: 'Indirizzo immagine', | ||
videoBox: { | ||
title: 'Inserisci Video', | ||
title: 'Inserisci video', | ||
file: 'Seleziona da file', | ||
url: 'Indirizzo video, YouTube/Vimeo' | ||
url: 'Indirizzo video di embed, YouTube/Vimeo' | ||
}, | ||
audioBox: { | ||
title: 'Insertar Audio', | ||
title: 'Inserisci audio', | ||
file: 'Seleziona da file', | ||
@@ -119,4 +119,4 @@ url: 'Indirizzo audio' | ||
}, | ||
caption: 'Inserisci descrizione', | ||
close: 'ClChiudiose', | ||
caption: 'Inserisci didascalia', | ||
close: 'Chiudi', | ||
submitButton: 'Invia', | ||
@@ -131,3 +131,3 @@ revertButton: 'Annulla', | ||
height: 'Altezza', | ||
size: 'Peso', | ||
size: 'Dimensioni', | ||
ratio: 'Rapporto' | ||
@@ -139,9 +139,9 @@ }, | ||
remove: 'Rimuovi', | ||
insertRowAbove: 'Inserisci linea sopra', | ||
insertRowBelow: 'Inserisci linea sotto', | ||
insertRowAbove: 'Inserisci riga sopra', | ||
insertRowBelow: 'Inserisci riga sotto', | ||
deleteRow: 'Cancella riga', | ||
insertColumnBefore: 'Inserisci una colonna prima', | ||
insertColumnAfter: 'Inserisci una colonna dopo', | ||
insertColumnBefore: 'Inserisci colonna prima', | ||
insertColumnAfter: 'Inserisci colonna dopo', | ||
deleteColumn: 'Cancella colonna', | ||
fixedColumnWidth: 'Larghezza della colonna fissa', | ||
fixedColumnWidth: 'Larghezza delle colonne fissa', | ||
resize100: 'Ridimensiona 100%', | ||
@@ -152,4 +152,4 @@ resize75: 'Ridimensiona 75%', | ||
autoSize: 'Ridimensione automatica', | ||
mirrorHorizontal: 'Specchia, orizontale', | ||
mirrorVertical: 'Specchia, verticale', | ||
mirrorHorizontal: 'Capovolgi orizzontalmente', | ||
mirrorVertical: 'Capovolgi verticalmente', | ||
rotateLeft: 'Ruota a sinistra', | ||
@@ -159,13 +159,13 @@ rotateRight: 'Ruota a destra', | ||
minSize: 'Dimensione minima', | ||
tableHeader: 'Intestazione Tabella', | ||
tableHeader: 'Intestazione tabella', | ||
mergeCells: 'Unisci celle', | ||
splitCells: 'Dividi celle', | ||
HorizontalSplit: 'Separa orizontale', | ||
VerticalSplit: 'Separa verticale' | ||
HorizontalSplit: 'Separa orizontalmente', | ||
VerticalSplit: 'Separa verticalmente' | ||
}, | ||
menu: { | ||
spaced: 'Spaziatura', | ||
bordered: 'Bordo', | ||
spaced: 'Spaziato', | ||
bordered: 'Bordato', | ||
neon: 'Luminoso', | ||
translucent: 'Translucente', | ||
translucent: 'Traslucido', | ||
shadow: 'Ombra', | ||
@@ -172,0 +172,0 @@ code: 'Codice' |
@@ -400,3 +400,3 @@ /* | ||
/** Whitelist */ | ||
options._defaultTagsWhitelist = typeof options._defaultTagsWhitelist === 'string' ? options._defaultTagsWhitelist : 'br|p|div|pre|blockquote|h[1-6]|ol|ul|li|hr|figure|figcaption|img|iframe|audio|video|source|table|thead|tbody|tr|th|td|a|b|strong|var|i|em|u|ins|s|span|strike|del|sub|sup|code'; | ||
options._defaultTagsWhitelist = typeof options._defaultTagsWhitelist === 'string' ? options._defaultTagsWhitelist : 'br|p|div|pre|blockquote|h[1-6]|ol|ul|li|hr|figure|figcaption|img|iframe|audio|video|source|table|thead|tbody|tr|th|td|a|b|strong|var|i|em|u|ins|s|span|strike|del|sub|sup|code|svg|path'; | ||
options._editorTagsWhitelist = options._defaultTagsWhitelist + (typeof options.addTagsWhitelist === 'string' && options.addTagsWhitelist.length > 0 ? '|' + options.addTagsWhitelist : ''); | ||
@@ -403,0 +403,0 @@ options.pasteTagsWhitelist = typeof options.pasteTagsWhitelist === 'string' ? options.pasteTagsWhitelist : options._editorTagsWhitelist; |
@@ -9,9 +9,11 @@ 'use strict'; | ||
Object.defineProperty(window, 'SUNEDITOR', { | ||
enumerable: true, | ||
writable: false, | ||
configurable: false, | ||
value: suneditor.init({ | ||
plugins: plugins | ||
}) | ||
}); | ||
if (!window.SUNEDITOR) { | ||
Object.defineProperty(window, 'SUNEDITOR', { | ||
enumerable: true, | ||
writable: false, | ||
configurable: false, | ||
value: suneditor.init({ | ||
plugins: plugins | ||
}) | ||
}); | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
3619555
127
26351