jodit 4.18.3 → 4.18.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +52 -0
- package/es2015/jodit.css +72 -34
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +35 -10
- package/es2015/jodit.js +1967 -327
- package/es2015/jodit.min.css +1 -1
- package/es2015/jodit.min.js +41 -16
- package/es2015/plugins/debug/debug.css +1 -1
- package/es2015/plugins/debug/debug.js +1 -1
- package/es2015/plugins/debug/debug.min.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2018/jodit.fat.min.css +1 -1
- package/es2018/jodit.fat.min.js +35 -10
- package/es2018/jodit.min.css +1 -1
- package/es2018/jodit.min.js +35 -10
- package/es2018/plugins/debug/debug.min.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021/jodit.css +72 -34
- package/es2021/jodit.fat.min.css +1 -1
- package/es2021/jodit.fat.min.js +42 -17
- package/es2021/jodit.js +1949 -323
- package/es2021/jodit.min.css +1 -1
- package/es2021/jodit.min.js +42 -17
- package/es2021/plugins/debug/debug.css +1 -1
- package/es2021/plugins/debug/debug.js +1 -1
- package/es2021/plugins/debug/debug.min.js +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021.en/jodit.css +72 -34
- package/es2021.en/jodit.fat.min.css +1 -1
- package/es2021.en/jodit.fat.min.js +42 -17
- package/es2021.en/jodit.js +1923 -297
- package/es2021.en/jodit.min.css +1 -1
- package/es2021.en/jodit.min.js +51 -26
- package/es2021.en/plugins/debug/debug.css +1 -1
- package/es2021.en/plugins/debug/debug.js +1 -1
- package/es2021.en/plugins/debug/debug.min.js +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es5/jodit.css +85 -38
- package/es5/jodit.fat.min.css +1 -1
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +2225 -379
- package/es5/jodit.min.css +3 -3
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/debug/debug.css +1 -1
- package/es5/plugins/debug/debug.js +1 -1
- package/es5/plugins/debug/debug.min.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es5/polyfills.fat.min.js +1 -1
- package/es5/polyfills.js +1 -1
- package/es5/polyfills.min.js +1 -1
- package/esm/config.d.ts +28 -26
- package/esm/config.js +19 -21
- package/esm/core/constants.js +1 -1
- package/esm/core/helpers/html/apply-styles.js +3 -0
- package/esm/core/helpers/html/clean-from-word.js +3 -0
- package/esm/core/helpers/html/strip-tags.js +24 -6
- package/esm/core/helpers/html/word-lists.d.ts +29 -0
- package/esm/core/helpers/html/word-lists.js +158 -0
- package/esm/core/helpers/utils/align.d.ts +1 -1
- package/esm/core/helpers/utils/align.js +2 -3
- package/esm/core/selection/helpers/index.d.ts +1 -0
- package/esm/core/selection/helpers/index.js +1 -0
- package/esm/core/selection/helpers/is-moved.d.ts +15 -0
- package/esm/core/selection/helpers/is-moved.js +22 -0
- package/esm/core/selection/style/api/list/toggle-ordered-list.js +40 -3
- package/esm/core/selection/style/transactions.js +5 -2
- package/esm/jodit.js +14 -4
- package/esm/langs/ar.d.ts +10 -0
- package/esm/langs/ar.js +11 -1
- package/esm/langs/az.d.ts +10 -0
- package/esm/langs/az.js +11 -1
- package/esm/langs/cs_cz.d.ts +10 -0
- package/esm/langs/cs_cz.js +12 -1
- package/esm/langs/de.d.ts +10 -0
- package/esm/langs/de.js +11 -1
- package/esm/langs/es.d.ts +10 -0
- package/esm/langs/es.js +11 -1
- package/esm/langs/fa.d.ts +10 -0
- package/esm/langs/fa.js +11 -1
- package/esm/langs/fi.d.ts +10 -0
- package/esm/langs/fi.js +11 -1
- package/esm/langs/fr.d.ts +10 -0
- package/esm/langs/fr.js +11 -1
- package/esm/langs/he.d.ts +10 -0
- package/esm/langs/he.js +11 -1
- package/esm/langs/hu.d.ts +10 -0
- package/esm/langs/hu.js +11 -1
- package/esm/langs/id.d.ts +10 -0
- package/esm/langs/id.js +11 -1
- package/esm/langs/it.d.ts +10 -0
- package/esm/langs/it.js +11 -1
- package/esm/langs/ja.d.ts +10 -0
- package/esm/langs/ja.js +11 -1
- package/esm/langs/ko.d.ts +10 -0
- package/esm/langs/ko.js +11 -1
- package/esm/langs/mn.d.ts +10 -0
- package/esm/langs/mn.js +11 -1
- package/esm/langs/nl.d.ts +10 -0
- package/esm/langs/nl.js +11 -1
- package/esm/langs/no.d.ts +10 -0
- package/esm/langs/no.js +11 -1
- package/esm/langs/pl.d.ts +10 -0
- package/esm/langs/pl.js +11 -1
- package/esm/langs/pt_br.d.ts +10 -0
- package/esm/langs/pt_br.js +11 -1
- package/esm/langs/ru.d.ts +10 -0
- package/esm/langs/ru.js +11 -1
- package/esm/langs/sk.d.ts +10 -0
- package/esm/langs/sk.js +11 -1
- package/esm/langs/sv.d.ts +10 -0
- package/esm/langs/sv.js +11 -1
- package/esm/langs/tr.d.ts +10 -0
- package/esm/langs/tr.js +11 -1
- package/esm/langs/ua.d.ts +10 -0
- package/esm/langs/ua.js +11 -1
- package/esm/langs/zh_cn.d.ts +10 -0
- package/esm/langs/zh_cn.js +11 -1
- package/esm/langs/zh_tw.d.ts +10 -0
- package/esm/langs/zh_tw.js +11 -1
- package/esm/modules/dialog/dialog.d.ts +7 -0
- package/esm/modules/dialog/dialog.js +24 -6
- package/esm/modules/table/table.d.ts +6 -0
- package/esm/modules/table/table.js +18 -26
- package/esm/plugins/all.d.ts +1 -0
- package/esm/plugins/all.js +1 -0
- package/esm/plugins/backspace/cases/check-join-neighbors.js +90 -3
- package/esm/plugins/clean-html/clean-html.d.ts +8 -0
- package/esm/plugins/clean-html/clean-html.js +21 -1
- package/esm/plugins/clean-html/helpers/index.d.ts +1 -0
- package/esm/plugins/clean-html/helpers/index.js +1 -0
- package/esm/plugins/clean-html/helpers/remove-placeholder-br.d.ts +16 -0
- package/esm/plugins/clean-html/helpers/remove-placeholder-br.js +51 -0
- package/esm/plugins/delete/delete.d.ts +11 -1
- package/esm/plugins/delete/delete.js +92 -16
- package/esm/plugins/focus/focus.js +12 -1
- package/esm/plugins/iframe/config.d.ts +3 -0
- package/esm/plugins/iframe/config.js +0 -27
- package/esm/plugins/iframe/iframe.js +8 -1
- package/esm/plugins/image-processor/image-processor.d.ts +4 -1
- package/esm/plugins/image-processor/image-processor.js +15 -4
- package/esm/plugins/image-properties/readers/align.d.ts +2 -2
- package/esm/plugins/index.d.ts +1 -0
- package/esm/plugins/inline-popup/config/items/iframe.d.ts +9 -1
- package/esm/plugins/inline-popup/config/items/iframe.js +15 -0
- package/esm/plugins/inline-popup/inline-popup.d.ts +19 -0
- package/esm/plugins/inline-popup/inline-popup.js +70 -1
- package/esm/plugins/media/media.js +16 -7
- package/esm/plugins/ordered-list/config.js +13 -2
- package/esm/plugins/ordered-list/start-dialog.d.ts +19 -0
- package/esm/plugins/ordered-list/start-dialog.js +58 -0
- package/esm/plugins/placeholder/placeholder.js +7 -1
- package/esm/plugins/resizer/config.d.ts +5 -3
- package/esm/plugins/resizer/config.js +8 -2
- package/esm/plugins/resizer/resizer.d.ts +20 -0
- package/esm/plugins/resizer/resizer.js +140 -17
- package/esm/plugins/select-cells/select-cells.d.ts +23 -0
- package/esm/plugins/select-cells/select-cells.js +75 -1
- package/esm/plugins/table-keyboard-navigation/table-keyboard-navigation.js +3 -2
- package/esm/plugins/video/config.d.ts +6 -0
- package/esm/plugins/video/config.js +77 -65
- package/esm/plugins/video-properties/interface.d.ts +31 -0
- package/esm/plugins/video-properties/interface.js +6 -0
- package/esm/plugins/video-properties/readers.d.ts +26 -0
- package/esm/plugins/video-properties/readers.js +65 -0
- package/esm/plugins/video-properties/replace.d.ts +15 -0
- package/esm/plugins/video-properties/replace.js +97 -0
- package/esm/plugins/video-properties/ui/ui-video-form.d.ts +41 -0
- package/esm/plugins/video-properties/ui/ui-video-form.js +228 -0
- package/esm/plugins/video-properties/video-properties.d.ts +37 -0
- package/esm/plugins/video-properties/video-properties.js +175 -0
- package/esm/plugins/video-properties/writers.d.ts +15 -0
- package/esm/plugins/video-properties/writers.js +73 -0
- package/esm/types/types.d.ts +1 -1
- package/package.json +1 -1
- package/types/config.d.ts +28 -26
- package/types/core/helpers/html/word-lists.d.ts +29 -0
- package/types/core/helpers/utils/align.d.ts +1 -1
- package/types/core/selection/helpers/index.d.ts +1 -0
- package/types/core/selection/helpers/is-moved.d.ts +15 -0
- package/types/langs/ar.d.ts +10 -0
- package/types/langs/az.d.ts +10 -0
- package/types/langs/cs_cz.d.ts +10 -0
- package/types/langs/de.d.ts +10 -0
- package/types/langs/es.d.ts +10 -0
- package/types/langs/fa.d.ts +10 -0
- package/types/langs/fi.d.ts +10 -0
- package/types/langs/fr.d.ts +10 -0
- package/types/langs/he.d.ts +10 -0
- package/types/langs/hu.d.ts +10 -0
- package/types/langs/id.d.ts +10 -0
- package/types/langs/it.d.ts +10 -0
- package/types/langs/ja.d.ts +10 -0
- package/types/langs/ko.d.ts +10 -0
- package/types/langs/mn.d.ts +10 -0
- package/types/langs/nl.d.ts +10 -0
- package/types/langs/no.d.ts +10 -0
- package/types/langs/pl.d.ts +10 -0
- package/types/langs/pt_br.d.ts +10 -0
- package/types/langs/ru.d.ts +10 -0
- package/types/langs/sk.d.ts +10 -0
- package/types/langs/sv.d.ts +10 -0
- package/types/langs/tr.d.ts +10 -0
- package/types/langs/ua.d.ts +10 -0
- package/types/langs/zh_cn.d.ts +10 -0
- package/types/langs/zh_tw.d.ts +10 -0
- package/types/modules/dialog/dialog.d.ts +7 -0
- package/types/modules/table/table.d.ts +6 -0
- package/types/plugins/clean-html/clean-html.d.ts +8 -0
- package/types/plugins/clean-html/helpers/index.d.ts +1 -0
- package/types/plugins/clean-html/helpers/remove-placeholder-br.d.ts +16 -0
- package/types/plugins/delete/delete.d.ts +11 -1
- package/types/plugins/iframe/config.d.ts +3 -0
- package/types/plugins/image-processor/image-processor.d.ts +4 -1
- package/types/plugins/image-properties/readers/align.d.ts +2 -2
- package/types/plugins/index.d.ts +1 -0
- package/types/plugins/inline-popup/config/items/iframe.d.ts +9 -1
- package/types/plugins/inline-popup/inline-popup.d.ts +19 -0
- package/types/plugins/ordered-list/start-dialog.d.ts +19 -0
- package/types/plugins/resizer/config.d.ts +5 -3
- package/types/plugins/resizer/resizer.d.ts +20 -0
- package/types/plugins/select-cells/select-cells.d.ts +23 -0
- package/types/plugins/video/config.d.ts +6 -0
- package/types/plugins/video-properties/interface.d.ts +31 -0
- package/types/plugins/video-properties/readers.d.ts +26 -0
- package/types/plugins/video-properties/replace.d.ts +15 -0
- package/types/plugins/video-properties/ui/ui-video-form.d.ts +41 -0
- package/types/plugins/video-properties/video-properties.d.ts +37 -0
- package/types/plugins/video-properties/writers.d.ts +15 -0
- package/types/types/types.d.ts +1 -1
package/esm/langs/nl.d.ts
CHANGED
|
@@ -211,5 +211,15 @@ declare const _exports: {
|
|
|
211
211
|
'Insert className': string;
|
|
212
212
|
'Press Alt for custom resizing': string;
|
|
213
213
|
'License: %s': string;
|
|
214
|
+
'Video properties': string;
|
|
215
|
+
'Audio properties': string;
|
|
216
|
+
Poster: string;
|
|
217
|
+
Autoplay: string;
|
|
218
|
+
Loop: string;
|
|
219
|
+
Muted: string;
|
|
220
|
+
Controls: string;
|
|
221
|
+
'Start at...': string;
|
|
222
|
+
'Start numbering at': string;
|
|
223
|
+
'Number for the first item': string;
|
|
214
224
|
};
|
|
215
225
|
export = _exports;
|
package/esm/langs/nl.js
CHANGED
|
@@ -225,5 +225,15 @@ export default {
|
|
|
225
225
|
'Find Next': 'Volgende Zoeken',
|
|
226
226
|
'Insert className': 'Voeg de klassenaam in',
|
|
227
227
|
'Press Alt for custom resizing': 'Druk op Alt voor aangepaste grootte',
|
|
228
|
-
'License: %s': 'Licentie: %s'
|
|
228
|
+
'License: %s': 'Licentie: %s',
|
|
229
|
+
'Video properties': 'Video-eigenschappen',
|
|
230
|
+
'Audio properties': 'Audio-eigenschappen',
|
|
231
|
+
Poster: 'Voorbeeldafbeelding',
|
|
232
|
+
Autoplay: 'Automatisch afspelen',
|
|
233
|
+
Loop: 'Herhalen',
|
|
234
|
+
Muted: 'Gedempt',
|
|
235
|
+
Controls: 'Bedieningselementen',
|
|
236
|
+
'Start at...': 'Beginnen bij...',
|
|
237
|
+
'Start numbering at': 'Nummering beginnen bij',
|
|
238
|
+
'Number for the first item': 'Nummer van het eerste item'
|
|
229
239
|
};
|
package/esm/langs/no.d.ts
CHANGED
|
@@ -219,5 +219,15 @@ declare const _exports: {
|
|
|
219
219
|
Quadrate: string;
|
|
220
220
|
'Find Previous': string;
|
|
221
221
|
'Find Next': string;
|
|
222
|
+
'Video properties': string;
|
|
223
|
+
'Audio properties': string;
|
|
224
|
+
Poster: string;
|
|
225
|
+
Autoplay: string;
|
|
226
|
+
Loop: string;
|
|
227
|
+
Muted: string;
|
|
228
|
+
Controls: string;
|
|
229
|
+
'Start at...': string;
|
|
230
|
+
'Start numbering at': string;
|
|
231
|
+
'Number for the first item': string;
|
|
222
232
|
};
|
|
223
233
|
export = _exports;
|
package/esm/langs/no.js
CHANGED
|
@@ -232,5 +232,15 @@ export default {
|
|
|
232
232
|
Dot: 'Prikk',
|
|
233
233
|
Quadrate: 'Firkant',
|
|
234
234
|
'Find Previous': 'Finn forrige',
|
|
235
|
-
'Find Next': 'Finn neste'
|
|
235
|
+
'Find Next': 'Finn neste',
|
|
236
|
+
'Video properties': 'Videoegenskaper',
|
|
237
|
+
'Audio properties': 'Lydegenskaper',
|
|
238
|
+
Poster: 'Forsidebilde',
|
|
239
|
+
Autoplay: 'Automatisk avspilling',
|
|
240
|
+
Loop: 'Gjenta',
|
|
241
|
+
Muted: 'Dempet',
|
|
242
|
+
Controls: 'Kontroller',
|
|
243
|
+
'Start at...': 'Start på...',
|
|
244
|
+
'Start numbering at': 'Start nummereringen på',
|
|
245
|
+
'Number for the first item': 'Nummer for første punkt'
|
|
236
246
|
};
|
package/esm/langs/pl.d.ts
CHANGED
|
@@ -210,5 +210,15 @@ declare const _exports: {
|
|
|
210
210
|
'Insert className': string;
|
|
211
211
|
'Press Alt for custom resizing': string;
|
|
212
212
|
'License: %s': string;
|
|
213
|
+
'Video properties': string;
|
|
214
|
+
'Audio properties': string;
|
|
215
|
+
Poster: string;
|
|
216
|
+
Autoplay: string;
|
|
217
|
+
Loop: string;
|
|
218
|
+
Muted: string;
|
|
219
|
+
Controls: string;
|
|
220
|
+
'Start at...': string;
|
|
221
|
+
'Start numbering at': string;
|
|
222
|
+
'Number for the first item': string;
|
|
213
223
|
};
|
|
214
224
|
export = _exports;
|
package/esm/langs/pl.js
CHANGED
|
@@ -225,5 +225,15 @@ export default {
|
|
|
225
225
|
'Find Next': 'Znajdź Dalej',
|
|
226
226
|
'Insert className': 'Wstaw nazwę zajęć',
|
|
227
227
|
'Press Alt for custom resizing': 'Naciśnij Alt, aby zmienić rozmiar',
|
|
228
|
-
'License: %s': 'Licencja: %s'
|
|
228
|
+
'License: %s': 'Licencja: %s',
|
|
229
|
+
'Video properties': 'Właściwości filmu',
|
|
230
|
+
'Audio properties': 'Właściwości dźwięku',
|
|
231
|
+
Poster: 'Obraz podglądu',
|
|
232
|
+
Autoplay: 'Autoodtwarzanie',
|
|
233
|
+
Loop: 'Zapętlenie',
|
|
234
|
+
Muted: 'Wyciszony',
|
|
235
|
+
Controls: 'Elementy sterujące',
|
|
236
|
+
'Start at...': 'Zacznij od...',
|
|
237
|
+
'Start numbering at': 'Rozpocznij numerowanie od',
|
|
238
|
+
'Number for the first item': 'Numer pierwszego elementu'
|
|
229
239
|
};
|
package/esm/langs/pt_br.d.ts
CHANGED
|
@@ -215,5 +215,15 @@ declare const _exports: {
|
|
|
215
215
|
'Insert className': string;
|
|
216
216
|
'Press Alt for custom resizing': string;
|
|
217
217
|
'License: %s': string;
|
|
218
|
+
'Video properties': string;
|
|
219
|
+
'Audio properties': string;
|
|
220
|
+
Poster: string;
|
|
221
|
+
Autoplay: string;
|
|
222
|
+
Loop: string;
|
|
223
|
+
Muted: string;
|
|
224
|
+
Controls: string;
|
|
225
|
+
'Start at...': string;
|
|
226
|
+
'Start numbering at': string;
|
|
227
|
+
'Number for the first item': string;
|
|
218
228
|
};
|
|
219
229
|
export = _exports;
|
package/esm/langs/pt_br.js
CHANGED
|
@@ -229,5 +229,15 @@ export default {
|
|
|
229
229
|
'Insert className': 'Insira o nome da classe',
|
|
230
230
|
'Press Alt for custom resizing':
|
|
231
231
|
'Pressione Alt para redimensionamento personalizado',
|
|
232
|
-
'License: %s': 'Licença: %s'
|
|
232
|
+
'License: %s': 'Licença: %s',
|
|
233
|
+
'Video properties': 'Propriedades do vídeo',
|
|
234
|
+
'Audio properties': 'Propriedades do áudio',
|
|
235
|
+
Poster: 'Imagem de capa',
|
|
236
|
+
Autoplay: 'Reprodução automática',
|
|
237
|
+
Loop: 'Repetir',
|
|
238
|
+
Muted: 'Sem som',
|
|
239
|
+
Controls: 'Controles',
|
|
240
|
+
'Start at...': 'Começar em...',
|
|
241
|
+
'Start numbering at': 'Começar a numeração em',
|
|
242
|
+
'Number for the first item': 'Número do primeiro item'
|
|
233
243
|
};
|
package/esm/langs/ru.d.ts
CHANGED
|
@@ -209,5 +209,15 @@ declare const _exports: {
|
|
|
209
209
|
'Find Next': string;
|
|
210
210
|
'Insert className': string;
|
|
211
211
|
'Press Alt for custom resizing': string;
|
|
212
|
+
'Video properties': string;
|
|
213
|
+
'Audio properties': string;
|
|
214
|
+
Poster: string;
|
|
215
|
+
Autoplay: string;
|
|
216
|
+
Loop: string;
|
|
217
|
+
Muted: string;
|
|
218
|
+
Controls: string;
|
|
219
|
+
'Start at...': string;
|
|
220
|
+
'Start numbering at': string;
|
|
221
|
+
'Number for the first item': string;
|
|
212
222
|
};
|
|
213
223
|
export = _exports;
|
package/esm/langs/ru.js
CHANGED
|
@@ -224,5 +224,15 @@ export default {
|
|
|
224
224
|
'Find Next': 'Найти Далее',
|
|
225
225
|
'Insert className': 'Вставить название класса',
|
|
226
226
|
'Press Alt for custom resizing':
|
|
227
|
-
'Нажмите Alt для изменения пользовательского размера'
|
|
227
|
+
'Нажмите Alt для изменения пользовательского размера',
|
|
228
|
+
'Video properties': 'Свойства видео',
|
|
229
|
+
'Audio properties': 'Свойства аудио',
|
|
230
|
+
Poster: 'Обложка',
|
|
231
|
+
Autoplay: 'Автовоспроизведение',
|
|
232
|
+
Loop: 'Повтор',
|
|
233
|
+
Muted: 'Без звука',
|
|
234
|
+
Controls: 'Элементы управления',
|
|
235
|
+
'Start at...': 'Начать с...',
|
|
236
|
+
'Start numbering at': 'Начать нумерацию с',
|
|
237
|
+
'Number for the first item': 'Номер первого пункта'
|
|
228
238
|
};
|
package/esm/langs/sk.d.ts
CHANGED
|
@@ -217,5 +217,15 @@ declare const _exports: {
|
|
|
217
217
|
'Edit image': string;
|
|
218
218
|
'Tiles view': string;
|
|
219
219
|
'List view': string;
|
|
220
|
+
'Video properties': string;
|
|
221
|
+
'Audio properties': string;
|
|
222
|
+
Poster: string;
|
|
223
|
+
Autoplay: string;
|
|
224
|
+
Loop: string;
|
|
225
|
+
Muted: string;
|
|
226
|
+
Controls: string;
|
|
227
|
+
'Start at...': string;
|
|
228
|
+
'Start numbering at': string;
|
|
229
|
+
'Number for the first item': string;
|
|
220
230
|
};
|
|
221
231
|
export = _exports;
|
package/esm/langs/sk.js
CHANGED
|
@@ -231,5 +231,15 @@ export default {
|
|
|
231
231
|
'Select file': 'Vybrať súbor',
|
|
232
232
|
'Edit image': 'Upraviť obrázok',
|
|
233
233
|
'Tiles view': 'Zobrazenie dlaždíc',
|
|
234
|
-
'List view': 'Zobrazenie zoznamu'
|
|
234
|
+
'List view': 'Zobrazenie zoznamu',
|
|
235
|
+
'Video properties': 'Vlastnosti videa',
|
|
236
|
+
'Audio properties': 'Vlastnosti zvuku',
|
|
237
|
+
Poster: 'Náhľadový obrázok',
|
|
238
|
+
Autoplay: 'Automatické prehrávanie',
|
|
239
|
+
Loop: 'Opakovať',
|
|
240
|
+
Muted: 'Stlmené',
|
|
241
|
+
Controls: 'Ovládacie prvky',
|
|
242
|
+
'Start at...': 'Začať od...',
|
|
243
|
+
'Start numbering at': 'Začať číslovanie od',
|
|
244
|
+
'Number for the first item': 'Číslo prvej položky'
|
|
235
245
|
};
|
package/esm/langs/sv.d.ts
CHANGED
|
@@ -218,5 +218,15 @@ declare const _exports: {
|
|
|
218
218
|
'Embed code': string;
|
|
219
219
|
All: string;
|
|
220
220
|
'License: %s': string;
|
|
221
|
+
'Video properties': string;
|
|
222
|
+
'Audio properties': string;
|
|
223
|
+
Poster: string;
|
|
224
|
+
Autoplay: string;
|
|
225
|
+
Loop: string;
|
|
226
|
+
Muted: string;
|
|
227
|
+
Controls: string;
|
|
228
|
+
'Start at...': string;
|
|
229
|
+
'Start numbering at': string;
|
|
230
|
+
'Number for the first item': string;
|
|
221
231
|
};
|
|
222
232
|
export = _exports;
|
package/esm/langs/sv.js
CHANGED
|
@@ -233,5 +233,15 @@ export default {
|
|
|
233
233
|
space: 'mellanslag',
|
|
234
234
|
'Embed code': 'Bädda in kod',
|
|
235
235
|
All: 'Välj alla',
|
|
236
|
-
'License: %s': 'Licens: %s'
|
|
236
|
+
'License: %s': 'Licens: %s',
|
|
237
|
+
'Video properties': 'Videoegenskaper',
|
|
238
|
+
'Audio properties': 'Ljudegenskaper',
|
|
239
|
+
Poster: 'Affischbild',
|
|
240
|
+
Autoplay: 'Automatisk uppspelning',
|
|
241
|
+
Loop: 'Upprepa',
|
|
242
|
+
Muted: 'Ljudlös',
|
|
243
|
+
Controls: 'Kontroller',
|
|
244
|
+
'Start at...': 'Börja på...',
|
|
245
|
+
'Start numbering at': 'Börja numreringen på',
|
|
246
|
+
'Number for the first item': 'Nummer för första punkten'
|
|
237
247
|
};
|
package/esm/langs/tr.d.ts
CHANGED
|
@@ -210,5 +210,15 @@ declare const _exports: {
|
|
|
210
210
|
'Insert className': string;
|
|
211
211
|
'Press Alt for custom resizing': string;
|
|
212
212
|
'License: %s': string;
|
|
213
|
+
'Video properties': string;
|
|
214
|
+
'Audio properties': string;
|
|
215
|
+
Poster: string;
|
|
216
|
+
Autoplay: string;
|
|
217
|
+
Loop: string;
|
|
218
|
+
Muted: string;
|
|
219
|
+
Controls: string;
|
|
220
|
+
'Start at...': string;
|
|
221
|
+
'Start numbering at': string;
|
|
222
|
+
'Number for the first item': string;
|
|
213
223
|
};
|
|
214
224
|
export = _exports;
|
package/esm/langs/tr.js
CHANGED
|
@@ -224,5 +224,15 @@ export default {
|
|
|
224
224
|
'Insert className': 'Sınıf adı girin',
|
|
225
225
|
'Press Alt for custom resizing':
|
|
226
226
|
'Özel yeniden boyutlandırma için Alt tuşuna basın',
|
|
227
|
-
'License: %s': 'Lisans: %s'
|
|
227
|
+
'License: %s': 'Lisans: %s',
|
|
228
|
+
'Video properties': 'Video özellikleri',
|
|
229
|
+
'Audio properties': 'Ses özellikleri',
|
|
230
|
+
Poster: 'Kapak resmi',
|
|
231
|
+
Autoplay: 'Otomatik oynat',
|
|
232
|
+
Loop: 'Döngü',
|
|
233
|
+
Muted: 'Sessiz',
|
|
234
|
+
Controls: 'Kontroller',
|
|
235
|
+
'Start at...': 'Başlangıç numarası...',
|
|
236
|
+
'Start numbering at': 'Numaralandırma başlangıcı',
|
|
237
|
+
'Number for the first item': 'İlk öğenin numarası'
|
|
228
238
|
};
|
package/esm/langs/ua.d.ts
CHANGED
|
@@ -209,5 +209,15 @@ declare const _exports: {
|
|
|
209
209
|
'Find Next': string;
|
|
210
210
|
'Insert className': string;
|
|
211
211
|
'Press Alt for custom resizing': string;
|
|
212
|
+
'Video properties': string;
|
|
213
|
+
'Audio properties': string;
|
|
214
|
+
Poster: string;
|
|
215
|
+
Autoplay: string;
|
|
216
|
+
Loop: string;
|
|
217
|
+
Muted: string;
|
|
218
|
+
Controls: string;
|
|
219
|
+
'Start at...': string;
|
|
220
|
+
'Start numbering at': string;
|
|
221
|
+
'Number for the first item': string;
|
|
212
222
|
};
|
|
213
223
|
export = _exports;
|
package/esm/langs/ua.js
CHANGED
|
@@ -223,5 +223,15 @@ export default {
|
|
|
223
223
|
'Find Previous': 'Знайти попередні',
|
|
224
224
|
'Find Next': 'Знайти наступні',
|
|
225
225
|
'Insert className': 'Вставити клас',
|
|
226
|
-
'Press Alt for custom resizing': 'Натисніть Alt для зміни розміру'
|
|
226
|
+
'Press Alt for custom resizing': 'Натисніть Alt для зміни розміру',
|
|
227
|
+
'Video properties': 'Властивості відео',
|
|
228
|
+
'Audio properties': 'Властивості аудіо',
|
|
229
|
+
Poster: 'Обкладинка',
|
|
230
|
+
Autoplay: 'Автовідтворення',
|
|
231
|
+
Loop: 'Повтор',
|
|
232
|
+
Muted: 'Без звуку',
|
|
233
|
+
Controls: 'Елементи керування',
|
|
234
|
+
'Start at...': 'Почати з...',
|
|
235
|
+
'Start numbering at': 'Почати нумерацію з',
|
|
236
|
+
'Number for the first item': 'Номер першого пункту'
|
|
227
237
|
};
|
package/esm/langs/zh_cn.d.ts
CHANGED
|
@@ -211,5 +211,15 @@ declare const _exports: {
|
|
|
211
211
|
'Insert className': string;
|
|
212
212
|
'Press Alt for custom resizing': string;
|
|
213
213
|
'License: %s': string;
|
|
214
|
+
'Video properties': string;
|
|
215
|
+
'Audio properties': string;
|
|
216
|
+
Poster: string;
|
|
217
|
+
Autoplay: string;
|
|
218
|
+
Loop: string;
|
|
219
|
+
Muted: string;
|
|
220
|
+
Controls: string;
|
|
221
|
+
'Start at...': string;
|
|
222
|
+
'Start numbering at': string;
|
|
223
|
+
'Number for the first item': string;
|
|
214
224
|
};
|
|
215
225
|
export = _exports;
|
package/esm/langs/zh_cn.js
CHANGED
|
@@ -223,5 +223,15 @@ export default {
|
|
|
223
223
|
'Find Next': '查找下一个',
|
|
224
224
|
'Insert className': '插入班级名称',
|
|
225
225
|
'Press Alt for custom resizing': '按Alt自定义调整大小',
|
|
226
|
-
'License: %s': '许可证: %s'
|
|
226
|
+
'License: %s': '许可证: %s',
|
|
227
|
+
'Video properties': '视频属性',
|
|
228
|
+
'Audio properties': '音频属性',
|
|
229
|
+
Poster: '封面图',
|
|
230
|
+
Autoplay: '自动播放',
|
|
231
|
+
Loop: '循环播放',
|
|
232
|
+
Muted: '静音',
|
|
233
|
+
Controls: '播放控件',
|
|
234
|
+
'Start at...': '起始于...',
|
|
235
|
+
'Start numbering at': '编号起始值',
|
|
236
|
+
'Number for the first item': '第一项的编号'
|
|
227
237
|
};
|
package/esm/langs/zh_tw.d.ts
CHANGED
|
@@ -210,5 +210,15 @@ declare const _exports: {
|
|
|
210
210
|
'Press Alt for custom resizing': string;
|
|
211
211
|
Edit: string;
|
|
212
212
|
'License: %s': string;
|
|
213
|
+
'Video properties': string;
|
|
214
|
+
'Audio properties': string;
|
|
215
|
+
Poster: string;
|
|
216
|
+
Autoplay: string;
|
|
217
|
+
Loop: string;
|
|
218
|
+
Muted: string;
|
|
219
|
+
Controls: string;
|
|
220
|
+
'Start at...': string;
|
|
221
|
+
'Start numbering at': string;
|
|
222
|
+
'Number for the first item': string;
|
|
213
223
|
};
|
|
214
224
|
export = _exports;
|
package/esm/langs/zh_tw.js
CHANGED
|
@@ -222,5 +222,15 @@ export default {
|
|
|
222
222
|
'Insert className': '插入 class 名稱',
|
|
223
223
|
'Press Alt for custom resizing': '按住 Alt 以調整自訂大小',
|
|
224
224
|
Edit: '編輯',
|
|
225
|
-
'License: %s': '許可證: %s'
|
|
225
|
+
'License: %s': '許可證: %s',
|
|
226
|
+
'Video properties': '影片屬性',
|
|
227
|
+
'Audio properties': '音訊屬性',
|
|
228
|
+
Poster: '封面圖片',
|
|
229
|
+
Autoplay: '自動播放',
|
|
230
|
+
Loop: '循環播放',
|
|
231
|
+
Muted: '靜音',
|
|
232
|
+
Controls: '播放控制項',
|
|
233
|
+
'Start at...': '起始於...',
|
|
234
|
+
'Start numbering at': '編號起始值',
|
|
235
|
+
'Number for the first item': '第一項的編號'
|
|
226
236
|
};
|
|
@@ -48,6 +48,13 @@ export declare class Dialog extends ViewWithToolbar implements IDialog {
|
|
|
48
48
|
*/
|
|
49
49
|
private minSize;
|
|
50
50
|
private __onResizerMouseDown;
|
|
51
|
+
/**
|
|
52
|
+
* The width `box` takes with its content on one line. The header and
|
|
53
|
+
* footer are flex rows as wide as the dialog, so the footer's
|
|
54
|
+
* `scrollWidth` was the dialog's width and kept it from getting any
|
|
55
|
+
* narrower
|
|
56
|
+
*/
|
|
57
|
+
private __contentWidth;
|
|
51
58
|
private __addGlobalResizeListeners;
|
|
52
59
|
private __removeGlobalResizeListeners;
|
|
53
60
|
OPTIONS: IDialogOptions;
|
|
@@ -179,7 +179,12 @@ let Dialog = Dialog_1 = class Dialog extends ViewWithToolbar {
|
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
181
|
__onResizerMouseDown(e) {
|
|
182
|
-
var _a, _b
|
|
182
|
+
var _a, _b;
|
|
183
|
+
// As for the header: otherwise Safari selects the dialog's text as
|
|
184
|
+
// the pointer moves
|
|
185
|
+
if (e.cancelable) {
|
|
186
|
+
e.preventDefault();
|
|
187
|
+
}
|
|
183
188
|
this.resizable = true;
|
|
184
189
|
this.startX = e.clientX;
|
|
185
190
|
this.startY = e.clientY;
|
|
@@ -195,11 +200,11 @@ let Dialog = Dialog_1 = class Dialog extends ViewWithToolbar {
|
|
|
195
200
|
: 0;
|
|
196
201
|
this.minSize.w = isNumber(this.o.minWidth)
|
|
197
202
|
? this.o.minWidth
|
|
198
|
-
: Math.max(100,
|
|
203
|
+
: Math.max(100, header ? this.__contentWidth(header) : 0, footer ? this.__contentWidth(footer) : 0);
|
|
199
204
|
this.minSize.h = isNumber(this.o.minHeight)
|
|
200
205
|
? this.o.minHeight
|
|
201
|
-
: ((
|
|
202
|
-
((
|
|
206
|
+
: ((_a = header === null || header === void 0 ? void 0 : header.offsetHeight) !== null && _a !== void 0 ? _a : 0) +
|
|
207
|
+
((_b = footer === null || footer === void 0 ? void 0 : footer.offsetHeight) !== null && _b !== void 0 ? _b : 0) +
|
|
203
208
|
contentMinHeight +
|
|
204
209
|
this.resizer.offsetHeight;
|
|
205
210
|
this.lockSelect();
|
|
@@ -211,6 +216,19 @@ let Dialog = Dialog_1 = class Dialog extends ViewWithToolbar {
|
|
|
211
216
|
this.e.fire(this, 'startResize');
|
|
212
217
|
}
|
|
213
218
|
}
|
|
219
|
+
/**
|
|
220
|
+
* The width `box` takes with its content on one line. The header and
|
|
221
|
+
* footer are flex rows as wide as the dialog, so the footer's
|
|
222
|
+
* `scrollWidth` was the dialog's width and kept it from getting any
|
|
223
|
+
* narrower
|
|
224
|
+
*/
|
|
225
|
+
__contentWidth(box) {
|
|
226
|
+
const { width } = box.style;
|
|
227
|
+
box.style.width = 'max-content';
|
|
228
|
+
const contentWidth = box.offsetWidth;
|
|
229
|
+
box.style.width = width;
|
|
230
|
+
return contentWidth;
|
|
231
|
+
}
|
|
214
232
|
__addGlobalResizeListeners() {
|
|
215
233
|
const self = this;
|
|
216
234
|
self.e
|
|
@@ -220,8 +238,8 @@ let Dialog = Dialog_1 = class Dialog extends ViewWithToolbar {
|
|
|
220
238
|
__removeGlobalResizeListeners() {
|
|
221
239
|
const self = this;
|
|
222
240
|
self.e
|
|
223
|
-
.off(self.ow, '
|
|
224
|
-
.off(self.ow, '
|
|
241
|
+
.off(self.ow, 'pointermove touchmove', self.__onMouseMove)
|
|
242
|
+
.off(self.ow, 'pointerup touchend', self.__onMouseUp);
|
|
225
243
|
}
|
|
226
244
|
/**
|
|
227
245
|
* Specifies the size of the window
|
|
@@ -15,6 +15,12 @@ export declare class Table extends ViewComponent<IJodit> {
|
|
|
15
15
|
className(): string;
|
|
16
16
|
private selected;
|
|
17
17
|
private static __selectedByTable;
|
|
18
|
+
/**
|
|
19
|
+
* Rewrite the `<style>` that marks the selected cells once for all the
|
|
20
|
+
* cells (un)selected in one go: a drag over a block of cells unmarks and
|
|
21
|
+
* marks every one of them on each move. `@debounce()` was never applied,
|
|
22
|
+
* as a Table never reaches `ready`
|
|
23
|
+
*/
|
|
18
24
|
private __recalculateStyles;
|
|
19
25
|
addSelection(td: HTMLTableCellElement): void;
|
|
20
26
|
removeSelection(td: HTMLTableCellElement): void;
|
|
@@ -3,19 +3,8 @@
|
|
|
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
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
7
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
9
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
10
|
-
else
|
|
11
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
12
|
-
if (d = decorators[i])
|
|
13
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
14
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15
|
-
};
|
|
16
6
|
import { ViewComponent } from "../../core/component/index.js";
|
|
17
7
|
import * as consts from "../../core/constants.js";
|
|
18
|
-
import { debounce } from "../../core/decorators/index.js";
|
|
19
8
|
import { Dom } from "../../core/dom/index.js";
|
|
20
9
|
import { getContainer } from "../../core/global.js";
|
|
21
10
|
import { attr, css, cssPath, isNumber, toArray, trim } from "../../core/helpers/index.js";
|
|
@@ -25,23 +14,29 @@ export class Table extends ViewComponent {
|
|
|
25
14
|
constructor() {
|
|
26
15
|
super(...arguments);
|
|
27
16
|
this.selected = new Set();
|
|
17
|
+
/**
|
|
18
|
+
* Rewrite the `<style>` that marks the selected cells once for all the
|
|
19
|
+
* cells (un)selected in one go: a drag over a block of cells unmarks and
|
|
20
|
+
* marks every one of them on each move. `@debounce()` was never applied,
|
|
21
|
+
* as a Table never reaches `ready`
|
|
22
|
+
*/
|
|
23
|
+
this.__recalculateStyles = this.async.microDebounce(() => {
|
|
24
|
+
const style = getContainer(this.j, Table, 'style', true);
|
|
25
|
+
const selectors = [];
|
|
26
|
+
this.selected.forEach(td => {
|
|
27
|
+
const selector = cssPath(td);
|
|
28
|
+
selector && selectors.push(selector);
|
|
29
|
+
});
|
|
30
|
+
style.innerHTML = selectors.length
|
|
31
|
+
? selectors.join(',') +
|
|
32
|
+
`{${this.jodit.options.table.selectionCellStyle}}`
|
|
33
|
+
: '';
|
|
34
|
+
});
|
|
28
35
|
}
|
|
29
36
|
/** @override */
|
|
30
37
|
className() {
|
|
31
38
|
return 'Table';
|
|
32
39
|
}
|
|
33
|
-
__recalculateStyles() {
|
|
34
|
-
const style = getContainer(this.j, Table, 'style', true);
|
|
35
|
-
const selectors = [];
|
|
36
|
-
this.selected.forEach(td => {
|
|
37
|
-
const selector = cssPath(td);
|
|
38
|
-
selector && selectors.push(selector);
|
|
39
|
-
});
|
|
40
|
-
style.innerHTML = selectors.length
|
|
41
|
-
? selectors.join(',') +
|
|
42
|
-
`{${this.jodit.options.table.selectionCellStyle}}`
|
|
43
|
-
: '';
|
|
44
|
-
}
|
|
45
40
|
addSelection(td) {
|
|
46
41
|
this.selected.add(td);
|
|
47
42
|
this.__recalculateStyles();
|
|
@@ -701,7 +696,4 @@ export class Table extends ViewComponent {
|
|
|
701
696
|
}
|
|
702
697
|
}
|
|
703
698
|
Table.__selectedByTable = new WeakMap();
|
|
704
|
-
__decorate([
|
|
705
|
-
debounce()
|
|
706
|
-
], Table.prototype, "__recalculateStyles", null);
|
|
707
699
|
const instance = (j) => j.getInstance('Table', j.o);
|
package/esm/plugins/all.d.ts
CHANGED
|
@@ -68,6 +68,7 @@ import "./table/table";
|
|
|
68
68
|
import "./table-keyboard-navigation/table-keyboard-navigation";
|
|
69
69
|
import "./toolbar-navigation/toolbar-navigation";
|
|
70
70
|
import "./video/video";
|
|
71
|
+
import "./video-properties/video-properties";
|
|
71
72
|
import "./wrap-nodes/wrap-nodes";
|
|
72
73
|
import "./dtd/dtd";
|
|
73
74
|
import "./xpath/xpath";
|
package/esm/plugins/all.js
CHANGED
|
@@ -69,6 +69,7 @@ import "./table/table.js";
|
|
|
69
69
|
import "./table-keyboard-navigation/table-keyboard-navigation.js";
|
|
70
70
|
import "./toolbar-navigation/toolbar-navigation.js";
|
|
71
71
|
import "./video/video.js";
|
|
72
|
+
import "./video-properties/video-properties.js";
|
|
72
73
|
import "./wrap-nodes/wrap-nodes.js";
|
|
73
74
|
import "./dtd/dtd.js";
|
|
74
75
|
import "./xpath/xpath.js";
|