suneditor 2.41.2 → 2.43.0

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.
Files changed (50) hide show
  1. package/README.md +116 -28
  2. package/dist/css/suneditor.min.css +1 -1
  3. package/dist/suneditor.min.js +2 -2
  4. package/package.json +4 -4
  5. package/src/assets/css/suneditor-contents.css +1 -1
  6. package/src/assets/css/suneditor.css +27 -7
  7. package/src/assets/defaultIcons.js +2 -0
  8. package/src/lang/Lang.d.ts +3 -1
  9. package/src/lang/ckb.js +2 -0
  10. package/src/lang/da.js +2 -0
  11. package/src/lang/de.js +2 -0
  12. package/src/lang/en.js +2 -0
  13. package/src/lang/es.js +2 -0
  14. package/src/lang/fr.js +10 -8
  15. package/src/lang/he.js +2 -0
  16. package/src/lang/it.js +2 -0
  17. package/src/lang/ja.js +2 -0
  18. package/src/lang/ko.js +2 -0
  19. package/src/lang/lv.js +2 -0
  20. package/src/lang/nl.js +2 -0
  21. package/src/lang/pl.js +2 -0
  22. package/src/lang/pt_br.js +2 -0
  23. package/src/lang/ro.js +2 -0
  24. package/src/lang/ru.js +2 -0
  25. package/src/lang/se.js +2 -0
  26. package/src/lang/ua.js +2 -0
  27. package/src/lang/zh_cn.js +3 -1
  28. package/src/lib/constructor.js +68 -16
  29. package/src/lib/context.js +5 -1
  30. package/src/lib/core.d.ts +88 -12
  31. package/src/lib/core.js +789 -212
  32. package/src/lib/util.d.ts +24 -1
  33. package/src/lib/util.js +105 -18
  34. package/src/options.d.ts +79 -9
  35. package/src/plugins/dialog/audio.js +5 -5
  36. package/src/plugins/dialog/image.js +30 -20
  37. package/src/plugins/dialog/link.js +1 -0
  38. package/src/plugins/dialog/video.js +16 -15
  39. package/src/plugins/fileBrowser/imageGallery.js +2 -3
  40. package/src/plugins/modules/_anchor.js +24 -15
  41. package/src/plugins/modules/component.d.ts +1 -1
  42. package/src/plugins/modules/fileBrowser.js +6 -1
  43. package/src/plugins/modules/fileManager.js +1 -3
  44. package/src/plugins/modules/resizing.js +11 -6
  45. package/src/plugins/submenu/align.js +32 -27
  46. package/src/plugins/submenu/font.js +1 -1
  47. package/src/plugins/submenu/fontSize.js +1 -1
  48. package/src/plugins/submenu/horizontalRule.js +19 -25
  49. package/src/plugins/submenu/list.js +13 -5
  50. package/src/plugins/submenu/template.js +5 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "suneditor",
3
- "version": "2.41.2",
3
+ "version": "2.43.0",
4
4
  "description": "Pure JavaScript based WYSIWYG web editor",
5
5
  "author": "JiHong.Lee",
6
6
  "license": "MIT",
@@ -9,7 +9,7 @@
9
9
  "./src/assets/css/*.css"
10
10
  ],
11
11
  "scripts": {
12
- "dev": "webpack-dev-server --open --config webpack.dev.js",
12
+ "dev": "webpack-dev-server --config webpack.dev.js",
13
13
  "start": "npm run dev",
14
14
  "build": "webpack --config webpack.prod.js",
15
15
  "lint": "jshint src",
@@ -40,8 +40,8 @@
40
40
  "html-webpack-plugin": "^3.2.0",
41
41
  "jasmine": "^2.99.0",
42
42
  "jasmine-core": "^2.99.1",
43
- "jshint": "^2.12.0",
44
- "karma": "^4.4.1",
43
+ "jshint": "^2.13.4",
44
+ "karma": "^6.3.19",
45
45
  "karma-chrome-launcher": "^2.2.0",
46
46
  "karma-jasmine": "^1.1.2",
47
47
  "katex": "^0.11.1",
@@ -374,7 +374,7 @@
374
374
  max-width: 100%;
375
375
  }
