jodit 4.19.12 → 4.20.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 (219) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/es2015/jodit.css +76 -1
  3. package/es2015/jodit.fat.min.css +1 -1
  4. package/es2015/jodit.fat.min.js +9 -9
  5. package/es2015/jodit.js +1583 -681
  6. package/es2015/jodit.min.css +1 -1
  7. package/es2015/jodit.min.js +9 -9
  8. package/es2015/plugins/debug/debug.css +1 -1
  9. package/es2015/plugins/debug/debug.js +1 -1
  10. package/es2015/plugins/debug/debug.min.js +1 -1
  11. package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
  12. package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
  13. package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
  14. package/es2018/jodit.fat.min.css +1 -1
  15. package/es2018/jodit.fat.min.js +9 -9
  16. package/es2018/jodit.min.css +1 -1
  17. package/es2018/jodit.min.js +9 -9
  18. package/es2018/plugins/debug/debug.min.js +1 -1
  19. package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
  20. package/es2021/jodit.css +76 -1
  21. package/es2021/jodit.fat.min.css +1 -1
  22. package/es2021/jodit.fat.min.js +14 -14
  23. package/es2021/jodit.js +1564 -678
  24. package/es2021/jodit.min.css +1 -1
  25. package/es2021/jodit.min.js +14 -14
  26. package/es2021/plugins/debug/debug.css +1 -1
  27. package/es2021/plugins/debug/debug.js +1 -1
  28. package/es2021/plugins/debug/debug.min.js +1 -1
  29. package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
  30. package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
  31. package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
  32. package/es2021.en/jodit.css +76 -1
  33. package/es2021.en/jodit.fat.min.css +1 -1
  34. package/es2021.en/jodit.fat.min.js +14 -14
  35. package/es2021.en/jodit.js +1514 -628
  36. package/es2021.en/jodit.min.css +1 -1
  37. package/es2021.en/jodit.min.js +14 -14
  38. package/es2021.en/plugins/debug/debug.css +1 -1
  39. package/es2021.en/plugins/debug/debug.js +1 -1
  40. package/es2021.en/plugins/debug/debug.min.js +1 -1
  41. package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
  42. package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
  43. package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
  44. package/es5/jodit.css +96 -2
  45. package/es5/jodit.fat.min.css +1 -1
  46. package/es5/jodit.fat.min.js +2 -2
  47. package/es5/jodit.js +1844 -791
  48. package/es5/jodit.min.css +3 -3
  49. package/es5/jodit.min.js +2 -2
  50. package/es5/plugins/debug/debug.css +1 -1
  51. package/es5/plugins/debug/debug.js +1 -1
  52. package/es5/plugins/debug/debug.min.js +1 -1
  53. package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
  54. package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
  55. package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
  56. package/es5/polyfills.fat.min.js +1 -1
  57. package/es5/polyfills.js +1 -1
  58. package/es5/polyfills.min.js +1 -1
  59. package/esm/config.d.ts +10 -3
  60. package/esm/core/constants.js +1 -1
  61. package/esm/core/global.d.ts +6 -0
  62. package/esm/core/global.js +21 -4
  63. package/esm/core/helpers/html/safe-html.js +26 -0
  64. package/esm/core/helpers/utils/anchor.d.ts +22 -0
  65. package/esm/core/helpers/utils/anchor.js +29 -0
  66. package/esm/core/helpers/utils/index.d.ts +1 -0
  67. package/esm/core/helpers/utils/index.js +1 -0
  68. package/esm/core/ui/popup/popup.d.ts +5 -0
  69. package/esm/core/ui/popup/popup.js +5 -0
  70. package/esm/jodit.d.ts +4 -0
  71. package/esm/jodit.js +16 -15
  72. package/esm/langs/ar.d.ts +5 -0
  73. package/esm/langs/ar.js +5 -0
  74. package/esm/langs/az.d.ts +5 -0
  75. package/esm/langs/az.js +5 -0
  76. package/esm/langs/cs_cz.d.ts +5 -0
  77. package/esm/langs/cs_cz.js +6 -1
  78. package/esm/langs/de.d.ts +5 -0
  79. package/esm/langs/de.js +6 -0
  80. package/esm/langs/es.d.ts +5 -0
  81. package/esm/langs/es.js +6 -1
  82. package/esm/langs/fa.d.ts +5 -0
  83. package/esm/langs/fa.js +6 -1
  84. package/esm/langs/fi.d.ts +5 -0
  85. package/esm/langs/fi.js +5 -0
  86. package/esm/langs/fr.d.ts +5 -0
  87. package/esm/langs/fr.js +5 -0
  88. package/esm/langs/he.d.ts +5 -0
  89. package/esm/langs/he.js +6 -1
  90. package/esm/langs/hu.d.ts +5 -0
  91. package/esm/langs/hu.js +5 -0
  92. package/esm/langs/id.d.ts +5 -0
  93. package/esm/langs/id.js +6 -1
  94. package/esm/langs/it.d.ts +5 -0
  95. package/esm/langs/it.js +6 -1
  96. package/esm/langs/ja.d.ts +5 -0
  97. package/esm/langs/ja.js +6 -1
  98. package/esm/langs/ko.d.ts +5 -0
  99. package/esm/langs/ko.js +6 -1
  100. package/esm/langs/mn.d.ts +5 -0
  101. package/esm/langs/mn.js +6 -1
  102. package/esm/langs/nl.d.ts +5 -0
  103. package/esm/langs/nl.js +5 -0
  104. package/esm/langs/no.d.ts +5 -0
  105. package/esm/langs/no.js +5 -0
  106. package/esm/langs/pl.d.ts +5 -0
  107. package/esm/langs/pl.js +5 -0
  108. package/esm/langs/pt_br.d.ts +5 -0
  109. package/esm/langs/pt_br.js +6 -1
  110. package/esm/langs/ru.d.ts +5 -0
  111. package/esm/langs/ru.js +6 -1
  112. package/esm/langs/sk.d.ts +5 -0
  113. package/esm/langs/sk.js +5 -0
  114. package/esm/langs/sv.d.ts +5 -0
  115. package/esm/langs/sv.js +5 -0
  116. package/esm/langs/tr.d.ts +5 -0
  117. package/esm/langs/tr.js +6 -1
  118. package/esm/langs/ua.d.ts +5 -0
  119. package/esm/langs/ua.js +6 -1
  120. package/esm/langs/zh_cn.d.ts +5 -0
  121. package/esm/langs/zh_cn.js +6 -1
  122. package/esm/langs/zh_tw.d.ts +5 -0
  123. package/esm/langs/zh_tw.js +5 -0
  124. package/esm/languages.js +7 -1
  125. package/esm/modules/file-browser/file-browser.d.ts +3 -4
  126. package/esm/modules/file-browser/file-browser.js +12 -12
  127. package/esm/modules/toolbar/button/button.d.ts +7 -0
  128. package/esm/modules/toolbar/button/button.js +30 -4
  129. package/esm/modules/uploader/config.js +18 -18
  130. package/esm/modules/uploader/helpers/index.d.ts +1 -0
  131. package/esm/modules/uploader/helpers/index.js +1 -0
  132. package/esm/modules/uploader/helpers/normalize-uploader-data.d.ts +32 -0
  133. package/esm/modules/uploader/helpers/normalize-uploader-data.js +54 -0
  134. package/esm/modules/uploader/helpers/send-files.js +11 -6
  135. package/esm/modules/uploader/uploader.d.ts +4 -5
  136. package/esm/modules/uploader/uploader.js +12 -8
  137. package/esm/plugins/all.d.ts +1 -0
  138. package/esm/plugins/all.js +1 -0
  139. package/esm/plugins/anchor/anchor.d.ts +67 -0
  140. package/esm/plugins/anchor/anchor.js +302 -0
  141. package/esm/plugins/anchor/config.d.ts +6 -0
  142. package/esm/plugins/anchor/config.js +13 -0
  143. package/esm/plugins/file/file.d.ts +1 -1
  144. package/esm/plugins/file/file.js +6 -6
  145. package/esm/plugins/image/image.js +2 -2
  146. package/esm/plugins/image-caption/image-caption.js +1 -2
  147. package/esm/plugins/image-properties/utils/open-image-popup.js +7 -6
  148. package/esm/plugins/index.d.ts +1 -0
  149. package/esm/plugins/inline-popup/config/config.d.ts +8 -2
  150. package/esm/plugins/inline-popup/config/config.js +1 -0
  151. package/esm/plugins/inline-popup/config/items/cells.js +0 -10
  152. package/esm/plugins/inline-popup/config/items/img.js +1 -1
  153. package/esm/plugins/inline-popup/inline-popup.d.ts +9 -12
  154. package/esm/plugins/inline-popup/inline-popup.js +53 -77
  155. package/esm/plugins/link/link.js +150 -3
  156. package/esm/plugins/select/select.d.ts +31 -0
  157. package/esm/plugins/select/select.js +235 -2
  158. package/esm/plugins/select-cells/select-cells.d.ts +11 -0
  159. package/esm/plugins/select-cells/select-cells.js +48 -17
  160. package/esm/plugins/video/config.d.ts +1 -1
  161. package/esm/plugins/video/config.js +4 -3
  162. package/esm/plugins/video-properties/video-properties.js +7 -6
  163. package/esm/styles/icons/anchor.svg.js +1 -0
  164. package/esm/styles/icons/index.d.ts +1 -1
  165. package/esm/styles/icons/index.js +2 -1
  166. package/esm/types/file-browser.d.ts +8 -1
  167. package/esm/types/popup.d.ts +1 -0
  168. package/esm/types/uploader.d.ts +39 -1
  169. package/package.json +1 -1
  170. package/types/config.d.ts +10 -3
  171. package/types/core/global.d.ts +6 -0
  172. package/types/core/helpers/utils/anchor.d.ts +22 -0
  173. package/types/core/helpers/utils/index.d.ts +1 -0
  174. package/types/core/ui/popup/popup.d.ts +5 -0
  175. package/types/jodit.d.ts +4 -0
  176. package/types/langs/ar.d.ts +5 -0
  177. package/types/langs/az.d.ts +5 -0
  178. package/types/langs/cs_cz.d.ts +5 -0
  179. package/types/langs/de.d.ts +5 -0
  180. package/types/langs/es.d.ts +5 -0
  181. package/types/langs/fa.d.ts +5 -0
  182. package/types/langs/fi.d.ts +5 -0
  183. package/types/langs/fr.d.ts +5 -0
  184. package/types/langs/he.d.ts +5 -0
  185. package/types/langs/hu.d.ts +5 -0
  186. package/types/langs/id.d.ts +5 -0
  187. package/types/langs/it.d.ts +5 -0
  188. package/types/langs/ja.d.ts +5 -0
  189. package/types/langs/ko.d.ts +5 -0
  190. package/types/langs/mn.d.ts +5 -0
  191. package/types/langs/nl.d.ts +5 -0
  192. package/types/langs/no.d.ts +5 -0
  193. package/types/langs/pl.d.ts +5 -0
  194. package/types/langs/pt_br.d.ts +5 -0
  195. package/types/langs/ru.d.ts +5 -0
  196. package/types/langs/sk.d.ts +5 -0
  197. package/types/langs/sv.d.ts +5 -0
  198. package/types/langs/tr.d.ts +5 -0
  199. package/types/langs/ua.d.ts +5 -0
  200. package/types/langs/zh_cn.d.ts +5 -0
  201. package/types/langs/zh_tw.d.ts +5 -0
  202. package/types/modules/file-browser/file-browser.d.ts +3 -4
  203. package/types/modules/toolbar/button/button.d.ts +7 -0
  204. package/types/modules/uploader/helpers/index.d.ts +1 -0
  205. package/types/modules/uploader/helpers/normalize-uploader-data.d.ts +32 -0
  206. package/types/modules/uploader/uploader.d.ts +4 -5
  207. package/types/plugins/anchor/anchor.d.ts +67 -0
  208. package/types/plugins/anchor/config.d.ts +6 -0
  209. package/types/plugins/file/file.d.ts +1 -1
  210. package/types/plugins/index.d.ts +1 -0
  211. package/types/plugins/inline-popup/config/config.d.ts +8 -2
  212. package/types/plugins/inline-popup/inline-popup.d.ts +9 -12
  213. package/types/plugins/select/select.d.ts +31 -0
  214. package/types/plugins/select-cells/select-cells.d.ts +11 -0
  215. package/types/plugins/video/config.d.ts +1 -1
  216. package/types/styles/icons/index.d.ts +1 -1
  217. package/types/types/file-browser.d.ts +8 -1
  218. package/types/types/popup.d.ts +1 -0
  219. package/types/types/uploader.d.ts +39 -1
