jodit 4.18.8 → 4.18.9

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 (133) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/es2015/jodit.css +1 -1
  3. package/es2015/jodit.fat.min.js +8 -8
  4. package/es2015/jodit.js +53 -33
  5. package/es2015/jodit.min.js +6 -6
  6. package/es2015/plugins/debug/debug.css +1 -1
  7. package/es2015/plugins/debug/debug.js +1 -1
  8. package/es2015/plugins/debug/debug.min.js +1 -1
  9. package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
  10. package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
  11. package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
  12. package/es2018/jodit.fat.min.js +6 -6
  13. package/es2018/jodit.min.js +6 -6
  14. package/es2018/plugins/debug/debug.min.js +1 -1
  15. package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
  16. package/es2021/jodit.css +1 -1
  17. package/es2021/jodit.fat.min.js +6 -6
  18. package/es2021/jodit.js +53 -33
  19. package/es2021/jodit.min.js +6 -6
  20. package/es2021/plugins/debug/debug.css +1 -1
  21. package/es2021/plugins/debug/debug.js +1 -1
  22. package/es2021/plugins/debug/debug.min.js +1 -1
  23. package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
  24. package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
  25. package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
  26. package/es2021.en/jodit.css +1 -1
  27. package/es2021.en/jodit.fat.min.js +6 -6
  28. package/es2021.en/jodit.js +27 -7
  29. package/es2021.en/jodit.min.js +6 -6
  30. package/es2021.en/plugins/debug/debug.css +1 -1
  31. package/es2021.en/plugins/debug/debug.js +1 -1
  32. package/es2021.en/plugins/debug/debug.min.js +1 -1
  33. package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
  34. package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
  35. package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
  36. package/es5/jodit.css +2 -2
  37. package/es5/jodit.fat.min.js +2 -2
  38. package/es5/jodit.js +53 -33
  39. package/es5/jodit.min.css +2 -2
  40. package/es5/jodit.min.js +2 -2
  41. package/es5/plugins/debug/debug.css +1 -1
  42. package/es5/plugins/debug/debug.js +1 -1
  43. package/es5/plugins/debug/debug.min.js +1 -1
  44. package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
  45. package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
  46. package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
  47. package/es5/polyfills.fat.min.js +1 -1
  48. package/es5/polyfills.js +1 -1
  49. package/es5/polyfills.min.js +1 -1
  50. package/esm/core/constants.js +1 -1
  51. package/esm/core/ui/button/tooltip/tooltip.js +7 -0
  52. package/esm/langs/ar.d.ts +1 -0
  53. package/esm/langs/ar.js +2 -1
  54. package/esm/langs/az.d.ts +1 -0
  55. package/esm/langs/az.js +2 -1
  56. package/esm/langs/cs_cz.d.ts +1 -0
  57. package/esm/langs/cs_cz.js +2 -1
  58. package/esm/langs/de.d.ts +1 -0
  59. package/esm/langs/de.js +2 -1
  60. package/esm/langs/es.d.ts +1 -0
  61. package/esm/langs/es.js +2 -1
  62. package/esm/langs/fa.d.ts +1 -0
  63. package/esm/langs/fa.js +2 -1
  64. package/esm/langs/fi.d.ts +1 -0
  65. package/esm/langs/fi.js +2 -1
  66. package/esm/langs/fr.d.ts +1 -0
  67. package/esm/langs/fr.js +2 -1
  68. package/esm/langs/he.d.ts +1 -0
  69. package/esm/langs/he.js +2 -1
  70. package/esm/langs/hu.d.ts +1 -0
  71. package/esm/langs/hu.js +2 -1
  72. package/esm/langs/id.d.ts +1 -0
  73. package/esm/langs/id.js +2 -1
  74. package/esm/langs/it.d.ts +1 -0
  75. package/esm/langs/it.js +2 -1
  76. package/esm/langs/ja.d.ts +1 -0
  77. package/esm/langs/ja.js +2 -1
  78. package/esm/langs/ko.d.ts +1 -0
  79. package/esm/langs/ko.js +2 -1
  80. package/esm/langs/mn.d.ts +1 -0
  81. package/esm/langs/mn.js +2 -1
  82. package/esm/langs/nl.d.ts +1 -0
  83. package/esm/langs/nl.js +2 -1
  84. package/esm/langs/no.d.ts +1 -0
  85. package/esm/langs/no.js +2 -1
  86. package/esm/langs/pl.d.ts +1 -0
  87. package/esm/langs/pl.js +2 -1
  88. package/esm/langs/pt_br.d.ts +1 -0
  89. package/esm/langs/pt_br.js +2 -1
  90. package/esm/langs/ru.d.ts +1 -0
  91. package/esm/langs/ru.js +2 -1
  92. package/esm/langs/sk.d.ts +1 -0
  93. package/esm/langs/sk.js +2 -1
  94. package/esm/langs/sv.d.ts +1 -0
  95. package/esm/langs/sv.js +2 -1
  96. package/esm/langs/tr.d.ts +1 -0
  97. package/esm/langs/tr.js +2 -1
  98. package/esm/langs/ua.d.ts +1 -0
  99. package/esm/langs/ua.js +2 -1
  100. package/esm/langs/zh_cn.d.ts +1 -0
  101. package/esm/langs/zh_cn.js +2 -1
  102. package/esm/langs/zh_tw.d.ts +1 -0
  103. package/esm/langs/zh_tw.js +2 -1
  104. package/esm/modules/dialog/dialog.js +1 -0
  105. package/esm/plugins/ai-assistant/ui/ui-ai-assistant.js +11 -2
  106. package/esm/plugins/bold/config.js +2 -2
  107. package/package.json +1 -1
  108. package/types/langs/ar.d.ts +1 -0
  109. package/types/langs/az.d.ts +1 -0
  110. package/types/langs/cs_cz.d.ts +1 -0
  111. package/types/langs/de.d.ts +1 -0
  112. package/types/langs/es.d.ts +1 -0
  113. package/types/langs/fa.d.ts +1 -0
  114. package/types/langs/fi.d.ts +1 -0
  115. package/types/langs/fr.d.ts +1 -0
  116. package/types/langs/he.d.ts +1 -0
  117. package/types/langs/hu.d.ts +1 -0
  118. package/types/langs/id.d.ts +1 -0
  119. package/types/langs/it.d.ts +1 -0
  120. package/types/langs/ja.d.ts +1 -0
  121. package/types/langs/ko.d.ts +1 -0
  122. package/types/langs/mn.d.ts +1 -0
  123. package/types/langs/nl.d.ts +1 -0
  124. package/types/langs/no.d.ts +1 -0
  125. package/types/langs/pl.d.ts +1 -0
  126. package/types/langs/pt_br.d.ts +1 -0
  127. package/types/langs/ru.d.ts +1 -0
  128. package/types/langs/sk.d.ts +1 -0
  129. package/types/langs/sv.d.ts +1 -0
  130. package/types/langs/tr.d.ts +1 -0
  131. package/types/langs/ua.d.ts +1 -0
  132. package/types/langs/zh_cn.d.ts +1 -0
  133. package/types/langs/zh_tw.d.ts +1 -0
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.18.8
4
+ * Version: v4.18.9
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.18.8
4
+ * Version: v4.18.9
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.18.8
4
+ * Version: v4.18.9
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.18.8
4
+ * Version: v4.18.9
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.18.8
4
+ * Version: v4.18.9
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.18.8
4
+ * Version: v4.18.9
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.18.8
4
+ * Version: v4.18.9
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
package/es5/polyfills.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.18.8
4
+ * Version: v4.18.9
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.18.8
4
+ * Version: v4.18.9
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -3,7 +3,7 @@
3
3
  * Released under MIT see LICENSE.txt in the project root for license information.
