jodit 4.2.24 → 4.2.27

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 (96) hide show
  1. package/CHANGELOG.md +24 -5
  2. package/es2015/jodit.css +4 -2
  3. package/es2015/jodit.fat.min.css +1 -1
  4. package/es2015/jodit.fat.min.js +2 -2
  5. package/es2015/jodit.js +166 -76
  6. package/es2015/jodit.min.css +1 -1
  7. package/es2015/jodit.min.js +2 -2
  8. package/es2015/plugins/debug/debug.js +1 -1
  9. package/es2015/plugins/debug/debug.min.js +1 -1
  10. package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
  11. package/es2015/plugins/speech-recognize/speech-recognize.js +33 -7
  12. package/es2015/plugins/speech-recognize/speech-recognize.min.js +2 -2
  13. package/es2018/jodit.css +4 -2
  14. package/es2018/jodit.fat.min.css +1 -1
  15. package/es2018/jodit.fat.min.js +2 -2
  16. package/es2018/jodit.js +166 -76
  17. package/es2018/jodit.min.css +1 -1
  18. package/es2018/jodit.min.js +2 -2
  19. package/es2018/plugins/debug/debug.js +1 -1
  20. package/es2018/plugins/debug/debug.min.js +1 -1
  21. package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
  22. package/es2018/plugins/speech-recognize/speech-recognize.js +33 -7
  23. package/es2018/plugins/speech-recognize/speech-recognize.min.js +2 -2
  24. package/es2021/jodit.css +4 -2
  25. package/es2021/jodit.fat.min.css +1 -1
  26. package/es2021/jodit.fat.min.js +2 -2
  27. package/es2021/jodit.js +166 -76
  28. package/es2021/jodit.min.css +1 -1
  29. package/es2021/jodit.min.js +2 -2
  30. package/es2021/plugins/debug/debug.js +1 -1
  31. package/es2021/plugins/debug/debug.min.js +1 -1
  32. package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
  33. package/es2021/plugins/speech-recognize/speech-recognize.js +33 -7
  34. package/es2021/plugins/speech-recognize/speech-recognize.min.js +2 -2
  35. package/es2021.en/jodit.css +4 -2
  36. package/es2021.en/jodit.fat.min.css +1 -1
  37. package/es2021.en/jodit.fat.min.js +2 -2
  38. package/es2021.en/jodit.js +101 -57
  39. package/es2021.en/jodit.min.css +1 -1
  40. package/es2021.en/jodit.min.js +2 -2
  41. package/es2021.en/plugins/debug/debug.js +1 -1
  42. package/es2021.en/plugins/debug/debug.min.js +1 -1
  43. package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
  44. package/es2021.en/plugins/speech-recognize/speech-recognize.js +3 -1
  45. package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +2 -2
  46. package/es5/jodit.css +11 -6
  47. package/es5/jodit.fat.min.css +1 -1
  48. package/es5/jodit.fat.min.js +2 -2
  49. package/es5/jodit.js +167 -76
  50. package/es5/jodit.min.css +3 -3
  51. package/es5/jodit.min.js +2 -2
  52. package/es5/plugins/debug/debug.js +1 -1
  53. package/es5/plugins/debug/debug.min.js +1 -1
  54. package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
  55. package/es5/plugins/speech-recognize/speech-recognize.js +33 -7
  56. package/es5/plugins/speech-recognize/speech-recognize.min.js +2 -2
  57. package/esm/core/constants.js +3 -3
  58. package/esm/core/dom/dom.d.ts +2 -1
  59. package/esm/core/dom/dom.js +10 -4
  60. package/esm/core/global.js +4 -1
  61. package/esm/core/helpers/normalize/normalize-key-aliases.js +2 -1
  62. package/esm/core/ui/button/tooltip/tooltip.d.ts +1 -0
  63. package/esm/core/ui/button/tooltip/tooltip.js +11 -5
  64. package/esm/langs/ua.d.ts +212 -0
  65. package/esm/langs/ua.js +225 -0
  66. package/esm/languages.js +2 -0
  67. package/esm/modules/table/table.d.ts +2 -3
  68. package/esm/modules/table/table.js +27 -34
  69. package/esm/plugins/add-new-line/add-new-line.js +4 -1
  70. package/esm/plugins/clean-html/helpers/visitor/filters/fill-empty-paragraph.js +9 -1
  71. package/esm/plugins/hotkeys/hotkeys.js +4 -2
  72. package/esm/plugins/line-height/langs/index.d.ts +2 -1
  73. package/esm/plugins/line-height/langs/index.js +2 -1
  74. package/esm/plugins/line-height/langs/ua.d.ts +4 -0
  75. package/esm/plugins/line-height/langs/ua.js +9 -0
  76. package/esm/plugins/select-cells/select-cells.js +1 -1
  77. package/esm/plugins/speech-recognize/langs/index.d.ts +2 -1
  78. package/esm/plugins/speech-recognize/langs/index.js +2 -1
  79. package/esm/plugins/speech-recognize/langs/ua.d.ts +9 -0
  80. package/esm/plugins/speech-recognize/langs/ua.js +14 -0
  81. package/esm/plugins/spellcheck/langs/index.d.ts +2 -1
  82. package/esm/plugins/spellcheck/langs/index.js +2 -1
  83. package/esm/plugins/spellcheck/langs/ua.d.ts +1 -0
  84. package/esm/plugins/spellcheck/langs/ua.js +9 -0
  85. package/esm/plugins/table/config.js +19 -3
  86. package/package.json +1 -1
  87. package/types/core/dom/dom.d.ts +2 -1
  88. package/types/core/ui/button/tooltip/tooltip.d.ts +1 -0
  89. package/types/langs/ua.d.ts +212 -0
  90. package/types/modules/table/table.d.ts +2 -3
  91. package/types/plugins/line-height/langs/index.d.ts +2 -1
  92. package/types/plugins/line-height/langs/ua.d.ts +4 -0
  93. package/types/plugins/speech-recognize/langs/index.d.ts +2 -1
  94. package/types/plugins/speech-recognize/langs/ua.d.ts +9 -0
  95. package/types/plugins/spellcheck/langs/index.d.ts +2 -1
  96. package/types/plugins/spellcheck/langs/ua.d.ts +1 -0
