jodit-pro 4.19.10 → 4.19.13
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/es2015/jodit.css +2 -2
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +9 -9
- package/es2015/jodit.js +222 -119
- package/es2015/jodit.min.css +1 -1
- package/es2015/jodit.min.js +11 -11
- 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/chart/chart.css +1 -1
- package/es2015/plugins/chart/chart.js +1 -1
- package/es2015/plugins/chart/chart.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 +8 -1
- package/es2015/plugins/finder/finder.js +1 -1
- package/es2015/plugins/finder/finder.min.css +1 -1
- package/es2015/plugins/finder/finder.min.js +1 -1
- 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 +1 -1
- package/es2015/plugins/image-editor-pro/image-editor-pro.js +1 -1
- package/es2015/plugins/image-editor-pro/image-editor-pro.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/math/math.css +1 -1
- package/es2015/plugins/math/math.js +1 -1
- package/es2015/plugins/math/math.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 +9 -9
- package/es2018/jodit.min.css +1 -1
- package/es2018/jodit.min.js +10 -10
- 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/chart/chart.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 +1 -1
- 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.js +1 -1
- package/es2018/plugins/keyboard/keyboard.min.js +1 -1
- package/es2018/plugins/math/math.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 +2 -2
- package/es2021/jodit.fat.min.css +1 -1
- package/es2021/jodit.fat.min.js +10 -10
- package/es2021/jodit.js +222 -119
- package/es2021/jodit.min.css +1 -1
- package/es2021/jodit.min.js +11 -11
- 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/chart/chart.css +1 -1
- package/es2021/plugins/chart/chart.js +1 -1
- package/es2021/plugins/chart/chart.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 +8 -1
- package/es2021/plugins/finder/finder.js +1 -1
- package/es2021/plugins/finder/finder.min.css +1 -1
- package/es2021/plugins/finder/finder.min.js +1 -1
- 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 +1 -1
- package/es2021/plugins/image-editor-pro/image-editor-pro.js +1 -1
- package/es2021/plugins/image-editor-pro/image-editor-pro.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/math/math.css +1 -1
- package/es2021/plugins/math/math.js +1 -1
- package/es2021/plugins/math/math.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 +2 -2
- package/es2021.en/jodit.fat.min.css +1 -1
- package/es2021.en/jodit.fat.min.js +10 -10
- package/es2021.en/jodit.js +222 -119
- package/es2021.en/jodit.min.css +1 -1
- package/es2021.en/jodit.min.js +10 -10
- 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/chart/chart.css +1 -1
- package/es2021.en/plugins/chart/chart.js +1 -1
- package/es2021.en/plugins/chart/chart.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 +8 -1
- package/es2021.en/plugins/finder/finder.js +1 -1
- package/es2021.en/plugins/finder/finder.min.css +1 -1
- package/es2021.en/plugins/finder/finder.min.js +1 -1
- 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 +1 -1
- package/es2021.en/plugins/image-editor-pro/image-editor-pro.js +1 -1
- package/es2021.en/plugins/image-editor-pro/image-editor-pro.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/math/math.css +1 -1
- package/es2021.en/plugins/math/math.js +1 -1
- package/es2021.en/plugins/math/math.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 +3 -3
- package/es5/jodit.fat.min.css +1 -1
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +262 -120
- package/es5/jodit.min.css +3 -3
- 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/chart/chart.css +1 -1
- package/es5/plugins/chart/chart.js +1 -1
- package/es5/plugins/chart/chart.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 +8 -1
- package/es5/plugins/finder/finder.js +1 -1
- package/es5/plugins/finder/finder.min.css +1 -1
- package/es5/plugins/finder/finder.min.js +1 -1
- 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 +1 -1
- package/es5/plugins/image-editor-pro/image-editor-pro.js +1 -1
- package/es5/plugins/image-editor-pro/image-editor-pro.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/math/math.css +1 -1
- package/es5/plugins/math/math.js +1 -1
- package/es5/plugins/math/math.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/package.json +1 -1
package/es2021/jodit.js
CHANGED
|
@@ -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.19.
|
|
4
|
+
* Version: v4.19.13
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -1768,7 +1768,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1768
1768
|
* ```
|
|
1769
1769
|
* @packageDocumentation
|
|
1770
1770
|
* @module constants
|
|
1771
|
-
*/ const APP_VERSION = "4.19.
|
|
1771
|
+
*/ const APP_VERSION = "4.19.13";
|
|
1772
1772
|
// prettier-ignore
|
|
1773
1773
|
const ES = "es2021";
|
|
1774
1774
|
const IS_ES_MODERN = true;
|
|
@@ -4659,16 +4659,18 @@ class EventHandlersStore {
|
|
|
4659
4659
|
/* harmony export */ uniqueUid: function() { return /* binding */ uniqueUid; }
|
|
4660
4660
|
/* harmony export */ });
|
|
4661
4661
|
/* harmony import */ var _helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(19306);
|
|
4662
|
-
/* harmony import */ var
|
|
4663
|
-
/* harmony import */ var
|
|
4664
|
-
/* harmony import */ var
|
|
4665
|
-
/* harmony import */ var
|
|
4666
|
-
/* harmony import */ var
|
|
4667
|
-
/* harmony import */ var
|
|
4668
|
-
/* harmony import */ var
|
|
4669
|
-
/* harmony import */ var
|
|
4670
|
-
/* harmony import */ var
|
|
4671
|
-
/* harmony import */ var
|
|
4662
|
+
/* harmony import */ var _helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(72430);
|
|
4663
|
+
/* harmony import */ var _helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(70799);
|
|
4664
|
+
/* harmony import */ var _helpers_checker_is_view_object_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(39955);
|
|
4665
|
+
/* harmony import */ var _helpers_string_kebab_case_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(12475);
|
|
4666
|
+
/* harmony import */ var _helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(29960);
|
|
4667
|
+
/* harmony import */ var _helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(41180);
|
|
4668
|
+
/* harmony import */ var _helpers_utils_get_class_name_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(80568);
|
|
4669
|
+
/* harmony import */ var _helpers_utils_is_unsafe_proto_key_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(69175);
|
|
4670
|
+
/* harmony import */ var _plugin_plugin_system_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(41876);
|
|
4671
|
+
/* harmony import */ var _event_emitter_global_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(57012);
|
|
4672
|
+
/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(82758);
|
|
4673
|
+
/* harmony import */ var _dom_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(22732);
|
|
4672
4674
|
/*!
|
|
4673
4675
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
4674
4676
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -4684,6 +4686,8 @@ class EventHandlersStore {
|
|
|
4684
4686
|
|
|
4685
4687
|
|
|
4686
4688
|
|
|
4689
|
+
|
|
4690
|
+
|
|
4687
4691
|
const instances = {};
|
|
4688
4692
|
let counter = 1;
|
|
4689
4693
|
const uuids = new Set();
|
|
@@ -4701,26 +4705,40 @@ const uuids = new Set();
|
|
|
4701
4705
|
uuids.add(uid);
|
|
4702
4706
|
return uid;
|
|
4703
4707
|
}
|
|
4704
|
-
const pluginSystem = new
|
|
4708
|
+
const pluginSystem = new _plugin_plugin_system_js__WEBPACK_IMPORTED_MODULE_9__.PluginSystem({
|
|
4705
4709
|
getContainer
|
|
4706
4710
|
});
|
|
4707
4711
|
const modules = {};
|
|
4708
|
-
|
|
4712
|
+
// A CommonJS pack imported as a namespace carries the dictionary in `default`; a translation of the word is a string
|
|
4713
|
+
const unwrapModule = (pack)=>(0,_helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_1__.isPlainObject)(pack) && (0,_helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_1__.isPlainObject)(pack.default) ? pack.default : pack;
|
|
4714
|
+
/**
|
|
4715
|
+
* Merge language packs into the global `lang` registry
|
|
4716
|
+
*
|
|
4717
|
+
* `__proto__`, `constructor` and `prototype` are skipped on both levels, so a
|
|
4718
|
+
* pack parsed from untrusted JSON cannot reach `Object.prototype` (CWE-1321).
|
|
4719
|
+
*/ const extendLang = (langs)=>{
|
|
4709
4720
|
Object.keys(langs).forEach((key)=>{
|
|
4710
|
-
|
|
4711
|
-
|
|
4712
|
-
|
|
4713
|
-
_constants_js__WEBPACK_IMPORTED_MODULE_9__.lang[key] = langs[key];
|
|
4721
|
+
const pack = unwrapModule(langs[key]);
|
|
4722
|
+
if ((0,_helpers_utils_is_unsafe_proto_key_js__WEBPACK_IMPORTED_MODULE_8__.isUnsafeProtoKey)(key) || !(0,_helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_1__.isPlainObject)(pack)) {
|
|
4723
|
+
return;
|
|
4714
4724
|
}
|
|
4725
|
+
if (!Object.prototype.hasOwnProperty.call(_constants_js__WEBPACK_IMPORTED_MODULE_11__.lang, key) || !(0,_helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_1__.isPlainObject)(_constants_js__WEBPACK_IMPORTED_MODULE_11__.lang[key])) {
|
|
4726
|
+
_constants_js__WEBPACK_IMPORTED_MODULE_11__.lang[key] = {};
|
|
4727
|
+
}
|
|
4728
|
+
Object.keys(pack).forEach((name)=>{
|
|
4729
|
+
if (!(0,_helpers_utils_is_unsafe_proto_key_js__WEBPACK_IMPORTED_MODULE_8__.isUnsafeProtoKey)(name)) {
|
|
4730
|
+
_constants_js__WEBPACK_IMPORTED_MODULE_11__.lang[key][name] = pack[name];
|
|
4731
|
+
}
|
|
4732
|
+
});
|
|
4715
4733
|
});
|
|
4716
4734
|
};
|
|
4717
4735
|
const boxes = new WeakMap();
|
|
4718
4736
|
/**
|
|
4719
4737
|
* Create unique box(HTMLCotainer) and remove it after destroy
|
|
4720
4738
|
*/ function getContainer(jodit, classFunc, tag = 'div', createInsideEditor = false) {
|
|
4721
|
-
const name = (0,
|
|
4739
|
+
const name = (0,_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_2__.isString)(classFunc) ? classFunc : classFunc ? (0,_helpers_utils_get_class_name_js__WEBPACK_IMPORTED_MODULE_7__.getClassName)(classFunc.prototype) : 'jodit-utils';
|
|
4722
4740
|
const data = boxes.get(jodit) || {}, key = name + tag;
|
|
4723
|
-
const view = (0,
|
|
4741
|
+
const view = (0,_helpers_checker_is_view_object_js__WEBPACK_IMPORTED_MODULE_3__.isViewObject)(jodit) ? jodit : jodit.j;
|
|
4724
4742
|
let body;
|
|
4725
4743
|
if (!data[key]) {
|
|
4726
4744
|
let c = view.c;
|
|
@@ -4731,18 +4749,18 @@ const boxes = new WeakMap();
|
|
|
4731
4749
|
body = (0,_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_0__.isJoditObject)(jodit) && jodit.o.shadowRoot ? jodit.o.shadowRoot : place;
|
|
4732
4750
|
}
|
|
4733
4751
|
const box = c.element(tag, {
|
|
4734
|
-
className: `jodit jodit-${(0,
|
|
4752
|
+
className: `jodit jodit-${(0,_helpers_string_kebab_case_js__WEBPACK_IMPORTED_MODULE_4__.kebabCase)(name)}-container jodit-box`
|
|
4735
4753
|
});
|
|
4736
4754
|
// Let a strict CSP accept the injected <style>/<script> box
|
|
4737
4755
|
if (view.o.nonce && (tag === 'style' || tag === 'script')) {
|
|
4738
|
-
(0,
|
|
4756
|
+
(0,_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_5__.attr)(box, 'nonce', view.o.nonce);
|
|
4739
4757
|
}
|
|
4740
4758
|
box.classList.add(`jodit_theme_${view.o.theme || 'default'}`);
|
|
4741
|
-
|
|
4759
|
+
_dom_index_js__WEBPACK_IMPORTED_MODULE_12__.Dom.append(body, box);
|
|
4742
4760
|
data[key] = box;
|
|
4743
4761
|
jodit.hookStatus('beforeDestruct', ()=>{
|
|
4744
4762
|
view.events.off(box);
|
|
4745
|
-
|
|
4763
|
+
_dom_index_js__WEBPACK_IMPORTED_MODULE_12__.Dom.safeRemove(box);
|
|
4746
4764
|
delete data[key];
|
|
4747
4765
|
if (Object.keys(data).length) {
|
|
4748
4766
|
boxes.delete(jodit);
|
|
@@ -4760,15 +4778,15 @@ const boxes = new WeakMap();
|
|
|
4760
4778
|
* @internal
|
|
4761
4779
|
*/ function getPopupViewRoot(o, container, defaultRoot) {
|
|
4762
4780
|
var _a, _b, _c;
|
|
4763
|
-
return (_c = (_b = (_a = o.popupRoot) !== null && _a !== void 0 ? _a : o.shadowRoot) !== null && _b !== void 0 ? _b :
|
|
4781
|
+
return (_c = (_b = (_a = o.popupRoot) !== null && _a !== void 0 ? _a : o.shadowRoot) !== null && _b !== void 0 ? _b : _dom_index_js__WEBPACK_IMPORTED_MODULE_12__.Dom.closest(container, (parentElement)=>_dom_index_js__WEBPACK_IMPORTED_MODULE_12__.Dom.isHTMLElement(parentElement) && (_dom_index_js__WEBPACK_IMPORTED_MODULE_12__.Dom.isTag(parentElement, 'dialog') || [
|
|
4764
4782
|
'fixed',
|
|
4765
4783
|
'absolute'
|
|
4766
|
-
].includes((0,
|
|
4784
|
+
].includes((0,_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(parentElement, 'position'))), defaultRoot)) !== null && _c !== void 0 ? _c : defaultRoot;
|
|
4767
4785
|
}
|
|
4768
4786
|
/**
|
|
4769
4787
|
* Global event emitter
|
|
4770
4788
|
* @deprecated use `import { eventEmitter } from 'jodit/core/event-emitter/global';`
|
|
4771
|
-
*/ const eventEmitter =
|
|
4789
|
+
*/ const eventEmitter = _event_emitter_global_js__WEBPACK_IMPORTED_MODULE_10__.eventEmitter;
|
|
4772
4790
|
|
|
4773
4791
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
4774
4792
|
/* harmony export */ "eventEmitter", 0, /* binding */ eventEmitter,
|
|
@@ -6303,6 +6321,22 @@ function isSmuggledForeignHtml(elm) {
|
|
|
6303
6321
|
'background',
|
|
6304
6322
|
'xlink:href'
|
|
6305
6323
|
];
|
|
6324
|
+
/**
|
|
6325
|
+
* SVG animation elements can write a URL attribute at run time, as
|
|
6326
|
+
* `<animate attributeName="href" values="javascript:…">` does, and the
|
|
6327
|
+
* attributes below carry the values they write.
|
|
6328
|
+
*/ const ANIMATION_TAGS = new Set([
|
|
6329
|
+
'animate',
|
|
6330
|
+
'set',
|
|
6331
|
+
'animatemotion',
|
|
6332
|
+
'animatetransform'
|
|
6333
|
+
]);
|
|
6334
|
+
const ANIMATION_VALUE_ATTRIBUTES = [
|
|
6335
|
+
'values',
|
|
6336
|
+
'from',
|
|
6337
|
+
'to',
|
|
6338
|
+
'by'
|
|
6339
|
+
];
|
|
6306
6340
|
/**
|
|
6307
6341
|
* Tags that load their URL as a *document* (scripts inside run). An SVG data
|
|
6308
6342
|
* URL is only an XSS vector here — as an `<img>` source it renders inertly.
|
|
@@ -6376,6 +6410,19 @@ function sanitizeHTMLElement(elm, { safeJavaScriptLink, removeOnError, removeEve
|
|
|
6376
6410
|
effected = true;
|
|
6377
6411
|
}
|
|
6378
6412
|
}
|
|
6413
|
+
// SMIL sets the attribute on click time, after the static check above:
|
|
6414
|
+
// `<svg><a><animate attributeName="href" values="javascript:…">` ran
|
|
6415
|
+
// in Chromium and Safari. Drop the values that hold a dangerous
|
|
6416
|
+
// scheme; `values` is a `;` list. See GHSA-6wrw-v5gj-6xg7
|
|
6417
|
+
if (ANIMATION_TAGS.has(tagName)) {
|
|
6418
|
+
for (const name of ANIMATION_VALUE_ATTRIBUTES){
|
|
6419
|
+
const value = (0,_utils_attr_js__WEBPACK_IMPORTED_MODULE_2__.attrRaw)(elm, name);
|
|
6420
|
+
if (value && value.split(';').some((part)=>isDangerousUrl(part, 'a'))) {
|
|
6421
|
+
(0,_utils_index_js__WEBPACK_IMPORTED_MODULE_1__.attr)(elm, name, null);
|
|
6422
|
+
effected = true;
|
|
6423
|
+
}
|
|
6424
|
+
}
|
|
6425
|
+
}
|
|
6379
6426
|
}
|
|
6380
6427
|
return effected;
|
|
6381
6428
|
}
|
|
@@ -15708,6 +15755,18 @@ let UITooltip = UITooltip_1 = class UITooltip extends _element_js__WEBPACK_IMPOR
|
|
|
15708
15755
|
render() {
|
|
15709
15756
|
return '<div><div class="&__content"></div></div>';
|
|
15710
15757
|
}
|
|
15758
|
+
get __isEnabled() {
|
|
15759
|
+
const { o } = this.j;
|
|
15760
|
+
return !o.textIcons && Boolean(o.showTooltip) && !o.useNativeTooltip;
|
|
15761
|
+
}
|
|
15762
|
+
/**
|
|
15763
|
+
* Show tooltips for the buttons in an element outside the editor's
|
|
15764
|
+
* container, such as a toolbar placed by the `toolbar` option
|
|
15765
|
+
*/ attach(container) {
|
|
15766
|
+
if (this.__isEnabled) {
|
|
15767
|
+
this.__onAttach(container);
|
|
15768
|
+
}
|
|
15769
|
+
}
|
|
15711
15770
|
__onAttach(container) {
|
|
15712
15771
|
// TODO Move it inside __show method. Now it is here because testcase failed with capturing
|
|
15713
15772
|
_dom_index_js__WEBPACK_IMPORTED_MODULE_2__.Dom.append((0,_global_js__WEBPACK_IMPORTED_MODULE_3__.getContainer)(this.j, UITooltip_1), this.container);
|
|
@@ -15848,7 +15907,7 @@ let UITooltip = UITooltip_1 = class UITooltip extends _element_js__WEBPACK_IMPOR
|
|
|
15848
15907
|
this.__currentTarget = null;
|
|
15849
15908
|
this.__delayShowTimeout = 0;
|
|
15850
15909
|
this.__hideTimeout = 0;
|
|
15851
|
-
if (
|
|
15910
|
+
if (this.__isEnabled) {
|
|
15852
15911
|
this.j.e.on('getContainer', (box)=>{
|
|
15853
15912
|
this.__onAttach(box);
|
|
15854
15913
|
});
|
|
@@ -18175,7 +18234,12 @@ class ViewWithToolbar extends _view_js__WEBPACK_IMPORTED_MODULE_9__.View {
|
|
|
18175
18234
|
return;
|
|
18176
18235
|
}
|
|
18177
18236
|
const buttons = this.o.buttons ? (0,_helpers_array_index_js__WEBPACK_IMPORTED_MODULE_4__.splitArray)(this.o.buttons) : [];
|
|
18178
|
-
|
|
18237
|
+
const container = this.toolbarContainer;
|
|
18238
|
+
(_a = this.toolbar) === null || _a === void 0 ? void 0 : _a.setRemoveButtons(this.o.removeButtons).build(buttons.concat(this.o.extraButtons || [])).appendTo(container);
|
|
18239
|
+
// The toolbar's own element, as editors can share the one it is placed in
|
|
18240
|
+
if (this.toolbar && !_dom_dom_js__WEBPACK_IMPORTED_MODULE_3__.Dom.isOrContains(this.container, container)) {
|
|
18241
|
+
this.__tooltip.attach(this.toolbar.container);
|
|
18242
|
+
}
|
|
18179
18243
|
}
|
|
18180
18244
|
getRegisteredButtonGroups() {
|
|
18181
18245
|
return this.groupToButtons;
|
|
@@ -19982,6 +20046,9 @@ Jodit.decorators = {};
|
|
|
19982
20046
|
Jodit.constants = _core_constants_js__WEBPACK_IMPORTED_MODULE_0__;
|
|
19983
20047
|
Jodit.instances = _core_global_js__WEBPACK_IMPORTED_MODULE_2__.instances;
|
|
19984
20048
|
Jodit.lang = _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.lang;
|
|
20049
|
+
/**
|
|
20050
|
+
* Merge language packs into `Jodit.lang`; prototype keys are ignored
|
|
20051
|
+
*/ Jodit.extendLang = _core_global_js__WEBPACK_IMPORTED_MODULE_2__.extendLang;
|
|
19985
20052
|
Jodit.core = {
|
|
19986
20053
|
Plugin: _modules_index_js__WEBPACK_IMPORTED_MODULE_9__.Plugin
|
|
19987
20054
|
};
|
|
@@ -26313,34 +26380,35 @@ function addClassNames(className, elm) {
|
|
|
26313
26380
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
26314
26381
|
|
|
26315
26382
|
/* harmony import */ var _core_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(68345);
|
|
26316
|
-
/* harmony import */ var
|
|
26317
|
-
/* harmony import */ var
|
|
26318
|
-
/* harmony import */ var
|
|
26319
|
-
/* harmony import */ var
|
|
26320
|
-
/* harmony import */ var
|
|
26321
|
-
/* harmony import */ var
|
|
26322
|
-
/* harmony import */ var
|
|
26323
|
-
/* harmony import */ var
|
|
26324
|
-
/* harmony import */ var
|
|
26325
|
-
/* harmony import */ var
|
|
26326
|
-
/* harmony import */ var
|
|
26327
|
-
/* harmony import */ var
|
|
26328
|
-
/* harmony import */ var
|
|
26329
|
-
/* harmony import */ var
|
|
26330
|
-
/* harmony import */ var
|
|
26331
|
-
/* harmony import */ var
|
|
26332
|
-
/* harmony import */ var
|
|
26333
|
-
/* harmony import */ var
|
|
26334
|
-
/* harmony import */ var
|
|
26335
|
-
/* harmony import */ var
|
|
26336
|
-
/* harmony import */ var
|
|
26337
|
-
/* harmony import */ var
|
|
26338
|
-
/* harmony import */ var
|
|
26339
|
-
/* harmony import */ var
|
|
26340
|
-
/* harmony import */ var
|
|
26341
|
-
/* harmony import */ var
|
|
26342
|
-
/* harmony import */ var
|
|
26343
|
-
/* harmony import */ var
|
|
26383
|
+
/* harmony import */ var _core_helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(72430);
|
|
26384
|
+
/* harmony import */ var _langs_ar_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(79910);
|
|
26385
|
+
/* harmony import */ var _langs_az_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(95342);
|
|
26386
|
+
/* harmony import */ var _langs_cs_cz_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(4795);
|
|
26387
|
+
/* harmony import */ var _langs_de_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(62770);
|
|
26388
|
+
/* harmony import */ var _langs_en_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(1830);
|
|
26389
|
+
/* harmony import */ var _langs_es_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(86273);
|
|
26390
|
+
/* harmony import */ var _langs_fa_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(97552);
|
|
26391
|
+
/* harmony import */ var _langs_fi_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(82168);
|
|
26392
|
+
/* harmony import */ var _langs_fr_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(85017);
|
|
26393
|
+
/* harmony import */ var _langs_he_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(32726);
|
|
26394
|
+
/* harmony import */ var _langs_hu_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(67078);
|
|
26395
|
+
/* harmony import */ var _langs_id_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(92648);
|
|
26396
|
+
/* harmony import */ var _langs_it_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(62232);
|
|
26397
|
+
/* harmony import */ var _langs_ja_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(62700);
|
|
26398
|
+
/* harmony import */ var _langs_keys_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(75445);
|
|
26399
|
+
/* harmony import */ var _langs_ko_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(97519);
|
|
26400
|
+
/* harmony import */ var _langs_mn_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(80926);
|
|
26401
|
+
/* harmony import */ var _langs_nl_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(52995);
|
|
26402
|
+
/* harmony import */ var _langs_no_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(59526);
|
|
26403
|
+
/* harmony import */ var _langs_pl_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(40565);
|
|
26404
|
+
/* harmony import */ var _langs_pt_br_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(19292);
|
|
26405
|
+
/* harmony import */ var _langs_ru_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(83160);
|
|
26406
|
+
/* harmony import */ var _langs_sk_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(57571);
|
|
26407
|
+
/* harmony import */ var _langs_sv_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(66824);
|
|
26408
|
+
/* harmony import */ var _langs_tr_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(28923);
|
|
26409
|
+
/* harmony import */ var _langs_ua_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(19007);
|
|
26410
|
+
/* harmony import */ var _langs_zh_cn_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(60175);
|
|
26411
|
+
/* harmony import */ var _langs_zh_tw_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(69159);
|
|
26344
26412
|
/*!
|
|
26345
26413
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
26346
26414
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -26372,41 +26440,43 @@ function addClassNames(className, elm) {
|
|
|
26372
26440
|
|
|
26373
26441
|
|
|
26374
26442
|
|
|
26443
|
+
|
|
26375
26444
|
|
|
26376
26445
|
|
|
26377
26446
|
let exp = {};
|
|
26378
26447
|
exp = {
|
|
26379
|
-
ar:
|
|
26380
|
-
az:
|
|
26381
|
-
cs_cz:
|
|
26382
|
-
de:
|
|
26383
|
-
en:
|
|
26384
|
-
es:
|
|
26385
|
-
fa:
|
|
26386
|
-
fi:
|
|
26387
|
-
fr:
|
|
26388
|
-
he:
|
|
26389
|
-
hu:
|
|
26390
|
-
id:
|
|
26391
|
-
it:
|
|
26392
|
-
ja:
|
|
26393
|
-
ko:
|
|
26394
|
-
mn:
|
|
26395
|
-
nl:
|
|
26396
|
-
no:
|
|
26397
|
-
pl:
|
|
26398
|
-
pt_br:
|
|
26399
|
-
ru:
|
|
26400
|
-
sk:
|
|
26401
|
-
sv:
|
|
26402
|
-
tr:
|
|
26403
|
-
ua:
|
|
26404
|
-
zh_cn:
|
|
26405
|
-
zh_tw:
|
|
26406
|
-
};
|
|
26407
|
-
/* Unpack array to hash */
|
|
26408
|
-
|
|
26409
|
-
|
|
26448
|
+
ar: _langs_ar_js__WEBPACK_IMPORTED_MODULE_2__["default"],
|
|
26449
|
+
az: _langs_az_js__WEBPACK_IMPORTED_MODULE_3__["default"],
|
|
26450
|
+
cs_cz: _langs_cs_cz_js__WEBPACK_IMPORTED_MODULE_4__["default"],
|
|
26451
|
+
de: _langs_de_js__WEBPACK_IMPORTED_MODULE_5__["default"],
|
|
26452
|
+
en: _langs_en_js__WEBPACK_IMPORTED_MODULE_6__["default"],
|
|
26453
|
+
es: _langs_es_js__WEBPACK_IMPORTED_MODULE_7__["default"],
|
|
26454
|
+
fa: _langs_fa_js__WEBPACK_IMPORTED_MODULE_8__["default"],
|
|
26455
|
+
fi: _langs_fi_js__WEBPACK_IMPORTED_MODULE_9__["default"],
|
|
26456
|
+
fr: _langs_fr_js__WEBPACK_IMPORTED_MODULE_10__["default"],
|
|
26457
|
+
he: _langs_he_js__WEBPACK_IMPORTED_MODULE_11__["default"],
|
|
26458
|
+
hu: _langs_hu_js__WEBPACK_IMPORTED_MODULE_12__["default"],
|
|
26459
|
+
id: _langs_id_js__WEBPACK_IMPORTED_MODULE_13__["default"],
|
|
26460
|
+
it: _langs_it_js__WEBPACK_IMPORTED_MODULE_14__["default"],
|
|
26461
|
+
ja: _langs_ja_js__WEBPACK_IMPORTED_MODULE_15__["default"],
|
|
26462
|
+
ko: _langs_ko_js__WEBPACK_IMPORTED_MODULE_17__["default"],
|
|
26463
|
+
mn: _langs_mn_js__WEBPACK_IMPORTED_MODULE_18__["default"],
|
|
26464
|
+
nl: _langs_nl_js__WEBPACK_IMPORTED_MODULE_19__["default"],
|
|
26465
|
+
no: _langs_no_js__WEBPACK_IMPORTED_MODULE_20__["default"],
|
|
26466
|
+
pl: _langs_pl_js__WEBPACK_IMPORTED_MODULE_21__["default"],
|
|
26467
|
+
pt_br: _langs_pt_br_js__WEBPACK_IMPORTED_MODULE_22__["default"],
|
|
26468
|
+
ru: _langs_ru_js__WEBPACK_IMPORTED_MODULE_23__["default"],
|
|
26469
|
+
sk: _langs_sk_js__WEBPACK_IMPORTED_MODULE_24__["default"],
|
|
26470
|
+
sv: _langs_sv_js__WEBPACK_IMPORTED_MODULE_25__["default"],
|
|
26471
|
+
tr: _langs_tr_js__WEBPACK_IMPORTED_MODULE_26__["default"],
|
|
26472
|
+
ua: _langs_ua_js__WEBPACK_IMPORTED_MODULE_27__["default"],
|
|
26473
|
+
zh_cn: _langs_zh_cn_js__WEBPACK_IMPORTED_MODULE_28__["default"],
|
|
26474
|
+
zh_tw: _langs_zh_tw_js__WEBPACK_IMPORTED_MODULE_29__["default"]
|
|
26475
|
+
};
|
|
26476
|
+
/* Unpack array to hash */ // Unwrap a module (`default` is the dictionary or the packed array), but keep a dictionary whose `default` is a translation (`no.js`)
|
|
26477
|
+
const get = (value)=>value ? (0,_core_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_0__.isArray)(value.default) || (0,_core_helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_1__.isPlainObject)(value.default) ? value.default : value : {}, hashLang = {};
|
|
26478
|
+
if ((0,_core_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_0__.isArray)(get(_langs_keys_js__WEBPACK_IMPORTED_MODULE_16__["default"]))) {
|
|
26479
|
+
get(_langs_keys_js__WEBPACK_IMPORTED_MODULE_16__["default"]).forEach((key, index)=>{
|
|
26410
26480
|
hashLang[index] = key;
|
|
26411
26481
|
});
|
|
26412
26482
|
}
|
|
@@ -34496,6 +34566,17 @@ const ns = 'addnewline';
|
|
|
34496
34566
|
editor.editor
|
|
34497
34567
|
], 'scroll' + '.' + ns, this.__hideForce).on('finishedCleanHTMLWorker' + '.' + ns, this.__hideForce).on(editor.editor, 'click' + '.' + ns, this.__hide).on(editor.container, 'mouseleave' + '.' + ns, this.__hide).on(editor.editor, 'mousemove' + '.' + ns, this.__onMouseMove);
|
|
34498
34568
|
}
|
|
34569
|
+
/**
|
|
34570
|
+
* An empty line with a `<br>`, as Enter makes, so it keeps its height
|
|
34571
|
+
* without clean-html's fillEmptyParagraph (#1807)
|
|
34572
|
+
*/ __newLine() {
|
|
34573
|
+
const { j } = this;
|
|
34574
|
+
const line = j.createInside.element(j.o.enter);
|
|
34575
|
+
if (!_modules_index_js__WEBPACK_IMPORTED_MODULE_5__.Dom.isTag(line, 'br')) {
|
|
34576
|
+
_modules_index_js__WEBPACK_IMPORTED_MODULE_5__.Dom.append(line, j.createInside.element('br'));
|
|
34577
|
+
}
|
|
34578
|
+
return line;
|
|
34579
|
+
}
|
|
34499
34580
|
/**
|
|
34500
34581
|
* A paragraph holding only an embed has no place for the caret, so the
|
|
34501
34582
|
* arrow keys can't get past one that ends the content, or before one that
|
|
@@ -34508,6 +34589,11 @@ const ns = 'addnewline';
|
|
|
34508
34589
|
return;
|
|
34509
34590
|
}
|
|
34510
34591
|
const { startContainer, startOffset } = editor.s.range;
|
|
34592
|
+
// A caret in the editor itself, as beside a horizontal line, is in no
|
|
34593
|
+
// paragraph, and the browsers can leave it there with text beyond (#1803)
|
|
34594
|
+
if (startContainer === editor.editor) {
|
|
34595
|
+
return;
|
|
34596
|
+
}
|
|
34511
34597
|
// Once the browser has moved the caret, if it could. With a 0 timeout
|
|
34512
34598
|
// Jodit would run this at once, before the browser moves it
|
|
34513
34599
|
editor.async.setTimeout(()=>{
|
|
@@ -34516,7 +34602,7 @@ const ns = 'addnewline';
|
|
|
34516
34602
|
if (e.defaultPrevented || !editor.s.isInsideArea || !range.collapsed || range.startContainer !== startContainer || range.startOffset !== startOffset || !block || !_modules_index_js__WEBPACK_IMPORTED_MODULE_5__.Dom.findNotEmptyNeighbor(block, !forward, editor.editor)) {
|
|
34517
34603
|
return;
|
|
34518
34604
|
}
|
|
34519
|
-
const p =
|
|
34605
|
+
const p = this.__newLine();
|
|
34520
34606
|
forward ? _modules_index_js__WEBPACK_IMPORTED_MODULE_5__.Dom.append(editor.editor, p) : _modules_index_js__WEBPACK_IMPORTED_MODULE_5__.Dom.prepend(editor.editor, p);
|
|
34521
34607
|
editor.s.setCursorIn(p);
|
|
34522
34608
|
(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.scrollIntoViewIfNeeded)(p, editor.editor, editor.ed);
|
|
@@ -34528,7 +34614,7 @@ const ns = 'addnewline';
|
|
|
34528
34614
|
if (!editor.o.readonly && editor.o.addNewLineOnDBLClick && e.target === editor.editor && editor.s.isCollapsed()) {
|
|
34529
34615
|
const editorBound = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.offset)(editor.editor, editor, editor.ed);
|
|
34530
34616
|
const top = e.pageY - editor.ew.scrollX;
|
|
34531
|
-
const p =
|
|
34617
|
+
const p = this.__newLine();
|
|
34532
34618
|
if (Math.abs(top - editorBound.top) < Math.abs(top - (editorBound.height + editorBound.top)) && editor.editor.firstChild) {
|
|
34533
34619
|
_modules_index_js__WEBPACK_IMPORTED_MODULE_5__.Dom.prepend(editor.editor, p);
|
|
34534
34620
|
} else {
|
|
@@ -34621,7 +34707,7 @@ const ns = 'addnewline';
|
|
|
34621
34707
|
};
|
|
34622
34708
|
this.__onClickLine = (e)=>{
|
|
34623
34709
|
const editor = this.j;
|
|
34624
|
-
const p =
|
|
34710
|
+
const p = this.__newLine();
|
|
34625
34711
|
if (this.__isBeforeContent && this.__current && this.__current.parentNode) {
|
|
34626
34712
|
if (this.__current === editor.editor) {
|
|
34627
34713
|
_modules_index_js__WEBPACK_IMPORTED_MODULE_5__.Dom.prepend(editor.editor, p);
|
|
@@ -39500,6 +39586,7 @@ class deleteCommand extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__.P
|
|
|
39500
39586
|
}
|
|
39501
39587
|
jodit.s.expandSelection();
|
|
39502
39588
|
const range = jodit.s.range;
|
|
39589
|
+
this.__moveEdgesIntoCells(range);
|
|
39503
39590
|
const caret = this.__clearSelectedCells(range);
|
|
39504
39591
|
if (caret && range.collapsed) {
|
|
39505
39592
|
jodit.s.selectRange(caret);
|
|
@@ -39521,6 +39608,22 @@ class deleteCommand extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__.P
|
|
|
39521
39608
|
jodit.s.selectRange(caret !== null && caret !== void 0 ? caret : range);
|
|
39522
39609
|
return false;
|
|
39523
39610
|
}
|
|
39611
|
+
/**
|
|
39612
|
+
* Firefox selects cells whole from their row, as after a drag into or out
|
|
39613
|
+
* of a table nested in a cell, and `deleteContents` would remove them. The
|
|
39614
|
+
* edges move into the cells, so their content is cleared instead, as in
|
|
39615
|
+
* Firefox's own delete
|
|
39616
|
+
*/ __moveEdgesIntoCells(range) {
|
|
39617
|
+
const { startContainer, startOffset, endContainer, endOffset } = range;
|
|
39618
|
+
const first = _core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isTag(startContainer, 'tr') ? startContainer.childNodes[startOffset] : null;
|
|
39619
|
+
const last = _core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isTag(endContainer, 'tr') ? endContainer.childNodes[endOffset - 1] : null;
|
|
39620
|
+
if (_core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isCell(first)) {
|
|
39621
|
+
range.setStart(first, 0);
|
|
39622
|
+
}
|
|
39623
|
+
if (_core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isCell(last)) {
|
|
39624
|
+
range.setEnd(last, last.childNodes.length);
|
|
39625
|
+
}
|
|
39626
|
+
}
|
|
39524
39627
|
/**
|
|
39525
39628
|
* A selection that starts or ends in a table cell clears the selected part
|
|
39526
39629
|
* of each cell it covers and keeps the cells, as the browsers do.
|
|
@@ -42612,6 +42715,11 @@ function hr(editor) {
|
|
|
42612
42715
|
return false;
|
|
42613
42716
|
}
|
|
42614
42717
|
const p = editor.createInside.element(editor.o.enter);
|
|
42718
|
+
// As Enter's new line has, so it keeps its height without clean-html's
|
|
42719
|
+
// fillEmptyParagraph (#1807)
|
|
42720
|
+
if (!_core_dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isTag(p, 'br')) {
|
|
42721
|
+
_core_dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.append(p, editor.createInside.element('br'));
|
|
42722
|
+
}
|
|
42615
42723
|
_core_dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.after(elm, p);
|
|
42616
42724
|
editor.s.setCursorIn(p);
|
|
42617
42725
|
return false;
|
|
@@ -48680,11 +48788,15 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.mediaWrappers = {};
|
|
|
48680
48788
|
});
|
|
48681
48789
|
(0,_core_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(wrapper, 'style', (0,_core_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(element, 'style'));
|
|
48682
48790
|
// The wrapper fits the media, whose size changes as its metadata loads
|
|
48683
|
-
// and as it's resized.
|
|
48791
|
+
// and as it's resized. It's inline, as the media is by default, so the
|
|
48792
|
+
// line's text-align still places it, or a block when the media is one.
|
|
48793
|
+
// A percentage width is of the line, so the wrapper is a block that
|
|
48794
|
+
// takes the line, and the media in it follows the text-align it inherits
|
|
48684
48795
|
const fit = ()=>{
|
|
48796
|
+
const ofLine = (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_5__.cssInline)(media, 'width').endsWith('%');
|
|
48685
48797
|
(0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_5__.css)(wrapper, {
|
|
48686
|
-
display: (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_5__.
|
|
48687
|
-
width:
|
|
48798
|
+
display: !ofLine && /^inline/.test((0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_5__.css)(media, 'display').toString()) ? 'inline-block' : 'block',
|
|
48799
|
+
width: ofLine ? '' : 'fit-content',
|
|
48688
48800
|
height: ''
|
|
48689
48801
|
});
|
|
48690
48802
|
};
|
|
@@ -51691,8 +51803,11 @@ const IFRAME_WRAPPER = '[data-jodit_iframe_wrapper]';
|
|
|
51691
51803
|
// is nothing measurable at all, let the wrapper size itself.
|
|
51692
51804
|
const width = element.offsetWidth || attrPixelSize(element, 'width');
|
|
51693
51805
|
const height = element.offsetHeight || attrPixelSize(element, 'height');
|
|
51806
|
+
// The wrapper takes the iframe's place in its line: inline, as an
|
|
51807
|
+
// iframe is by default, so the line's text-align still places it,
|
|
51808
|
+
// or a block when the iframe is one
|
|
51694
51809
|
(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.css)(wrapper, {
|
|
51695
|
-
display: (0,
|
|
51810
|
+
display: /^inline/.test((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.css)(element, 'display').toString()) ? 'inline-block' : 'block'
|
|
51696
51811
|
});
|
|
51697
51812
|
if (width) {
|
|
51698
51813
|
(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.css)(wrapper, 'width', width);
|
|
@@ -53020,20 +53135,14 @@ class selectCells extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__.Plu
|
|
|
53020
53135
|
/**
|
|
53021
53136
|
* Mouse move inside the table
|
|
53022
53137
|
*/ __onMove(table, e) {
|
|
53023
|
-
var _a
|
|
53138
|
+
var _a;
|
|
53024
53139
|
if (this.j.o.readonly && !this.j.isLocked) {
|
|
53025
53140
|
return;
|
|
53026
53141
|
}
|
|
53027
53142
|
if (this.j.isLockedNotBy(key)) {
|
|
53028
53143
|
return;
|
|
53029
53144
|
}
|
|
53030
|
-
|
|
53031
|
-
// host, so the lookup must start from the shadow root
|
|
53032
|
-
const node = ((_a = this.j.o.shadowRoot) !== null && _a !== void 0 ? _a : this.j.ed).elementFromPoint(e.clientX, e.clientY);
|
|
53033
|
-
const cell = node && _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.closest(node, [
|
|
53034
|
-
'td',
|
|
53035
|
-
'th'
|
|
53036
|
-
], table);
|
|
53145
|
+
const cell = this.__cellUnder(e, table);
|
|
53037
53146
|
if (!cell || !this.__selectedCell) {
|
|
53038
53147
|
return;
|
|
53039
53148
|
}
|
|
@@ -53059,7 +53168,7 @@ class selectCells extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__.Plu
|
|
|
53059
53168
|
}
|
|
53060
53169
|
const cellsCount = this.__tableModule.getAllSelectedCells().length;
|
|
53061
53170
|
if (cellsCount > 1) {
|
|
53062
|
-
(
|
|
53171
|
+
(_a = this.j.s.sel) === null || _a === void 0 ? void 0 : _a.removeAllRanges();
|
|
53063
53172
|
}
|
|
53064
53173
|
this.j.e.fire('hidePopup');
|
|
53065
53174
|
e.stopPropagation();
|
|
@@ -53077,32 +53186,26 @@ class selectCells extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__.Plu
|
|
|
53077
53186
|
this.__isSelectionMode = false;
|
|
53078
53187
|
this.__selectedCell = null;
|
|
53079
53188
|
}
|
|
53189
|
+
// The cell of this table under the pointer; over a table nested in a cell, the mouse is still in that cell
|
|
53190
|
+
__cellUnder(e, table) {
|
|
53191
|
+
var _a;
|
|
53192
|
+
// Inside Shadow DOM `document.elementFromPoint` returns the shadow
|
|
53193
|
+
// host, so the lookup must start from the shadow root
|
|
53194
|
+
const node = ((_a = this.j.o.shadowRoot) !== null && _a !== void 0 ? _a : this.j.ed).elementFromPoint(e.clientX, e.clientY);
|
|
53195
|
+
return _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.closest(node, (elm)=>_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isCell(elm) && !_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.closest(elm, 'table', table), table);
|
|
53196
|
+
}
|
|
53080
53197
|
/**
|
|
53081
53198
|
* Stop a selection process
|
|
53082
53199
|
*/ __onStopSelection(table, e) {
|
|
53083
|
-
var _a;
|
|
53084
53200
|
if (!this.__selectedCell) {
|
|
53085
53201
|
return;
|
|
53086
53202
|
}
|
|
53087
53203
|
this.__isSelectionMode = false;
|
|
53088
53204
|
this.j.unlock();
|
|
53089
|
-
|
|
53090
|
-
// host, so the lookup must start from the shadow root
|
|
53091
|
-
const node = ((_a = this.j.o.shadowRoot) !== null && _a !== void 0 ? _a : this.j.ed).elementFromPoint(e.clientX, e.clientY);
|
|
53092
|
-
if (!node) {
|
|
53093
|
-
return;
|
|
53094
|
-
}
|
|
53095
|
-
const cell = _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.closest(node, [
|
|
53096
|
-
'td',
|
|
53097
|
-
'th'
|
|
53098
|
-
], table);
|
|
53205
|
+
const cell = this.__cellUnder(e, table);
|
|
53099
53206
|
if (!cell) {
|
|
53100
53207
|
return;
|
|
53101
53208
|
}
|
|
53102
|
-
const ownTable = _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.closest(cell, 'table', table);
|
|
53103
|
-
if (ownTable && ownTable !== table) {
|
|
53104
|
-
return; // Nested tables
|
|
53105
|
-
}
|
|
53106
53209
|
this.__showCellsPopup(table, [
|
|
53107
53210
|
cell,
|
|
53108
53211
|
this.__selectedCell
|