4
4
  * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
5
5
  */
6
- export const APP_VERSION = "4.18.8";
6
+ export const APP_VERSION = "4.18.9";
7
7
  // prettier-ignore
8
8
  export const ES = "es2020";
9
9
  export const IS_ES_MODERN = true;
@@ -120,6 +120,13 @@ let UITooltip = UITooltip_1 = class UITooltip extends UIElement {
120
120
  if (!isOwn) {
121
121
  return;
122
122
  }
123
+ // A dialog's `aria-label` is its title and a file input's names its
124
+ // click target. Neither is a tooltip, and both boxes would put one off
125
+ // the screen
126
+ if (attr(e.target, 'role') === 'dialog' ||
127
+ (Dom.isTag(e.target, 'input') && e.target.type === 'file')) {
128
+ return;
129
+ }
123
130
  this.__currentTarget = e.target;
124
131
  const target = e.target;
125
132
  this.__open(() => {
package/esm/langs/ar.d.ts CHANGED
@@ -223,5 +223,6 @@ declare const _exports: {
223
223
  'Start at...': string;
224
224
  'Start numbering at': string;
225
225
  'Number for the first item': string;
226
+ Close: string;
226
227
  };
227
228
  export = _exports;
package/esm/langs/ar.js CHANGED
@@ -237,5 +237,6 @@ export default {
237
237
  Controls: 'عناصر التحكم',
238
238
  'Start at...': 'البدء من...',
239
239
  'Start numbering at': 'بدء الترقيم من',
240
- 'Number for the first item': 'رقم العنصر الأول'
240
+ 'Number for the first item': 'رقم العنصر الأول',
241
+ Close: 'إغلاق'
241
242
  };
package/esm/langs/az.d.ts CHANGED
@@ -229,5 +229,6 @@ declare const _exports: {
229
229
  'Start at...': string;
230
230
  'Start numbering at': string;
231
231
  'Number for the first item': string;
232
+ Close: string;
232
233
  };
233
234
  export = _exports;
package/esm/langs/az.js CHANGED
@@ -246,5 +246,6 @@ export default {
246
246
  Controls: 'İdarəetmə elementləri',
247
247
  'Start at...': 'Başlanğıc nömrəsi...',
248
248
  'Start numbering at': 'Nömrələmənin başlanğıcı',
249
- 'Number for the first item': 'Birinci bəndin nömrəsi'
249
+ 'Number for the first item': 'Birinci bəndin nömrəsi',
250
+ Close: 'Bağla'
250
251
  };
@@ -221,5 +221,6 @@ declare const _exports: {
221
221
  'Start at...': string;
222
222
  'Start numbering at': string;
223
223
  'Number for the first item': string;
224
+ Close: string;
224
225
  };
225
226
  export = _exports;
@@ -236,5 +236,6 @@ export default {
236
236
  Controls: 'Ovládací prvky',
237
237
  'Start at...': 'Začít od...',
238
238
  'Start numbering at': 'Začít číslování od',
239
- 'Number for the first item': 'Číslo první položky'
239
+ 'Number for the first item': 'Číslo první položky',
240
+ Close: 'Zavřít'
240
241
  };
package/esm/langs/de.d.ts CHANGED
@@ -225,5 +225,6 @@ declare const _exports: {
225
225
  'Start at...': string;
226
226
  'Start numbering at': string;
227
227
  'Number for the first item': string;
228
+ Close: string;
228
229
  };
229
230
  export = _exports;
package/esm/langs/de.js CHANGED
@@ -241,5 +241,6 @@ export default {
241
241
  Controls: 'Steuerelemente',
242
242
  'Start at...': 'Beginnen bei...',
243
243
  'Start numbering at': 'Nummerierung beginnen bei',
244
- 'Number for the first item': 'Nummer des ersten Eintrags'
244
+ 'Number for the first item': 'Nummer des ersten Eintrags',
245
+ Close: 'Schließen'
245
246
  };
package/esm/langs/es.d.ts CHANGED
@@ -225,5 +225,6 @@ declare const _exports: {
225
225
  'Start at...': string;
226
226
  'Start numbering at': string;
227
227
  'Number for the first item': string;
228
+ Close: string;
228
229
  };
229
230
  export = _exports;
package/esm/langs/es.js CHANGED
@@ -240,5 +240,6 @@ export default {
240
240
  Controls: 'Controles',
241
241
  'Start at...': 'Empezar en...',
242
242
  'Start numbering at': 'Empezar la numeración en',
243
- 'Number for the first item': 'Número del primer elemento'
243
+ 'Number for the first item': 'Número del primer elemento',
244
+ Close: 'Cerrar'
244
245
  };
package/esm/langs/fa.d.ts CHANGED
@@ -220,5 +220,6 @@ declare const _exports: {
220
220
  'Start at...': string;
221
221
  'Start numbering at': string;
222
222
  'Number for the first item': string;
223
+ Close: string;
223
224
  };
224
225
  export = _exports;
package/esm/langs/fa.js CHANGED
@@ -234,5 +234,6 @@ export default {
234
234
  Controls: 'کنترل‌ها',
235
235
  'Start at...': 'شروع از...',
236
236
  'Start numbering at': 'شروع شماره‌گذاری از',
237
- 'Number for the first item': 'شماره‌ی نخستین مورد'
237
+ 'Number for the first item': 'شماره‌ی نخستین مورد',
238
+ Close: 'بستن'
238
239
  };
package/esm/langs/fi.d.ts CHANGED
@@ -226,5 +226,6 @@ declare const _exports: {
226
226
  'Start at...': string;
227
227
  'Start numbering at': string;
228
228
  'Number for the first item': string;
229
+ Close: string;
229
230
  };
230
231
  export = _exports;
package/esm/langs/fi.js CHANGED
@@ -240,5 +240,6 @@ export default {
240
240
  Controls: 'Säätimet',
241
241
  'Start at...': 'Aloita numerosta...',
242
242
  'Start numbering at': 'Aloita numerointi numerosta',
243
- 'Number for the first item': 'Ensimmäisen kohdan numero'
243
+ 'Number for the first item': 'Ensimmäisen kohdan numero',
244
+ Close: 'Sulje'
244
245
  };
package/esm/langs/fr.d.ts CHANGED
@@ -220,5 +220,6 @@ declare const _exports: {
220
220
  'Start at...': string;
221
221
  'Start numbering at': string;
222
222
  'Number for the first item': string;
223
+ Close: string;
223
224
  };
224
225
  export = _exports;
package/esm/langs/fr.js CHANGED
@@ -235,5 +235,6 @@ export default {
235
235
  Controls: 'Commandes',
236
236
  'Start at...': 'Commencer à...',
237
237
  'Start numbering at': 'Commencer la numérotation à',
238
- 'Number for the first item': 'Numéro du premier élément'
238
+ 'Number for the first item': 'Numéro du premier élément',
239
+ Close: 'Fermer'
239
240
  };
package/esm/langs/he.d.ts CHANGED
@@ -220,5 +220,6 @@ declare const _exports: {
220
220
  'Start at...': string;
221
221
  'Start numbering at': string;
222
222
  'Number for the first item': string;
223
+ Close: string;
223
224
  };
224
225
  export = _exports;
package/esm/langs/he.js CHANGED
@@ -233,5 +233,6 @@ export default {
233
233
  Controls: 'פקדים',
234
234
  'Start at...': 'התחל מ...',
235
235
  'Start numbering at': 'התחל מספור מ',
236
- 'Number for the first item': 'מספר הפריט הראשון'
236
+ 'Number for the first item': 'מספר הפריט הראשון',
237
+ Close: 'סגור'
237
238
  };
package/esm/langs/hu.d.ts CHANGED
@@ -222,5 +222,6 @@ declare const _exports: {
222
222
  'Start at...': string;
223
223
  'Start numbering at': string;
224
224
  'Number for the first item': string;
225
+ Close: string;
225
226
  };
226
227
  export = _exports;
package/esm/langs/hu.js CHANGED
@@ -235,5 +235,6 @@ export default {
235
235
  Controls: 'Vezérlők',
236
236
  'Start at...': 'Kezdőszám...',
237
237
  'Start numbering at': 'Számozás kezdőértéke',
238
- 'Number for the first item': 'Az első elem száma'
238
+ 'Number for the first item': 'Az első elem száma',
239
+ Close: 'Bezárás'
239
240
  };
package/esm/langs/id.d.ts CHANGED
@@ -221,5 +221,6 @@ declare const _exports: {
221
221
  'Start at...': string;
222
222
  'Start numbering at': string;
223
223
  'Number for the first item': string;
224
+ Close: string;
224
225
  };
225
226
  export = _exports;
package/esm/langs/id.js CHANGED
@@ -234,5 +234,6 @@ export default {
234
234
  Controls: 'Kontrol',
235
235
  'Start at...': 'Mulai dari...',
236
236
  'Start numbering at': 'Mulai penomoran dari',
237
- 'Number for the first item': 'Nomor untuk item pertama'
237
+ 'Number for the first item': 'Nomor untuk item pertama',
238
+ Close: 'Tutup'
238
239
  };
package/esm/langs/it.d.ts CHANGED
@@ -225,5 +225,6 @@ declare const _exports: {
225
225
  'Start at...': string;
226
226
  'Start numbering at': string;
227
227
  'Number for the first item': string;
228
+ Close: string;
228
229
  };
229
230
  export = _exports;
package/esm/langs/it.js CHANGED
@@ -240,5 +240,6 @@ export default {
240
240
  Controls: 'Controlli',
241
241
  'Start at...': 'Inizia da...',
242
242
  'Start numbering at': 'Inizia la numerazione da',
243
- 'Number for the first item': 'Numero del primo elemento'
243
+ 'Number for the first item': 'Numero del primo elemento',
244
+ Close: 'Chiudi'
244
245
  };
package/esm/langs/ja.d.ts CHANGED
@@ -225,5 +225,6 @@ declare const _exports: {
225
225
  'Start at...': string;
226
226
  'Start numbering at': string;
227
227
  'Number for the first item': string;
228
+ Close: string;
228
229
  };
229
230
  export = _exports;
package/esm/langs/ja.js CHANGED
@@ -238,5 +238,6 @@ export default {
238
238
  Controls: 'コントロール',
239
239
  'Start at...': '開始番号...',
240
240
  'Start numbering at': '番号の開始値',
241
- 'Number for the first item': '最初の項目の番号'
241
+ 'Number for the first item': '最初の項目の番号',
242
+ Close: '閉じる'
242
243
  };
package/esm/langs/ko.d.ts CHANGED
@@ -219,5 +219,6 @@ declare const _exports: {
219
219
  'Start at...': string;
220
220
  'Start numbering at': string;
221
221
  'Number for the first item': string;
222
+ Close: string;
222
223
  };
223
224
  export = _exports;
package/esm/langs/ko.js CHANGED
@@ -233,5 +233,6 @@ export default {
233
233
  Controls: '컨트롤',
234
234
  'Start at...': '시작 번호...',
235
235
  'Start numbering at': '번호 매기기 시작 값',
236
- 'Number for the first item': '첫 번째 항목의 번호'
236
+ 'Number for the first item': '첫 번째 항목의 번호',
237
+ Close: '닫기'
237
238
  };
package/esm/langs/mn.d.ts CHANGED
@@ -220,5 +220,6 @@ declare const _exports: {
220
220
  'Start at...': string;
221
221
  'Start numbering at': string;
222
222
  'Number for the first item': string;
223
+ Close: string;
223
224
  };
224
225
  export = _exports;
package/esm/langs/mn.js CHANGED
@@ -236,5 +236,6 @@ export default {
236
236
  Controls: 'Удирдлага',
237
237
  'Start at...': 'Эхлэх дугаар...',
238
238
  'Start numbering at': 'Дугаарлалт эхлэх',
239
- 'Number for the first item': 'Эхний зүйлийн дугаар'
239
+ 'Number for the first item': 'Эхний зүйлийн дугаар',
240
+ Close: 'Хаах'
240
241
  };
package/esm/langs/nl.d.ts CHANGED
@@ -221,5 +221,6 @@ declare const _exports: {
221
221
  'Start at...': string;
222
222
  'Start numbering at': string;
223
223
  'Number for the first item': string;
224
+ Close: string;
224
225
  };
225
226
  export = _exports;
package/esm/langs/nl.js CHANGED
@@ -235,5 +235,6 @@ export default {
235
235
  Controls: 'Bedieningselementen',
236
236
  'Start at...': 'Beginnen bij...',
237
237
  'Start numbering at': 'Nummering beginnen bij',
238
- 'Number for the first item': 'Nummer van het eerste item'
238
+ 'Number for the first item': 'Nummer van het eerste item',
239
+ Close: 'Sluiten'
239
240
  };
package/esm/langs/no.d.ts CHANGED
@@ -229,5 +229,6 @@ declare const _exports: {
229
229
  'Start at...': string;
230
230
  'Start numbering at': string;
231
231
  'Number for the first item': string;
232
+ Close: string;
232
233
  };
233
234
  export = _exports;
package/esm/langs/no.js CHANGED
@@ -242,5 +242,6 @@ export default {
242
242
  Controls: 'Kontroller',
243
243
  'Start at...': 'Start på...',
244
244
  'Start numbering at': 'Start nummereringen på',
245
- 'Number for the first item': 'Nummer for første punkt'
245
+ 'Number for the first item': 'Nummer for første punkt',
246
+ Close: 'Lukk'
246
247
  };
package/esm/langs/pl.d.ts CHANGED
@@ -220,5 +220,6 @@ declare const _exports: {
220
220
  'Start at...': string;
221
221
  'Start numbering at': string;
222
222
  'Number for the first item': string;
223
+ Close: string;
223
224
  };
224
225
  export = _exports;
package/esm/langs/pl.js CHANGED
@@ -235,5 +235,6 @@ export default {
235
235
  Controls: 'Elementy sterujące',
236
236
  'Start at...': 'Zacznij od...',
237
237
  'Start numbering at': 'Rozpocznij numerowanie od',
238
- 'Number for the first item': 'Numer pierwszego elementu'
238
+ 'Number for the first item': 'Numer pierwszego elementu',
239
+ Close: 'Zamknij'
239
240
  };
@@ -225,5 +225,6 @@ declare const _exports: {
225
225
  'Start at...': string;
226
226
  'Start numbering at': string;
227
227
  'Number for the first item': string;
228
+ Close: string;
228
229
  };
229
230
  export = _exports;
@@ -239,5 +239,6 @@ export default {
239
239
  Controls: 'Controles',
240
240
  'Start at...': 'Começar em...',
241
241
  'Start numbering at': 'Começar a numeração em',
242
- 'Number for the first item': 'Número do primeiro item'
242
+ 'Number for the first item': 'Número do primeiro item',
243
+ Close: 'Fechar'
243
244
  };
package/esm/langs/ru.d.ts CHANGED
@@ -219,5 +219,6 @@ declare const _exports: {
219
219
  'Start at...': string;
220
220
  'Start numbering at': string;
221
221
  'Number for the first item': string;
222
+ Close: string;
222
223
  };
223
224
  export = _exports;
package/esm/langs/ru.js CHANGED
@@ -234,5 +234,6 @@ export default {
234
234
  Controls: 'Элементы управления',
235
235
  'Start at...': 'Начать с...',
236
236
  'Start numbering at': 'Начать нумерацию с',
237
- 'Number for the first item': 'Номер первого пункта'
237
+ 'Number for the first item': 'Номер первого пункта',
238
+ Close: 'Закрыть'
238
239
  };
package/esm/langs/sk.d.ts CHANGED
@@ -227,5 +227,6 @@ declare const _exports: {
227
227
  'Start at...': string;
228
228
  'Start numbering at': string;
229
229
  'Number for the first item': string;
230
+ Close: string;
230
231
  };
231
232
  export = _exports;
package/esm/langs/sk.js CHANGED
@@ -241,5 +241,6 @@ export default {
241
241
  Controls: 'Ovládacie prvky',
242
242
  'Start at...': 'Začať od...',
243
243
  'Start numbering at': 'Začať číslovanie od',
244
- 'Number for the first item': 'Číslo prvej položky'
244
+ 'Number for the first item': 'Číslo prvej položky',
245
+ Close: 'Zavrieť'
245
246
  };
package/esm/langs/sv.d.ts CHANGED
@@ -228,5 +228,6 @@ declare const _exports: {
228
228
  'Start at...': string;
229
229
  'Start numbering at': string;
230
230
  'Number for the first item': string;
231
+ Close: string;
231
232
  };
232
233
  export = _exports;
package/esm/langs/sv.js CHANGED
@@ -243,5 +243,6 @@ export default {
243
243
  Controls: 'Kontroller',
244
244
  'Start at...': 'Börja på...',
245
245
  'Start numbering at': 'Börja numreringen på',
246
- 'Number for the first item': 'Nummer för första punkten'
246
+ 'Number for the first item': 'Nummer för första punkten',
247
+ Close: 'Stäng'
247
248
  };
package/esm/langs/tr.d.ts CHANGED
@@ -220,5 +220,6 @@ declare const _exports: {
220
220
  'Start at...': string;
221
221
  'Start numbering at': string;
222
222
  'Number for the first item': string;
223
+ Close: string;
223
224
  };
224
225
  export = _exports;
package/esm/langs/tr.js CHANGED
@@ -234,5 +234,6 @@ export default {
234
234
  Controls: 'Kontroller',
235
235
  'Start at...': 'Başlangıç numarası...',
236
236
  'Start numbering at': 'Numaralandırma başlangıcı',
237
- 'Number for the first item': 'İlk öğenin numarası'
237
+ 'Number for the first item': 'İlk öğenin numarası',
238
+ Close: 'Kapat'
238
239
  };
package/esm/langs/ua.d.ts CHANGED
@@ -219,5 +219,6 @@ declare const _exports: {
219
219
  'Start at...': string;
220
220
  'Start numbering at': string;
221
221
  'Number for the first item': string;
222
+ Close: string;
222
223
  };
223
224
  export = _exports;
package/esm/langs/ua.js CHANGED
@@ -233,5 +233,6 @@ export default {
233
233
  Controls: 'Елементи керування',
234
234
  'Start at...': 'Почати з...',
235
235
  'Start numbering at': 'Почати нумерацію з',
236
- 'Number for the first item': 'Номер першого пункту'
236
+ 'Number for the first item': 'Номер першого пункту',
237
+ Close: 'Закрити'
237
238
  };
@@ -221,5 +221,6 @@ declare const _exports: {
221
221
  'Start at...': string;
222
222
  'Start numbering at': string;
223
223
  'Number for the first item': string;
224
+ Close: string;
224
225
  };
225
226
  export = _exports;
@@ -233,5 +233,6 @@ export default {
233
233
  Controls: '播放控件',
234
234
  'Start at...': '起始于...',
235
235
  'Start numbering at': '编号起始值',
236
- 'Number for the first item': '第一项的编号'
236
+ 'Number for the first item': '第一项的编号',
237
+ Close: '关闭'
237
238
  };
@@ -220,5 +220,6 @@ declare const _exports: {
220
220
  'Start at...': string;
221
221
  'Start numbering at': string;
222
222
  'Number for the first item': string;
223
+ Close: string;
223
224
  };
224
225
  export = _exports;
@@ -232,5 +232,6 @@ export default {
232
232
  Controls: '播放控制項',
233
233
  'Start at...': '起始於...',
234
234
  'Start numbering at': '編號起始值',
235
- 'Number for the first item': '第一項的編號'
235
+ 'Number for the first item': '第一項的編號',
236
+ Close: '關閉'
236
237
  };
@@ -51,6 +51,7 @@ Config.prototype.dialog = {
51
51
  Config.prototype.controls.dialog = {
52
52
  close: {
53
53
  icon: 'cancel',
54
+ tooltip: 'Close',
54
55
  exec: dialog => {
55
56
  dialog.close();
56
57
  }
@@ -40,8 +40,17 @@ let UiAiAssistant = class UiAiAssistant extends UIElement {
40
40
  this.__toggleSubmitButton(true);
41
41
  }
42
42
  };
43
- this.__submitButton = Button(jodit, 'ai-assistant', '').onAction(onSubmit);
44
- this.__tryAgainButton = Button(jodit, 'update', '', 'initial').onAction(onSubmit);
43
+ this.__submitButton = Button(jodit, {
44
+ icon: { name: 'ai-assistant' },
45
+ name: 'ai-assistant',
46
+ tooltip: 'Submit'
47
+ }).onAction(onSubmit);
48
+ this.__tryAgainButton = Button(jodit, {
49
+ icon: { name: 'update' },
50
+ name: 'update',
51
+ tooltip: 'Try Again',
52
+ variant: 'initial'
53
+ }).onAction(onSubmit);
45
54
  this.promptInput = new UITextArea(jodit, {
46
55
  name: 'prompt',
47
56
  required: true,
@@ -6,11 +6,11 @@
6
6
  import { Config } from "../../config.js";
7
7
  Config.prototype.controls.subscript = {
8
8
  tags: ['sub'],
9
- tooltip: 'subscript'
9
+ tooltip: 'Subscript'
10
10
  };
11
11
  Config.prototype.controls.superscript = {
12
12
  tags: ['sup'],
13
- tooltip: 'superscript'
13
+ tooltip: 'Superscript'
14
14
  };
15
15
  Config.prototype.controls.bold = {
16
16
  tagRegExp: /^(strong|b)$/i,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jodit",
3
- "version": "4.18.8",
3
+ "version": "4.18.9",
4
4
  "description": "Jodit is an awesome and useful wysiwyg editor with filebrowser",
5
5
  "main": "esm/index.js",
6
6
  "types": "types/index.d.ts",