jodit-pro 4.9.27 → 4.9.33
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 +50 -1
- package/config.js +1 -0
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +15 -15
- package/es2015/jodit.js +15 -10
- package/es2015/jodit.min.js +5 -5
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
- package/es2015/plugins/autocomplete/autocomplete.js +1 -1
- package/es2015/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2015/plugins/backup/backup.css +1 -1
- package/es2015/plugins/backup/backup.js +1 -1
- package/es2015/plugins/backup/backup.min.js +1 -1
- package/es2015/plugins/button-generator/button-generator.css +1 -1
- package/es2015/plugins/button-generator/button-generator.js +1 -1
- package/es2015/plugins/button-generator/button-generator.min.js +1 -1
- package/es2015/plugins/change-case/change-case.js +1 -1
- package/es2015/plugins/change-case/change-case.min.js +1 -1
- package/es2015/plugins/color-picker/color-picker.css +1 -1
- package/es2015/plugins/color-picker/color-picker.js +1 -1
- package/es2015/plugins/color-picker/color-picker.min.js +1 -1
- package/es2015/plugins/emoji/emoji.css +1 -1
- package/es2015/plugins/emoji/emoji.js +1 -1
- package/es2015/plugins/emoji/emoji.min.js +1 -1
- package/es2015/plugins/export-docs/export-docs.js +1 -1
- package/es2015/plugins/export-docs/export-docs.min.js +1 -1
- package/es2015/plugins/finder/finder.css +1 -1
- package/es2015/plugins/finder/finder.js +40 -4
- package/es2015/plugins/finder/finder.min.js +4 -4
- package/es2015/plugins/google-maps/google-maps.css +1 -1
- package/es2015/plugins/google-maps/google-maps.js +1 -1
- package/es2015/plugins/google-maps/google-maps.min.js +1 -1
- package/es2015/plugins/google-search/google-search.js +1 -1
- package/es2015/plugins/google-search/google-search.min.js +1 -1
- package/es2015/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2015/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2015/plugins/keyboard/keyboard.css +1 -1
- package/es2015/plugins/keyboard/keyboard.js +1 -1
- package/es2015/plugins/keyboard/keyboard.min.js +1 -1
- package/es2015/plugins/mobile-view/mobile-view.js +1 -1
- package/es2015/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2015/plugins/page-break/page-break.js +1 -1
- package/es2015/plugins/page-break/page-break.min.js +1 -1
- package/es2015/plugins/paste-code/paste-code.css +1 -1
- package/es2015/plugins/paste-code/paste-code.js +1 -1
- package/es2015/plugins/paste-code/paste-code.min.js +1 -1
- package/es2015/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2015/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2015/plugins/show-blocks/show-blocks.js +1 -1
- package/es2015/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2015/plugins/style/style.css +1 -1
- package/es2015/plugins/style/style.js +37 -21
- package/es2015/plugins/style/style.min.js +2 -2
- package/es2015/plugins/templates/templates.css +82 -0
- package/es2015/plugins/templates/templates.js +178 -0
- package/es2015/plugins/templates/templates.min.css +1 -0
- package/es2015/plugins/templates/templates.min.js +8 -0
- package/es2015/plugins/todo-list/todo-list.css +1 -1
- package/es2015/plugins/todo-list/todo-list.js +1 -1
- package/es2015/plugins/todo-list/todo-list.min.js +1 -1
- package/es2015/plugins/translate/translate.css +1 -1
- package/es2015/plugins/translate/translate.js +1 -1
- package/es2015/plugins/translate/translate.min.js +1 -1
- package/es2015/plugins/tune-block/tune-block.css +1 -1
- package/es2015/plugins/tune-block/tune-block.js +1 -1
- package/es2015/plugins/tune-block/tune-block.min.js +1 -1
- package/es2018/jodit.fat.min.css +1 -1
- package/es2018/jodit.fat.min.js +15 -15
- package/es2018/jodit.min.js +5 -5
- package/es2018/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
- package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2018/plugins/backup/backup.min.js +1 -1
- package/es2018/plugins/button-generator/button-generator.min.js +1 -1
- package/es2018/plugins/change-case/change-case.min.js +1 -1
- package/es2018/plugins/color-picker/color-picker.min.js +1 -1
- package/es2018/plugins/emoji/emoji.min.js +1 -1
- package/es2018/plugins/export-docs/export-docs.min.js +1 -1
- package/es2018/plugins/finder/finder.min.js +3 -3
- package/es2018/plugins/google-maps/google-maps.min.js +1 -1
- package/es2018/plugins/google-search/google-search.min.js +1 -1
- package/es2018/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2018/plugins/keyboard/keyboard.min.js +1 -1
- package/es2018/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2018/plugins/page-break/page-break.min.js +1 -1
- package/es2018/plugins/paste-code/paste-code.min.js +1 -1
- package/es2018/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2018/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2018/plugins/style/style.min.js +2 -2
- package/es2018/plugins/templates/templates.min.css +1 -0
- package/es2018/plugins/templates/templates.min.js +8 -0
- package/es2018/plugins/todo-list/todo-list.min.js +1 -1
- package/es2018/plugins/translate/translate.min.js +1 -1
- package/es2018/plugins/tune-block/tune-block.min.js +1 -1
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.css +1 -1
- package/es2021/jodit.fat.min.js +15 -15
- package/es2021/jodit.js +15 -10
- package/es2021/jodit.min.js +6 -6
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
- package/es2021/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2021/plugins/backup/backup.css +1 -1
- package/es2021/plugins/backup/backup.js +1 -1
- package/es2021/plugins/backup/backup.min.js +1 -1
- package/es2021/plugins/button-generator/button-generator.css +1 -1
- package/es2021/plugins/button-generator/button-generator.js +1 -1
- package/es2021/plugins/button-generator/button-generator.min.js +1 -1
- package/es2021/plugins/change-case/change-case.js +1 -1
- package/es2021/plugins/change-case/change-case.min.js +1 -1
- package/es2021/plugins/color-picker/color-picker.css +1 -1
- package/es2021/plugins/color-picker/color-picker.js +1 -1
- package/es2021/plugins/color-picker/color-picker.min.js +1 -1
- package/es2021/plugins/emoji/emoji.css +1 -1
- package/es2021/plugins/emoji/emoji.js +1 -1
- package/es2021/plugins/emoji/emoji.min.js +1 -1
- package/es2021/plugins/export-docs/export-docs.js +1 -1
- package/es2021/plugins/export-docs/export-docs.min.js +1 -1
- package/es2021/plugins/finder/finder.css +1 -1
- package/es2021/plugins/finder/finder.js +40 -4
- package/es2021/plugins/finder/finder.min.js +4 -4
- package/es2021/plugins/google-maps/google-maps.css +1 -1
- package/es2021/plugins/google-maps/google-maps.js +1 -1
- package/es2021/plugins/google-maps/google-maps.min.js +1 -1
- package/es2021/plugins/google-search/google-search.js +1 -1
- package/es2021/plugins/google-search/google-search.min.js +1 -1
- package/es2021/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2021/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2021/plugins/keyboard/keyboard.css +1 -1
- package/es2021/plugins/keyboard/keyboard.js +1 -1
- package/es2021/plugins/keyboard/keyboard.min.js +1 -1
- package/es2021/plugins/mobile-view/mobile-view.js +1 -1
- package/es2021/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2021/plugins/page-break/page-break.js +1 -1
- package/es2021/plugins/page-break/page-break.min.js +1 -1
- package/es2021/plugins/paste-code/paste-code.css +1 -1
- package/es2021/plugins/paste-code/paste-code.js +1 -1
- package/es2021/plugins/paste-code/paste-code.min.js +1 -1
- package/es2021/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2021/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2021/plugins/show-blocks/show-blocks.js +1 -1
- package/es2021/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2021/plugins/style/style.css +1 -1
- package/es2021/plugins/style/style.js +31 -21
- package/es2021/plugins/style/style.min.js +2 -2
- package/es2021/plugins/templates/templates.css +82 -0
- package/es2021/plugins/templates/templates.js +178 -0
- package/es2021/plugins/templates/templates.min.css +1 -0
- package/es2021/plugins/templates/templates.min.js +8 -0
- package/es2021/plugins/todo-list/todo-list.css +1 -1
- package/es2021/plugins/todo-list/todo-list.js +1 -1
- package/es2021/plugins/todo-list/todo-list.min.js +1 -1
- package/es2021/plugins/translate/translate.css +1 -1
- package/es2021/plugins/translate/translate.js +1 -1
- package/es2021/plugins/translate/translate.min.js +1 -1
- package/es2021/plugins/tune-block/tune-block.css +1 -1
- package/es2021/plugins/tune-block/tune-block.js +1 -1
- package/es2021/plugins/tune-block/tune-block.min.js +1 -1
- package/es2021.en/jodit.css +1 -1
- package/es2021.en/jodit.fat.min.css +1 -1
- package/es2021.en/jodit.fat.min.js +16 -16
- package/es2021.en/jodit.js +15 -10
- package/es2021.en/jodit.min.js +6 -6
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
- package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021.en/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2021.en/plugins/backup/backup.css +1 -1
- package/es2021.en/plugins/backup/backup.js +1 -1
- package/es2021.en/plugins/backup/backup.min.js +1 -1
- package/es2021.en/plugins/button-generator/button-generator.css +1 -1
- package/es2021.en/plugins/button-generator/button-generator.js +1 -1
- package/es2021.en/plugins/button-generator/button-generator.min.js +1 -1
- package/es2021.en/plugins/change-case/change-case.js +1 -1
- package/es2021.en/plugins/change-case/change-case.min.js +1 -1
- package/es2021.en/plugins/color-picker/color-picker.css +1 -1
- package/es2021.en/plugins/color-picker/color-picker.js +1 -1
- package/es2021.en/plugins/color-picker/color-picker.min.js +1 -1
- package/es2021.en/plugins/emoji/emoji.css +1 -1
- package/es2021.en/plugins/emoji/emoji.js +1 -1
- package/es2021.en/plugins/emoji/emoji.min.js +1 -1
- package/es2021.en/plugins/export-docs/export-docs.js +1 -1
- package/es2021.en/plugins/export-docs/export-docs.min.js +1 -1
- package/es2021.en/plugins/finder/finder.css +1 -1
- package/es2021.en/plugins/finder/finder.js +6 -4
- package/es2021.en/plugins/finder/finder.min.js +2 -2
- package/es2021.en/plugins/google-maps/google-maps.css +1 -1
- package/es2021.en/plugins/google-maps/google-maps.js +1 -1
- package/es2021.en/plugins/google-maps/google-maps.min.js +1 -1
- package/es2021.en/plugins/google-search/google-search.js +1 -1
- package/es2021.en/plugins/google-search/google-search.min.js +1 -1
- package/es2021.en/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2021.en/plugins/keyboard/keyboard.css +1 -1
- package/es2021.en/plugins/keyboard/keyboard.js +1 -1
- package/es2021.en/plugins/keyboard/keyboard.min.js +1 -1
- package/es2021.en/plugins/mobile-view/mobile-view.js +1 -1
- package/es2021.en/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2021.en/plugins/page-break/page-break.js +1 -1
- package/es2021.en/plugins/page-break/page-break.min.js +1 -1
- package/es2021.en/plugins/paste-code/paste-code.css +1 -1
- package/es2021.en/plugins/paste-code/paste-code.js +1 -1
- package/es2021.en/plugins/paste-code/paste-code.min.js +1 -1
- package/es2021.en/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2021.en/plugins/show-blocks/show-blocks.js +1 -1
- package/es2021.en/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2021.en/plugins/style/style.css +1 -1
- package/es2021.en/plugins/style/style.js +31 -21
- package/es2021.en/plugins/style/style.min.js +2 -2
- package/es2021.en/plugins/templates/templates.css +82 -0
- package/es2021.en/plugins/templates/templates.js +178 -0
- package/es2021.en/plugins/templates/templates.min.css +1 -0
- package/es2021.en/plugins/templates/templates.min.js +8 -0
- package/es2021.en/plugins/todo-list/todo-list.css +1 -1
- package/es2021.en/plugins/todo-list/todo-list.js +1 -1
- package/es2021.en/plugins/todo-list/todo-list.min.js +1 -1
- package/es2021.en/plugins/translate/translate.css +1 -1
- package/es2021.en/plugins/translate/translate.js +1 -1
- package/es2021.en/plugins/translate/translate.min.js +1 -1
- package/es2021.en/plugins/tune-block/tune-block.css +1 -1
- package/es2021.en/plugins/tune-block/tune-block.js +1 -1
- package/es2021.en/plugins/tune-block/tune-block.min.js +1 -1
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.css +1 -1
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +15 -10
- package/es5/jodit.min.css +2 -2
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es5/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
- package/es5/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
- package/es5/plugins/autocomplete/autocomplete.js +1 -1
- package/es5/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es5/plugins/backup/backup.css +1 -1
- package/es5/plugins/backup/backup.js +1 -1
- package/es5/plugins/backup/backup.min.js +1 -1
- package/es5/plugins/button-generator/button-generator.css +1 -1
- package/es5/plugins/button-generator/button-generator.js +1 -1
- package/es5/plugins/button-generator/button-generator.min.js +1 -1
- package/es5/plugins/change-case/change-case.js +1 -1
- package/es5/plugins/change-case/change-case.min.js +1 -1
- package/es5/plugins/color-picker/color-picker.css +1 -1
- package/es5/plugins/color-picker/color-picker.js +1 -1
- package/es5/plugins/color-picker/color-picker.min.js +1 -1
- package/es5/plugins/emoji/emoji.css +1 -1
- package/es5/plugins/emoji/emoji.js +1 -1
- package/es5/plugins/emoji/emoji.min.js +1 -1
- package/es5/plugins/export-docs/export-docs.js +1 -1
- package/es5/plugins/export-docs/export-docs.min.js +1 -1
- package/es5/plugins/finder/finder.css +1 -1
- package/es5/plugins/finder/finder.js +40 -4
- package/es5/plugins/finder/finder.min.js +2 -2
- package/es5/plugins/google-maps/google-maps.css +1 -1
- package/es5/plugins/google-maps/google-maps.js +1 -1
- package/es5/plugins/google-maps/google-maps.min.js +1 -1
- package/es5/plugins/google-search/google-search.js +1 -1
- package/es5/plugins/google-search/google-search.min.js +1 -1
- package/es5/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es5/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es5/plugins/keyboard/keyboard.css +1 -1
- package/es5/plugins/keyboard/keyboard.js +1 -1
- package/es5/plugins/keyboard/keyboard.min.js +1 -1
- package/es5/plugins/mobile-view/mobile-view.js +1 -1
- package/es5/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es5/plugins/page-break/page-break.js +1 -1
- package/es5/plugins/page-break/page-break.min.js +1 -1
- package/es5/plugins/paste-code/paste-code.css +1 -1
- package/es5/plugins/paste-code/paste-code.js +1 -1
- package/es5/plugins/paste-code/paste-code.min.js +1 -1
- package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es5/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es5/plugins/show-blocks/show-blocks.js +1 -1
- package/es5/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es5/plugins/style/style.css +1 -1
- package/es5/plugins/style/style.js +37 -21
- package/es5/plugins/style/style.min.js +2 -2
- package/es5/plugins/templates/templates.css +82 -0
- package/es5/plugins/templates/templates.js +220 -0
- package/es5/plugins/templates/templates.min.css +1 -0
- package/es5/plugins/templates/templates.min.js +8 -0
- package/es5/plugins/todo-list/todo-list.css +1 -1
- package/es5/plugins/todo-list/todo-list.js +1 -1
- package/es5/plugins/todo-list/todo-list.min.js +1 -1
- package/es5/plugins/translate/translate.css +1 -1
- package/es5/plugins/translate/translate.js +1 -1
- package/es5/plugins/translate/translate.min.js +1 -1
- package/es5/plugins/tune-block/tune-block.css +1 -1
- package/es5/plugins/tune-block/tune-block.js +1 -1
- package/es5/plugins/tune-block/tune-block.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 +6 -0
- package/esm/plugins/all.js +1 -1
- package/esm/plugins/finder/langs/de.d.ts +22 -0
- package/esm/plugins/finder/langs/de.js +1 -0
- package/esm/plugins/finder/langs/index.d.ts +2 -1
- package/esm/plugins/finder/langs/index.js +1 -1
- package/esm/plugins/style/helpers/apply-style.js +1 -1
- package/esm/plugins/style/helpers/detect-active-style.js +1 -1
- package/esm/plugins/style/interface.d.ts +1 -1
- package/esm/plugins/style/ui/style-popup.js +1 -1
- package/esm/plugins/templates/config.d.ts +13 -0
- package/esm/plugins/templates/config.js +1 -0
- package/esm/plugins/templates/icon.svg.js +1 -0
- package/esm/plugins/templates/interface.d.ts +11 -0
- package/esm/plugins/templates/interface.js +0 -0
- package/esm/plugins/templates/templates.d.ts +18 -0
- package/esm/plugins/templates/templates.js +1 -0
- package/esm/plugins/templates/ui/templates-popup.d.ts +8 -0
- package/esm/plugins/templates/ui/templates-popup.js +1 -0
- package/package.json +1 -1
- package/types/config.d.ts +6 -0
- package/types/plugins/finder/langs/de.d.ts +22 -0
- package/types/plugins/finder/langs/index.d.ts +2 -1
- package/types/plugins/style/interface.d.ts +1 -1
- package/types/plugins/templates/config.d.ts +13 -0
- package/types/plugins/templates/interface.d.ts +11 -0
- package/types/plugins/templates/templates.d.ts +18 -0
- package/types/plugins/templates/ui/templates-popup.d.ts +8 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const _exports: {
|
|
2
|
+
Favorites: string;
|
|
3
|
+
Settings: string;
|
|
4
|
+
Light: string;
|
|
5
|
+
Dark: string;
|
|
6
|
+
Theme: string;
|
|
7
|
+
Show: string;
|
|
8
|
+
Hide: string;
|
|
9
|
+
'Show favorites': string;
|
|
10
|
+
Tiles: string;
|
|
11
|
+
List: string;
|
|
12
|
+
Compact: string;
|
|
13
|
+
View: string;
|
|
14
|
+
'Folders position': string;
|
|
15
|
+
'Sort by': string;
|
|
16
|
+
'Extra small': string;
|
|
17
|
+
Small: string;
|
|
18
|
+
Large: string;
|
|
19
|
+
'Extra large': string;
|
|
20
|
+
'Tile size': string;
|
|
21
|
+
};
|
|
22
|
+
export = _exports;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var r=(n,e)=>()=>(e||n((e={exports:{}}).exports,e),e.exports);var t=r((o,i)=>{i.exports={Favorites:"Favoriten",Settings:"Einstellungen",Light:"Hell",Dark:"Dunkel",Theme:"Design",Show:"Anzeigen",Hide:"Ausblenden","Show favorites":"Favoriten anzeigen",Tiles:"Kacheln",List:"Liste",Compact:"Kompakt",View:"Ansicht","Folders position":"Ordnerposition","Sort by":"Sortieren nach","Extra small":"Sehr klein",Small:"Klein",Large:"Gro\xDF","Extra large":"Sehr gro\xDF","Tile size":"Kachelgr\xF6\xDFe"}});export default t();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import r from"./ru.js";export{r as ru};
|
|
1
|
+
import r from"./de.js";import o from"./ru.js";export{r as de,o as ru};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var f=Object.defineProperty;var r=(e,s)=>f(e,"name",{value:s,configurable:!0});import{detectActiveStyle as v}from"./detect-active-style.js";import{IS_BLOCK as a}from"jodit/esm/core/constants.js";import{Dom as o}from"jodit/esm/core/dom/dom.js";function c(e,s){const n=e.s.current();if(!n)return null;if(a.test(s.element))return o.closest(n,o.isBlock,e.editor);let t=o.isElement(n)?n:n.parentNode;for(;t&&t!==e.editor;){if(o.isElement(t)&&t.nodeName.toLowerCase()===s.element)return t;t=t.parentNode}return null}r(c,"findTarget");function u(e,s){for(const n of s)e.classList.remove(n);e.className===""&&e.removeAttribute("class")}r(u,"removeClassesFromElement");function p(e,s){var n;const t=(n=s.classes)===null||n===void 0?void 0:n.filter(Boolean);if(!t||t.length<=1)return;const i=e.s.current();if(i)if(a.test(s.element)){const l=o.closest(i,o.isBlock,e.editor);l&&u(l,t.slice(1))}else{const l=c(e,s);l&&(u(l,t.slice(1)),l.nodeName.toLowerCase()==="span"&&!l.attributes.length&&o.unwrap(l))}}r(p,"cleanupExtraClasses");function C(e,s){var n;const t=(n=s.classes)===null||n===void 0?void 0:n.filter(Boolean);if(!t||t.length<=1)return;const i=c(e,s);if(i)for(let l=1;l<t.length;l++)i.classList.add(t[l])}r(C,"addExtraClasses");function m(e){var s;const n=(s=e.classes)===null||s===void 0?void 0:s.filter(Boolean)[0];return n?{element:e.element,attributes:{class:n}}:{element:e.element}}r(m,"buildCommitStyleOptions");function b(e,s,n){const t=v(e,n);t&&(e.s.commitStyle(m(t)),p(e,t),t===s)||(e.s.commitStyle(m(s)),C(e,s))}r(b,"applyStyle");export{b as applyStyle};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var c=Object.defineProperty;var i=(
|
|
1
|
+
var c=Object.defineProperty;var i=(o,r)=>c(o,"name",{value:r,configurable:!0});import{IS_BLOCK as u}from"jodit/esm/core/constants.js";import{Dom as l}from"jodit/esm/core/dom/dom.js";function s(o,r){var n;if(o.nodeName.toLowerCase()!==r.element)return!1;const t=(n=r.classes)===null||n===void 0?void 0:n.filter(Boolean);return t?.length?t.every(e=>o.classList.contains(e)):!0}i(s,"elementMatchesDefinition");function d(o,r){const n=o.s.current();if(!n)return null;for(const t of r)if(u.test(t.element)){const e=l.closest(n,l.isBlock,o.editor);if(e&&s(e,t))return t}else{let e=l.isElement(n)?n:n.parentNode;for(;e&&e!==o.editor;){if(l.isElement(e)&&s(e,t))return t;e=e.parentNode}}return null}i(d,"detectActiveStyle");export{d as detectActiveStyle};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var b=Object.defineProperty;var u=(t,l)=>b(t,"name",{value:l,configurable:!0});import{applyStyle as $}from"../helpers/apply-style.js";import{classifyDefinitions as g}from"../helpers/classify-definitions.js";import{detectActiveStyle as S}from"../helpers/detect-active-style.js";const e="jodit-style-popup";function L(t,l,f){var o,s;const m=g(l),C=S(t,l),p=t.c.div(e);for(const i of m){const d=t.c.div(`${e}__group-title`);d.textContent=t.i18n(i.title),p.appendChild(d);const r=t.c.div(`${e}__grid`);for(const n of i.definitions){const c=t.c.element("button");c.type="button";const y=C===n;c.className=`${e}__card`+(y?` ${e}__card_active_true`:"");const _=t.c.div(`${e}__card-preview`),a=t.c.element(n.element);for(const h of(s=(o=n.classes)===null||o===void 0?void 0:o.filter(Boolean))!==null&&s!==void 0?s:[])a.classList.add(h);a.textContent=n.name,_.appendChild(a),c.appendChild(_);const v=t.c.div(`${e}__card-label`);v.textContent=n.name,c.appendChild(v),t.e.on(c,"click",()=>{t.s.focus(),$(t,n,l),t.synchronizeValues(),f()}),r.appendChild(c)}p.appendChild(r)}return p}u(L,"buildStylePopup");export{L as buildStylePopup};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
+
* See LICENSE.md in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
+
*/
|
|
6
|
+
import type { ITemplateDefinition } from "./interface";
|
|
7
|
+
declare module 'jodit/esm/config' {
|
|
8
|
+
interface Config {
|
|
9
|
+
contentTemplates: {
|
|
10
|
+
definitions: ITemplateDefinition[];
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{buildTemplatesPopup as p}from"./ui/templates-popup.js";import r from"./icon.svg.js";import{Config as o}from"jodit/esm/config.js";o.prototype.contentTemplates={definitions:[]},o.prototype.controls.templates={tooltip:"Templates",icon:r,isDisabled(e){return!e.o.contentTemplates.definitions.length},exec(){return!1},popup(e,i,n){const t=e.o.contentTemplates.definitions;if(!t.length)return!1;e.s.current()||e.s.focus(),e.s.save();const s=p(e,t,()=>{e.s.restore(),n()});return e.e.one("beforePopupClose",()=>{e.s.restore()}),s}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" stroke="currentColor" stroke-width="1.5"> <rect x="2" y="2" width="20" height="9" rx="1.5" fill="none"/> <rect x="2" y="14" width="9" height="8" rx="1.5" fill="none"/> <rect x="13" y="14" width="9" height="8" rx="1.5" fill="currentColor"/> </svg> ';export{t as default};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
+
* See LICENSE.md in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
+
*/
|
|
6
|
+
export interface ITemplateDefinition {
|
|
7
|
+
title: string;
|
|
8
|
+
description: string;
|
|
9
|
+
image?: string;
|
|
10
|
+
html: string;
|
|
11
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
+
* See LICENSE.md in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
+
*/
|
|
6
|
+
import type { IJodit } from "jodit/esm/types/index";
|
|
7
|
+
import "./config";
|
|
8
|
+
import { Plugin } from "jodit/esm/core/plugin/index";
|
|
9
|
+
export declare class templates extends Plugin {
|
|
10
|
+
/** @override */
|
|
11
|
+
static requires: string[];
|
|
12
|
+
/** @override */
|
|
13
|
+
buttons: Plugin['buttons'];
|
|
14
|
+
/** @override */
|
|
15
|
+
protected afterInit(_jodit: IJodit): void;
|
|
16
|
+
/** @override */
|
|
17
|
+
protected beforeDestruct(_jodit: IJodit): void;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var s=Object.defineProperty;var o=(i,r)=>s(i,"name",{value:r,configurable:!0});import"./config.js";import{Plugin as n}from"jodit/esm/core/plugin/index.js";import{JoditPro as u}from"../../jodit-pro.js";const e=class e extends n{constructor(){super(...arguments),this.buttons=[{name:"templates",group:"insert"}]}afterInit(r){}beforeDestruct(r){}};o(e,"templates");let t=e;t.requires=["license"],u.plugins.add("templates",t);export{t as templates};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
+
* See LICENSE.md in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
+
*/
|
|
6
|
+
import type { IJodit } from "jodit/esm/types/index";
|
|
7
|
+
import type { ITemplateDefinition } from "../interface";
|
|
8
|
+
export declare function buildTemplatesPopup(editor: IJodit, definitions: ITemplateDefinition[], close: () => void): HTMLElement;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var m=Object.defineProperty;var r=(n,p)=>m(n,"name",{value:p,configurable:!0});const t="jodit-templates-popup";function C(n,p,_){const l=n.c.div(t);for(const e of p){const c=n.c.element("button");c.type="button",c.className=`${t}__card`;const s=n.c.div(`${t}__card-preview`);if(e.image){const i=n.c.element("img");i.src=e.image,i.alt=e.title,s.appendChild(i)}else{const i=n.c.div(`${t}__card-preview-inner`);i.innerHTML=e.html,s.appendChild(i)}c.appendChild(s);const a=n.c.div(`${t}__card-info`),d=n.c.div(`${t}__card-title`);d.textContent=e.title,a.appendChild(d);const o=n.c.div(`${t}__card-description`);o.textContent=e.description,a.appendChild(o),c.appendChild(a),n.e.on(c,"click",()=>{n.s.focus(),n.s.insertHTML(e.html),n.synchronizeValues(),_()}),l.appendChild(c)}return l}r(C,"buildTemplatesPopup");export{C as buildTemplatesPopup};
|
package/package.json
CHANGED
package/types/config.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ import type { ILayoutKeys } from "./plugins/keyboard/interface";
|
|
|
20
20
|
import type { CanPromise } from "jodit/esm/types/index";
|
|
21
21
|
import type { IUIOption } from "jodit/esm/types/index";
|
|
22
22
|
import type { IStyleDefinition } from "./plugins/style/interface";
|
|
23
|
+
import type { ITemplateDefinition } from "./plugins/templates/interface";
|
|
23
24
|
import type { ITranslateProviderFactory } from "./plugins/translate/interface";
|
|
24
25
|
import type { IGoogleTranslateProviderOptions } from "./plugins/translate/interface";
|
|
25
26
|
import type { IControlType } from "jodit/esm/types/index";
|
|
@@ -198,6 +199,11 @@ interface Config {
|
|
|
198
199
|
definitions: IStyleDefinition[];
|
|
199
200
|
};
|
|
200
201
|
}
|
|
202
|
+
interface Config {
|
|
203
|
+
contentTemplates: {
|
|
204
|
+
definitions: ITemplateDefinition[];
|
|
205
|
+
};
|
|
206
|
+
}
|
|
201
207
|
interface Config {
|
|
202
208
|
todoList: {
|
|
203
209
|
className: string;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const _exports: {
|
|
2
|
+
Favorites: string;
|
|
3
|
+
Settings: string;
|
|
4
|
+
Light: string;
|
|
5
|
+
Dark: string;
|
|
6
|
+
Theme: string;
|
|
7
|
+
Show: string;
|
|
8
|
+
Hide: string;
|
|
9
|
+
'Show favorites': string;
|
|
10
|
+
Tiles: string;
|
|
11
|
+
List: string;
|
|
12
|
+
Compact: string;
|
|
13
|
+
View: string;
|
|
14
|
+
'Folders position': string;
|
|
15
|
+
'Sort by': string;
|
|
16
|
+
'Extra small': string;
|
|
17
|
+
Small: string;
|
|
18
|
+
Large: string;
|
|
19
|
+
'Extra large': string;
|
|
20
|
+
'Tile size': string;
|
|
21
|
+
};
|
|
22
|
+
export = _exports;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
+
* See LICENSE.md in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
+
*/
|
|
6
|
+
import type { ITemplateDefinition } from "./interface";
|
|
7
|
+
declare module 'jodit/esm/config' {
|
|
8
|
+
interface Config {
|
|
9
|
+
contentTemplates: {
|
|
10
|
+
definitions: ITemplateDefinition[];
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
+
* See LICENSE.md in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
+
*/
|
|
6
|
+
export interface ITemplateDefinition {
|
|
7
|
+
title: string;
|
|
8
|
+
description: string;
|
|
9
|
+
image?: string;
|
|
10
|
+
html: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
+
* See LICENSE.md in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
+
*/
|
|
6
|
+
import type { IJodit } from "jodit/esm/types/index";
|
|
7
|
+
import "./config";
|
|
8
|
+
import { Plugin } from "jodit/esm/core/plugin/index";
|
|
9
|
+
export declare class templates extends Plugin {
|
|
10
|
+
/** @override */
|
|
11
|
+
static requires: string[];
|
|
12
|
+
/** @override */
|
|
13
|
+
buttons: Plugin['buttons'];
|
|
14
|
+
/** @override */
|
|
15
|
+
protected afterInit(_jodit: IJodit): void;
|
|
16
|
+
/** @override */
|
|
17
|
+
protected beforeDestruct(_jodit: IJodit): void;
|
|
18
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
+
* See LICENSE.md in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
+
*/
|
|
6
|
+
import type { IJodit } from "jodit/esm/types/index";
|
|
7
|
+
import type { ITemplateDefinition } from "../interface";
|
|
8
|
+
export declare function buildTemplatesPopup(editor: IJodit, definitions: ITemplateDefinition[], close: () => void): HTMLElement;
|