package/esm/langs/fr.d.ts CHANGED
@@ -27,6 +27,11 @@ declare const _exports: {
27
27
  'Insert file': string;
28
28
  'Insert youtube/vimeo video': string;
29
29
  'Insert link': string;
30
+ 'Insert anchor': string;
31
+ 'Link to an anchor': string;
32
+ 'On this page': string;
33
+ 'The name cannot contain spaces': string;
34
+ 'This name is already in use': string;
30
35
  'Font size': string;
31
36
  'Font family': string;
32
37
  'Insert format block': string;
package/esm/langs/fr.js CHANGED
@@ -37,6 +37,11 @@ export default {
37
37
  'Insert file': 'Insérer un fichier',
38
38
  'Insert youtube/vimeo video': 'Insérer une vidéo',
39
39
  'Insert link': 'Insérer un lien',
40
+ 'Insert anchor': 'Insérer une ancre',
41
+ 'Link to an anchor': 'Lier à une ancre',
42
+ 'On this page': 'Sur cette page',
43
+ 'The name cannot contain spaces': "Le nom ne peut pas contenir d'espaces",
44
+ 'This name is already in use': 'Ce nom est déjà utilisé',
40
45
  'Font size': 'Taille des caractères',
41
46
  'Font family': 'Famille des caractères',
42
47
  'Insert format block': 'Bloc formatté',
package/esm/langs/he.d.ts CHANGED
@@ -28,6 +28,11 @@ declare const _exports: {
28
28
  'Insert file': string;
29
29
  'Insert youtube/vimeo video': string;
30
30
  'Insert link': string;
31
+ 'Insert anchor': string;
32
+ 'Link to an anchor': string;
33
+ 'On this page': string;
34
+ 'The name cannot contain spaces': string;
35
+ 'This name is already in use': string;
31
36
  'Font size': string;
32
37
  'Font family': string;
33
38
  'Insert format block': string;
package/esm/langs/he.js CHANGED
@@ -17,7 +17,7 @@ export default {
17
17
  'Buy full version': 'Buy full version',
18
18
  'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.':
19
19
  'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.',
20
- Anchor: 'מקום עיגון',
20
+ Anchor: 'עוגן',
21
21
  'Open in new tab': 'פתח בכרטיסיה חדשה',
22
22
  'Open in fullsize': 'פתח את העורך בחלון חדש',
23
23
  'Clear Formatting': 'נקה עיצוב',
@@ -37,6 +37,11 @@ export default {
37
37
  'Insert file': 'הכנס קובץ',
38
38
  'Insert youtube/vimeo video': 'הכנס סרטון וידאו מYouTube/Vimeo',
39
39
  'Insert link': 'הכנס קישור',
40
+ 'Insert anchor': 'הכנס עוגן',
41
+ 'Link to an anchor': 'קישור לעוגן',
42
+ 'On this page': 'בדף זה',
43
+ 'The name cannot contain spaces': 'השם לא יכול להכיל רווחים',
44
+ 'This name is already in use': 'השם הזה כבר בשימוש',
40
45
  'Font size': 'גודל גופן',
41
46
  'Font family': 'גופן',
42
47
  'Insert format block': 'מעוצב מראש',
package/esm/langs/hu.d.ts CHANGED
@@ -29,6 +29,11 @@ declare const _exports: {
29
29
  'Insert file': string;
30
30
  'Insert youtube/vimeo video': string;
31
31
  'Insert link': string;
32
+ 'Insert anchor': string;
33
+ 'Link to an anchor': string;
34
+ 'On this page': string;
35
+ 'The name cannot contain spaces': string;
36
+ 'This name is already in use': string;
32
37
  'Font size': string;
33
38
  'Font family': string;
34
39
  'Insert format block': string;
package/esm/langs/hu.js CHANGED
@@ -38,6 +38,11 @@ export default {
38
38
  'Insert file': 'Fájl beszúrás',
39
39
  'Insert youtube/vimeo video': 'Youtube videó beszúrása',
40
40
  'Insert link': 'Link beszúrás',
41
+ 'Insert anchor': 'Horgony beszúrás',
42
+ 'Link to an anchor': 'Hivatkozás horgonyra',
43
+ 'On this page': 'Ezen az oldalon',
44
+ 'The name cannot contain spaces': 'A név nem tartalmazhat szóközt',
45
+ 'This name is already in use': 'Ez a név már foglalt',
41
46
  'Font size': 'Betűméret',
42
47
  'Font family': 'Betűtípus',
43
48
  'Insert format block': 'Formázott blokk beszúrása',
package/esm/langs/id.d.ts CHANGED
@@ -28,6 +28,11 @@ declare const _exports: {
28
28
  'Insert file': string;
29
29
  'Insert youtube/vimeo video': string;
30
30
  'Insert link': string;
31
+ 'Insert anchor': string;
32
+ 'Link to an anchor': string;
33
+ 'On this page': string;
34
+ 'The name cannot contain spaces': string;
35
+ 'This name is already in use': string;
31
36
  'Font size': string;
32
37
  'Font family': string;
33
38
  'Insert format block': string;
package/esm/langs/id.js CHANGED
@@ -17,7 +17,7 @@ export default {
17
17
  'Buy full version': 'Beli versi lengkap',
18
18
  'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.':
19
19
  'Hak Cipta © XDSoft.net - Chupurnov Valeriy. Hak cipta dilindungi undang-undang.',
20
- Anchor: 'Tautan',
20
+ Anchor: 'Jangkar',
21
21
  'Open in new tab': 'Buka di tab baru',
22
22
  'Open in fullsize': 'Buka editor dalam ukuran penuh',
23
23
  'Clear Formatting': 'Hapus Pemformatan',
@@ -37,6 +37,11 @@ export default {
37
37
  'Insert file': 'Sisipkan Berkas',
38
38
  'Insert youtube/vimeo video': 'Sisipkan video youtube/vimeo',
39
39
  'Insert link': 'Sisipkan tautan',
40
+ 'Insert anchor': 'Sisipkan jangkar',
41
+ 'Link to an anchor': 'Tautkan ke jangkar',
42
+ 'On this page': 'Di halaman ini',
43
+ 'The name cannot contain spaces': 'Nama tidak boleh mengandung spasi',
44
+ 'This name is already in use': 'Nama ini sudah digunakan',
40
45
  'Font size': 'Ukuran font',
41
46
  'Font family': 'Keluarga font',
42
47
  'Insert format block': 'Sisipkan blok format',
package/esm/langs/it.d.ts CHANGED
@@ -28,6 +28,11 @@ declare const _exports: {
28
28
  'Insert file': string;
29
29
  'Insert youtube/vimeo video': string;
30
30
  'Insert link': string;
31
+ 'Insert anchor': string;
32
+ 'Link to an anchor': string;
33
+ 'On this page': string;
34
+ 'The name cannot contain spaces': string;
35
+ 'This name is already in use': string;
31
36
  'Font size': string;
32
37
  'Font family': string;
33
38
  'Insert format block': string;
package/esm/langs/it.js CHANGED
@@ -18,7 +18,7 @@ export default {
18
18
  'Buy full version': 'Acquista la versione completa',
19
19
  'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.':
20
20
  'Copyright © XDSoft.net - Chupurnov Valeriy. Tutti i diritti riservati.',
21
- Anchor: 'Link',
21
+ Anchor: 'Ancora',
22
22
  'Open in new tab': 'Apri in una nuova scheda',
23
23
  'Open in fullsize': "Apri l'editor a schermo intero",
24
24
  'Clear Formatting': 'Pulisci Formattazione',
@@ -38,6 +38,11 @@ export default {
38
38
  'Insert file': 'Inserisci un file',
39
39
  'Insert youtube/vimeo video': 'Inserisci video Youtube/Vimeo',
40
40
  'Insert link': 'Inserisci link',
41
+ 'Insert anchor': 'Inserisci ancora',
42
+ 'Link to an anchor': "Collega a un'ancora",
43
+ 'On this page': 'In questa pagina',
44
+ 'The name cannot contain spaces': 'Il nome non può contenere spazi',
45
+ 'This name is already in use': 'Questo nome è già in uso',
41
46
  'Font size': 'Dimensione carattere',
42
47
  'Font family': 'Tipo di font',
43
48
  'Insert format block': 'Inserisci blocco',
package/esm/langs/ja.d.ts CHANGED
@@ -28,6 +28,11 @@ declare const _exports: {
28
28
  'Insert file': string;
29
29
  'Insert youtube/vimeo video': string;
30
30
  'Insert link': string;
31
+ 'Insert anchor': string;
32
+ 'Link to an anchor': string;
33
+ 'On this page': string;
34
+ 'The name cannot contain spaces': string;
35
+ 'This name is already in use': string;
31
36
  'Font size': string;
32
37
  'Font family': string;
33
38
  'Insert format block': string;
package/esm/langs/ja.js CHANGED
@@ -17,7 +17,7 @@ export default {
17
17
  'Buy full version': 'フルバージョンを購入',
18
18
  'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.':
19
19
  'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.',
20
- Anchor: 'Anchor',
20
+ Anchor: 'アンカー',
21
21
  'Open in new tab': '新しいタブで開く',
22
22
  'Open in fullsize': 'エディターのサイズ(フル/ノーマル)',
23
23
  'Clear Formatting': '書式をクリア',
@@ -37,6 +37,11 @@ export default {
37
37
  'Insert file': 'ファイルを挿入',
38
38
  'Insert youtube/vimeo video': 'Youtube/Vimeo 動画',
39
39
  'Insert link': 'リンクを挿入',
40
+ 'Insert anchor': 'アンカーを挿入',
41
+ 'Link to an anchor': 'アンカーにリンク',
42
+ 'On this page': 'このページ内',
43
+ 'The name cannot contain spaces': '名前にスペースは使えません',
44
+ 'This name is already in use': 'この名前はすでに使われています',
40
45
  'Font size': 'フォントサイズ',
41
46
  'Font family': 'フォント',
42
47
  'Insert format block': 'テキストのスタイル',
package/esm/langs/ko.d.ts CHANGED
@@ -27,6 +27,11 @@ declare const _exports: {
27
27
  'Insert file': string;
28
28
  'Insert youtube/vimeo video': string;
29
29
  'Insert link': string;
30
+ 'Insert anchor': string;
31
+ 'Link to an anchor': string;
32
+ 'On this page': string;
33
+ 'The name cannot contain spaces': string;
34
+ 'This name is already in use': string;
30
35
  'Font size': string;
31
36
  'Font family': string;
32
37
  'Insert format block': string;
package/esm/langs/ko.js CHANGED
@@ -16,7 +16,7 @@ export default {
16
16
  'Buy full version': '풀 버전 구입하기',
17
17
  'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.':
18
18
  '© XDSoft.net - Chupurnov Valeriy. 에게 저작권과 모든 권리가 있습니다.',
19
- Anchor: 'Anchor',
19
+ Anchor: '앵커',
20
20
  'Open in new tab': '새 탭에서 열기',
21
21
  'Open in fullsize': '전체 크기로 보기',
22
22
  'Clear Formatting': '서식 지우기',
@@ -36,6 +36,11 @@ export default {
36
36
  'Insert file': '파일 넣기',
37
37
  'Insert youtube/vimeo video': 'Youtube/Vimeo 동영상',
38
38
  'Insert link': '링크 넣기',
39
+ 'Insert anchor': '앵커 넣기',
40
+ 'Link to an anchor': '앵커에 연결',
41
+ 'On this page': '이 페이지에서',
42
+ 'The name cannot contain spaces': '이름에 공백을 넣을 수 없습니다',
43
+ 'This name is already in use': '이미 사용 중인 이름입니다',
39
44
  'Font size': '글꼴 크기',
40
45
  'Font family': '글꼴',
41
46
  'Insert format block': '블록 요소 넣기',
package/esm/langs/mn.d.ts CHANGED
@@ -28,6 +28,11 @@ declare const _exports: {
28
28
  'Insert file': string;
29
29
  'Insert youtube/vimeo video': string;
30
30
  'Insert link': string;
31
+ 'Insert anchor': string;
32
+ 'Link to an anchor': string;
33
+ 'On this page': string;
34
+ 'The name cannot contain spaces': string;
35
+ 'This name is already in use': string;
31
36
  'Font size': string;
32
37
  'Font family': string;
33
38
  'Insert format block': string;
package/esm/langs/mn.js CHANGED
@@ -18,7 +18,7 @@ export default {
18
18
  'Buy full version': 'Бүрэн хувилбар худалдан авах',
19
19
  'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.':
20
20
  'Зохиогчийн эрх хамгаалагдсан © XDSoft.net - Chupurnov Valeriy. Бүх эрхийг эзэмшинэ.',
21
- Anchor: 'Холбоо барих',
21
+ Anchor: 'Зангуу',
22
22
  'Open in new tab': 'Шинэ табаар нээх',
23
23
  'Open in fullsize': 'Бүтэн дэлгэцээр нээх',
24
24
  'Clear Formatting': 'Форматыг арилгах',
@@ -39,6 +39,11 @@ export default {
39
39
  'Insert file': 'Файл нэмэх',
40
40
  'Insert youtube/vimeo video': 'Youtube/Vimeo видео нэмэх',
41
41
  'Insert link': 'Холбоос нэмэх',
42
+ 'Insert anchor': 'Зангуу нэмэх',
43
+ 'Link to an anchor': 'Зангуу руу холбох',
44
+ 'On this page': 'Энэ хуудсанд',
45
+ 'The name cannot contain spaces': 'Нэрэнд хоосон зай байж болохгүй',
46
+ 'This name is already in use': 'Энэ нэр аль хэдийн ашиглагдаж байна',
42
47
  'Font size': 'Фонтын хэмжээ',
43
48
  'Font family': 'Фонтын бүл',
44
49
  'Insert format block': 'Блок нэмэх',
package/esm/langs/nl.d.ts CHANGED
@@ -29,6 +29,11 @@ declare const _exports: {
29
29
  'Insert file': string;
30
30
  'Insert youtube/vimeo video': string;
31
31
  'Insert link': string;
32
+ 'Insert anchor': string;
33
+ 'Link to an anchor': string;
34
+ 'On this page': string;
35
+ 'The name cannot contain spaces': string;
36
+ 'This name is already in use': string;
32
37
  'Font size': string;
33
38
  'Font family': string;
34
39
  'Insert format block': string;
package/esm/langs/nl.js CHANGED
@@ -39,6 +39,11 @@ export default {
39
39
  'Insert file': 'Bestand invoegen',
40
40
  'Insert youtube/vimeo video': 'Youtube/Vimeo video invoegen',
41
41
  'Insert link': 'Link toevoegen',
42
+ 'Insert anchor': 'Anker toevoegen',
43
+ 'Link to an anchor': 'Naar een anker linken',
44
+ 'On this page': 'Op deze pagina',
45
+ 'The name cannot contain spaces': 'De naam mag geen spaties bevatten',
46
+ 'This name is already in use': 'Deze naam is al in gebruik',
42
47
  'Font size': 'Tekstgrootte',
43
48
  'Font family': 'Lettertype',
44
49
  'Insert format block': 'Format blok invoegen',
package/esm/langs/no.d.ts CHANGED
@@ -27,6 +27,11 @@ declare const _exports: {
27
27
  'Insert file': string;
28
28
  'Insert youtube/vimeo video': string;
29
29
  'Insert link': string;
30
+ 'Insert anchor': string;
31
+ 'Link to an anchor': string;
32
+ 'On this page': string;
33
+ 'The name cannot contain spaces': string;
34
+ 'This name is already in use': string;
30
35
  'Font size': string;
31
36
  'Font family': string;
32
37
  'Insert format block': string;
package/esm/langs/no.js CHANGED
@@ -36,6 +36,11 @@ export default {
36
36
  'Insert file': 'Sett inn fil',
37
37
  'Insert youtube/vimeo video': 'Sett inn YouTube/Vimeo-video',
38
38
  'Insert link': 'Sett inn lenke',
39
+ 'Insert anchor': 'Sett inn anker',
40
+ 'Link to an anchor': 'Lenke til et anker',
41
+ 'On this page': 'På denne siden',
42
+ 'The name cannot contain spaces': 'Navnet kan ikke inneholde mellomrom',
43
+ 'This name is already in use': 'Dette navnet er allerede i bruk',
39
44
  'Font size': 'Skriftstørrelse',
40
45
  'Font family': 'Skriftfamilie',
41
46
  'Insert format block': 'Sett inn formateringsblokk',
package/esm/langs/pl.d.ts CHANGED
@@ -28,6 +28,11 @@ declare const _exports: {
28
28
  'Insert file': string;
29
29
  'Insert youtube/vimeo video': string;
30
30
  'Insert link': string;
31
+ 'Insert anchor': string;
32
+ 'Link to an anchor': string;
33
+ 'On this page': string;
34
+ 'The name cannot contain spaces': string;
35
+ 'This name is already in use': string;
31
36
  'Font size': string;
32
37
  'Font family': string;
33
38
  'Insert format block': string;
package/esm/langs/pl.js CHANGED
@@ -39,6 +39,11 @@ export default {
39
39
  'Insert file': 'Wstaw plik',
40
40
  'Insert youtube/vimeo video': 'Wstaw film Youtube/vimeo',
41
41
  'Insert link': 'Wstaw link',
42
+ 'Insert anchor': 'Wstaw kotwicę',
43
+ 'Link to an anchor': 'Link do kotwicy',
44
+ 'On this page': 'Na tej stronie',
45
+ 'The name cannot contain spaces': 'Nazwa nie może zawierać spacji',
46
+ 'This name is already in use': 'Ta nazwa jest już używana',
42
47
  'Font size': 'Rozmiar tekstu',
43
48
  'Font family': 'Krój czcionki',
44
49
  'Insert format block': 'Wstaw formatowanie',
@@ -28,6 +28,11 @@ declare const _exports: {
28
28
  'Insert file': string;
29
29
  'Insert youtube/vimeo video': string;
30
30
  'Insert link': string;
31
+ 'Insert anchor': string;
32
+ 'Link to an anchor': string;
33
+ 'On this page': string;
34
+ 'The name cannot contain spaces': string;
35
+ 'This name is already in use': string;
31
36
  'Font size': string;
32
37
  'Font family': string;
33
38
  'Insert format block': string;
@@ -17,7 +17,7 @@ export default {
17
17
  'Buy full version': 'Compre a versão completa',
18
18
  'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.':
19
19
  'Copyright © XDSoft.net - Chupurnov Valeriy. Todos os direitos reservados.',
20
- Anchor: 'Link',
20
+ Anchor: 'Âncora',
21
21
  'Open in new tab': 'Abrir em nova aba',
22
22
  'Open in fullsize': 'Abrir editor em tela cheia',
23
23
  'Clear Formatting': 'Limpar formatação',
@@ -37,6 +37,11 @@ export default {
37
37
  'Insert file': 'Inserir arquivo',
38
38
  'Insert youtube/vimeo video': 'Inserir vídeo do Youtube/vimeo',
39
39
  'Insert link': 'Inserir link',
40
+ 'Insert anchor': 'Inserir âncora',
41
+ 'Link to an anchor': 'Vincular a uma âncora',
42
+ 'On this page': 'Nesta página',
43
+ 'The name cannot contain spaces': 'O nome não pode conter espaços',
44
+ 'This name is already in use': 'Este nome já está em uso',
40
45
  'Font size': 'Tamanho da letra',
41
46
  'Font family': 'Fonte',
42
47
  'Insert format block': 'Inserir bloco',
package/esm/langs/ru.d.ts CHANGED
@@ -27,6 +27,11 @@ declare const _exports: {
27
27
  'Insert file': string;
28
28
  'Insert youtube/vimeo video': string;
29
29
  'Insert link': string;
30
+ 'Insert anchor': string;
31
+ 'Link to an anchor': string;
32
+ 'On this page': string;
33
+ 'The name cannot contain spaces': string;
34
+ 'This name is already in use': string;
30
35
  'Font size': string;
31
36
  'Font family': string;
32
37
  'Insert format block': string;
package/esm/langs/ru.js CHANGED
@@ -17,7 +17,7 @@ export default {
17
17
  'Buy full version': 'Купить полную версию',
18
18
  'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.':
19
19
  'Авторские права © XDSoft.net - Чупурнов Валерий. Все права защищены.',
20
- Anchor: 'Анкор',
20
+ Anchor: 'Якорь',
21
21
  'Open in new tab': 'Открывать ссылку в новой вкладке',
22
22
  'Open in fullsize': 'Открыть редактор в полном размере',
23
23
  'Clear Formatting': 'Очистить форматирование',
@@ -37,6 +37,11 @@ export default {
37
37
  'Insert file': 'Вставить файл',
38
38
  'Insert youtube/vimeo video': 'Вставьте видео',
39
39
  'Insert link': 'Вставить ссылку',
40
+ 'Insert anchor': 'Вставить якорь',
41
+ 'Link to an anchor': 'Ссылка на якорь',
42
+ 'On this page': 'На этой странице',
43
+ 'The name cannot contain spaces': 'Имя не может содержать пробелы',
44
+ 'This name is already in use': 'Это имя уже используется',
40
45
  'Font size': 'Размер шрифта',
41
46
  'Font family': 'Шрифт',
42
47
  'Insert format block': 'Вставить блочный элемент',
package/esm/langs/sk.d.ts CHANGED
@@ -28,6 +28,11 @@ declare const _exports: {
28
28
  'Insert file': string;
29
29
  'Insert youtube/vimeo video': string;
30
30
  'Insert link': string;
31
+ 'Insert anchor': string;
32
+ 'Link to an anchor': string;
33
+ 'On this page': string;
34
+ 'The name cannot contain spaces': string;
35
+ 'This name is already in use': string;
31
36
  'Font size': string;
32
37
  'Font family': string;
33
38
  'Insert format block': string;
package/esm/langs/sk.js CHANGED
@@ -38,6 +38,11 @@ export default {
38
38
  'Insert file': 'Vložiť súbor',
39
39
  'Insert youtube/vimeo video': 'Vložiť video YouTube/Vimeo',
40
40
  'Insert link': 'Vložiť odkaz',
41
+ 'Insert anchor': 'Vložiť kotvu',
42
+ 'Link to an anchor': 'Odkaz na kotvu',
43
+ 'On this page': 'Na tejto stránke',
44
+ 'The name cannot contain spaces': 'Názov nesmie obsahovať medzery',
45
+ 'This name is already in use': 'Tento názov sa už používa',
41
46
  'Font size': 'Veľkosť písma',
42
47
  'Font family': 'Typ písma',
43
48
  'Insert format block': 'Vložiť formátovaný blok',
package/esm/langs/sv.d.ts CHANGED
@@ -27,6 +27,11 @@ declare const _exports: {
27
27
  'Insert file': string;
28
28
  'Insert youtube/vimeo video': string;
29
29
  'Insert link': string;
30
+ 'Insert anchor': string;
31
+ 'Link to an anchor': string;
32
+ 'On this page': string;
33
+ 'The name cannot contain spaces': string;
34
+ 'This name is already in use': string;
30
35
  'Font size': string;
31
36
  'Font family': string;
32
37
  'Insert format block': string;
package/esm/langs/sv.js CHANGED
@@ -37,6 +37,11 @@ export default {
37
37
  'Insert file': 'Infoga fil',
38
38
  'Insert youtube/vimeo video': 'Infoga YouTube/Vimeo-video',
39
39
  'Insert link': 'Infoga länk',
40
+ 'Insert anchor': 'Infoga ankare',
41
+ 'Link to an anchor': 'Länka till ett ankare',
42
+ 'On this page': 'På den här sidan',
43
+ 'The name cannot contain spaces': 'Namnet får inte innehålla mellanslag',
44
+ 'This name is already in use': 'Det här namnet används redan',
40
45
  'Font size': 'Teckenstorlek',
41
46
  'Font family': 'Teckensnitt',
42
47
  'Insert format block': 'Infoga formateringsblock',
package/esm/langs/tr.d.ts CHANGED
@@ -28,6 +28,11 @@ declare const _exports: {
28
28
  'Insert file': string;
29
29
  'Insert youtube/vimeo video': string;
30
30
  'Insert link': string;
31
+ 'Insert anchor': string;
32
+ 'Link to an anchor': string;
33
+ 'On this page': string;
34
+ 'The name cannot contain spaces': string;
35
+ 'This name is already in use': string;
31
36
  'Font size': string;
32
37
  'Font family': string;
33
38
  'Insert format block': string;
package/esm/langs/tr.js CHANGED
@@ -17,7 +17,7 @@ export default {
17
17
  'Buy full version': 'Tam versiyonunu satın al',
18
18
  'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.':
19
19
  'Copyright © XDSoft.net - Chupurnov Valeriy. Tüm hakları saklıdır.',
20
- Anchor: 'Bağlantı',
20
+ Anchor: 'Çapa',
21
21
  'Open in new tab': 'Yeni sekmede aç',
22
22
  'Open in fullsize': 'Editörü tam ekranda aç',
23
23
  'Clear Formatting': 'Stili temizle',
@@ -37,6 +37,11 @@ export default {
37
37
  'Insert file': 'Dosya Ekle',
38
38
  'Insert youtube/vimeo video': 'Youtube/Vimeo Videosu Ekle',
39
39
  'Insert link': 'Bağlantı Ekle',
40
+ 'Insert anchor': 'Çapa Ekle',
41
+ 'Link to an anchor': 'Çapaya bağlantı',
42
+ 'On this page': 'Bu sayfada',
43
+ 'The name cannot contain spaces': 'Ad boşluk içeremez',
44
+ 'This name is already in use': 'Bu ad zaten kullanılıyor',
40
45
  'Font size': 'Font Boyutu',
41
46
  'Font family': 'Font Ailesi',
42
47
  'Insert format block': 'Blok Ekle',
package/esm/langs/ua.d.ts CHANGED
@@ -27,6 +27,11 @@ declare const _exports: {
27
27
  'Insert file': string;
28
28
  'Insert youtube/vimeo video': string;
29
29
  'Insert link': string;
30
+ 'Insert anchor': string;
31
+ 'Link to an anchor': string;
32
+ 'On this page': string;
33
+ 'The name cannot contain spaces': string;
34
+ 'This name is already in use': string;
30
35
  'Font size': string;
31
36
  'Font family': string;
32
37
  'Insert format block': string;
package/esm/langs/ua.js CHANGED
@@ -17,7 +17,7 @@ export default {
17
17
  'Buy full version': 'Купити повну версію',
18
18
  'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.':
19
19
  'Авторські права © XDSoft.net - Чупурнов Валерій. Всі права захищені.',
20
- Anchor: 'Анкор',
20
+ Anchor: 'Якір',
21
21
  'Open in new tab': 'Відкрити у новій вкладці',
22
22
  'Open in fullsize': 'Відкрити редактор в повному розмірі',
23
23
  'Clear Formatting': 'Очистити форматування',
@@ -37,6 +37,11 @@ export default {
37
37
  'Insert file': 'Вставити файл',
38
38
  'Insert youtube/vimeo video': 'Вставити відео',
39
39
  'Insert link': 'Вставити посилання',
40
+ 'Insert anchor': 'Вставити якір',
41
+ 'Link to an anchor': 'Посилання на якір',
42
+ 'On this page': 'На цій сторінці',
43
+ 'The name cannot contain spaces': "Ім'я не може містити пробілів",
44
+ 'This name is already in use': "Це ім'я вже використовується",
40
45
  'Font size': 'Розмір шрифту',
41
46
  'Font family': 'Шрифт',
42
47
  'Insert format block': 'Вставити блочний елемент',
@@ -29,6 +29,11 @@ declare const _exports: {
29
29
  'Insert file': string;
30
30
  'Insert youtube/vimeo video': string;
31
31
  'Insert link': string;
32
+ 'Insert anchor': string;
33
+ 'Link to an anchor': string;
34
+ 'On this page': string;
35
+ 'The name cannot contain spaces': string;
36
+ 'This name is already in use': string;
32
37
  'Font size': string;
33
38
  'Font family': string;
34
39
  'Insert format block': string;
@@ -18,7 +18,7 @@ export default {
18
18
  'Buy full version': '购买完整版本',
19
19
  'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.':
20
20
  'Copyright © XDSoft.net - Chupurnov Valeriy. 版权所有',
21
- Anchor: 'Anchor',
21
+ Anchor: '锚点',
22
22
  'Open in new tab': '在新窗口打开',
23
23
  'Open in fullsize': '全屏编辑',
24
24
  'Clear Formatting': '清除样式',
@@ -38,6 +38,11 @@ export default {
38
38
  'Insert file': '文件',
39
39
  'Insert youtube/vimeo video': '视频',
40
40
  'Insert link': '链接',
41
+ 'Insert anchor': '插入锚点',
42
+ 'Link to an anchor': '链接到锚点',
43
+ 'On this page': '在本页',
44
+ 'The name cannot contain spaces': '名称不能包含空格',
45
+ 'This name is already in use': '此名称已被使用',
41
46
  'Font size': '字号',
42
47
  'Font family': '字体',
43
48
  'Insert format block': '格式块',
@@ -28,6 +28,11 @@ declare const _exports: {
28
28
  'Insert file': string;
29
29
  'Insert youtube/vimeo video': string;
30
30
  'Insert link': string;
31
+ 'Insert anchor': string;
32
+ 'Link to an anchor': string;
33
+ 'On this page': string;
34
+ 'The name cannot contain spaces': string;
35
+ 'This name is already in use': string;
31
36
  'Font size': string;
32
37
  'Font family': string;
33
38
  'Insert format block': string;
@@ -37,6 +37,11 @@ export default {
37
37
  'Insert file': '檔案',
38
38
  'Insert youtube/vimeo video': '插入 youtube/vimeo 影片',
39
39
  'Insert link': '插入連結',
40
+ 'Insert anchor': '插入錨點',
41
+ 'Link to an anchor': '連結到錨點',
42
+ 'On this page': '在本頁',
43
+ 'The name cannot contain spaces': '名稱不能包含空格',
44
+ 'This name is already in use': '此名稱已被使用',
40
45
  'Font size': '文字大小',
41
46
  'Font family': '字型',
42
47
  'Insert format block': '格式化區塊',
package/esm/languages.js CHANGED
@@ -4,6 +4,7 @@
4
4
  * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
5
5
  */
6
6
  import { isArray } from "./core/helpers/checker/is-array.js";
7
+ import { isPlainObject } from "./core/helpers/checker/is-plain-object.js";
7
8
  import ar from "./langs/ar.js";
8
9
  import az from "./langs/az.js";
9
10
  import cs_cz from "./langs/cs_cz.js";
@@ -63,7 +64,12 @@ exp = {
63
64
  zh_tw
64
65
  };
65
66
  /* Unpack array to hash */
66
- const get = (value) => value ? value.default || value : {}, hashLang = {};
67
+ // Unwrap a module (`default` is the dictionary or the packed array), but keep a dictionary whose `default` is a translation (`no.js`)
68
+ const get = (value) => value
69
+ ? isArray(value.default) || isPlainObject(value.default)
70
+ ? value.default
71
+ : value
72
+ : {}, hashLang = {};
67
73
  if (isArray(get(keys))) {
68
74
  get(keys).forEach((key, index) => {
69
75
  hashLang[index] = key;
@@ -57,10 +57,9 @@ export declare class FileBrowser extends ViewWithToolbar implements IFileBrowser
57
57
  * ```javascript
58
58
  * var fb = new Jodit.modules.FileBrowser(parent);
59
59
  * fb.open(function (data) {
60
- * var i;
61
- * for (i = 0;i < data.files.length; i += 1) {
62
- * parent.s.insertImage(data.baseurl + data.files[i]);
63
- * }
60
+ * data.items.forEach(function (item) {
61
+ * parent.s.insertImage(data.baseurl + item.file);
62
+ * });
64
63
  * });
65
64
  * ```
66
65
  */