jodit-pro 4.12.39 → 4.13.1
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/config.js +1 -0
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +30 -30
- package/es2015/jodit.js +25 -7
- 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.css +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 +47 -4
- package/es2015/plugins/finder/finder.js +66 -5
- package/es2015/plugins/finder/finder.min.css +1 -1
- 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/image-editor-pro/image-editor-pro.css +52 -0
- package/es2015/plugins/image-editor-pro/image-editor-pro.js +3969 -0
- package/es2015/plugins/image-editor-pro/image-editor-pro.min.css +1 -0
- package/es2015/plugins/image-editor-pro/image-editor-pro.min.js +8 -0
- 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 +1 -1
- package/es2015/plugins/style/style.min.js +1 -1
- package/es2015/plugins/templates/templates.css +1 -1
- package/es2015/plugins/templates/templates.js +1 -1
- package/es2015/plugins/templates/templates.min.js +1 -1
- 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 +31 -31
- 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.css +1 -1
- package/es2018/plugins/finder/finder.min.js +4 -4
- 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/image-editor-pro/image-editor-pro.min.css +1 -0
- package/es2018/plugins/image-editor-pro/image-editor-pro.min.js +8 -0
- 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 +1 -1
- package/es2018/plugins/templates/templates.min.js +1 -1
- 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 +823 -39
- package/es2021/jodit.js +25 -7
- 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.css +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 +47 -4
- package/es2021/plugins/finder/finder.js +66 -5
- package/es2021/plugins/finder/finder.min.css +1 -1
- package/es2021/plugins/finder/finder.min.js +12 -12
- 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/image-editor-pro/image-editor-pro.css +52 -0
- package/es2021/plugins/image-editor-pro/image-editor-pro.js +3870 -0
- package/es2021/plugins/image-editor-pro/image-editor-pro.min.css +1 -0
- package/es2021/plugins/image-editor-pro/image-editor-pro.min.js +792 -0
- 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 +1 -1
- package/es2021/plugins/style/style.min.js +1 -1
- package/es2021/plugins/templates/templates.css +1 -1
- package/es2021/plugins/templates/templates.js +1 -1
- package/es2021/plugins/templates/templates.min.js +1 -1
- 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 +865 -81
- package/es2021.en/jodit.js +25 -7
- 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.css +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 +47 -4
- package/es2021.en/plugins/finder/finder.js +66 -5
- package/es2021.en/plugins/finder/finder.min.css +1 -1
- package/es2021.en/plugins/finder/finder.min.js +4 -4
- 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/image-editor-pro/image-editor-pro.css +52 -0
- package/es2021.en/plugins/image-editor-pro/image-editor-pro.js +3870 -0
- package/es2021.en/plugins/image-editor-pro/image-editor-pro.min.css +1 -0
- package/es2021.en/plugins/image-editor-pro/image-editor-pro.min.js +792 -0
- 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 +1 -1
- package/es2021.en/plugins/style/style.min.js +1 -1
- package/es2021.en/plugins/templates/templates.css +1 -1
- package/es2021.en/plugins/templates/templates.js +1 -1
- package/es2021.en/plugins/templates/templates.min.js +1 -1
- 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 +22 -6
- 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.css +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 +47 -4
- package/es5/plugins/finder/finder.js +114 -30
- package/es5/plugins/finder/finder.min.css +1 -1
- 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/image-editor-pro/image-editor-pro.css +52 -0
- package/es5/plugins/image-editor-pro/image-editor-pro.js +5469 -0
- package/es5/plugins/image-editor-pro/image-editor-pro.min.css +1 -0
- package/es5/plugins/image-editor-pro/image-editor-pro.min.js +8 -0
- 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 +1 -1
- package/es5/plugins/style/style.min.js +1 -1
- package/es5/plugins/templates/templates.css +1 -1
- package/es5/plugins/templates/templates.js +1 -1
- package/es5/plugins/templates/templates.min.js +1 -1
- 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 +9 -0
- package/esm/plugins/all.js +1 -1
- package/esm/plugins/finder/browser.d.ts +10 -1
- package/esm/plugins/finder/browser.js +1 -1
- package/esm/plugins/finder/ui/lightboox/lightbox.js +2 -2
- package/esm/plugins/finder/ui/virtual-scroll/virtual-scroll.d.ts +11 -1
- package/esm/plugins/finder/ui/virtual-scroll/virtual-scroll.js +2 -2
- package/esm/plugins/image-editor-pro/adapter.d.ts +98 -0
- package/esm/plugins/image-editor-pro/adapter.js +1 -0
- package/esm/plugins/image-editor-pro/config.d.ts +17 -0
- package/esm/plugins/image-editor-pro/config.js +1 -0
- package/esm/plugins/image-editor-pro/image-editor-pro.d.ts +26 -0
- package/esm/plugins/image-editor-pro/image-editor-pro.js +1 -0
- package/package.json +2 -1
- package/types/config.d.ts +9 -0
- package/types/plugins/finder/browser.d.ts +10 -1
- package/types/plugins/finder/ui/virtual-scroll/virtual-scroll.d.ts +11 -1
- package/types/plugins/image-editor-pro/adapter.d.ts +98 -0
- package/types/plugins/image-editor-pro/config.d.ts +17 -0
- package/types/plugins/image-editor-pro/image-editor-pro.d.ts +26 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valerii <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.
|
|
4
|
+
* Version: v4.13.1
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -483,6 +483,49 @@
|
|
|
483
483
|
.jodit-ui-browser-item_view_tiles.jodit-ui-browser-item_size_xlarge .jodit-ui-browser-item__info {
|
|
484
484
|
font-size: 18px;
|
|
485
485
|
}
|
|
486
|
+
@keyframes jodit-finder-skeleton-shimmer {
|
|
487
|
+
0% {
|
|
488
|
+
background-position: -150px 0;
|
|
489
|
+
}
|
|
490
|
+
100% {
|
|
491
|
+
background-position: calc(150px + 100%) 0;
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
.jodit-ui-browser-item_skeleton_true {
|
|
495
|
+
cursor: default;
|
|
496
|
+
pointer-events: none;
|
|
497
|
+
background-color: transparent;
|
|
498
|
+
}
|
|
499
|
+
.jodit-ui-browser-item_skeleton_true:hover {
|
|
500
|
+
background-color: transparent;
|
|
501
|
+
}
|
|
502
|
+
.jodit-ui-browser-item_skeleton_true .jodit-ui-browser-item__heart {
|
|
503
|
+
display: none;
|
|
504
|
+
}
|
|
505
|
+
.jodit-ui-browser-item_skeleton_true .jodit-ui-browser-item__image {
|
|
506
|
+
border-radius: 4px;
|
|
507
|
+
background-color: var(--jd-item-bg-hover);
|
|
508
|
+
background-image: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.25) 50%, transparent 100%);
|
|
509
|
+
background-repeat: no-repeat;
|
|
510
|
+
background-size: 150px 100%;
|
|
511
|
+
animation: jodit-finder-skeleton-shimmer 1.2s ease-in-out infinite;
|
|
512
|
+
}
|
|
513
|
+
.jodit-ui-browser-item_skeleton_true .jodit-ui-browser-item__info {
|
|
514
|
+
background: transparent;
|
|
515
|
+
opacity: 1;
|
|
516
|
+
}
|
|
517
|
+
.jodit-ui-browser-item_skeleton_true .jodit-ui-browser-item__info::before {
|
|
518
|
+
content: '';
|
|
519
|
+
display: block;
|
|
520
|
+
width: 70%;
|
|
521
|
+
height: 0.8em;
|
|
522
|
+
border-radius: 3px;
|
|
523
|
+
background-color: var(--jd-item-bg-hover);
|
|
524
|
+
background-image: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.25) 50%, transparent 100%);
|
|
525
|
+
background-repeat: no-repeat;
|
|
526
|
+
background-size: 150px 100%;
|
|
527
|
+
animation: jodit-finder-skeleton-shimmer 1.2s ease-in-out infinite;
|
|
528
|
+
}
|
|
486
529
|
|
|
487
530
|
.jodit-ui-resize {
|
|
488
531
|
--jd-basis: 4px;
|
|
@@ -828,9 +871,6 @@
|
|
|
828
871
|
display: none;
|
|
829
872
|
color: var(--jd-sidebar-color);
|
|
830
873
|
}
|
|
831
|
-
.jodit-ui-virtual-scroll_empty_true.jodit-ui-virtual-scroll_loading_true .jodit-ui-virtual-scroll__loader {
|
|
832
|
-
display: block;
|
|
833
|
-
}
|
|
834
874
|
.jodit-ui-virtual-scroll_chunk-loading_true {
|
|
835
875
|
border-bottom: 1px solid var(--jd-color-background-active);
|
|
836
876
|
}
|
|
@@ -852,6 +892,9 @@
|
|
|
852
892
|
.jodit-ui-virtual-scroll_dragover_true .jodit-ui-virtual-scroll__drag-area {
|
|
853
893
|
display: flex;
|
|
854
894
|
}
|
|
895
|
+
.jodit-ui-virtual-scroll_loading_true .jodit-ui-browser-item:not(.jodit-ui-browser-item_skeleton_true) {
|
|
896
|
+
display: none;
|
|
897
|
+
}
|
|
855
898
|
|
|
856
899
|
.jodit-ui-select-items {
|
|
857
900
|
position: fixed;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valerii <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.
|
|
4
|
+
* Version: v4.13.1
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -122,6 +122,19 @@ class FileBrowserPro extends jodit_esm_modules_dialog__WEBPACK_IMPORTED_MODULE_2
|
|
|
122
122
|
}
|
|
123
123
|
this.message.message((0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_17__.isString)(message) ? message : message.message, success ? 'success' : 'error', this.options.howLongShowMsg);
|
|
124
124
|
}
|
|
125
|
+
/**
|
|
126
|
+
* Upload error handler bound to the uploader. The uploader calls it with
|
|
127
|
+
* either an `Error` or the raw connector answer. `status` alone only
|
|
128
|
+
* understands string/Error, so a raw answer — whose text lives in
|
|
129
|
+
* `data.messages`, not `.message` — was silently dropped and the user saw
|
|
130
|
+
* no error. Mirror the core file-browser: pull the message out of the
|
|
131
|
+
* answer via the data provider and show it as an error.
|
|
132
|
+
*/ errorHandler(resp) {
|
|
133
|
+
if ((0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_17__.isAbortError)(resp)) {
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
136
|
+
this.status(resp instanceof Error ? this.i18n(resp.message) : this.dataProvider.getMessage(resp), false);
|
|
137
|
+
}
|
|
125
138
|
get progressbar() {
|
|
126
139
|
return new _ui_progress_progress__WEBPACK_IMPORTED_MODULE_13__.UIProgress(this, this.stateManager.state);
|
|
127
140
|
}
|
|
@@ -345,9 +358,9 @@ class FileBrowserPro extends jodit_esm_modules_dialog__WEBPACK_IMPORTED_MODULE_2
|
|
|
345
358
|
const self = this, uploaderOptions = (0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_17__.ConfigProto)(self.o.uploader || {}, jodit_esm_config__WEBPACK_IMPORTED_MODULE_14__.Config.defaultOptions.uploader);
|
|
346
359
|
const uploadHandler = ()=>this.loadingManager.loadItems();
|
|
347
360
|
self.uploader = self.getInstance('Uploader', uploaderOptions);
|
|
348
|
-
self.uploader.bind(self.panel.container, uploadHandler, self.
|
|
361
|
+
self.uploader.bind(self.panel.container, uploadHandler, self.errorHandler);
|
|
349
362
|
self.e.on('bindUploader.filebrowser', (button)=>{
|
|
350
|
-
self.uploader.bind(button, uploadHandler, self.
|
|
363
|
+
self.uploader.bind(button, uploadHandler, self.errorHandler);
|
|
351
364
|
});
|
|
352
365
|
}
|
|
353
366
|
/** @override */ destruct() {
|
|
@@ -441,6 +454,9 @@ class FileBrowserPro extends jodit_esm_modules_dialog__WEBPACK_IMPORTED_MODULE_2
|
|
|
441
454
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
442
455
|
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_16__.autobind
|
|
443
456
|
], FileBrowserPro.prototype, "status", null);
|
|
457
|
+
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
458
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_16__.autobind
|
|
459
|
+
], FileBrowserPro.prototype, "errorHandler", null);
|
|
444
460
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
445
461
|
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_16__.cache
|
|
446
462
|
], FileBrowserPro.prototype, "progressbar", null);
|
|
@@ -1871,7 +1887,13 @@ class UILightBox extends jodit_esm_modules__WEBPACK_IMPORTED_MODULE_7__.UIElemen
|
|
|
1871
1887
|
dialog.open(this);
|
|
1872
1888
|
this.elements = this.elements.filter((e)=>e.isImage);
|
|
1873
1889
|
dialog.e.on(dialog, 'afterClose', ()=>{
|
|
1874
|
-
|
|
1890
|
+
// `Dialog.close()` keeps using the dialog after this handler (it
|
|
1891
|
+
// fires 'joditCloseDialog' on `dialog.ow`); a synchronous destruct
|
|
1892
|
+
// here nulls `ow` and that fire throws 'Need subject'. Defer the
|
|
1893
|
+
// teardown one tick (the file browser's async module cancels it if
|
|
1894
|
+
// the browser itself is destructed first). NB: a `0` timeout runs
|
|
1895
|
+
// synchronously in Jodit's `setTimeout` helper — use `1`.
|
|
1896
|
+
this.j.async.setTimeout(()=>this.destruct(), 1);
|
|
1875
1897
|
});
|
|
1876
1898
|
this.addGlobalListeners();
|
|
1877
1899
|
this.onChangeCurrent();
|
|
@@ -2889,6 +2911,45 @@ class UIVirtualScroll extends jodit_esm_core_ui_group_group__WEBPACK_IMPORTED_MO
|
|
|
2889
2911
|
}
|
|
2890
2912
|
return clearIndex;
|
|
2891
2913
|
}
|
|
2914
|
+
/**
|
|
2915
|
+
* Skeleton placeholders are driven purely by the `loading` mod (set on the
|
|
2916
|
+
* panel and synced down to this group) — no imperative show/hide from
|
|
2917
|
+
* outside. They reuse the real item class and carry the current `view`/`size`
|
|
2918
|
+
* mods, so they adapt to the active tile mode.
|
|
2919
|
+
*/ afterSetMod(name, value) {
|
|
2920
|
+
super.afterSetMod(name, value);
|
|
2921
|
+
if (name === 'loading') {
|
|
2922
|
+
if (value) {
|
|
2923
|
+
this.buildSkeletons();
|
|
2924
|
+
} else {
|
|
2925
|
+
this.clearSkeletons();
|
|
2926
|
+
}
|
|
2927
|
+
}
|
|
2928
|
+
}
|
|
2929
|
+
buildSkeletons(count = 24) {
|
|
2930
|
+
if (this.skeletons.length) {
|
|
2931
|
+
return;
|
|
2932
|
+
}
|
|
2933
|
+
for(let i = 0; i < count; i += 1){
|
|
2934
|
+
const el = this.j.create.fromHTML('<div class="jodit-ui-browser-item jodit-ui-browser-item_skeleton_true">' + '<div class="jodit-ui-browser-item__image"></div>' + '<div class="jodit-ui-browser-item__info"></div>' + '</div>');
|
|
2935
|
+
// Match the layout of the real tiles (tiles/list + tile size).
|
|
2936
|
+
[
|
|
2937
|
+
'view',
|
|
2938
|
+
'size'
|
|
2939
|
+
].forEach((mod)=>{
|
|
2940
|
+
const value = this.mods[mod];
|
|
2941
|
+
if (value) {
|
|
2942
|
+
el.classList.add(`jodit-ui-browser-item_${mod}_${value}`);
|
|
2943
|
+
}
|
|
2944
|
+
});
|
|
2945
|
+
this.container.appendChild(el);
|
|
2946
|
+
this.skeletons.push(el);
|
|
2947
|
+
}
|
|
2948
|
+
}
|
|
2949
|
+
clearSkeletons() {
|
|
2950
|
+
this.skeletons.forEach((el)=>el.remove());
|
|
2951
|
+
this.skeletons.length = 0;
|
|
2952
|
+
}
|
|
2892
2953
|
build(items) {
|
|
2893
2954
|
const clearIndex = this.reconcile(items);
|
|
2894
2955
|
items.slice(clearIndex > -1 ? clearIndex : this.elements.length).forEach((item)=>{
|
|
@@ -2930,7 +2991,7 @@ class UIVirtualScroll extends jodit_esm_core_ui_group_group__WEBPACK_IMPORTED_MO
|
|
|
2930
2991
|
this.stateManager.state.activeElements = selected;
|
|
2931
2992
|
}
|
|
2932
2993
|
constructor(jodit, stateManager){
|
|
2933
|
-
super(jodit), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "stateManager", void 0), /** @override */ (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "syncMod", void 0), this.stateManager = stateManager, this.syncMod = true;
|
|
2994
|
+
super(jodit), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "stateManager", void 0), /** @override */ (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "syncMod", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "skeletons", void 0), this.stateManager = stateManager, this.syncMod = true, this.skeletons = [];
|
|
2934
2995
|
this.addItemsSelector();
|
|
2935
2996
|
}
|
|
2936
2997
|
}
|