suneditor 2.46.2 → 3.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintignore +7 -0
- package/.eslintrc.json +64 -0
- package/CONTRIBUTING.md +36 -0
- package/LICENSE.txt +1 -1
- package/README.md +11 -1560
- package/package.json +94 -70
- package/src/assets/icons/_default.js +194 -0
- package/src/assets/suneditor-content.css +642 -0
- package/src/assets/suneditor.css +3378 -0
- package/src/core/base/eventHandlers/handler_toolbar.js +114 -0
- package/src/core/base/eventHandlers/handler_ww_clipboard.js +31 -0
- package/src/core/base/eventHandlers/handler_ww_dragDrop.js +69 -0
- package/src/core/base/eventHandlers/handler_ww_key_input.js +978 -0
- package/src/core/base/eventHandlers/handler_ww_mouse.js +118 -0
- package/src/core/base/eventManager.js +1129 -0
- package/src/core/base/events.js +320 -0
- package/src/core/base/history.js +301 -0
- package/src/core/class/char.js +146 -0
- package/src/core/class/component.js +624 -0
- package/src/core/class/format.js +3255 -0
- package/src/core/class/html.js +1621 -0
- package/src/core/class/menu.js +260 -0
- package/src/core/class/nodeTransform.js +379 -0
- package/src/core/class/notice.js +42 -0
- package/src/core/class/offset.js +578 -0
- package/src/core/class/selection.js +508 -0
- package/src/core/class/shortcuts.js +38 -0
- package/src/core/class/toolbar.js +440 -0
- package/src/core/class/viewer.js +646 -0
- package/src/core/editor.js +1588 -0
- package/src/core/section/actives.js +107 -0
- package/src/core/section/constructor.js +1237 -0
- package/src/core/section/context.js +97 -0
- package/src/editorInjector/_classes.js +22 -0
- package/src/editorInjector/_core.js +28 -0
- package/src/editorInjector/index.js +13 -0
- package/src/helper/converter.js +313 -0
- package/src/helper/domUtils.js +1177 -0
- package/src/helper/env.js +250 -0
- package/src/helper/index.js +19 -0
- package/src/helper/numbers.js +68 -0
- package/src/helper/unicode.js +43 -0
- package/src/langs/ckb.js +161 -0
- package/src/langs/cs.js +161 -0
- package/src/langs/da.js +161 -0
- package/src/langs/de.js +162 -0
- package/src/langs/en.js +199 -0
- package/src/langs/es.js +162 -0
- package/src/langs/fa.js +159 -0
- package/src/langs/fr.js +161 -0
- package/src/langs/he.js +162 -0
- package/src/{lang → langs}/index.js +0 -2
- package/src/langs/it.js +162 -0
- package/src/langs/ja.js +162 -0
- package/src/langs/ko.js +162 -0
- package/src/langs/lv.js +162 -0
- package/src/langs/nl.js +162 -0
- package/src/langs/pl.js +162 -0
- package/src/langs/pt_br.js +162 -0
- package/src/langs/ro.js +162 -0
- package/src/langs/ru.js +162 -0
- package/src/langs/se.js +162 -0
- package/src/langs/tr.js +159 -0
- package/src/langs/ua.js +162 -0
- package/src/langs/ur.js +162 -0
- package/src/langs/zh_cn.js +162 -0
- package/src/modules/ApiManager.js +168 -0
- package/src/modules/ColorPicker.js +302 -0
- package/src/modules/Controller.js +315 -0
- package/src/modules/Figure.js +1174 -0
- package/src/modules/FileBrowser.js +271 -0
- package/src/modules/FileManager.js +290 -0
- package/src/modules/HueSlider.js +513 -0
- package/src/modules/Modal.js +177 -0
- package/src/modules/ModalAnchorEditor.js +494 -0
- package/src/modules/SelectMenu.js +447 -0
- package/src/modules/_DragHandle.js +16 -0
- package/src/modules/index.js +14 -0
- package/src/plugins/command/blockquote.js +47 -47
- package/src/plugins/command/exportPdf.js +168 -0
- package/src/plugins/command/fileUpload.js +389 -0
- package/src/plugins/command/list_bulleted.js +112 -0
- package/src/plugins/command/list_numbered.js +115 -0
- package/src/plugins/dropdown/align.js +143 -0
- package/src/plugins/dropdown/backgroundColor.js +73 -0
- package/src/plugins/dropdown/font.js +113 -0
- package/src/plugins/dropdown/fontColor.js +73 -0
- package/src/plugins/dropdown/formatBlock.js +141 -0
- package/src/plugins/dropdown/hr.js +111 -0
- package/src/plugins/dropdown/layout.js +72 -0
- package/src/plugins/dropdown/lineHeight.js +114 -0
- package/src/plugins/dropdown/list.js +107 -0
- package/src/plugins/dropdown/paragraphStyle.js +117 -0
- package/src/plugins/dropdown/table.js +2810 -0
- package/src/plugins/dropdown/template.js +71 -0
- package/src/plugins/dropdown/textStyle.js +137 -0
- package/src/plugins/field/mention.js +172 -0
- package/src/plugins/fileBrowser/imageGallery.js +76 -59
- package/src/plugins/index.js +86 -24
- package/src/plugins/input/fontSize.js +357 -0
- package/src/plugins/modal/audio.js +492 -0
- package/src/plugins/modal/image.js +1062 -0
- package/src/plugins/modal/link.js +211 -0
- package/src/plugins/modal/math.js +347 -0
- package/src/plugins/modal/video.js +870 -0
- package/src/suneditor.js +62 -67
- package/src/themes/test.css +61 -0
- package/typings/CommandPlugin.d.ts +8 -0
- package/typings/DialogPlugin.d.ts +20 -0
- package/typings/FileBrowserPlugin.d.ts +30 -0
- package/typings/Lang.d.ts +124 -0
- package/typings/Module.d.ts +15 -0
- package/typings/Plugin.d.ts +42 -0
- package/typings/SubmenuPlugin.d.ts +8 -0
- package/typings/_classes.d.ts +17 -0
- package/typings/_colorPicker.d.ts +60 -0
- package/typings/_core.d.ts +55 -0
- package/typings/align.d.ts +5 -0
- package/{src/plugins/dialog → typings}/audio.d.ts +1 -1
- package/typings/backgroundColor.d.ts +5 -0
- package/{src/plugins/command → typings}/blockquote.d.ts +1 -1
- package/typings/char.d.ts +39 -0
- package/typings/component.d.ts +38 -0
- package/typings/context.d.ts +39 -0
- package/typings/converter.d.ts +33 -0
- package/typings/dialog.d.ts +28 -0
- package/typings/domUtils.d.ts +361 -0
- package/typings/editor.d.ts +7 -0
- package/typings/editor.ts +542 -0
- package/typings/env.d.ts +70 -0
- package/typings/eventManager.d.ts +37 -0
- package/typings/events.d.ts +262 -0
- package/typings/fileBrowser.d.ts +42 -0
- package/typings/fileManager.d.ts +67 -0
- package/typings/font.d.ts +5 -0
- package/typings/fontColor.d.ts +5 -0
- package/typings/fontSize.d.ts +5 -0
- package/typings/format.d.ts +191 -0
- package/typings/formatBlock.d.ts +5 -0
- package/typings/history.d.ts +48 -0
- package/typings/horizontalRule.d.ts +5 -0
- package/{src/plugins/dialog → typings}/image.d.ts +1 -1
- package/{src/plugins/fileBrowser → typings}/imageGallery.d.ts +1 -1
- package/typings/index.d.ts +21 -0
- package/{src/plugins/modules/index.d.ts → typings/index.modules.d.ts} +3 -3
- package/typings/index.plugins.d.ts +58 -0
- package/typings/lineHeight.d.ts +5 -0
- package/{src/plugins/dialog → typings}/link.d.ts +1 -1
- package/typings/list.d.ts +5 -0
- package/{src/plugins/dialog → typings}/math.d.ts +1 -1
- package/typings/mediaContainer.d.ts +25 -0
- package/typings/node.d.ts +57 -0
- package/typings/notice.d.ts +16 -0
- package/typings/numbers.d.ts +29 -0
- package/typings/offset.d.ts +24 -0
- package/typings/options.d.ts +589 -0
- package/typings/paragraphStyle.d.ts +5 -0
- package/typings/resizing.d.ts +141 -0
- package/typings/selection.d.ts +94 -0
- package/typings/shortcuts.d.ts +13 -0
- package/typings/suneditor.d.ts +9 -0
- package/typings/table.d.ts +5 -0
- package/typings/template.d.ts +5 -0
- package/typings/textStyle.d.ts +5 -0
- package/typings/toolbar.d.ts +32 -0
- package/typings/unicode.d.ts +25 -0
- package/{src/plugins/dialog → typings}/video.d.ts +1 -1
- package/dist/css/suneditor.min.css +0 -1
- package/dist/suneditor.min.js +0 -2
- package/src/assets/css/suneditor-contents.css +0 -562
- package/src/assets/css/suneditor.css +0 -566
- package/src/assets/defaultIcons.js +0 -103
- package/src/lang/Lang.d.ts +0 -144
- package/src/lang/ckb.d.ts +0 -5
- package/src/lang/ckb.js +0 -188
- package/src/lang/cs.d.ts +0 -5
- package/src/lang/cs.js +0 -188
- package/src/lang/da.d.ts +0 -5
- package/src/lang/da.js +0 -191
- package/src/lang/de.d.ts +0 -5
- package/src/lang/de.js +0 -188
- package/src/lang/en.d.ts +0 -5
- package/src/lang/en.js +0 -188
- package/src/lang/es.d.ts +0 -5
- package/src/lang/es.js +0 -188
- package/src/lang/fa.d.ts +0 -5
- package/src/lang/fa.js +0 -188
- package/src/lang/fr.d.ts +0 -5
- package/src/lang/fr.js +0 -188
- package/src/lang/he.d.ts +0 -5
- package/src/lang/he.js +0 -188
- package/src/lang/index.d.ts +0 -23
- package/src/lang/it.d.ts +0 -5
- package/src/lang/it.js +0 -188
- package/src/lang/ja.d.ts +0 -5
- package/src/lang/ja.js +0 -188
- package/src/lang/ko.d.ts +0 -5
- package/src/lang/ko.js +0 -188
- package/src/lang/lv.d.ts +0 -5
- package/src/lang/lv.js +0 -188
- package/src/lang/nl.d.ts +0 -5
- package/src/lang/nl.js +0 -188
- package/src/lang/pl.d.ts +0 -5
- package/src/lang/pl.js +0 -188
- package/src/lang/pt_br.d.ts +0 -5
- package/src/lang/pt_br.js +0 -189
- package/src/lang/ro.d.ts +0 -5
- package/src/lang/ro.js +0 -188
- package/src/lang/ru.d.ts +0 -5
- package/src/lang/ru.js +0 -188
- package/src/lang/se.d.ts +0 -5
- package/src/lang/se.js +0 -191
- package/src/lang/tr.d.ts +0 -5
- package/src/lang/tr.js +0 -191
- package/src/lang/ua.d.ts +0 -5
- package/src/lang/ua.js +0 -188
- package/src/lang/ur.d.ts +0 -5
- package/src/lang/ur.js +0 -188
- package/src/lang/zh_cn.d.ts +0 -5
- package/src/lang/zh_cn.js +0 -187
- package/src/lib/constructor.js +0 -954
- package/src/lib/context.d.ts +0 -42
- package/src/lib/context.js +0 -71
- package/src/lib/core.d.ts +0 -1135
- package/src/lib/core.js +0 -9395
- package/src/lib/history.d.ts +0 -48
- package/src/lib/history.js +0 -219
- package/src/lib/util.d.ts +0 -678
- package/src/lib/util.js +0 -2131
- package/src/options.d.ts +0 -608
- package/src/plugins/CommandPlugin.d.ts +0 -8
- package/src/plugins/DialogPlugin.d.ts +0 -20
- package/src/plugins/FileBrowserPlugin.d.ts +0 -30
- package/src/plugins/Module.d.ts +0 -15
- package/src/plugins/Plugin.d.ts +0 -42
- package/src/plugins/SubmenuPlugin.d.ts +0 -8
- package/src/plugins/dialog/audio.js +0 -559
- package/src/plugins/dialog/image.js +0 -1126
- package/src/plugins/dialog/link.js +0 -223
- package/src/plugins/dialog/math.js +0 -295
- package/src/plugins/dialog/mention.js +0 -242
- package/src/plugins/dialog/video.js +0 -979
- package/src/plugins/index.d.ts +0 -79
- package/src/plugins/modules/_anchor.js +0 -461
- package/src/plugins/modules/_colorPicker.d.ts +0 -60
- package/src/plugins/modules/_colorPicker.js +0 -201
- package/src/plugins/modules/_notice.d.ts +0 -21
- package/src/plugins/modules/_notice.js +0 -72
- package/src/plugins/modules/_selectMenu.js +0 -119
- package/src/plugins/modules/component.d.ts +0 -25
- package/src/plugins/modules/component.js +0 -81
- package/src/plugins/modules/dialog.d.ts +0 -28
- package/src/plugins/modules/dialog.js +0 -175
- package/src/plugins/modules/fileBrowser.d.ts +0 -42
- package/src/plugins/modules/fileBrowser.js +0 -374
- package/src/plugins/modules/fileManager.d.ts +0 -67
- package/src/plugins/modules/fileManager.js +0 -326
- package/src/plugins/modules/index.js +0 -9
- package/src/plugins/modules/resizing.d.ts +0 -154
- package/src/plugins/modules/resizing.js +0 -903
- package/src/plugins/submenu/align.d.ts +0 -5
- package/src/plugins/submenu/align.js +0 -160
- package/src/plugins/submenu/font.d.ts +0 -5
- package/src/plugins/submenu/font.js +0 -123
- package/src/plugins/submenu/fontColor.d.ts +0 -5
- package/src/plugins/submenu/fontColor.js +0 -101
- package/src/plugins/submenu/fontSize.d.ts +0 -5
- package/src/plugins/submenu/fontSize.js +0 -112
- package/src/plugins/submenu/formatBlock.d.ts +0 -5
- package/src/plugins/submenu/formatBlock.js +0 -273
- package/src/plugins/submenu/hiliteColor.d.ts +0 -5
- package/src/plugins/submenu/hiliteColor.js +0 -102
- package/src/plugins/submenu/horizontalRule.d.ts +0 -5
- package/src/plugins/submenu/horizontalRule.js +0 -98
- package/src/plugins/submenu/lineHeight.d.ts +0 -5
- package/src/plugins/submenu/lineHeight.js +0 -104
- package/src/plugins/submenu/list.d.ts +0 -5
- package/src/plugins/submenu/list.js +0 -456
- package/src/plugins/submenu/paragraphStyle.d.ts +0 -5
- package/src/plugins/submenu/paragraphStyle.js +0 -135
- package/src/plugins/submenu/table.d.ts +0 -5
- package/src/plugins/submenu/table.js +0 -1431
- package/src/plugins/submenu/template.d.ts +0 -5
- package/src/plugins/submenu/template.js +0 -72
- package/src/plugins/submenu/textStyle.d.ts +0 -5
- package/src/plugins/submenu/textStyle.js +0 -167
- package/src/suneditor.d.ts +0 -9
- package/src/suneditor_build.js +0 -18
- /package/{src/plugins/dialog → typings}/mention.d.ts +0 -0
package/src/lang/cs.js
DELETED
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* wysiwyg web editor
|
|
3
|
-
*
|
|
4
|
-
* suneditor.js
|
|
5
|
-
* Copyright 2017 JiHong Lee.
|
|
6
|
-
* MIT license.
|
|
7
|
-
*/
|
|
8
|
-
'use strict';
|
|
9
|
-
|
|
10
|
-
(function (global, factory) {
|
|
11
|
-
if (typeof module === 'object' && typeof module.exports === 'object') {
|
|
12
|
-
module.exports = global.document ?
|
|
13
|
-
factory(global, true) :
|
|
14
|
-
function (w) {
|
|
15
|
-
if (!w.document) {
|
|
16
|
-
throw new Error('SUNEDITOR_LANG a window with a document');
|
|
17
|
-
}
|
|
18
|
-
return factory(w);
|
|
19
|
-
};
|
|
20
|
-
} else {
|
|
21
|
-
factory(global);
|
|
22
|
-
}
|
|
23
|
-
}(typeof window !== 'undefined' ? window : this, function (window, noGlobal) {
|
|
24
|
-
const lang = {
|
|
25
|
-
code: 'cs',
|
|
26
|
-
toolbar: {
|
|
27
|
-
default: 'Výchozí',
|
|
28
|
-
save: 'Uložit',
|
|
29
|
-
font: 'Písmo',
|
|
30
|
-
formats: 'Formáty',
|
|
31
|
-
fontSize: 'Velikost',
|
|
32
|
-
bold: 'Tučné',
|
|
33
|
-
underline: 'Podtržení',
|
|
34
|
-
italic: 'Kurzíva',
|
|
35
|
-
strike: 'Přeškrtnutí',
|
|
36
|
-
subscript: 'Dolní index',
|
|
37
|
-
superscript: 'Horní index',
|
|
38
|
-
removeFormat: 'Odebrat formát',
|
|
39
|
-
fontColor: 'Barva písma',
|
|
40
|
-
hiliteColor: 'Barva zvýraznění',
|
|
41
|
-
indent: 'Odsadit',
|
|
42
|
-
outdent: 'Předsadit',
|
|
43
|
-
align: 'Zarovnat',
|
|
44
|
-
alignLeft: 'Zarovnat vlevo',
|
|
45
|
-
alignRight: 'Zarovnat vpravo',
|
|
46
|
-
alignCenter: 'Zarovnat na střed',
|
|
47
|
-
alignJustify: 'Zarovnat do bloku',
|
|
48
|
-
list: 'Seznam',
|
|
49
|
-
orderList: 'Seřazený seznam',
|
|
50
|
-
unorderList: 'Neřazený seznam',
|
|
51
|
-
horizontalRule: 'Vodorovná čára',
|
|
52
|
-
hr_solid: 'Nepřerušovaná',
|
|
53
|
-
hr_dotted: 'Tečkovaná',
|
|
54
|
-
hr_dashed: 'Čárkovaná',
|
|
55
|
-
table: 'Tabulka',
|
|
56
|
-
link: 'Odkaz',
|
|
57
|
-
math: 'Matematika',
|
|
58
|
-
image: 'Obrázek',
|
|
59
|
-
video: 'Video',
|
|
60
|
-
audio: 'Zvuk',
|
|
61
|
-
fullScreen: 'Celá obrazovka',
|
|
62
|
-
showBlocks: 'Zobrazit bloky',
|
|
63
|
-
codeView: 'Zobrazení kódu',
|
|
64
|
-
undo: 'Zpět',
|
|
65
|
-
redo: 'Opakovat',
|
|
66
|
-
preview: 'Náhled',
|
|
67
|
-
print: 'tisk',
|
|
68
|
-
tag_p: 'Odstavec',
|
|
69
|
-
tag_div: 'Normální (DIV)',
|
|
70
|
-
tag_h: 'Záhlaví',
|
|
71
|
-
tag_blockquote: 'Citovat',
|
|
72
|
-
tag_pre: 'Kód',
|
|
73
|
-
template: 'Šablona',
|
|
74
|
-
lineHeight: 'Výška řádku',
|
|
75
|
-
paragraphStyle: 'Styl odstavce',
|
|
76
|
-
textStyle: 'Styl textu',
|
|
77
|
-
imageGallery: 'Obrázková galerie',
|
|
78
|
-
dir_ltr: 'Zleva doprava',
|
|
79
|
-
dir_rtl: 'Zprava doleva',
|
|
80
|
-
mention: 'Zmínka'
|
|
81
|
-
},
|
|
82
|
-
dialogBox: {
|
|
83
|
-
linkBox: {
|
|
84
|
-
title: 'Vložit odkaz',
|
|
85
|
-
url: 'URL pro odkaz',
|
|
86
|
-
text: 'Text k zobrazení',
|
|
87
|
-
newWindowCheck: 'Otevřít v novém okně',
|
|
88
|
-
downloadLinkCheck: 'Odkaz ke stažení',
|
|
89
|
-
bookmark: 'Záložka'
|
|
90
|
-
},
|
|
91
|
-
mathBox: {
|
|
92
|
-
title: 'Matematika',
|
|
93
|
-
inputLabel: 'Matematická notace',
|
|
94
|
-
fontSizeLabel: 'Velikost písma',
|
|
95
|
-
previewLabel: 'Náhled'
|
|
96
|
-
},
|
|
97
|
-
imageBox: {
|
|
98
|
-
title: 'Vložit obrázek',
|
|
99
|
-
file: 'Vybrat ze souborů',
|
|
100
|
-
url: 'URL obrázku',
|
|
101
|
-
altText: 'Alternativní text'
|
|
102
|
-
},
|
|
103
|
-
videoBox: {
|
|
104
|
-
title: 'Vložit video',
|
|
105
|
-
file: 'Vybrat ze souborů',
|
|
106
|
-
url: 'URL pro vložení médií, YouTube/Vimeo'
|
|
107
|
-
},
|
|
108
|
-
audioBox: {
|
|
109
|
-
title: 'Vložit zvuk',
|
|
110
|
-
file: 'Vybrat ze souborů',
|
|
111
|
-
url: 'Adresa URL zvuku'
|
|
112
|
-
},
|
|
113
|
-
browser: {
|
|
114
|
-
tags: 'Štítky',
|
|
115
|
-
search: 'Hledat',
|
|
116
|
-
},
|
|
117
|
-
caption: 'Vložit popis',
|
|
118
|
-
close: 'Zavřít',
|
|
119
|
-
submitButton: 'Odeslat',
|
|
120
|
-
revertButton: 'Vrátit zpět',
|
|
121
|
-
proportion: 'Omezení proporcí',
|
|
122
|
-
basic: 'Základní',
|
|
123
|
-
left: 'Vlevo',
|
|
124
|
-
right: 'Vpravo',
|
|
125
|
-
center: 'Střed',
|
|
126
|
-
width: 'Šířka',
|
|
127
|
-
height: 'Výška',
|
|
128
|
-
size: 'Velikost',
|
|
129
|
-
ratio: 'Poměr'
|
|
130
|
-
},
|
|
131
|
-
controller: {
|
|
132
|
-
edit: 'Upravit',
|
|
133
|
-
unlink: 'Odpojit',
|
|
134
|
-
remove: 'Odebrat',
|
|
135
|
-
insertRowAbove: 'Vložit řádek výše',
|
|
136
|
-
insertRowBelow: 'Vložit řádek níže',
|
|
137
|
-
deleteRow: 'Smazat řádek',
|
|
138
|
-
insertColumnBefore: 'Vložit sloupec před',
|
|
139
|
-
insertColumnAfter: 'Vložit sloupec za',
|
|
140
|
-
deleteColumn: 'Smazat sloupec',
|
|
141
|
-
fixedColumnWidth: 'Pevná šířka sloupce',
|
|
142
|
-
resize100: 'Změnit velikost 100%',
|
|
143
|
-
resize75: 'Změnit velikost 75%',
|
|
144
|
-
resize50: 'Změnit velikost 50%',
|
|
145
|
-
resize25: 'Změnit velikost 25%',
|
|
146
|
-
autoSize: 'Automatická velikost',
|
|
147
|
-
mirrorHorizontal: 'Zrcadlo, horizontální',
|
|
148
|
-
mirrorVertical: 'Zrcadlo, vertikální',
|
|
149
|
-
rotateLeft: 'Otočit doleva',
|
|
150
|
-
rotateRight: 'Otočit doprava',
|
|
151
|
-
maxSize: 'Max. velikost',
|
|
152
|
-
minSize: 'Min. velikost',
|
|
153
|
-
tableHeader: 'Záhlaví tabulky',
|
|
154
|
-
mergeCells: 'Spojit buňky',
|
|
155
|
-
splitCells: 'Rozdělit buňky',
|
|
156
|
-
HorizontalSplit: 'Vodorovné rozdělení',
|
|
157
|
-
VerticalSplit: 'Svislé rozdělení'
|
|
158
|
-
},
|
|
159
|
-
menu: {
|
|
160
|
-
spaced: 'Rozložené',
|
|
161
|
-
bordered: 'Ohraničené',
|
|
162
|
-
neon: 'Neon',
|
|
163
|
-
translucent: 'Průsvitné',
|
|
164
|
-
shadow: 'Stín',
|
|
165
|
-
code: 'Kód'
|
|
166
|
-
}
|
|
167
|
-
};
|
|
168
|
-
|
|
169
|
-
if (typeof noGlobal === typeof undefined) {
|
|
170
|
-
if (!window.SUNEDITOR_LANG) {
|
|
171
|
-
Object.defineProperty(window, 'SUNEDITOR_LANG', {
|
|
172
|
-
enumerable: true,
|
|
173
|
-
writable: false,
|
|
174
|
-
configurable: false,
|
|
175
|
-
value: {}
|
|
176
|
-
});
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
Object.defineProperty(window.SUNEDITOR_LANG, 'cs', {
|
|
180
|
-
enumerable: true,
|
|
181
|
-
writable: true,
|
|
182
|
-
configurable: true,
|
|
183
|
-
value: lang
|
|
184
|
-
});
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
return lang;
|
|
188
|
-
}));
|
package/src/lang/da.d.ts
DELETED
package/src/lang/da.js
DELETED
|
@@ -1,191 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* wysiwyg web editor
|
|
3
|
-
*
|
|
4
|
-
* suneditor.js
|
|
5
|
-
* Copyright 2017 JiHong Lee.
|
|
6
|
-
*
|
|
7
|
-
* Danish translation by davidkonrad at github or gmail
|
|
8
|
-
*
|
|
9
|
-
* MIT license.
|
|
10
|
-
*/
|
|
11
|
-
'use strict';
|
|
12
|
-
|
|
13
|
-
(function (global, factory) {
|
|
14
|
-
if (typeof module === 'object' && typeof module.exports === 'object') {
|
|
15
|
-
module.exports = global.document ?
|
|
16
|
-
factory(global, true) :
|
|
17
|
-
function (w) {
|
|
18
|
-
if (!w.document) {
|
|
19
|
-
throw new Error('SUNEDITOR_LANG a window with a document');
|
|
20
|
-
}
|
|
21
|
-
return factory(w);
|
|
22
|
-
};
|
|
23
|
-
} else {
|
|
24
|
-
factory(global);
|
|
25
|
-
}
|
|
26
|
-
}(typeof window !== 'undefined' ? window : this, function (window, noGlobal) {
|
|
27
|
-
const lang = {
|
|
28
|
-
code: 'da',
|
|
29
|
-
toolbar: {
|
|
30
|
-
default: 'Default',
|
|
31
|
-
save: 'Gem',
|
|
32
|
-
font: 'Skrifttype',
|
|
33
|
-
formats: 'Format',
|
|
34
|
-
fontSize: 'Skriftstørrelse',
|
|
35
|
-
bold: 'Fed',
|
|
36
|
-
underline: 'Understreget',
|
|
37
|
-
italic: 'Skråskrift',
|
|
38
|
-
strike: 'Overstreget',
|
|
39
|
-
subscript: 'Sænket skrift',
|
|
40
|
-
superscript: 'Hævet skrift',
|
|
41
|
-
removeFormat: 'Fjern formatering',
|
|
42
|
-
fontColor: 'Skriftfarve',
|
|
43
|
-
hiliteColor: 'Baggrundsfarve',
|
|
44
|
-
indent: 'Ryk ind',
|
|
45
|
-
outdent: 'Ryk ud',
|
|
46
|
-
align: 'Justering',
|
|
47
|
-
alignLeft: 'Venstrejustering',
|
|
48
|
-
alignRight: 'Højrejustering',
|
|
49
|
-
alignCenter: 'Midterjustering',
|
|
50
|
-
alignJustify: 'Tilpas margin',
|
|
51
|
-
list: 'Lister',
|
|
52
|
-
orderList: 'Nummereret liste',
|
|
53
|
-
unorderList: 'Uordnet liste',
|
|
54
|
-
horizontalRule: 'Horisontal linie',
|
|
55
|
-
hr_solid: 'Almindelig',
|
|
56
|
-
hr_dotted: 'Punkteret',
|
|
57
|
-
hr_dashed: 'Streget',
|
|
58
|
-
table: 'Tabel',
|
|
59
|
-
link: 'Link',
|
|
60
|
-
math: 'Math',
|
|
61
|
-
image: 'Billede',
|
|
62
|
-
video: 'Video',
|
|
63
|
-
audio: 'Audio',
|
|
64
|
-
fullScreen: 'Fuld skærm',
|
|
65
|
-
showBlocks: 'Vis blokke',
|
|
66
|
-
codeView: 'Vis koder',
|
|
67
|
-
undo: 'Undo',
|
|
68
|
-
redo: 'Redo',
|
|
69
|
-
preview: 'Preview',
|
|
70
|
-
print: 'Print',
|
|
71
|
-
tag_p: 'Paragraph',
|
|
72
|
-
tag_div: 'Normal (DIV)',
|
|
73
|
-
tag_h: 'Overskrift',
|
|
74
|
-
tag_blockquote: 'Citer',
|
|
75
|
-
tag_pre: 'Code',
|
|
76
|
-
template: 'Schablone',
|
|
77
|
-
lineHeight: 'Linjehøjde',
|
|
78
|
-
paragraphStyle: 'Afsnitstil',
|
|
79
|
-
textStyle: 'Tekststil',
|
|
80
|
-
imageGallery: 'Billedgalleri',
|
|
81
|
-
dir_ltr: 'Venstre til højre',
|
|
82
|
-
dir_rtl: 'Højre til venstre',
|
|
83
|
-
mention: 'Nævne'
|
|
84
|
-
},
|
|
85
|
-
dialogBox: {
|
|
86
|
-
linkBox: {
|
|
87
|
-
title: 'Indsæt link',
|
|
88
|
-
url: 'URL til link',
|
|
89
|
-
text: 'Tekst for link',
|
|
90
|
-
newWindowCheck: 'Åben i nyt faneblad',
|
|
91
|
-
downloadLinkCheck: 'Download link',
|
|
92
|
-
bookmark: 'Bogmærke'
|
|
93
|
-
},
|
|
94
|
-
mathBox: {
|
|
95
|
-
title: 'Math',
|
|
96
|
-
inputLabel: 'Matematisk notation',
|
|
97
|
-
fontSizeLabel: 'Skriftstørrelse',
|
|
98
|
-
previewLabel: 'Preview'
|
|
99
|
-
},
|
|
100
|
-
imageBox: {
|
|
101
|
-
title: 'Indsæt billede',
|
|
102
|
-
file: 'Indsæt fra fil',
|
|
103
|
-
url: 'Indsæt fra URL',
|
|
104
|
-
altText: 'Alternativ tekst'
|
|
105
|
-
},
|
|
106
|
-
videoBox: {
|
|
107
|
-
title: 'Indsæt Video',
|
|
108
|
-
file: 'Indsæt fra fil',
|
|
109
|
-
url: 'Indlejr video / YouTube,Vimeo'
|
|
110
|
-
},
|
|
111
|
-
audioBox: {
|
|
112
|
-
title: 'Indsæt Audio',
|
|
113
|
-
file: 'Indsæt fra fil',
|
|
114
|
-
url: 'Indsæt fra URL'
|
|
115
|
-
},
|
|
116
|
-
browser: {
|
|
117
|
-
tags: 'Tags',
|
|
118
|
-
search: 'Søg',
|
|
119
|
-
},
|
|
120
|
-
caption: 'Indsæt beskrivelse',
|
|
121
|
-
close: 'Luk',
|
|
122
|
-
submitButton: 'Gennemfør',
|
|
123
|
-
revertButton: 'Gendan',
|
|
124
|
-
proportion: 'Bevar proportioner',
|
|
125
|
-
basic: 'Basis',
|
|
126
|
-
left: 'Venstre',
|
|
127
|
-
right: 'Højre',
|
|
128
|
-
center: 'Center',
|
|
129
|
-
width: 'Bredde',
|
|
130
|
-
height: 'Højde',
|
|
131
|
-
size: 'Størrelse',
|
|
132
|
-
ratio: 'Forhold'
|
|
133
|
-
},
|
|
134
|
-
controller: {
|
|
135
|
-
edit: 'Rediger',
|
|
136
|
-
unlink: 'Fjern link',
|
|
137
|
-
remove: 'Fjern',
|
|
138
|
-
insertRowAbove: 'Indsæt række foroven',
|
|
139
|
-
insertRowBelow: 'Indsæt række nedenfor',
|
|
140
|
-
deleteRow: 'Slet række',
|
|
141
|
-
insertColumnBefore: 'Indsæt kolonne før',
|
|
142
|
-
insertColumnAfter: 'Indsæt kolonne efter',
|
|
143
|
-
deleteColumn: 'Slet kolonne',
|
|
144
|
-
fixedColumnWidth: 'Fast søjlebredde',
|
|
145
|
-
resize100: 'Forstør 100%',
|
|
146
|
-
resize75: 'Forstør 75%',
|
|
147
|
-
resize50: 'Forstør 50%',
|
|
148
|
-
resize25: 'Forstør 25%',
|
|
149
|
-
autoSize: 'Auto størrelse',
|
|
150
|
-
mirrorHorizontal: 'Spejling, horisontal',
|
|
151
|
-
mirrorVertical: 'Spejling, vertikal',
|
|
152
|
-
rotateLeft: 'Roter til venstre',
|
|
153
|
-
rotateRight: 'Toter til højre',
|
|
154
|
-
maxSize: 'Max størrelse',
|
|
155
|
-
minSize: 'Min størrelse',
|
|
156
|
-
tableHeader: 'Tabel overskrift',
|
|
157
|
-
mergeCells: 'Sammenlæg celler (merge)',
|
|
158
|
-
splitCells: 'Opdel celler',
|
|
159
|
-
HorizontalSplit: 'Opdel horisontalt',
|
|
160
|
-
VerticalSplit: 'Opdel vertikalt'
|
|
161
|
-
},
|
|
162
|
-
menu: {
|
|
163
|
-
spaced: 'Brev Afstand',
|
|
164
|
-
bordered: 'Afgrænsningslinje',
|
|
165
|
-
neon: 'Neon',
|
|
166
|
-
translucent: 'Gennemsigtig',
|
|
167
|
-
shadow: 'Skygge',
|
|
168
|
-
code: 'Code'
|
|
169
|
-
}
|
|
170
|
-
};
|
|
171
|
-
|
|
172
|
-
if (typeof noGlobal === typeof undefined) {
|
|
173
|
-
if (!window.SUNEDITOR_LANG) {
|
|
174
|
-
Object.defineProperty(window, 'SUNEDITOR_LANG', {
|
|
175
|
-
enumerable: true,
|
|
176
|
-
writable: false,
|
|
177
|
-
configurable: false,
|
|
178
|
-
value: {}
|
|
179
|
-
});
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
Object.defineProperty(window.SUNEDITOR_LANG, 'da', {
|
|
183
|
-
enumerable: true,
|
|
184
|
-
writable: true,
|
|
185
|
-
configurable: true,
|
|
186
|
-
value: lang
|
|
187
|
-
});
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
return lang;
|
|
191
|
-
}));
|
package/src/lang/de.d.ts
DELETED
package/src/lang/de.js
DELETED
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* wysiwyg web editor
|
|
3
|
-
*
|
|
4
|
-
* suneditor.js
|
|
5
|
-
* Copyright 2019 @Gundolf68
|
|
6
|
-
* MIT license.
|
|
7
|
-
*/
|
|
8
|
-
'use strict';
|
|
9
|
-
|
|
10
|
-
(function (global, factory) {
|
|
11
|
-
if (typeof module === 'object' && typeof module.exports === 'object') {
|
|
12
|
-
module.exports = global.document ?
|
|
13
|
-
factory(global, true) :
|
|
14
|
-
function (w) {
|
|
15
|
-
if (!w.document) {
|
|
16
|
-
throw new Error('SUNEDITOR_LANG a window with a document');
|
|
17
|
-
}
|
|
18
|
-
return factory(w);
|
|
19
|
-
};
|
|
20
|
-
} else {
|
|
21
|
-
factory(global);
|
|
22
|
-
}
|
|
23
|
-
}(typeof window !== 'undefined' ? window : this, function (window, noGlobal) {
|
|
24
|
-
const lang = {
|
|
25
|
-
code: 'de',
|
|
26
|
-
toolbar: {
|
|
27
|
-
default: 'Standard',
|
|
28
|
-
save: 'Speichern',
|
|
29
|
-
font: 'Schriftart',
|
|
30
|
-
formats: 'Format',
|
|
31
|
-
fontSize: 'Schriftgröße',
|
|
32
|
-
bold: 'Fett',
|
|
33
|
-
underline: 'Unterstrichen',
|
|
34
|
-
italic: 'Kursiv',
|
|
35
|
-
strike: 'Durchgestrichen',
|
|
36
|
-
subscript: 'Tiefgestellt',
|
|
37
|
-
superscript: 'Hochgestellt',
|
|
38
|
-
removeFormat: 'Format entfernen',
|
|
39
|
-
fontColor: 'Schriftfarbe',
|
|
40
|
-
hiliteColor: 'Farbe für Hervorhebungen',
|
|
41
|
-
indent: 'Einzug vergrößern',
|
|
42
|
-
outdent: 'Einzug verkleinern',
|
|
43
|
-
align: 'Ausrichtung',
|
|
44
|
-
alignLeft: 'Links ausrichten',
|
|
45
|
-
alignRight: 'Rechts ausrichten',
|
|
46
|
-
alignCenter: 'Zentriert ausrichten',
|
|
47
|
-
alignJustify: 'Blocksatz',
|
|
48
|
-
list: 'Liste',
|
|
49
|
-
orderList: 'Nummerierte Liste',
|
|
50
|
-
unorderList: 'Aufzählung',
|
|
51
|
-
horizontalRule: 'Horizontale Linie',
|
|
52
|
-
hr_solid: 'Strich',
|
|
53
|
-
hr_dotted: 'Gepunktet',
|
|
54
|
-
hr_dashed: 'Gestrichelt',
|
|
55
|
-
table: 'Tabelle',
|
|
56
|
-
link: 'Link',
|
|
57
|
-
math: 'Mathematik',
|
|
58
|
-
image: 'Bild',
|
|
59
|
-
video: 'Video',
|
|
60
|
-
audio: 'Audio',
|
|
61
|
-
fullScreen: 'Vollbild',
|
|
62
|
-
showBlocks: 'Blockformatierungen anzeigen',
|
|
63
|
-
codeView: 'Quelltext anzeigen',
|
|
64
|
-
undo: 'Rückgängig',
|
|
65
|
-
redo: 'Wiederholen',
|
|
66
|
-
preview: 'Vorschau',
|
|
67
|
-
print: 'Drucken',
|
|
68
|
-
tag_p: 'Absatz',
|
|
69
|
-
tag_div: 'Normal (DIV)',
|
|
70
|
-
tag_h: 'Header',
|
|
71
|
-
tag_blockquote: 'Zitat',
|
|
72
|
-
tag_pre: 'Quellcode',
|
|
73
|
-
template: 'Vorlage',
|
|
74
|
-
lineHeight: 'Zeilenhöhe',
|
|
75
|
-
paragraphStyle: 'Absatzstil',
|
|
76
|
-
textStyle: 'Textstil',
|
|
77
|
-
imageGallery: 'Bildergalerie',
|
|
78
|
-
dir_ltr: 'Links nach rechts',
|
|
79
|
-
dir_rtl: 'Rechts nach links',
|
|
80
|
-
mention: 'Erwähnen'
|
|
81
|
-
},
|
|
82
|
-
dialogBox: {
|
|
83
|
-
linkBox: {
|
|
84
|
-
title: 'Link einfügen',
|
|
85
|
-
url: 'Link-URL',
|
|
86
|
-
text: 'Link-Text',
|
|
87
|
-
newWindowCheck: 'In neuem Fenster anzeigen',
|
|
88
|
-
downloadLinkCheck: 'Download-Link',
|
|
89
|
-
bookmark: 'Lesezeichen'
|
|
90
|
-
},
|
|
91
|
-
mathBox: {
|
|
92
|
-
title: 'Mathematik',
|
|
93
|
-
inputLabel: 'Mathematische Notation',
|
|
94
|
-
fontSizeLabel: 'Schriftgröße',
|
|
95
|
-
previewLabel: 'Vorschau'
|
|
96
|
-
},
|
|
97
|
-
imageBox: {
|
|
98
|
-
title: 'Bild einfügen',
|
|
99
|
-
file: 'Datei auswählen',
|
|
100
|
-
url: 'Bild-URL',
|
|
101
|
-
altText: 'Alternativer Text'
|
|
102
|
-
},
|
|
103
|
-
videoBox: {
|
|
104
|
-
title: 'Video einfügen',
|
|
105
|
-
file: 'Datei auswählen',
|
|
106
|
-
url: 'Video-URL, YouTube/Vimeo'
|
|
107
|
-
},
|
|
108
|
-
audioBox: {
|
|
109
|
-
title: 'Audio einfügen',
|
|
110
|
-
file: 'Datei auswählen',
|
|
111
|
-
url: 'Audio-URL'
|
|
112
|
-
},
|
|
113
|
-
browser: {
|
|
114
|
-
tags: 'Stichworte',
|
|
115
|
-
search: 'Suche',
|
|
116
|
-
},
|
|
117
|
-
caption: 'Beschreibung eingeben',
|
|
118
|
-
close: 'Schließen',
|
|
119
|
-
submitButton: 'Übernehmen',
|
|
120
|
-
revertButton: 'Rückgängig',
|
|
121
|
-
proportion: 'Seitenverhältnis beibehalten',
|
|
122
|
-
basic: 'Standard',
|
|
123
|
-
left: 'Links',
|
|
124
|
-
right: 'Rechts',
|
|
125
|
-
center: 'Zentriert',
|
|
126
|
-
width: 'Breite',
|
|
127
|
-
height: 'Höhe',
|
|
128
|
-
size: 'Größe',
|
|
129
|
-
ratio: 'Verhältnis'
|
|
130
|
-
},
|
|
131
|
-
controller: {
|
|
132
|
-
edit: 'Bearbeiten',
|
|
133
|
-
unlink: 'Link entfernen',
|
|
134
|
-
remove: 'Löschen',
|
|
135
|
-
insertRowAbove: 'Zeile oberhalb einfügen',
|
|
136
|
-
insertRowBelow: 'Zeile unterhalb einfügen',
|
|
137
|
-
deleteRow: 'Zeile löschen',
|
|
138
|
-
insertColumnBefore: 'Spalte links einfügen',
|
|
139
|
-
insertColumnAfter: 'Spalte rechts einfügen',
|
|
140
|
-
deleteColumn: 'Spalte löschen',
|
|
141
|
-
fixedColumnWidth: 'Feste Spaltenbreite',
|
|
142
|
-
resize100: 'Zoom 100%',
|
|
143
|
-
resize75: 'Zoom 75%',
|
|
144
|
-
resize50: 'Zoom 50%',
|
|
145
|
-
resize25: 'Zoom 25%',
|
|
146
|
-
autoSize: 'Automatische Größenanpassung',
|
|
147
|
-
mirrorHorizontal: 'Horizontal spiegeln',
|
|
148
|
-
mirrorVertical: 'Vertikal spiegeln',
|
|
149
|
-
rotateLeft: 'Nach links drehen',
|
|
150
|
-
rotateRight: 'Nach rechts drehen',
|
|
151
|
-
maxSize: 'Maximale Größe',
|
|
152
|
-
minSize: 'Mindestgröße',
|
|
153
|
-
tableHeader: 'Tabellenüberschrift',
|
|
154
|
-
mergeCells: 'Zellen verbinden',
|
|
155
|
-
splitCells: 'Zellen teilen',
|
|
156
|
-
HorizontalSplit: 'Horizontal teilen',
|
|
157
|
-
VerticalSplit: 'Vertikal teilen'
|
|
158
|
-
},
|
|
159
|
-
menu: {
|
|
160
|
-
spaced: 'Buchstabenabstand',
|
|
161
|
-
bordered: 'Umrandet',
|
|
162
|
-
neon: 'Neon',
|
|
163
|
-
translucent: 'Durchscheinend',
|
|
164
|
-
shadow: 'Schatten',
|
|
165
|
-
code: 'Quellcode'
|
|
166
|
-
}
|
|
167
|
-
};
|
|
168
|
-
|
|
169
|
-
if (typeof noGlobal === typeof undefined) {
|
|
170
|
-
if (!window.SUNEDITOR_LANG) {
|
|
171
|
-
Object.defineProperty(window, 'SUNEDITOR_LANG', {
|
|
172
|
-
enumerable: true,
|
|
173
|
-
writable: false,
|
|
174
|
-
configurable: false,
|
|
175
|
-
value: {}
|
|
176
|
-
});
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
Object.defineProperty(window.SUNEDITOR_LANG, 'de', {
|
|
180
|
-
enumerable: true,
|
|
181
|
-
writable: true,
|
|
182
|
-
configurable: true,
|
|
183
|
-
value: lang
|
|
184
|
-
});
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
return lang;
|
|
188
|
-
}));
|