376
376
  /* image, video - select index */
377
- .sun-editor-editable[contenteditable="true"] figure::after {
377
+ .sun-editor-editable[contenteditable="true"]:not(.se-read-only) figure::after {
378
378
  position: absolute;
379
379
  content: '';
380
380
  z-index: 1;
@@ -137,8 +137,9 @@
137
137
 
138
138
  /** --- toolbar ---------------------------------------------------------- */
139
139
  .sun-editor .se-toolbar {display:block; position:relative; height:auto; width:100%; overflow:visible; padding:0; margin:0; background-color:#fafafa; outline:1px solid #dadada; z-index:5;}
140
+ .sun-editor .se-toolbar-shadow {display:block !important; height:0px !important; padding:0 !important; margin:0 !important; background-color:transparent !important; outline:none !important; border: none !important; z-index:0 !important;}
140
141
  .sun-editor .se-toolbar-cover {position:absolute; display:none; font-size:36px; width:100%; height:100%; top:0; left:0; background-color:#fefefe; opacity:.5; filter:alpha(opacity=50); cursor:not-allowed; z-index:4;}
141
- .sun-editor .se-toolbar-separator-vertical {display:inline-block; height:0px; width:0px; margin:1px; vertical-align:top;}
142
+ .sun-editor .se-toolbar-separator-vertical {display:inline-block; height:0px; width:0px; margin:0px; vertical-align:top;}
142
143
  /* inline toolbar */
143
144
  .sun-editor .se-toolbar.se-toolbar-inline {display:none; position:absolute; box-shadow:0 3px 9px rgba(0,0,0,.5); -webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);}
144
145
  /* balloon toolbar */
@@ -150,8 +151,8 @@
150
151
  /** --- tool bar --- module --- button, module, group ---------------------------------------------------------- */
151
152
  /* module */
152
153
  .sun-editor .se-btn-module {display:inline-block;}
153
- .sun-editor .se-btn-module-border {border:1px solid #dadada; border-radius:4px;}
154
- .sun-editor .se-btn-module-enter {display:block; width:100%; height:1px; margin-bottom:5px; background-color:transparent;}
154
+ .sun-editor .se-btn-module-border {border:1px solid #dadada; border-radius:4px; margin-left:1px; margin-right:1px;}
155
+ .sun-editor .se-btn-module-enter {display:block; width:100%; height:0px; margin:0; padding:0; background-color:transparent;}
155
156
  /* ---more - layer */
156
157
  .sun-editor .se-toolbar-more-layer {margin:0 -3px; background-color:#fafafa;}
157
158
  .sun-editor .se-toolbar-more-layer .se-more-layer {display:none; border-top:1px solid #dadada;}
@@ -167,7 +168,6 @@
167
168
  /* tool bar select button (font, fontSize, formatBlock) */
168
169
  .sun-editor .se-btn-select {width:auto; display:flex; padding:4px 6px;}
169
170
  .sun-editor .se-btn-select .txt {flex:auto; text-align:left;}
170
- .sun-editor.se-rtl .se-btn-select svg {margin:auto 1px;}
171
171
  .sun-editor .se-btn-select.se-btn-tool-font {width:100px;}
172
172
  .sun-editor .se-btn-select.se-btn-tool-format {width:82px;}
173
173
  .sun-editor .se-btn-select.se-btn-tool-size {width:78px;}
@@ -207,6 +207,7 @@
207
207
  .sun-editor .se-list-layer.se-list-font-family .default {border-bottom:1px solid #CCC;}
208
208
  /* submenu layer - hr */
209
209
  .sun-editor .se-list-layer.se-list-line {width:125px;}
210
+ .sun-editor .se-list-layer.se-list-line hr {border-width: 1px 0 0; height: 1px;}
210
211
  /* submenu layer - align */
211
212
  .sun-editor .se-list-layer.se-list-align .se-list-inner {left:9px; width:125px;}
212
213
  /** submenu layer - format block, paragraph style, text style */
@@ -334,7 +335,7 @@
334
335
  .sun-editor .se-dialog-tabs button.active {background-color:#fff;border-bottom:0;}
335
336
 
336
337
  /* dialog - modal - math */
337
- .sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-input-form.se-math-exp {resize:vertical; height:4rem; border:1px solid #ccc; font-size:13px; padding:4px; direction:ltr;}
338
+ .sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-input-form.se-math-exp {resize:vertical; height:14em; border:1px solid #ccc; font-size:13px; padding:4px; direction:ltr;}
338
339
  .sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-input-select.se-math-size {width:6em; height:28px; margin-left:1em;}
339
340
  .sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-math-preview {font-size:13px;}
340
341
  .sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-math-preview > span {display:inline-block; -webkit-box-shadow:0 0 0 0.1rem #c7deff; box-shadow:0 0 0 0.1rem #c7deff;}
@@ -464,6 +465,7 @@
464
465
  /** --- RTL ---------------------------------------------------------- */
465
466
  /* tray */
466
467
  .sun-editor.se-rtl .se-btn-tray {direction:rtl;}
468
+ .sun-editor.se-rtl .se-btn-select svg {margin:auto 1px;}
467
469
 
468
470
  /* button--- */
469
471
  /* button - select text */
@@ -472,8 +474,8 @@
472
474
  .sun-editor.se-rtl .se-btn-list {text-align:right;}
473
475
  .sun-editor.se-rtl .se-btn-list > .se-list-icon {margin:-1px 0 0 10px;}
474
476
  /* button - se-menu-list - li */
475
- .sun-editor.se-rtl .se-menu-list {float:right;}
476
- .sun-editor.se-rtl .se-menu-list li {float:right;}
477
+ .sun-editor.se-rtl .se-menu-list:not(.se-menu-dir-fix) {float:right;}
478
+ .sun-editor.se-rtl .se-menu-list:not(.se-menu-dir-fix) li {float:right;}
477
479
 
478
480
  /* menu list--- */
479
481
  .sun-editor.se-rtl .se-list-layer * {direction:rtl;}
@@ -523,6 +525,24 @@
523
525
  .sun-editor.se-rtl .se-resizing-container .se-resize-display {direction:rtl;}
524
526
  /** --- RTL ---------------------------------------------------------- */
525
527
 
528
+ /** button module float --------------------------------------------- */
529
+ .sun-editor .se-btn-module-border.module-float-left {float:left;}
530
+ .sun-editor .se-btn-module-border.module-float-right {float:right;}
531
+
532
+
533
+ /** ---------------------------------------------------------- menu items style ---------------------------------------------------------- */
534
+ /** hr menu items */
535
+ .sun-editor hr.__se__solid {
536
+ border-style: solid none none;
537
+ }
538
+ .sun-editor hr.__se__dotted {
539
+ border-style: dotted none none;
540
+ }
541
+ .sun-editor hr.__se__dashed {
542
+ border-style: dashed none none;
543
+ }
544
+ /** ---------------------------------------------------------- menu items style ---------------------------------------------------------- */
545
+
526
546
 
527
547
  /** animation */
528
548
  @keyframes blinker { 50% {opacity:0;} }
@@ -85,6 +85,8 @@ export default {
85
85
  image_gallery: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="30 30 150 150"><g><path d="M152.775,120.548V51.651c0-12.271-9.984-22.254-22.254-22.254H43.727c-12.271,0-22.254,9.983-22.254,22.254v68.896c0,12.27,9.983,22.254,22.254,22.254h86.795C142.791,142.802,152.775,132.817,152.775,120.548z M36.394,51.651c0-4.042,3.291-7.333,7.333-7.333h86.795c4.042,0,7.332,3.291,7.332,7.333v23.917l-14.938-17.767c-1.41-1.678-3.487-2.649-5.68-2.658h-0.029c-2.184,0-4.255,0.954-5.674,2.613L76.709,98.519l-9.096-9.398c-1.427-1.474-3.392-2.291-5.448-2.273c-2.052,0.025-4.004,0.893-5.396,2.4L36.394,111.32V51.651z M41.684,127.585l20.697-22.416l9.312,9.622c1.461,1.511,3.489,2.334,5.592,2.27c2.101-0.066,4.075-1.013,5.44-2.612l34.436-40.308l20.693,24.613v21.794c0,4.042-3.29,7.332-7.332,7.332H43.727C43.018,127.88,42.334,127.775,41.684,127.585z M182.616,152.5V75.657c0-4.12-3.34-7.46-7.461-7.46c-4.119,0-7.46,3.34-7.46,7.46V152.5c0,4.112-3.347,7.46-7.461,7.46h-94c-4.119,0-7.46,3.339-7.46,7.459c0,4.123,3.341,7.462,7.46,7.462h94C172.576,174.881,182.616,164.841,182.616,152.5z"/></g></svg>',
86
86
  bookmark: '<svg viewBox="0 0 24 24"><path d="M17,3H7A2,2 0 0,0 5,5V21L12,18L19,21V5C19,3.89 18.1,3 17,3Z" /></svg>',
87
87
  download: '<svg viewBox="0 0 24 24"><path d="M2 12H4V17H20V12H22V17C22 18.11 21.11 19 20 19H4C2.9 19 2 18.11 2 17V12M12 15L17.55 9.54L16.13 8.13L13 11.25V2H11V11.25L7.88 8.13L6.46 9.55L12 15Z" /></svg>',
88
+ dir_ltr: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M9 4v4c-1.1 0-2-.9-2-2s.9-2 2-2m8-2H9C6.79 2 5 3.79 5 6s1.79 4 4 4v5h2V4h2v11h2V4h2V2zm0 12v3H5v2h12v3l4-4-4-4z"/></svg>',
89
+ dir_rtl: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M10 4v4c-1.1 0-2-.9-2-2s.9-2 2-2m8-2h-8C7.79 2 6 3.79 6 6s1.79 4 4 4v5h2V4h2v11h2V4h2V2zM8 14l-4 4 4 4v-3h12v-2H8v-3z"/></svg>',
88
90
  // More icons
89
91
  more_text: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="10 10 180 180"><g><path d="M49.711,142.188h49.027c2.328,0.002,4.394,1.492,5.129,3.699l9.742,29.252c0.363,1.092,1.385,1.828,2.537,1.83l15.883,0.01c0.859,0,1.667-0.412,2.17-1.109s0.641-1.594,0.37-2.41l-16.625-50.045L86.503,28.953c-0.36-1.097-1.383-1.839-2.537-1.842H64.532c-1.153-0.001-2.178,0.736-2.542,1.831L13.847,173.457c-0.271,0.816-0.135,1.713,0.369,2.412c0.503,0.697,1.311,1.109,2.171,1.109h15.872c1.151,0,2.173-0.736,2.537-1.828l9.793-29.287C45.325,143.66,47.39,142.18,49.711,142.188L49.711,142.188z M53.493,119.098l15.607-46.9c0.744-2.196,2.806-3.674,5.125-3.674s4.381,1.478,5.125,3.674l15.607,46.904c0.537,1.621,0.263,3.402-0.736,4.789c-1.018,1.408-2.649,2.24-4.386,2.24H58.615c-1.736,0-3.368-0.832-4.386-2.24C53.23,122.504,52.956,120.721,53.493,119.098L53.493,119.098z M190.465,63.32c0-2.919-1.015-5.396-3.059-7.428c-2.029-2.031-4.496-3.047-7.383-3.047c-2.889,0-5.355,1.016-7.388,3.047c-2.029,2.032-3.056,4.498-3.056,7.386c0,2.889,1.026,5.354,3.056,7.385c2.032,2.032,4.499,3.059,7.388,3.059c2.887,0,5.354-1.026,7.383-3.059C189.45,68.633,190.465,66.178,190.465,63.32L190.465,63.32z M190.465,101.994c0-2.858-1.015-5.313-3.059-7.333c-2.029-2.042-4.496-3.047-7.383-3.047c-2.889,0-5.355,1.005-7.388,3.047c-2.029,2.021-3.056,4.486-3.056,7.376c0,2.887,1.026,5.352,3.056,7.395c2.032,2.021,4.499,3.047,7.388,3.047c2.887,0,5.354-1.025,7.383-3.047C189.45,107.389,190.465,104.914,190.465,101.994L190.465,101.994z M190.465,140.76c0-2.918-1.015-5.395-3.059-7.438c-2.029-2.041-4.496-3.047-7.383-3.047c-2.889,0-5.355,1.006-7.388,3.047c-2.029,2.043-3.056,4.52-3.056,7.438c0,2.922,1.026,5.398,3.056,7.439c2.032,2.021,4.499,3.047,7.388,3.047c2.887,0,5.354-1.025,7.383-3.047C189.45,146.158,190.465,143.682,190.465,140.76L190.465,140.76z"/></g></svg>',
90
92
  more_paragraph: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="10 10 180 180"><g><path d="M128.39,28.499H63.493c-25.558,0-46.354,20.796-46.354,46.354c0,25.559,20.796,46.353,46.354,46.353h9.271v55.625h18.542V47.04h9.271V176.83h18.543V47.04h9.271V28.499z M72.764,102.664h-9.271c-15.337,0-27.813-12.475-27.813-27.812c0-15.336,12.476-27.813,27.813-27.813h9.271V102.664z M190.465,63.32c0-2.919-1.015-5.396-3.059-7.428c-2.029-2.031-4.496-3.047-7.383-3.047c-2.889,0-5.355,1.016-7.388,3.047c-2.029,2.032-3.056,4.498-3.056,7.386c0,2.889,1.026,5.354,3.056,7.385c2.032,2.032,4.499,3.059,7.388,3.059c2.887,0,5.354-1.026,7.383-3.059C189.45,68.633,190.465,66.178,190.465,63.32L190.465,63.32z M190.465,101.994c0-2.858-1.015-5.313-3.059-7.333c-2.029-2.042-4.496-3.047-7.383-3.047c-2.889,0-5.355,1.005-7.388,3.047c-2.029,2.021-3.056,4.486-3.056,7.376c0,2.887,1.026,5.352,3.056,7.395c2.032,2.021,4.499,3.047,7.388,3.047c2.887,0,5.354-1.025,7.383-3.047C189.45,107.389,190.465,104.914,190.465,101.994L190.465,101.994z M190.465,140.76c0-2.918-1.015-5.395-3.059-7.438c-2.029-2.041-4.496-3.047-7.383-3.047c-2.889,0-5.355,1.006-7.388,3.047c-2.029,2.043-3.056,4.52-3.056,7.438c0,2.922,1.026,5.398,3.056,7.439c2.032,2.021,4.499,3.047,7.388,3.047c2.887,0,5.354-1.025,7.383-3.047C189.45,146.158,190.465,143.682,190.465,140.76L190.465,140.76z"/></g></svg>',
@@ -52,7 +52,9 @@ export interface Lang {
52
52
  paragraphStyle: string;
53
53
  textStyle: string;
54
54
  imageGallery: string;
55
- mention: string
55
+ dir_ltr: string;
56
+ dir_rtl: string;
57
+ mention: string;
56
58
  };
57
59
  dialogBox: {
58
60
  linkBox: {
package/src/lang/ckb.js CHANGED
@@ -75,6 +75,8 @@
75
75
  paragraphStyle: 'ستایلی په‌ره‌گراف',
76
76
  textStyle: 'ستایلی نوسین',
77
77
  imageGallery: 'گاله‌ری وێنه‌كان',
78
+ dir_ltr: 'من اليسار إلى اليمين',
79
+ dir_rtl: 'من اليمين الى اليسار',
78
80
  mention: 'تنويه ب'
79
81
  },
80
82
  dialogBox: {
package/src/lang/da.js CHANGED
@@ -78,6 +78,8 @@
78
78
  paragraphStyle: 'Afsnitstil',
79
79
  textStyle: 'Tekststil',
80
80
  imageGallery: 'Billedgalleri',
81
+ dir_ltr: 'Venstre til højre',
82
+ dir_rtl: 'Højre til venstre',
81
83
  mention: 'Nævne'
82
84
  },
83
85
  dialogBox: {
package/src/lang/de.js CHANGED
@@ -75,6 +75,8 @@
75
75
  paragraphStyle: 'Absatzstil',
76
76
  textStyle: 'Textstil',
77
77
  imageGallery: 'Bildergalerie',
78
+ dir_ltr: 'Links nach rechts',
79
+ dir_rtl: 'Rechts nach links',
78
80
  mention: 'Erwähnen'
79
81
  },
80
82
  dialogBox: {
package/src/lang/en.js CHANGED
@@ -75,6 +75,8 @@
75
75
  paragraphStyle: 'Paragraph style',
76
76
  textStyle: 'Text style',
77
77
  imageGallery: 'Image gallery',
78
+ dir_ltr: 'Left to right',
79
+ dir_rtl: 'Right to left',
78
80
  mention: 'Mention'
79
81
  },
80
82
  dialogBox: {
package/src/lang/es.js CHANGED
@@ -75,6 +75,8 @@
75
75
  paragraphStyle: 'Estilo del parrafo',
76
76
  textStyle: 'Estilo del texto',
77
77
  imageGallery: 'Galería de imágenes',
78
+ dir_ltr: 'De izquierda a derecha',
79
+ dir_rtl: 'De derecha a izquierda',
78
80
  mention: 'Mencionar'
79
81
  },
80
82
  dialogBox: {
package/src/lang/fr.js CHANGED
@@ -35,7 +35,7 @@
35
35
  strike: 'Barré',
36
36
  subscript: 'Indice',
37
37
  superscript: 'Exposant',
38
- removeFormat: 'Éffacer le Formatage',
38
+ removeFormat: 'Effacer le formatage',
39
39
  fontColor: 'Couleur du texte',
40
40
  hiliteColor: 'Couleur en arrière plan',
41
41
  indent: 'Indenter',
@@ -57,13 +57,13 @@
57
57
  math: 'Math',
58
58
  image: 'Image',
59
59
  video: 'Video',
60
- audio: 'l\'audio',
60
+ audio: 'Audio',
61
61
  fullScreen: 'Plein écran',
62
62
  showBlocks: 'Voir les blocs',
63
63
  codeView: 'Voir le code',
64
64
  undo: 'Annuler',
65
65
  redo: 'Rétablir',
66
- preview: 'Previsualiser',
66
+ preview: 'Prévisualiser',
67
67
  print: 'Imprimer',
68
68
  tag_p: 'Paragraphe',
69
69
  tag_div: 'Normal (DIV)',
@@ -75,6 +75,8 @@
75
75
  paragraphStyle: 'Style de paragraphe',
76
76
  textStyle: 'Style de texte',
77
77
  imageGallery: 'Galerie d\'images',
78
+ dir_ltr: 'De gauche à droite',
79
+ dir_rtl: 'De droite à gauche',
78
80
  mention: 'Mention'
79
81
  },
80
82
  dialogBox: {
@@ -90,7 +92,7 @@
90
92
  title: 'Math',
91
93
  inputLabel: 'Notation mathématique',
92
94
  fontSizeLabel: 'Taille',
93
- previewLabel: 'Previsualiser'
95
+ previewLabel: 'Prévisualiser'
94
96
  },
95
97
  imageBox: {
96
98
  title: 'Insérer une image',
@@ -99,12 +101,12 @@
99
101
  altText: 'Texte Alternatif'
100
102
  },
101
103
  videoBox: {
102
- title: 'Insérer une Vidéo',
104
+ title: 'Insérer une vidéo',
103
105
  file: 'Sélectionner le fichier',
104
106
  url: 'URL d’intégration du média, YouTube/Vimeo'
105
107
  },
106
108
  audioBox: {
107
- title: 'Insertar une l\'audio',
109
+ title: 'Insérer un fichier audio',
108
110
  file: 'Sélectionner le fichier',
109
111
  url: 'Adresse URL du fichier'
110
112
  },
@@ -123,7 +125,7 @@
123
125
  center: 'Centré',
124
126
  width: 'Largeur',
125
127
  height: 'Hauteur',
126
- size: 'La taille',
128
+ size: 'Taille',
127
129
  ratio: 'Rapport'
128
130
  },
129
131
  controller: {
@@ -159,7 +161,7 @@
159
161
  bordered: 'Ligne de démarcation',
160
162
  neon: 'Néon',
161
163
  translucent: 'Translucide',
162
- shadow: 'L\'ombre',
164
+ shadow: 'Ombre',
163
165
  code: 'Code'
164
166
  }
165
167
  };
package/src/lang/he.js CHANGED
@@ -75,6 +75,8 @@
75
75
  paragraphStyle: 'סגנון פסקה',
76
76
  textStyle: 'סגנון גופן',
77
77
  imageGallery: 'גלרית תמונות',
78
+ dir_ltr: 'משמאל לימין',
79
+ dir_rtl: 'מימין לשמאל',
78
80
  mention: 'הזכר'
79
81
  },
80
82
  dialogBox: {
package/src/lang/it.js CHANGED
@@ -75,6 +75,8 @@
75
75
  paragraphStyle: 'Stile paragrafo',
76
76
  textStyle: 'Stile testo',
77
77
  imageGallery: 'Galleria di immagini',
78
+ dir_ltr: 'Da sinistra a destra',
79
+ dir_rtl: 'Da destra a sinistra',
78
80
  mention: 'Menzione'
79
81
  },
80
82
  dialogBox: {
package/src/lang/ja.js CHANGED
@@ -75,6 +75,8 @@
75
75
  paragraphStyle: '段落スタイル',
76
76
  textStyle: 'テキストスタイル',
77
77
  imageGallery: 'イメージギャラリー',
78
+ dir_ltr: '左から右へ',
79
+ dir_rtl: '右から左に',
78
80
  mention: '言及する'
79
81
  },
80
82
  dialogBox: {
package/src/lang/ko.js CHANGED
@@ -75,6 +75,8 @@
75
75
  paragraphStyle: '문단 스타일',
76
76
  textStyle: '글자 스타일',
77
77
  imageGallery: '이미지 갤러리',
78
+ dir_ltr: '왼쪽에서 오른쪽',
79
+ dir_rtl: '오른쪽에서 왼쪽',
78
80
  mention: '멘션'
79
81
  },
80
82
  dialogBox: {
package/src/lang/lv.js CHANGED
@@ -75,6 +75,8 @@
75
75
  paragraphStyle: 'Paragrāfa stils',
76
76
  textStyle: 'Teksta stils',
77
77
  imageGallery: 'Attēlu galerija',
78
+ dir_ltr: 'No kreisās uz labo',
79
+ dir_rtl: 'No labās uz kreiso',
78
80
  mention: 'Pieminēt'
79
81
  },
80
82
  dialogBox: {
package/src/lang/nl.js CHANGED
@@ -75,6 +75,8 @@
75
75
  paragraphStyle: 'Alineastijl',
76
76
  textStyle: 'Tekststijl',
77
77
  imageGallery: 'Galerij',
78
+ dir_ltr: 'Van links naar rechts',
79
+ dir_rtl: 'Rechts naar links',
78
80
  mention: 'Vermelding'
79
81
  },
80
82
  dialogBox: {
package/src/lang/pl.js CHANGED
@@ -75,6 +75,8 @@
75
75
  paragraphStyle: 'Styl akapitu',
76
76
  textStyle: 'Styl tekstu',
77
77
  imageGallery: 'Galeria obrazów',
78
+ dir_ltr: 'Od lewej do prawej',
79
+ dir_rtl: 'Od prawej do lewej',
78
80
  mention: 'Wzmianka'
79
81
  },
80
82
  dialogBox: {
package/src/lang/pt_br.js CHANGED
@@ -76,6 +76,8 @@
76
76
  paragraphStyle: 'Estilo do parágrafo',
77
77
  textStyle: 'Estilo do texto',
78
78
  imageGallery: 'Galeria de imagens',
79
+ dir_ltr: 'Da esquerda para direita',
80
+ dir_rtl: 'Direita para esquerda',
79
81
  mention: 'Menção'
80
82
  },
81
83
  dialogBox: {
package/src/lang/ro.js CHANGED
@@ -75,6 +75,8 @@
75
75
  paragraphStyle: 'Stil paragraf',
76
76
  textStyle: 'Stil text',
77
77
  imageGallery: 'Galerie de imagini',
78
+ dir_ltr: 'De la stânga la dreapta',
79
+ dir_rtl: 'De la dreapta la stanga',
78
80
  mention: 'Mentiune'
79
81
  },
80
82
  dialogBox: {
package/src/lang/ru.js CHANGED
@@ -75,6 +75,8 @@
75
75
  paragraphStyle: 'Стиль абзаца',
76
76
  textStyle: 'Стиль текста',
77
77
  imageGallery: 'Галерея',
78
+ dir_ltr: 'Слева направо',
79
+ dir_rtl: 'Справа налево',
78
80
  mention: 'Упоминание'
79
81
  },
80
82
  dialogBox: {
package/src/lang/se.js CHANGED
@@ -78,6 +78,8 @@
78
78
  paragraphStyle: 'Stil på stycke',
79
79
  textStyle: 'Textstil',
80
80
  imageGallery: 'Bildgalleri',
81
+ dir_ltr: 'Vänster till höger',
82
+ dir_rtl: 'Höger till vänster',
81
83
  mention: 'Namn'
82
84
  },
83
85
  dialogBox: {
package/src/lang/ua.js CHANGED
@@ -75,6 +75,8 @@
75
75
  paragraphStyle: "Стиль абзацу",
76
76
  textStyle: "Стиль тексту",
77
77
  imageGallery: "Галерея",
78
+ dir_ltr: 'Зліва направо',
79
+ dir_rtl: 'Справа наліво',
78
80
  mention: "Згадати"
79
81
  },
80
82
  dialogBox: {
package/src/lang/zh_cn.js CHANGED
@@ -75,13 +75,15 @@
75
75
  paragraphStyle: '段落样式',
76
76
  textStyle: '文字样式',
77
77
  imageGallery: '图片库',
78
+ dir_ltr: '左到右',
79
+ dir_rtl: '右到左',
78
80
  mention: '提到'
79
81
  },
80
82
  dialogBox: {
81
83
  linkBox: {
82
84
  title: '插入超链接',
83
85
  url: '网址',
84
- text: '字体',
86
+ text: '要显示的文字',
85
87
  newWindowCheck: '在新标签页中打开',
86
88
  downloadLinkCheck: '下载链接',
87
89
  bookmark: '书签'