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/es2015/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
|
*/
|
|
@@ -1816,7 +1816,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1816
1816
|
* ```
|
|
1817
1817
|
* @packageDocumentation
|
|
1818
1818
|
* @module constants
|
|
1819
|
-
*/ const APP_VERSION = "4.19.
|
|
1819
|
+
*/ const APP_VERSION = "4.19.13";
|
|
1820
1820
|
// prettier-ignore
|
|
1821
1821
|
const ES = "es2015";
|
|
1822
1822
|
const IS_ES_MODERN = true;
|
|
@@ -4707,16 +4707,18 @@ class EventHandlersStore {
|
|
|
4707
4707
|
/* harmony export */ uniqueUid: function() { return /* binding */ uniqueUid; }
|
|
4708
4708
|
/* harmony export */ });
|
|
4709
4709
|
/* harmony import */ var _helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(19306);
|
|
4710
|
-
/* harmony import */ var
|
|
4711
|
-
/* harmony import */ var
|
|
4712
|
-
/* harmony import */ var
|
|
4713
|
-
/* harmony import */ var
|
|
4714
|
-
/* harmony import */ var
|
|
4715
|
-
/* harmony import */ var
|
|
4716
|
-
/* harmony import */ var
|
|
4717
|
-
/* harmony import */ var
|
|
4718
|
-
/* harmony import */ var
|
|
4719
|
-
/* harmony import */ var
|
|
4710
|
+
/* harmony import */ var _helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(72430);
|
|
4711
|
+
/* harmony import */ var _helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(70799);
|
|
4712
|
+
/* harmony import */ var _helpers_checker_is_view_object_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(39955);
|
|
4713
|
+
/* harmony import */ var _helpers_string_kebab_case_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(12475);
|
|
4714
|
+
/* harmony import */ var _helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(29960);
|
|
4715
|
+
/* harmony import */ var _helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(41180);
|
|
4716
|
+
/* harmony import */ var _helpers_utils_get_class_name_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(80568);
|
|
4717
|
+
/* harmony import */ var _helpers_utils_is_unsafe_proto_key_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(69175);
|
|
4718
|
+
/* harmony import */ var _plugin_plugin_system_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(41876);
|
|
4719
|
+
/* harmony import */ var _event_emitter_global_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(57012);
|
|
4720
|
+
/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(82758);
|
|
4721
|
+
/* harmony import */ var _dom_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(22732);
|
|
4720
4722
|
/*!
|
|
4721
4723
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
4722
4724
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -4732,6 +4734,8 @@ class EventHandlersStore {
|
|
|
4732
4734
|
|
|
4733
4735
|
|
|
4734
4736
|
|
|
4737
|
+
|
|
4738
|
+
|
|
4735
4739
|
const instances = {};
|
|
4736
4740
|
let counter = 1;
|
|
4737
4741
|
const uuids = new Set();
|
|
@@ -4749,26 +4753,40 @@ const uuids = new Set();
|
|
|
4749
4753
|
uuids.add(uid);
|
|
4750
4754
|
return uid;
|
|
4751
4755
|
}
|
|
4752
|
-
const pluginSystem = new
|
|
4756
|
+
const pluginSystem = new _plugin_plugin_system_js__WEBPACK_IMPORTED_MODULE_9__.PluginSystem({
|
|
4753
4757
|
getContainer
|
|
4754
4758
|
});
|
|
4755
4759
|
const modules = {};
|
|
4756
|
-
|
|
4760
|
+
// A CommonJS pack imported as a namespace carries the dictionary in `default`; a translation of the word is a string
|
|
4761
|
+
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;
|
|
4762
|
+
/**
|
|
4763
|
+
* Merge language packs into the global `lang` registry
|
|
4764
|
+
*
|
|
4765
|
+
* `__proto__`, `constructor` and `prototype` are skipped on both levels, so a
|
|
4766
|
+
* pack parsed from untrusted JSON cannot reach `Object.prototype` (CWE-1321).
|
|
4767
|
+
*/ const extendLang = (langs)=>{
|
|
4757
4768
|
Object.keys(langs).forEach((key)=>{
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
_constants_js__WEBPACK_IMPORTED_MODULE_9__.lang[key] = langs[key];
|
|
4769
|
+
const pack = unwrapModule(langs[key]);
|
|
4770
|
+
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)) {
|
|
4771
|
+
return;
|
|
4762
4772
|
}
|
|
4773
|
+
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])) {
|
|
4774
|
+
_constants_js__WEBPACK_IMPORTED_MODULE_11__.lang[key] = {};
|
|
4775
|
+
}
|
|
4776
|
+
Object.keys(pack).forEach((name)=>{
|
|
4777
|
+
if (!(0,_helpers_utils_is_unsafe_proto_key_js__WEBPACK_IMPORTED_MODULE_8__.isUnsafeProtoKey)(name)) {
|
|
4778
|
+
_constants_js__WEBPACK_IMPORTED_MODULE_11__.lang[key][name] = pack[name];
|
|
4779
|
+
}
|
|
4780
|
+
});
|
|
4763
4781
|
});
|
|
4764
4782
|
};
|
|
4765
4783
|
const boxes = new WeakMap();
|
|
4766
4784
|
/**
|
|
4767
4785
|
* Create unique box(HTMLCotainer) and remove it after destroy
|
|
4768
4786
|
*/ function getContainer(jodit, classFunc, tag = 'div', createInsideEditor = false) {
|
|
4769
|
-
const name = (0,
|
|
4787
|
+
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';
|
|
4770
4788
|
const data = boxes.get(jodit) || {}, key = name + tag;
|
|
4771
|
-
const view = (0,
|
|
4789
|
+
const view = (0,_helpers_checker_is_view_object_js__WEBPACK_IMPORTED_MODULE_3__.isViewObject)(jodit) ? jodit : jodit.j;
|
|
4772
4790
|
let body;
|
|
4773
4791
|
if (!data[key]) {
|
|
4774
4792
|
let c = view.c;
|
|
@@ -4779,18 +4797,18 @@ const boxes = new WeakMap();
|
|
|
4779
4797
|
body = (0,_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_0__.isJoditObject)(jodit) && jodit.o.shadowRoot ? jodit.o.shadowRoot : place;
|
|
4780
4798
|
}
|
|
4781
4799
|
const box = c.element(tag, {
|
|
4782
|
-
className: `jodit jodit-${(0,
|
|
4800
|
+
className: `jodit jodit-${(0,_helpers_string_kebab_case_js__WEBPACK_IMPORTED_MODULE_4__.kebabCase)(name)}-container jodit-box`
|
|
4783
4801
|
});
|
|
4784
4802
|
// Let a strict CSP accept the injected <style>/<script> box
|
|
4785
4803
|
if (view.o.nonce && (tag === 'style' || tag === 'script')) {
|
|
4786
|
-
(0,
|
|
4804
|
+
(0,_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_5__.attr)(box, 'nonce', view.o.nonce);
|
|
4787
4805
|
}
|
|
4788
4806
|
box.classList.add(`jodit_theme_${view.o.theme || 'default'}`);
|
|
4789
|
-
|
|
4807
|
+
_dom_index_js__WEBPACK_IMPORTED_MODULE_12__.Dom.append(body, box);
|
|
4790
4808
|
data[key] = box;
|
|
4791
4809
|
jodit.hookStatus('beforeDestruct', ()=>{
|
|
4792
4810
|
view.events.off(box);
|
|
4793
|
-
|
|
4811
|
+
_dom_index_js__WEBPACK_IMPORTED_MODULE_12__.Dom.safeRemove(box);
|
|
4794
4812
|
delete data[key];
|
|
4795
4813
|
if (Object.keys(data).length) {
|
|
4796
4814
|
boxes.delete(jodit);
|
|
@@ -4808,15 +4826,15 @@ const boxes = new WeakMap();
|
|
|
4808
4826
|
* @internal
|
|
4809
4827
|
*/ function getPopupViewRoot(o, container, defaultRoot) {
|
|
4810
4828
|
var _a, _b, _c;
|
|
4811
|
-
return (_c = (_b = (_a = o.popupRoot) !== null && _a !== void 0 ? _a : o.shadowRoot) !== null && _b !== void 0 ? _b :
|
|
4829
|
+
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') || [
|
|
4812
4830
|
'fixed',
|
|
4813
4831
|
'absolute'
|
|
4814
|
-
].includes((0,
|
|
4832
|
+
].includes((0,_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(parentElement, 'position'))), defaultRoot)) !== null && _c !== void 0 ? _c : defaultRoot;
|
|
4815
4833
|
}
|
|
4816
4834
|
/**
|
|
4817
4835
|
* Global event emitter
|
|
4818
4836
|
* @deprecated use `import { eventEmitter } from 'jodit/core/event-emitter/global';`
|
|
4819
|
-
*/ const eventEmitter =
|
|
4837
|
+
*/ const eventEmitter = _event_emitter_global_js__WEBPACK_IMPORTED_MODULE_10__.eventEmitter;
|
|
4820
4838
|
|
|
4821
4839
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
4822
4840
|
/* harmony export */ "eventEmitter", 0, /* binding */ eventEmitter,
|
|
@@ -6351,6 +6369,22 @@ function isSmuggledForeignHtml(elm) {
|
|
|
6351
6369
|
'background',
|
|
6352
6370
|
'xlink:href'
|
|
6353
6371
|
];
|
|
6372
|
+
/**
|
|
6373
|
+
* SVG animation elements can write a URL attribute at run time, as
|
|
6374
|
+
* `<animate attributeName="href" values="javascript:…">` does, and the
|
|
6375
|
+
* attributes below carry the values they write.
|
|
6376
|
+
*/ const ANIMATION_TAGS = new Set([
|
|
6377
|
+
'animate',
|
|
6378
|
+
'set',
|
|
6379
|
+
'animatemotion',
|
|
6380
|
+
'animatetransform'
|
|
6381
|
+
]);
|
|
6382
|
+
const ANIMATION_VALUE_ATTRIBUTES = [
|
|
6383
|
+
'values',
|
|
6384
|
+
'from',
|
|
6385
|
+
'to',
|
|
6386
|
+
'by'
|
|
6387
|
+
];
|
|
6354
6388
|
/**
|
|
6355
6389
|
* Tags that load their URL as a *document* (scripts inside run). An SVG data
|
|
6356
6390
|
* URL is only an XSS vector here — as an `<img>` source it renders inertly.
|
|
@@ -6424,6 +6458,19 @@ function sanitizeHTMLElement(elm, { safeJavaScriptLink, removeOnError, removeEve
|
|
|
6424
6458
|
effected = true;
|
|
6425
6459
|
}
|
|
6426
6460
|
}
|
|
6461
|
+
// SMIL sets the attribute on click time, after the static check above:
|
|
6462
|
+
// `<svg><a><animate attributeName="href" values="javascript:…">` ran
|
|
6463
|
+
// in Chromium and Safari. Drop the values that hold a dangerous
|
|
6464
|
+
// scheme; `values` is a `;` list. See GHSA-6wrw-v5gj-6xg7
|
|
6465
|
+
if (ANIMATION_TAGS.has(tagName)) {
|
|
6466
|
+
for (const name of ANIMATION_VALUE_ATTRIBUTES){
|
|
6467
|
+
const value = (0,_utils_attr_js__WEBPACK_IMPORTED_MODULE_2__.attrRaw)(elm, name);
|
|
6468
|
+
if (value && value.split(';').some((part)=>isDangerousUrl(part, 'a'))) {
|
|
6469
|
+
(0,_utils_index_js__WEBPACK_IMPORTED_MODULE_1__.attr)(elm, name, null);
|
|
6470
|
+
effected = true;
|
|
6471
|
+
}
|
|
6472
|
+
}
|
|
6473
|
+
}
|
|
6427
6474
|
}
|
|
6428
6475
|
return effected;
|
|
6429
6476
|
}
|
|
@@ -16112,6 +16159,18 @@ let UITooltip = UITooltip_1 = class UITooltip extends _element_js__WEBPACK_IMPOR
|
|
|
16112
16159
|
render() {
|
|
16113
16160
|
return '<div><div class="&__content"></div></div>';
|
|
16114
16161
|
}
|
|
16162
|
+
get __isEnabled() {
|
|
16163
|
+
const { o } = this.j;
|
|
16164
|
+
return !o.textIcons && Boolean(o.showTooltip) && !o.useNativeTooltip;
|
|
16165
|
+
}
|
|
16166
|
+
/**
|
|
16167
|
+
* Show tooltips for the buttons in an element outside the editor's
|
|
16168
|
+
* container, such as a toolbar placed by the `toolbar` option
|
|
16169
|
+
*/ attach(container) {
|
|
16170
|
+
if (this.__isEnabled) {
|
|
16171
|
+
this.__onAttach(container);
|
|
16172
|
+
}
|
|
16173
|
+
}
|
|
16115
16174
|
__onAttach(container) {
|
|
16116
16175
|
// TODO Move it inside __show method. Now it is here because testcase failed with capturing
|
|
16117
16176
|
_dom_index_js__WEBPACK_IMPORTED_MODULE_2__.Dom.append((0,_global_js__WEBPACK_IMPORTED_MODULE_3__.getContainer)(this.j, UITooltip_1), this.container);
|
|
@@ -16252,7 +16311,7 @@ let UITooltip = UITooltip_1 = class UITooltip extends _element_js__WEBPACK_IMPOR
|
|
|
16252
16311
|
this.__currentTarget = null;
|
|
16253
16312
|
this.__delayShowTimeout = 0;
|
|
16254
16313
|
this.__hideTimeout = 0;
|
|
16255
|
-
if (
|
|
16314
|
+
if (this.__isEnabled) {
|
|
16256
16315
|
this.j.e.on('getContainer', (box)=>{
|
|
16257
16316
|
this.__onAttach(box);
|
|
16258
16317
|
});
|
|
@@ -18858,7 +18917,12 @@ class ViewWithToolbar extends _view_js__WEBPACK_IMPORTED_MODULE_9__.View {
|
|
|
18858
18917
|
return;
|
|
18859
18918
|
}
|
|
18860
18919
|
const buttons = this.o.buttons ? (0,_helpers_array_index_js__WEBPACK_IMPORTED_MODULE_4__.splitArray)(this.o.buttons) : [];
|
|
18861
|
-
|
|
18920
|
+
const container = this.toolbarContainer;
|
|
18921
|
+
(_a = this.toolbar) === null || _a === void 0 ? void 0 : _a.setRemoveButtons(this.o.removeButtons).build(buttons.concat(this.o.extraButtons || [])).appendTo(container);
|
|
18922
|
+
// The toolbar's own element, as editors can share the one it is placed in
|
|
18923
|
+
if (this.toolbar && !_dom_dom_js__WEBPACK_IMPORTED_MODULE_3__.Dom.isOrContains(this.container, container)) {
|
|
18924
|
+
this.__tooltip.attach(this.toolbar.container);
|
|
18925
|
+
}
|
|
18862
18926
|
}
|
|
18863
18927
|
getRegisteredButtonGroups() {
|
|
18864
18928
|
return this.groupToButtons;
|
|
@@ -20690,6 +20754,9 @@ Jodit.decorators = {};
|
|
|
20690
20754
|
Jodit.constants = _core_constants_js__WEBPACK_IMPORTED_MODULE_0__;
|
|
20691
20755
|
Jodit.instances = _core_global_js__WEBPACK_IMPORTED_MODULE_2__.instances;
|
|
20692
20756
|
Jodit.lang = _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.lang;
|
|
20757
|
+
/**
|
|
20758
|
+
* Merge language packs into `Jodit.lang`; prototype keys are ignored
|
|
20759
|
+
*/ Jodit.extendLang = _core_global_js__WEBPACK_IMPORTED_MODULE_2__.extendLang;
|
|
20693
20760
|
Jodit.core = {
|
|
20694
20761
|
Plugin: _modules_index_js__WEBPACK_IMPORTED_MODULE_9__.Plugin
|
|
20695
20762
|
};
|
|
@@ -27021,34 +27088,35 @@ function addClassNames(className, elm) {
|
|
|
27021
27088
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
27022
27089
|
|
|
27023
27090
|
/* harmony import */ var _core_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(68345);
|
|
27024
|
-
/* harmony import */ var
|
|
27025
|
-
/* harmony import */ var
|
|
27026
|
-
/* harmony import */ var
|
|
27027
|
-
/* harmony import */ var
|
|
27028
|
-
/* harmony import */ var
|
|
27029
|
-
/* harmony import */ var
|
|
27030
|
-
/* harmony import */ var
|
|
27031
|
-
/* harmony import */ var
|
|
27032
|
-
/* harmony import */ var
|
|
27033
|
-
/* harmony import */ var
|
|
27034
|
-
/* harmony import */ var
|
|
27035
|
-
/* harmony import */ var
|
|
27036
|
-
/* harmony import */ var
|
|
27037
|
-
/* harmony import */ var
|
|
27038
|
-
/* harmony import */ var
|
|
27039
|
-
/* harmony import */ var
|
|
27040
|
-
/* harmony import */ var
|
|
27041
|
-
/* harmony import */ var
|
|
27042
|
-
/* harmony import */ var
|
|
27043
|
-
/* harmony import */ var
|
|
27044
|
-
/* harmony import */ var
|
|
27045
|
-
/* harmony import */ var
|
|
27046
|
-
/* harmony import */ var
|
|
27047
|
-
/* harmony import */ var
|
|
27048
|
-
/* harmony import */ var
|
|
27049
|
-
/* harmony import */ var
|
|
27050
|
-
/* harmony import */ var
|
|
27051
|
-
/* harmony import */ var
|
|
27091
|
+
/* harmony import */ var _core_helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(72430);
|
|
27092
|
+
/* harmony import */ var _langs_ar_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(79910);
|
|
27093
|
+
/* harmony import */ var _langs_az_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(95342);
|
|
27094
|
+
/* harmony import */ var _langs_cs_cz_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(4795);
|
|
27095
|
+
/* harmony import */ var _langs_de_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(62770);
|
|
27096
|
+
/* harmony import */ var _langs_en_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(1830);
|
|
27097
|
+
/* harmony import */ var _langs_es_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(86273);
|
|
27098
|
+
/* harmony import */ var _langs_fa_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(97552);
|
|
27099
|
+
/* harmony import */ var _langs_fi_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(82168);
|
|
27100
|
+
/* harmony import */ var _langs_fr_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(85017);
|
|
27101
|
+
/* harmony import */ var _langs_he_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(32726);
|
|
27102
|
+
/* harmony import */ var _langs_hu_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(67078);
|
|
27103
|
+
/* harmony import */ var _langs_id_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(92648);
|
|
27104
|
+
/* harmony import */ var _langs_it_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(62232);
|
|
27105
|
+
/* harmony import */ var _langs_ja_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(62700);
|
|
27106
|
+
/* harmony import */ var _langs_keys_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(75445);
|
|
27107
|
+
/* harmony import */ var _langs_ko_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(97519);
|
|
27108
|
+
/* harmony import */ var _langs_mn_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(80926);
|
|
27109
|
+
/* harmony import */ var _langs_nl_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(52995);
|
|
27110
|
+
/* harmony import */ var _langs_no_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(59526);
|
|
27111
|
+
/* harmony import */ var _langs_pl_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(40565);
|
|
27112
|
+
/* harmony import */ var _langs_pt_br_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(19292);
|
|
27113
|
+
/* harmony import */ var _langs_ru_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(83160);
|
|
27114
|
+
/* harmony import */ var _langs_sk_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(57571);
|
|
27115
|
+
/* harmony import */ var _langs_sv_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(66824);
|
|
27116
|
+
/* harmony import */ var _langs_tr_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(28923);
|
|
27117
|
+
/* harmony import */ var _langs_ua_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(19007);
|
|
27118
|
+
/* harmony import */ var _langs_zh_cn_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(60175);
|
|
27119
|
+
/* harmony import */ var _langs_zh_tw_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(69159);
|
|
27052
27120
|
/*!
|
|
27053
27121
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27054
27122
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27080,41 +27148,43 @@ function addClassNames(className, elm) {
|
|
|
27080
27148
|
|
|
27081
27149
|
|
|
27082
27150
|
|
|
27151
|
+
|
|
27083
27152
|
|
|
27084
27153
|
|
|
27085
27154
|
let exp = {};
|
|
27086
27155
|
exp = {
|
|
27087
|
-
ar:
|
|
27088
|
-
az:
|
|
27089
|
-
cs_cz:
|
|
27090
|
-
de:
|
|
27091
|
-
en:
|
|
27092
|
-
es:
|
|
27093
|
-
fa:
|
|
27094
|
-
fi:
|
|
27095
|
-
fr:
|
|
27096
|
-
he:
|
|
27097
|
-
hu:
|
|
27098
|
-
id:
|
|
27099
|
-
it:
|
|
27100
|
-
ja:
|
|
27101
|
-
ko:
|
|
27102
|
-
mn:
|
|
27103
|
-
nl:
|
|
27104
|
-
no:
|
|
27105
|
-
pl:
|
|
27106
|
-
pt_br:
|
|
27107
|
-
ru:
|
|
27108
|
-
sk:
|
|
27109
|
-
sv:
|
|
27110
|
-
tr:
|
|
27111
|
-
ua:
|
|
27112
|
-
zh_cn:
|
|
27113
|
-
zh_tw:
|
|
27114
|
-
};
|
|
27115
|
-
/* Unpack array to hash */
|
|
27116
|
-
|
|
27117
|
-
|
|
27156
|
+
ar: _langs_ar_js__WEBPACK_IMPORTED_MODULE_2__["default"],
|
|
27157
|
+
az: _langs_az_js__WEBPACK_IMPORTED_MODULE_3__["default"],
|
|
27158
|
+
cs_cz: _langs_cs_cz_js__WEBPACK_IMPORTED_MODULE_4__["default"],
|
|
27159
|
+
de: _langs_de_js__WEBPACK_IMPORTED_MODULE_5__["default"],
|
|
27160
|
+
en: _langs_en_js__WEBPACK_IMPORTED_MODULE_6__["default"],
|
|
27161
|
+
es: _langs_es_js__WEBPACK_IMPORTED_MODULE_7__["default"],
|
|
27162
|
+
fa: _langs_fa_js__WEBPACK_IMPORTED_MODULE_8__["default"],
|
|
27163
|
+
fi: _langs_fi_js__WEBPACK_IMPORTED_MODULE_9__["default"],
|
|
27164
|
+
fr: _langs_fr_js__WEBPACK_IMPORTED_MODULE_10__["default"],
|
|
27165
|
+
he: _langs_he_js__WEBPACK_IMPORTED_MODULE_11__["default"],
|
|
27166
|
+
hu: _langs_hu_js__WEBPACK_IMPORTED_MODULE_12__["default"],
|
|
27167
|
+
id: _langs_id_js__WEBPACK_IMPORTED_MODULE_13__["default"],
|
|
27168
|
+
it: _langs_it_js__WEBPACK_IMPORTED_MODULE_14__["default"],
|
|
27169
|
+
ja: _langs_ja_js__WEBPACK_IMPORTED_MODULE_15__["default"],
|
|
27170
|
+
ko: _langs_ko_js__WEBPACK_IMPORTED_MODULE_17__["default"],
|
|
27171
|
+
mn: _langs_mn_js__WEBPACK_IMPORTED_MODULE_18__["default"],
|
|
27172
|
+
nl: _langs_nl_js__WEBPACK_IMPORTED_MODULE_19__["default"],
|
|
27173
|
+
no: _langs_no_js__WEBPACK_IMPORTED_MODULE_20__["default"],
|
|
27174
|
+
pl: _langs_pl_js__WEBPACK_IMPORTED_MODULE_21__["default"],
|
|
27175
|
+
pt_br: _langs_pt_br_js__WEBPACK_IMPORTED_MODULE_22__["default"],
|
|
27176
|
+
ru: _langs_ru_js__WEBPACK_IMPORTED_MODULE_23__["default"],
|
|
27177
|
+
sk: _langs_sk_js__WEBPACK_IMPORTED_MODULE_24__["default"],
|
|
27178
|
+
sv: _langs_sv_js__WEBPACK_IMPORTED_MODULE_25__["default"],
|
|
27179
|
+
tr: _langs_tr_js__WEBPACK_IMPORTED_MODULE_26__["default"],
|
|
27180
|
+
ua: _langs_ua_js__WEBPACK_IMPORTED_MODULE_27__["default"],
|
|
27181
|
+
zh_cn: _langs_zh_cn_js__WEBPACK_IMPORTED_MODULE_28__["default"],
|
|
27182
|
+
zh_tw: _langs_zh_tw_js__WEBPACK_IMPORTED_MODULE_29__["default"]
|
|
27183
|
+
};
|
|
27184
|
+
/* 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`)
|
|
27185
|
+
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 = {};
|
|
27186
|
+
if ((0,_core_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_0__.isArray)(get(_langs_keys_js__WEBPACK_IMPORTED_MODULE_16__["default"]))) {
|
|
27187
|
+
get(_langs_keys_js__WEBPACK_IMPORTED_MODULE_16__["default"]).forEach((key, index)=>{
|
|
27118
27188
|
hashLang[index] = key;
|
|
27119
27189
|
});
|
|
27120
27190
|
}
|
|
@@ -35527,6 +35597,17 @@ const ns = 'addnewline';
|
|
|
35527
35597
|
editor.editor
|
|
35528
35598
|
], '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);
|
|
35529
35599
|
}
|
|
35600
|
+
/**
|
|
35601
|
+
* An empty line with a `<br>`, as Enter makes, so it keeps its height
|
|
35602
|
+
* without clean-html's fillEmptyParagraph (#1807)
|
|
35603
|
+
*/ __newLine() {
|
|
35604
|
+
const { j } = this;
|
|
35605
|
+
const line = j.createInside.element(j.o.enter);
|
|
35606
|
+
if (!_modules_index_js__WEBPACK_IMPORTED_MODULE_5__.Dom.isTag(line, 'br')) {
|
|
35607
|
+
_modules_index_js__WEBPACK_IMPORTED_MODULE_5__.Dom.append(line, j.createInside.element('br'));
|
|
35608
|
+
}
|
|
35609
|
+
return line;
|
|
35610
|
+
}
|
|
35530
35611
|
/**
|
|
35531
35612
|
* A paragraph holding only an embed has no place for the caret, so the
|
|
35532
35613
|
* arrow keys can't get past one that ends the content, or before one that
|
|
@@ -35539,6 +35620,11 @@ const ns = 'addnewline';
|
|
|
35539
35620
|
return;
|
|
35540
35621
|
}
|
|
35541
35622
|
const { startContainer, startOffset } = editor.s.range;
|
|
35623
|
+
// A caret in the editor itself, as beside a horizontal line, is in no
|
|
35624
|
+
// paragraph, and the browsers can leave it there with text beyond (#1803)
|
|
35625
|
+
if (startContainer === editor.editor) {
|
|
35626
|
+
return;
|
|
35627
|
+
}
|
|
35542
35628
|
// Once the browser has moved the caret, if it could. With a 0 timeout
|
|
35543
35629
|
// Jodit would run this at once, before the browser moves it
|
|
35544
35630
|
editor.async.setTimeout(()=>{
|
|
@@ -35547,7 +35633,7 @@ const ns = 'addnewline';
|
|
|
35547
35633
|
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)) {
|
|
35548
35634
|
return;
|
|
35549
35635
|
}
|
|
35550
|
-
const p =
|
|
35636
|
+
const p = this.__newLine();
|
|
35551
35637
|
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);
|
|
35552
35638
|
editor.s.setCursorIn(p);
|
|
35553
35639
|
(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.scrollIntoViewIfNeeded)(p, editor.editor, editor.ed);
|
|
@@ -35559,7 +35645,7 @@ const ns = 'addnewline';
|
|
|
35559
35645
|
if (!editor.o.readonly && editor.o.addNewLineOnDBLClick && e.target === editor.editor && editor.s.isCollapsed()) {
|
|
35560
35646
|
const editorBound = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.offset)(editor.editor, editor, editor.ed);
|
|
35561
35647
|
const top = e.pageY - editor.ew.scrollX;
|
|
35562
|
-
const p =
|
|
35648
|
+
const p = this.__newLine();
|
|
35563
35649
|
if (Math.abs(top - editorBound.top) < Math.abs(top - (editorBound.height + editorBound.top)) && editor.editor.firstChild) {
|
|
35564
35650
|
_modules_index_js__WEBPACK_IMPORTED_MODULE_5__.Dom.prepend(editor.editor, p);
|
|
35565
35651
|
} else {
|
|
@@ -35652,7 +35738,7 @@ const ns = 'addnewline';
|
|
|
35652
35738
|
};
|
|
35653
35739
|
this.__onClickLine = (e)=>{
|
|
35654
35740
|
const editor = this.j;
|
|
35655
|
-
const p =
|
|
35741
|
+
const p = this.__newLine();
|
|
35656
35742
|
if (this.__isBeforeContent && this.__current && this.__current.parentNode) {
|
|
35657
35743
|
if (this.__current === editor.editor) {
|
|
35658
35744
|
_modules_index_js__WEBPACK_IMPORTED_MODULE_5__.Dom.prepend(editor.editor, p);
|
|
@@ -40581,6 +40667,7 @@ class deleteCommand extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__.P
|
|
|
40581
40667
|
}
|
|
40582
40668
|
jodit.s.expandSelection();
|
|
40583
40669
|
const range = jodit.s.range;
|
|
40670
|
+
this.__moveEdgesIntoCells(range);
|
|
40584
40671
|
const caret = this.__clearSelectedCells(range);
|
|
40585
40672
|
if (caret && range.collapsed) {
|
|
40586
40673
|
jodit.s.selectRange(caret);
|
|
@@ -40602,6 +40689,22 @@ class deleteCommand extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__.P
|
|
|
40602
40689
|
jodit.s.selectRange(caret !== null && caret !== void 0 ? caret : range);
|
|
40603
40690
|
return false;
|
|
40604
40691
|
}
|
|
40692
|
+
/**
|
|
40693
|
+
* Firefox selects cells whole from their row, as after a drag into or out
|
|
40694
|
+
* of a table nested in a cell, and `deleteContents` would remove them. The
|
|
40695
|
+
* edges move into the cells, so their content is cleared instead, as in
|
|
40696
|
+
* Firefox's own delete
|
|
40697
|
+
*/ __moveEdgesIntoCells(range) {
|
|
40698
|
+
const { startContainer, startOffset, endContainer, endOffset } = range;
|
|
40699
|
+
const first = _core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isTag(startContainer, 'tr') ? startContainer.childNodes[startOffset] : null;
|
|
40700
|
+
const last = _core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isTag(endContainer, 'tr') ? endContainer.childNodes[endOffset - 1] : null;
|
|
40701
|
+
if (_core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isCell(first)) {
|
|
40702
|
+
range.setStart(first, 0);
|
|
40703
|
+
}
|
|
40704
|
+
if (_core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isCell(last)) {
|
|
40705
|
+
range.setEnd(last, last.childNodes.length);
|
|
40706
|
+
}
|
|
40707
|
+
}
|
|
40605
40708
|
/**
|
|
40606
40709
|
* A selection that starts or ends in a table cell clears the selected part
|
|
40607
40710
|
* of each cell it covers and keeps the cells, as the browsers do.
|
|
@@ -43741,6 +43844,11 @@ function hr(editor) {
|
|
|
43741
43844
|
return false;
|
|
43742
43845
|
}
|
|
43743
43846
|
const p = editor.createInside.element(editor.o.enter);
|
|
43847
|
+
// As Enter's new line has, so it keeps its height without clean-html's
|
|
43848
|
+
// fillEmptyParagraph (#1807)
|
|
43849
|
+
if (!_core_dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isTag(p, 'br')) {
|
|
43850
|
+
_core_dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.append(p, editor.createInside.element('br'));
|
|
43851
|
+
}
|
|
43744
43852
|
_core_dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.after(elm, p);
|
|
43745
43853
|
editor.s.setCursorIn(p);
|
|
43746
43854
|
return false;
|
|
@@ -50097,11 +50205,15 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.mediaWrappers = {};
|
|
|
50097
50205
|
});
|
|
50098
50206
|
(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'));
|
|
50099
50207
|
// The wrapper fits the media, whose size changes as its metadata loads
|
|
50100
|
-
// and as it's resized.
|
|
50208
|
+
// and as it's resized. It's inline, as the media is by default, so the
|
|
50209
|
+
// line's text-align still places it, or a block when the media is one.
|
|
50210
|
+
// A percentage width is of the line, so the wrapper is a block that
|
|
50211
|
+
// takes the line, and the media in it follows the text-align it inherits
|
|
50101
50212
|
const fit = ()=>{
|
|
50213
|
+
const ofLine = (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_5__.cssInline)(media, 'width').endsWith('%');
|
|
50102
50214
|
(0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_5__.css)(wrapper, {
|
|
50103
|
-
display: (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_5__.
|
|
50104
|
-
width:
|
|
50215
|
+
display: !ofLine && /^inline/.test((0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_5__.css)(media, 'display').toString()) ? 'inline-block' : 'block',
|
|
50216
|
+
width: ofLine ? '' : 'fit-content',
|
|
50105
50217
|
height: ''
|
|
50106
50218
|
});
|
|
50107
50219
|
};
|
|
@@ -53136,8 +53248,11 @@ const IFRAME_WRAPPER = '[data-jodit_iframe_wrapper]';
|
|
|
53136
53248
|
// is nothing measurable at all, let the wrapper size itself.
|
|
53137
53249
|
const width = element.offsetWidth || attrPixelSize(element, 'width');
|
|
53138
53250
|
const height = element.offsetHeight || attrPixelSize(element, 'height');
|
|
53251
|
+
// The wrapper takes the iframe's place in its line: inline, as an
|
|
53252
|
+
// iframe is by default, so the line's text-align still places it,
|
|
53253
|
+
// or a block when the iframe is one
|
|
53139
53254
|
(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.css)(wrapper, {
|
|
53140
|
-
display: (0,
|
|
53255
|
+
display: /^inline/.test((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.css)(element, 'display').toString()) ? 'inline-block' : 'block'
|
|
53141
53256
|
});
|
|
53142
53257
|
if (width) {
|
|
53143
53258
|
(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.css)(wrapper, 'width', width);
|
|
@@ -54532,20 +54647,14 @@ class selectCells extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__.Plu
|
|
|
54532
54647
|
/**
|
|
54533
54648
|
* Mouse move inside the table
|
|
54534
54649
|
*/ __onMove(table, e) {
|
|
54535
|
-
var _a
|
|
54650
|
+
var _a;
|
|
54536
54651
|
if (this.j.o.readonly && !this.j.isLocked) {
|
|
54537
54652
|
return;
|
|
54538
54653
|
}
|
|
54539
54654
|
if (this.j.isLockedNotBy(key)) {
|
|
54540
54655
|
return;
|
|
54541
54656
|
}
|
|
54542
|
-
|
|
54543
|
-
// host, so the lookup must start from the shadow root
|
|
54544
|
-
const node = ((_a = this.j.o.shadowRoot) !== null && _a !== void 0 ? _a : this.j.ed).elementFromPoint(e.clientX, e.clientY);
|
|
54545
|
-
const cell = node && _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.closest(node, [
|
|
54546
|
-
'td',
|
|
54547
|
-
'th'
|
|
54548
|
-
], table);
|
|
54657
|
+
const cell = this.__cellUnder(e, table);
|
|
54549
54658
|
if (!cell || !this.__selectedCell) {
|
|
54550
54659
|
return;
|
|
54551
54660
|
}
|
|
@@ -54571,7 +54680,7 @@ class selectCells extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__.Plu
|
|
|
54571
54680
|
}
|
|
54572
54681
|
const cellsCount = this.__tableModule.getAllSelectedCells().length;
|
|
54573
54682
|
if (cellsCount > 1) {
|
|
54574
|
-
(
|
|
54683
|
+
(_a = this.j.s.sel) === null || _a === void 0 ? void 0 : _a.removeAllRanges();
|
|
54575
54684
|
}
|
|
54576
54685
|
this.j.e.fire('hidePopup');
|
|
54577
54686
|
e.stopPropagation();
|
|
@@ -54589,32 +54698,26 @@ class selectCells extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__.Plu
|
|
|
54589
54698
|
this.__isSelectionMode = false;
|
|
54590
54699
|
this.__selectedCell = null;
|
|
54591
54700
|
}
|
|
54701
|
+
// The cell of this table under the pointer; over a table nested in a cell, the mouse is still in that cell
|
|
54702
|
+
__cellUnder(e, table) {
|
|
54703
|
+
var _a;
|
|
54704
|
+
// Inside Shadow DOM `document.elementFromPoint` returns the shadow
|
|
54705
|
+
// host, so the lookup must start from the shadow root
|
|
54706
|
+
const node = ((_a = this.j.o.shadowRoot) !== null && _a !== void 0 ? _a : this.j.ed).elementFromPoint(e.clientX, e.clientY);
|
|
54707
|
+
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);
|
|
54708
|
+
}
|
|
54592
54709
|
/**
|
|
54593
54710
|
* Stop a selection process
|
|
54594
54711
|
*/ __onStopSelection(table, e) {
|
|
54595
|
-
var _a;
|
|
54596
54712
|
if (!this.__selectedCell) {
|
|
54597
54713
|
return;
|
|
54598
54714
|
}
|
|
54599
54715
|
this.__isSelectionMode = false;
|
|
54600
54716
|
this.j.unlock();
|
|
54601
|
-
|
|
54602
|
-
// host, so the lookup must start from the shadow root
|
|
54603
|
-
const node = ((_a = this.j.o.shadowRoot) !== null && _a !== void 0 ? _a : this.j.ed).elementFromPoint(e.clientX, e.clientY);
|
|
54604
|
-
if (!node) {
|
|
54605
|
-
return;
|
|
54606
|
-
}
|
|
54607
|
-
const cell = _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.closest(node, [
|
|
54608
|
-
'td',
|
|
54609
|
-
'th'
|
|
54610
|
-
], table);
|
|
54717
|
+
const cell = this.__cellUnder(e, table);
|
|
54611
54718
|
if (!cell) {
|
|
54612
54719
|
return;
|
|
54613
54720
|
}
|
|
54614
|
-
const ownTable = _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.closest(cell, 'table', table);
|
|
54615
|
-
if (ownTable && ownTable !== table) {
|
|
54616
|
-
return; // Nested tables
|
|
54617
|
-
}
|
|
54618
54721
|
this.__showCellsPopup(table, [
|
|
54619
54722
|
cell,
|
|
54620
54723
|
this.__selectedCell
|