@@ -0,0 +1,212 @@
1
+ declare const _exports: {
2
+ 'Type something': string;
3
+ 'About Jodit': string;
4
+ 'Jodit Editor': string;
5
+ "Jodit User's Guide": string;
6
+ 'contains detailed help for using': string;
7
+ 'For information about the license, please go to our website:': string;
8
+ 'Buy full version': string;
9
+ 'Copyright \u00A9 XDSoft.net - Chupurnov Valeriy. All rights reserved.': string;
10
+ Anchor: string;
11
+ 'Open in new tab': string;
12
+ 'Open in fullsize': string;
13
+ 'Clear Formatting': string;
14
+ 'Fill color or set the text color': string;
15
+ Redo: string;
16
+ Undo: string;
17
+ Bold: string;
18
+ Italic: string;
19
+ 'Insert Unordered List': string;
20
+ 'Insert Ordered List': string;
21
+ 'Align Center': string;
22
+ 'Align Justify': string;
23
+ 'Align Left': string;
24
+ 'Align Right': string;
25
+ 'Insert Horizontal Line': string;
26
+ 'Insert Image': string;
27
+ 'Insert file': string;
28
+ 'Insert youtube/vimeo video': string;
29
+ 'Insert link': string;
30
+ 'Font size': string;
31
+ 'Font family': string;
32
+ 'Insert format block': string;
33
+ Normal: string;
34
+ 'Heading 1': string;
35
+ 'Heading 2': string;
36
+ 'Heading 3': string;
37
+ 'Heading 4': string;
38
+ Quote: string;
39
+ Code: string;
40
+ Insert: string;
41
+ 'Insert table': string;
42
+ 'Decrease Indent': string;
43
+ 'Increase Indent': string;
44
+ 'Select Special Character': string;
45
+ 'Insert Special Character': string;
46
+ 'Paint format': string;
47
+ 'Change mode': string;
48
+ Margins: string;
49
+ top: string;
50
+ right: string;
51
+ bottom: string;
52
+ left: string;
53
+ Styles: string;
54
+ Classes: string;
55
+ Align: string;
56
+ Right: string;
57
+ Center: string;
58
+ Left: string;
59
+ '--Not Set--': string;
60
+ Src: string;
61
+ Title: string;
62
+ Alternative: string;
63
+ Link: string;
64
+ 'Open link in new tab': string;
65
+ file: string;
66
+ Advanced: string;
67
+ 'Image properties': string;
68
+ Cancel: string;
69
+ Ok: string;
70
+ 'Your code is similar to HTML. Keep as HTML?': string;
71
+ 'Paste as HTML': string;
72
+ Keep: string;
73
+ Clean: string;
74
+ 'Insert as Text': string;
75
+ 'Insert only Text': string;
76
+ 'Word Paste Detected': string;
77
+ 'The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?': string;
78
+ 'File Browser': string;
79
+ 'Error on load list': string;
80
+ 'Error on load folders': string;
81
+ 'Are you sure?': string;
82
+ 'Enter Directory name': string;
83
+ 'Create directory': string;
84
+ 'type name': string;
85
+ 'Drop image': string;
86
+ 'Drop file': string;
87
+ 'or click': string;
88
+ 'Alternative text': string;
89
+ Browse: string;
90
+ Upload: string;
91
+ Background: string;
92
+ Text: string;
93
+ Top: string;
94
+ Middle: string;
95
+ Bottom: string;
96
+ 'Insert column before': string;
97
+ 'Insert column after': string;
98
+ 'Insert row above': string;
99
+ 'Insert row below': string;
100
+ 'Delete table': string;
101
+ 'Delete row': string;
102
+ 'Delete column': string;
103
+ 'Empty cell': string;
104
+ source: string;
105
+ bold: string;
106
+ italic: string;
107
+ brush: string;
108
+ link: string;
109
+ undo: string;
110
+ redo: string;
111
+ table: string;
112
+ image: string;
113
+ eraser: string;
114
+ paragraph: string;
115
+ fontsize: string;
116
+ video: string;
117
+ font: string;
118
+ about: string;
119
+ print: string;
120
+ underline: string;
121
+ strikethrough: string;
122
+ indent: string;
123
+ outdent: string;
124
+ fullsize: string;
125
+ shrink: string;
126
+ hr: string;
127
+ ul: string;
128
+ ol: string;
129
+ cut: string;
130
+ selectall: string;
131
+ 'Embed code': string;
132
+ 'Open link': string;
133
+ 'Edit link': string;
134
+ 'No follow': string;
135
+ Unlink: string;
136
+ Eye: string;
137
+ pencil: string;
138
+ Update: string;
139
+ ' URL': string;
140
+ Edit: string;
141
+ 'Horizontal align': string;
142
+ Filter: string;
143
+ 'Sort by changed': string;
144
+ 'Sort by name': string;
145
+ 'Sort by size': string;
146
+ 'Add folder': string;
147
+ Reset: string;
148
+ Save: string;
149
+ 'Save as ...': string;
150
+ Resize: string;
151
+ Crop: string;
152
+ Width: string;
153
+ Height: string;
154
+ 'Keep Aspect Ratio': string;
155
+ Yes: string;
156
+ No: string;
157
+ Remove: string;
158
+ Select: string;
159
+ 'Chars: %d': string;
160
+ 'Words: %d': string;
161
+ All: string;
162
+ 'Select %s': string;
163
+ 'Select all': string;
164
+ 'Vertical align': string;
165
+ Split: string;
166
+ 'Split vertical': string;
167
+ 'Split horizontal': string;
168
+ Merge: string;
169
+ 'Add column': string;
170
+ 'Add row': string;
171
+ Delete: string;
172
+ Border: string;
173
+ 'License: %s': string;
174
+ 'Strike through': string;
175
+ Underline: string;
176
+ superscript: string;
177
+ subscript: string;
178
+ 'Cut selection': string;
179
+ Break: string;
180
+ 'Search for': string;
181
+ 'Replace with': string;
182
+ Replace: string;
183
+ Paste: string;
184
+ 'Choose Content to Paste': string;
185
+ 'You can only edit your own images. Download this image on the host?': string;
186
+ 'The image has been successfully uploaded to the host!': string;
187
+ palette: string;
188
+ 'There are no files': string;
189
+ Rename: string;
190
+ 'Enter new name': string;
191
+ preview: string;
192
+ download: string;
193
+ 'Paste from clipboard': string;
194
+ "Your browser doesn't support direct access to the clipboard.": string;
195
+ 'Copy selection': string;
196
+ copy: string;
197
+ 'Border radius': string;
198
+ 'Show all': string;
199
+ Apply: string;
200
+ 'Please fill out this field': string;
201
+ 'Please enter a web address': string;
202
+ Default: string;
203
+ Circle: string;
204
+ Dot: string;
205
+ Quadrate: string;
206
+ Find: string;
207
+ 'Find Previous': string;
208
+ 'Find Next': string;
209
+ 'Insert className': string;
210
+ 'Press Alt for custom resizing': string;
211
+ };
212
+ export = _exports;
@@ -62,11 +62,10 @@ export declare class Table extends ViewComponent<IJodit> {
62
62
  * Remove row
63
63
  */
64
64
  removeRow(table: HTMLTableElement, rowIndex: number): void;
65
- private static __appendColumn;
66
65
  /**
67
66
  * Insert column before / after all the columns containing the selected cells
68
67
  */
69
- appendColumn(table: HTMLTableElement, j: number, after: boolean): void;
68
+ appendColumn(table: HTMLTableElement, selectedCell: HTMLTableCellElement, insertAfter?: boolean): void;
70
69
  private static __removeColumn;
71
70
  /**
72
71
  * Remove column by index
@@ -86,7 +85,7 @@ export declare class Table extends ViewComponent<IJodit> {
86
85
  normalizeTable(table: HTMLTableElement): void;
87
86
  private static __mergeSelected;
88
87
  /**
89
- * It combines all of the selected cells into one. The contents of the cells will also be combined
88
+ * It combines all the selected cells into one. The contents of the cells will also be combined
90
89
  */
91
90
  mergeSelected(table: HTMLTableElement): void;
92
91
  private static __splitHorizontal;
@@ -22,6 +22,7 @@ import * as pl from "./pl.js";
22
22
  import * as pt_br from "./pt_br.js";
23
23
  import * as ru from "./ru.js";
24
24
  import * as tr from "./tr.js";
25
+ import * as ua from "./ua.js";
25
26
  import * as zh_cn from "./zh_cn.js";
26
27
  import * as zh_tw from "./zh_tw.js";
27
- export { ar, cs_cz, de, es, fa, fi, fr, he, hu, id, it, ja, ko, mn, nl, pl, pt_br, ru, tr, zh_cn, zh_tw };
28
+ export { ar, cs_cz, de, es, fa, fi, fr, he, hu, id, it, ja, ko, mn, nl, pl, pt_br, ru, tr, ua, zh_cn, zh_tw };
@@ -0,0 +1,4 @@
1
+ declare const _exports: {
2
+ 'Line height': string;
3
+ };
4
+ export = _exports;
@@ -22,6 +22,7 @@ import * as pl from "./pl.js";
22
22
  import * as pt_br from "./pt_br.js";
23
23
  import * as ru from "./ru.js";
24
24
  import * as tr from "./tr.js";
25
+ import * as ua from "./ua.js";
25
26
  import * as zh_cn from "./zh_cn.js";
26
27
  import * as zh_tw from "./zh_tw.js";
27
- export { ar, cs_cz, de, es, fa, fi, fr, he, hu, id, it, ja, ko, mn, nl, pl, pt_br, ru, tr, zh_cn, zh_tw };
28
+ export { ar, cs_cz, de, es, fa, fi, fr, he, hu, id, it, ja, ko, mn, nl, pl, pt_br, ru, tr, ua, zh_cn, zh_tw };
@@ -0,0 +1,9 @@
1
+ declare const _exports: {
2
+ newline: string;
3
+ delete: string;
4
+ space: string;
5
+ 'Speech Recognize': string;
6
+ Sound: string;
7
+ 'Interim Results': string;
8
+ };
9
+ export = _exports;
@@ -22,6 +22,7 @@ import * as pl from "./pl.js";
22
22
  import * as pt_br from "./pt_br.js";
23
23
  import * as ru from "./ru.js";
24
24
  import * as tr from "./tr.js";
25
+ import * as ua from "./ua.js";
25
26
  import * as zh_cn from "./zh_cn.js";
26
27
  import * as zh_tw from "./zh_tw.js";
27
- export { ar, cs_cz, de, es, fa, fi, fr, he, hu, id, it, ja, ko, mn, nl, pl, pt_br, ru, tr, zh_cn, zh_tw };
28
+ export { ar, cs_cz, de, es, fa, fi, fr, he, hu, id, it, ja, ko, mn, nl, pl, pt_br, ru, tr, ua, zh_cn, zh_tw };
@@ -0,0 +1 @@
1
+ export let Spellcheck: string;