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/es5/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
|
*/
|
|
@@ -2334,7 +2334,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
2334
2334
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
2335
2335
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
2336
2336
|
}
|
|
2337
|
-
var APP_VERSION = "4.19.
|
|
2337
|
+
var APP_VERSION = "4.19.13";
|
|
2338
2338
|
// prettier-ignore
|
|
2339
2339
|
var ES = "es5";
|
|
2340
2340
|
var IS_ES_MODERN = false;
|
|
@@ -6340,16 +6340,18 @@ var EventHandlersStore = /*#__PURE__*/ function() {
|
|
|
6340
6340
|
/* harmony export */ uniqueUid: function() { return /* binding */ uniqueUid; }
|
|
6341
6341
|
/* harmony export */ });
|
|
6342
6342
|
/* harmony import */ var _helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(19306);
|
|
6343
|
-
/* harmony import */ var
|
|
6344
|
-
/* harmony import */ var
|
|
6345
|
-
/* harmony import */ var
|
|
6346
|
-
/* harmony import */ var
|
|
6347
|
-
/* harmony import */ var
|
|
6348
|
-
/* harmony import */ var
|
|
6349
|
-
/* harmony import */ var
|
|
6350
|
-
/* harmony import */ var
|
|
6351
|
-
/* harmony import */ var
|
|
6352
|
-
/* harmony import */ var
|
|
6343
|
+
/* harmony import */ var _helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(72430);
|
|
6344
|
+
/* harmony import */ var _helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(70799);
|
|
6345
|
+
/* harmony import */ var _helpers_checker_is_view_object_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(39955);
|
|
6346
|
+
/* harmony import */ var _helpers_string_kebab_case_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(12475);
|
|
6347
|
+
/* harmony import */ var _helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(29960);
|
|
6348
|
+
/* harmony import */ var _helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(41180);
|
|
6349
|
+
/* harmony import */ var _helpers_utils_get_class_name_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(80568);
|
|
6350
|
+
/* harmony import */ var _helpers_utils_is_unsafe_proto_key_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(69175);
|
|
6351
|
+
/* harmony import */ var _plugin_plugin_system_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(41876);
|
|
6352
|
+
/* harmony import */ var _event_emitter_global_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(57012);
|
|
6353
|
+
/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(82758);
|
|
6354
|
+
/* harmony import */ var _dom_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(22732);
|
|
6353
6355
|
/*!
|
|
6354
6356
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
6355
6357
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -6365,6 +6367,8 @@ var EventHandlersStore = /*#__PURE__*/ function() {
|
|
|
6365
6367
|
|
|
6366
6368
|
|
|
6367
6369
|
|
|
6370
|
+
|
|
6371
|
+
|
|
6368
6372
|
var instances = {};
|
|
6369
6373
|
var counter = 1;
|
|
6370
6374
|
var uuids = new Set();
|
|
@@ -6382,17 +6386,33 @@ var uuids = new Set();
|
|
|
6382
6386
|
uuids.add(uid);
|
|
6383
6387
|
return uid;
|
|
6384
6388
|
}
|
|
6385
|
-
var pluginSystem = new
|
|
6389
|
+
var pluginSystem = new _plugin_plugin_system_js__WEBPACK_IMPORTED_MODULE_9__.PluginSystem({
|
|
6386
6390
|
getContainer: getContainer
|
|
6387
6391
|
});
|
|
6388
6392
|
var modules = {};
|
|
6389
|
-
|
|
6393
|
+
// A CommonJS pack imported as a namespace carries the dictionary in `default`; a translation of the word is a string
|
|
6394
|
+
var unwrapModule = function unwrapModule(pack) {
|
|
6395
|
+
return (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;
|
|
6396
|
+
};
|
|
6397
|
+
/**
|
|
6398
|
+
* Merge language packs into the global `lang` registry
|
|
6399
|
+
*
|
|
6400
|
+
* `__proto__`, `constructor` and `prototype` are skipped on both levels, so a
|
|
6401
|
+
* pack parsed from untrusted JSON cannot reach `Object.prototype` (CWE-1321).
|
|
6402
|
+
*/ var extendLang = function extendLang(langs) {
|
|
6390
6403
|
Object.keys(langs).forEach(function(key) {
|
|
6391
|
-
|
|
6392
|
-
|
|
6393
|
-
|
|
6394
|
-
_constants_js__WEBPACK_IMPORTED_MODULE_9__.lang[key] = langs[key];
|
|
6404
|
+
var pack = unwrapModule(langs[key]);
|
|
6405
|
+
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)) {
|
|
6406
|
+
return;
|
|
6395
6407
|
}
|
|
6408
|
+
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])) {
|
|
6409
|
+
_constants_js__WEBPACK_IMPORTED_MODULE_11__.lang[key] = {};
|
|
6410
|
+
}
|
|
6411
|
+
Object.keys(pack).forEach(function(name) {
|
|
6412
|
+
if (!(0,_helpers_utils_is_unsafe_proto_key_js__WEBPACK_IMPORTED_MODULE_8__.isUnsafeProtoKey)(name)) {
|
|
6413
|
+
_constants_js__WEBPACK_IMPORTED_MODULE_11__.lang[key][name] = pack[name];
|
|
6414
|
+
}
|
|
6415
|
+
});
|
|
6396
6416
|
});
|
|
6397
6417
|
};
|
|
6398
6418
|
var boxes = new WeakMap();
|
|
@@ -6400,9 +6420,9 @@ var boxes = new WeakMap();
|
|
|
6400
6420
|
* Create unique box(HTMLCotainer) and remove it after destroy
|
|
6401
6421
|
*/ function getContainer(jodit, classFunc) {
|
|
6402
6422
|
var tag = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 'div', createInsideEditor = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : false;
|
|
6403
|
-
var name = (0,
|
|
6423
|
+
var 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';
|
|
6404
6424
|
var data = boxes.get(jodit) || {}, key = name + tag;
|
|
6405
|
-
var view = (0,
|
|
6425
|
+
var view = (0,_helpers_checker_is_view_object_js__WEBPACK_IMPORTED_MODULE_3__.isViewObject)(jodit) ? jodit : jodit.j;
|
|
6406
6426
|
var body;
|
|
6407
6427
|
if (!data[key]) {
|
|
6408
6428
|
var c = view.c;
|
|
@@ -6413,18 +6433,18 @@ var boxes = new WeakMap();
|
|
|
6413
6433
|
body = (0,_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_0__.isJoditObject)(jodit) && jodit.o.shadowRoot ? jodit.o.shadowRoot : place;
|
|
6414
6434
|
}
|
|
6415
6435
|
var box = c.element(tag, {
|
|
6416
|
-
className: "jodit jodit-".concat((0,
|
|
6436
|
+
className: "jodit jodit-".concat((0,_helpers_string_kebab_case_js__WEBPACK_IMPORTED_MODULE_4__.kebabCase)(name), "-container jodit-box")
|
|
6417
6437
|
});
|
|
6418
6438
|
// Let a strict CSP accept the injected <style>/<script> box
|
|
6419
6439
|
if (view.o.nonce && (tag === 'style' || tag === 'script')) {
|
|
6420
|
-
(0,
|
|
6440
|
+
(0,_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_5__.attr)(box, 'nonce', view.o.nonce);
|
|
6421
6441
|
}
|
|
6422
6442
|
box.classList.add("jodit_theme_".concat(view.o.theme || 'default'));
|
|
6423
|
-
|
|
6443
|
+
_dom_index_js__WEBPACK_IMPORTED_MODULE_12__.Dom.append(body, box);
|
|
6424
6444
|
data[key] = box;
|
|
6425
6445
|
jodit.hookStatus('beforeDestruct', function() {
|
|
6426
6446
|
view.events.off(box);
|
|
6427
|
-
|
|
6447
|
+
_dom_index_js__WEBPACK_IMPORTED_MODULE_12__.Dom.safeRemove(box);
|
|
6428
6448
|
delete data[key];
|
|
6429
6449
|
if (Object.keys(data).length) {
|
|
6430
6450
|
boxes.delete(jodit);
|
|
@@ -6442,17 +6462,17 @@ var boxes = new WeakMap();
|
|
|
6442
6462
|
* @internal
|
|
6443
6463
|
*/ function getPopupViewRoot(o, container, defaultRoot) {
|
|
6444
6464
|
var _a, _b, _c;
|
|
6445
|
-
return (_c = (_b = (_a = o.popupRoot) !== null && _a !== void 0 ? _a : o.shadowRoot) !== null && _b !== void 0 ? _b :
|
|
6446
|
-
return
|
|
6465
|
+
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, function(parentElement) {
|
|
6466
|
+
return _dom_index_js__WEBPACK_IMPORTED_MODULE_12__.Dom.isHTMLElement(parentElement) && (_dom_index_js__WEBPACK_IMPORTED_MODULE_12__.Dom.isTag(parentElement, 'dialog') || [
|
|
6447
6467
|
'fixed',
|
|
6448
6468
|
'absolute'
|
|
6449
|
-
].includes((0,
|
|
6469
|
+
].includes((0,_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_6__.css)(parentElement, 'position')));
|
|
6450
6470
|
}, defaultRoot)) !== null && _c !== void 0 ? _c : defaultRoot;
|
|
6451
6471
|
}
|
|
6452
6472
|
/**
|
|
6453
6473
|
* Global event emitter
|
|
6454
6474
|
* @deprecated use `import { eventEmitter } from 'jodit/core/event-emitter/global';`
|
|
6455
|
-
*/ var eventEmitter =
|
|
6475
|
+
*/ var eventEmitter = _event_emitter_global_js__WEBPACK_IMPORTED_MODULE_10__.eventEmitter;
|
|
6456
6476
|
|
|
6457
6477
|
|
|
6458
6478
|
/***/ }),
|
|
@@ -8101,6 +8121,22 @@ function isSmuggledForeignHtml(elm) {
|
|
|
8101
8121
|
'background',
|
|
8102
8122
|
'xlink:href'
|
|
8103
8123
|
];
|
|
8124
|
+
/**
|
|
8125
|
+
* SVG animation elements can write a URL attribute at run time, as
|
|
8126
|
+
* `<animate attributeName="href" values="javascript:…">` does, and the
|
|
8127
|
+
* attributes below carry the values they write.
|
|
8128
|
+
*/ var ANIMATION_TAGS = new Set([
|
|
8129
|
+
'animate',
|
|
8130
|
+
'set',
|
|
8131
|
+
'animatemotion',
|
|
8132
|
+
'animatetransform'
|
|
8133
|
+
]);
|
|
8134
|
+
var ANIMATION_VALUE_ATTRIBUTES = [
|
|
8135
|
+
'values',
|
|
8136
|
+
'from',
|
|
8137
|
+
'to',
|
|
8138
|
+
'by'
|
|
8139
|
+
];
|
|
8104
8140
|
/**
|
|
8105
8141
|
* Tags that load their URL as a *document* (scripts inside run). An SVG data
|
|
8106
8142
|
* URL is only an XSS vector here — as an `<img>` source it renders inertly.
|
|
@@ -8192,6 +8228,38 @@ function sanitizeHTMLElement(elm) {
|
|
|
8192
8228
|
}
|
|
8193
8229
|
}
|
|
8194
8230
|
}
|
|
8231
|
+
// SMIL sets the attribute on click time, after the static check above:
|
|
8232
|
+
// `<svg><a><animate attributeName="href" values="javascript:…">` ran
|
|
8233
|
+
// in Chromium and Safari. Drop the values that hold a dangerous
|
|
8234
|
+
// scheme; `values` is a `;` list. See GHSA-6wrw-v5gj-6xg7
|
|
8235
|
+
if (ANIMATION_TAGS.has(tagName)) {
|
|
8236
|
+
var _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = undefined;
|
|
8237
|
+
try {
|
|
8238
|
+
for(var _iterator1 = ANIMATION_VALUE_ATTRIBUTES[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true){
|
|
8239
|
+
var name1 = _step1.value;
|
|
8240
|
+
var value1 = (0,_utils_attr_js__WEBPACK_IMPORTED_MODULE_2__.attrRaw)(elm, name1);
|
|
8241
|
+
if (value1 && value1.split(';').some(function(part) {
|
|
8242
|
+
return isDangerousUrl(part, 'a');
|
|
8243
|
+
})) {
|
|
8244
|
+
(0,_utils_index_js__WEBPACK_IMPORTED_MODULE_1__.attr)(elm, name1, null);
|
|
8245
|
+
effected = true;
|
|
8246
|
+
}
|
|
8247
|
+
}
|
|
8248
|
+
} catch (err) {
|
|
8249
|
+
_didIteratorError1 = true;
|
|
8250
|
+
_iteratorError1 = err;
|
|
8251
|
+
} finally{
|
|
8252
|
+
try {
|
|
8253
|
+
if (!_iteratorNormalCompletion1 && _iterator1.return != null) {
|
|
8254
|
+
_iterator1.return();
|
|
8255
|
+
}
|
|
8256
|
+
} finally{
|
|
8257
|
+
if (_didIteratorError1) {
|
|
8258
|
+
throw _iteratorError1;
|
|
8259
|
+
}
|
|
8260
|
+
}
|
|
8261
|
+
}
|
|
8262
|
+
}
|
|
8195
8263
|
}
|
|
8196
8264
|
return effected;
|
|
8197
8265
|
}
|
|
@@ -21599,7 +21667,7 @@ var UITooltip = UITooltip_1 = /*#__PURE__*/ function(UIElement) {
|
|
|
21599
21667
|
_this.__currentTarget = null;
|
|
21600
21668
|
_this.__delayShowTimeout = 0;
|
|
21601
21669
|
_this.__hideTimeout = 0;
|
|
21602
|
-
if (
|
|
21670
|
+
if (_this.__isEnabled) {
|
|
21603
21671
|
_this.j.e.on('getContainer', function(box) {
|
|
21604
21672
|
_this.__onAttach(box);
|
|
21605
21673
|
});
|
|
@@ -21622,6 +21690,24 @@ var UITooltip = UITooltip_1 = /*#__PURE__*/ function(UIElement) {
|
|
|
21622
21690
|
return '<div><div class="&__content"></div></div>';
|
|
21623
21691
|
}
|
|
21624
21692
|
},
|
|
21693
|
+
{
|
|
21694
|
+
key: "__isEnabled",
|
|
21695
|
+
get: function get() {
|
|
21696
|
+
var o = this.j.o;
|
|
21697
|
+
return !o.textIcons && Boolean(o.showTooltip) && !o.useNativeTooltip;
|
|
21698
|
+
}
|
|
21699
|
+
},
|
|
21700
|
+
{
|
|
21701
|
+
/**
|
|
21702
|
+
* Show tooltips for the buttons in an element outside the editor's
|
|
21703
|
+
* container, such as a toolbar placed by the `toolbar` option
|
|
21704
|
+
*/ key: "attach",
|
|
21705
|
+
value: function attach(container) {
|
|
21706
|
+
if (this.__isEnabled) {
|
|
21707
|
+
this.__onAttach(container);
|
|
21708
|
+
}
|
|
21709
|
+
}
|
|
21710
|
+
},
|
|
21625
21711
|
{
|
|
21626
21712
|
key: "__onAttach",
|
|
21627
21713
|
value: function __onAttach(container) {
|
|
@@ -26350,7 +26436,12 @@ var ViewWithToolbar = /*#__PURE__*/ function(View) {
|
|
|
26350
26436
|
return;
|
|
26351
26437
|
}
|
|
26352
26438
|
var buttons = this.o.buttons ? (0,_helpers_array_index_js__WEBPACK_IMPORTED_MODULE_4__.splitArray)(this.o.buttons) : [];
|
|
26353
|
-
|
|
26439
|
+
var container = this.toolbarContainer;
|
|
26440
|
+
(_a = this.toolbar) === null || _a === void 0 ? void 0 : _a.setRemoveButtons(this.o.removeButtons).build(buttons.concat(this.o.extraButtons || [])).appendTo(container);
|
|
26441
|
+
// The toolbar's own element, as editors can share the one it is placed in
|
|
26442
|
+
if (this.toolbar && !_dom_dom_js__WEBPACK_IMPORTED_MODULE_3__.Dom.isOrContains(this.container, container)) {
|
|
26443
|
+
this.__tooltip.attach(this.toolbar.container);
|
|
26444
|
+
}
|
|
26354
26445
|
}
|
|
26355
26446
|
},
|
|
26356
26447
|
{
|
|
@@ -28780,6 +28871,9 @@ Jodit.decorators = {};
|
|
|
28780
28871
|
Jodit.constants = _core_constants_js__WEBPACK_IMPORTED_MODULE_0__;
|
|
28781
28872
|
Jodit.instances = _core_global_js__WEBPACK_IMPORTED_MODULE_2__.instances;
|
|
28782
28873
|
Jodit.lang = _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.lang;
|
|
28874
|
+
/**
|
|
28875
|
+
* Merge language packs into `Jodit.lang`; prototype keys are ignored
|
|
28876
|
+
*/ Jodit.extendLang = _core_global_js__WEBPACK_IMPORTED_MODULE_2__.extendLang;
|
|
28783
28877
|
Jodit.core = {
|
|
28784
28878
|
Plugin: _modules_index_js__WEBPACK_IMPORTED_MODULE_9__.Plugin
|
|
28785
28879
|
};
|
|
@@ -35113,34 +35207,35 @@ function addClassNames(className, elm) {
|
|
|
35113
35207
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
35114
35208
|
|
|
35115
35209
|
/* harmony import */ var _core_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(68345);
|
|
35116
|
-
/* harmony import */ var
|
|
35117
|
-
/* harmony import */ var
|
|
35118
|
-
/* harmony import */ var
|
|
35119
|
-
/* harmony import */ var
|
|
35120
|
-
/* harmony import */ var
|
|
35121
|
-
/* harmony import */ var
|
|
35122
|
-
/* harmony import */ var
|
|
35123
|
-
/* harmony import */ var
|
|
35124
|
-
/* harmony import */ var
|
|
35125
|
-
/* harmony import */ var
|
|
35126
|
-
/* harmony import */ var
|
|
35127
|
-
/* harmony import */ var
|
|
35128
|
-
/* harmony import */ var
|
|
35129
|
-
/* harmony import */ var
|
|
35130
|
-
/* harmony import */ var
|
|
35131
|
-
/* harmony import */ var
|
|
35132
|
-
/* harmony import */ var
|
|
35133
|
-
/* harmony import */ var
|
|
35134
|
-
/* harmony import */ var
|
|
35135
|
-
/* harmony import */ var
|
|
35136
|
-
/* harmony import */ var
|
|
35137
|
-
/* harmony import */ var
|
|
35138
|
-
/* harmony import */ var
|
|
35139
|
-
/* harmony import */ var
|
|
35140
|
-
/* harmony import */ var
|
|
35141
|
-
/* harmony import */ var
|
|
35142
|
-
/* harmony import */ var
|
|
35143
|
-
/* harmony import */ var
|
|
35210
|
+
/* harmony import */ var _core_helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(72430);
|
|
35211
|
+
/* harmony import */ var _langs_ar_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(79910);
|
|
35212
|
+
/* harmony import */ var _langs_az_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(95342);
|
|
35213
|
+
/* harmony import */ var _langs_cs_cz_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(4795);
|
|
35214
|
+
/* harmony import */ var _langs_de_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(62770);
|
|
35215
|
+
/* harmony import */ var _langs_en_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(1830);
|
|
35216
|
+
/* harmony import */ var _langs_es_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(86273);
|
|
35217
|
+
/* harmony import */ var _langs_fa_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(97552);
|
|
35218
|
+
/* harmony import */ var _langs_fi_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(82168);
|
|
35219
|
+
/* harmony import */ var _langs_fr_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(85017);
|
|
35220
|
+
/* harmony import */ var _langs_he_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(32726);
|
|
35221
|
+
/* harmony import */ var _langs_hu_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(67078);
|
|
35222
|
+
/* harmony import */ var _langs_id_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(92648);
|
|
35223
|
+
/* harmony import */ var _langs_it_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(62232);
|
|
35224
|
+
/* harmony import */ var _langs_ja_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(62700);
|
|
35225
|
+
/* harmony import */ var _langs_keys_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(75445);
|
|
35226
|
+
/* harmony import */ var _langs_ko_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(97519);
|
|
35227
|
+
/* harmony import */ var _langs_mn_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(80926);
|
|
35228
|
+
/* harmony import */ var _langs_nl_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(52995);
|
|
35229
|
+
/* harmony import */ var _langs_no_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(59526);
|
|
35230
|
+
/* harmony import */ var _langs_pl_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(40565);
|
|
35231
|
+
/* harmony import */ var _langs_pt_br_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(19292);
|
|
35232
|
+
/* harmony import */ var _langs_ru_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(83160);
|
|
35233
|
+
/* harmony import */ var _langs_sk_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(57571);
|
|
35234
|
+
/* harmony import */ var _langs_sv_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(66824);
|
|
35235
|
+
/* harmony import */ var _langs_tr_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(28923);
|
|
35236
|
+
/* harmony import */ var _langs_ua_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(19007);
|
|
35237
|
+
/* harmony import */ var _langs_zh_cn_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(60175);
|
|
35238
|
+
/* harmony import */ var _langs_zh_tw_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(69159);
|
|
35144
35239
|
/*!
|
|
35145
35240
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35146
35241
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35172,43 +35267,45 @@ function addClassNames(className, elm) {
|
|
|
35172
35267
|
|
|
35173
35268
|
|
|
35174
35269
|
|
|
35270
|
+
|
|
35175
35271
|
|
|
35176
35272
|
|
|
35177
35273
|
var exp = {};
|
|
35178
35274
|
exp = {
|
|
35179
|
-
ar:
|
|
35180
|
-
az:
|
|
35181
|
-
cs_cz:
|
|
35182
|
-
de:
|
|
35183
|
-
en:
|
|
35184
|
-
es:
|
|
35185
|
-
fa:
|
|
35186
|
-
fi:
|
|
35187
|
-
fr:
|
|
35188
|
-
he:
|
|
35189
|
-
hu:
|
|
35190
|
-
id:
|
|
35191
|
-
it:
|
|
35192
|
-
ja:
|
|
35193
|
-
ko:
|
|
35194
|
-
mn:
|
|
35195
|
-
nl:
|
|
35196
|
-
no:
|
|
35197
|
-
pl:
|
|
35198
|
-
pt_br:
|
|
35199
|
-
ru:
|
|
35200
|
-
sk:
|
|
35201
|
-
sv:
|
|
35202
|
-
tr:
|
|
35203
|
-
ua:
|
|
35204
|
-
zh_cn:
|
|
35205
|
-
zh_tw:
|
|
35275
|
+
ar: _langs_ar_js__WEBPACK_IMPORTED_MODULE_2__["default"],
|
|
35276
|
+
az: _langs_az_js__WEBPACK_IMPORTED_MODULE_3__["default"],
|
|
35277
|
+
cs_cz: _langs_cs_cz_js__WEBPACK_IMPORTED_MODULE_4__["default"],
|
|
35278
|
+
de: _langs_de_js__WEBPACK_IMPORTED_MODULE_5__["default"],
|
|
35279
|
+
en: _langs_en_js__WEBPACK_IMPORTED_MODULE_6__["default"],
|
|
35280
|
+
es: _langs_es_js__WEBPACK_IMPORTED_MODULE_7__["default"],
|
|
35281
|
+
fa: _langs_fa_js__WEBPACK_IMPORTED_MODULE_8__["default"],
|
|
35282
|
+
fi: _langs_fi_js__WEBPACK_IMPORTED_MODULE_9__["default"],
|
|
35283
|
+
fr: _langs_fr_js__WEBPACK_IMPORTED_MODULE_10__["default"],
|
|
35284
|
+
he: _langs_he_js__WEBPACK_IMPORTED_MODULE_11__["default"],
|
|
35285
|
+
hu: _langs_hu_js__WEBPACK_IMPORTED_MODULE_12__["default"],
|
|
35286
|
+
id: _langs_id_js__WEBPACK_IMPORTED_MODULE_13__["default"],
|
|
35287
|
+
it: _langs_it_js__WEBPACK_IMPORTED_MODULE_14__["default"],
|
|
35288
|
+
ja: _langs_ja_js__WEBPACK_IMPORTED_MODULE_15__["default"],
|
|
35289
|
+
ko: _langs_ko_js__WEBPACK_IMPORTED_MODULE_17__["default"],
|
|
35290
|
+
mn: _langs_mn_js__WEBPACK_IMPORTED_MODULE_18__["default"],
|
|
35291
|
+
nl: _langs_nl_js__WEBPACK_IMPORTED_MODULE_19__["default"],
|
|
35292
|
+
no: _langs_no_js__WEBPACK_IMPORTED_MODULE_20__["default"],
|
|
35293
|
+
pl: _langs_pl_js__WEBPACK_IMPORTED_MODULE_21__["default"],
|
|
35294
|
+
pt_br: _langs_pt_br_js__WEBPACK_IMPORTED_MODULE_22__["default"],
|
|
35295
|
+
ru: _langs_ru_js__WEBPACK_IMPORTED_MODULE_23__["default"],
|
|
35296
|
+
sk: _langs_sk_js__WEBPACK_IMPORTED_MODULE_24__["default"],
|
|
35297
|
+
sv: _langs_sv_js__WEBPACK_IMPORTED_MODULE_25__["default"],
|
|
35298
|
+
tr: _langs_tr_js__WEBPACK_IMPORTED_MODULE_26__["default"],
|
|
35299
|
+
ua: _langs_ua_js__WEBPACK_IMPORTED_MODULE_27__["default"],
|
|
35300
|
+
zh_cn: _langs_zh_cn_js__WEBPACK_IMPORTED_MODULE_28__["default"],
|
|
35301
|
+
zh_tw: _langs_zh_tw_js__WEBPACK_IMPORTED_MODULE_29__["default"]
|
|
35206
35302
|
};
|
|
35207
|
-
/* Unpack array to hash */
|
|
35208
|
-
|
|
35303
|
+
/* 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`)
|
|
35304
|
+
var get = function get(value) {
|
|
35305
|
+
return 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 : {};
|
|
35209
35306
|
}, hashLang = {};
|
|
35210
|
-
if ((0,_core_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_0__.isArray)(get(
|
|
35211
|
-
get(
|
|
35307
|
+
if ((0,_core_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_0__.isArray)(get(_langs_keys_js__WEBPACK_IMPORTED_MODULE_16__["default"]))) {
|
|
35308
|
+
get(_langs_keys_js__WEBPACK_IMPORTED_MODULE_16__["default"]).forEach(function(key, index) {
|
|
35212
35309
|
hashLang[index] = key;
|
|
35213
35310
|
});
|
|
35214
35311
|
}
|
|
@@ -47288,7 +47385,7 @@ var ns = 'addnewline';
|
|
|
47288
47385
|
};
|
|
47289
47386
|
_this.__onClickLine = function(e) {
|
|
47290
47387
|
var editor = _this.j;
|
|
47291
|
-
var p =
|
|
47388
|
+
var p = _this.__newLine();
|
|
47292
47389
|
if (_this.__isBeforeContent && _this.__current && _this.__current.parentNode) {
|
|
47293
47390
|
if (_this.__current === editor.editor) {
|
|
47294
47391
|
_modules_index_js__WEBPACK_IMPORTED_MODULE_5__.Dom.prepend(editor.editor, p);
|
|
@@ -47373,18 +47470,38 @@ var ns = 'addnewline';
|
|
|
47373
47470
|
},
|
|
47374
47471
|
{
|
|
47375
47472
|
/**
|
|
47473
|
+
* An empty line with a `<br>`, as Enter makes, so it keeps its height
|
|
47474
|
+
* without clean-html's fillEmptyParagraph (#1807)
|
|
47475
|
+
*/ key: "__newLine",
|
|
47476
|
+
value: function __newLine() {
|
|
47477
|
+
var j = this.j;
|
|
47478
|
+
var line = j.createInside.element(j.o.enter);
|
|
47479
|
+
if (!_modules_index_js__WEBPACK_IMPORTED_MODULE_5__.Dom.isTag(line, 'br')) {
|
|
47480
|
+
_modules_index_js__WEBPACK_IMPORTED_MODULE_5__.Dom.append(line, j.createInside.element('br'));
|
|
47481
|
+
}
|
|
47482
|
+
return line;
|
|
47483
|
+
}
|
|
47484
|
+
},
|
|
47485
|
+
{
|
|
47486
|
+
/**
|
|
47376
47487
|
* A paragraph holding only an embed has no place for the caret, so the
|
|
47377
47488
|
* arrow keys can't get past one that ends the content, or before one that
|
|
47378
47489
|
* starts it. When an arrow key leaves the caret where it was and there is
|
|
47379
47490
|
* content beyond it, a new line goes there, as when the line is clicked.
|
|
47380
47491
|
*/ key: "onArrowKey",
|
|
47381
47492
|
value: function onArrowKey(e) {
|
|
47493
|
+
var _this = this;
|
|
47382
47494
|
var editor = this.j;
|
|
47383
47495
|
var forward = e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN || e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_RIGHT;
|
|
47384
47496
|
if (!editor.o.addNewLine || editor.o.readonly || editor.isLocked || e.shiftKey || !(forward || e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_UP || e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_LEFT) || !editor.s.isCollapsed()) {
|
|
47385
47497
|
return;
|
|
47386
47498
|
}
|
|
47387
47499
|
var _editor_s_range = editor.s.range, startContainer = _editor_s_range.startContainer, startOffset = _editor_s_range.startOffset;
|
|
47500
|
+
// A caret in the editor itself, as beside a horizontal line, is in no
|
|
47501
|
+
// paragraph, and the browsers can leave it there with text beyond (#1803)
|
|
47502
|
+
if (startContainer === editor.editor) {
|
|
47503
|
+
return;
|
|
47504
|
+
}
|
|
47388
47505
|
// Once the browser has moved the caret, if it could. With a 0 timeout
|
|
47389
47506
|
// Jodit would run this at once, before the browser moves it
|
|
47390
47507
|
editor.async.setTimeout(function() {
|
|
@@ -47393,7 +47510,7 @@ var ns = 'addnewline';
|
|
|
47393
47510
|
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)) {
|
|
47394
47511
|
return;
|
|
47395
47512
|
}
|
|
47396
|
-
var p =
|
|
47513
|
+
var p = _this.__newLine();
|
|
47397
47514
|
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);
|
|
47398
47515
|
editor.s.setCursorIn(p);
|
|
47399
47516
|
(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.scrollIntoViewIfNeeded)(p, editor.editor, editor.ed);
|
|
@@ -47408,7 +47525,7 @@ var ns = 'addnewline';
|
|
|
47408
47525
|
if (!editor.o.readonly && editor.o.addNewLineOnDBLClick && e.target === editor.editor && editor.s.isCollapsed()) {
|
|
47409
47526
|
var editorBound = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.offset)(editor.editor, editor, editor.ed);
|
|
47410
47527
|
var top = e.pageY - editor.ew.scrollX;
|
|
47411
|
-
var p =
|
|
47528
|
+
var p = this.__newLine();
|
|
47412
47529
|
if (Math.abs(top - editorBound.top) < Math.abs(top - (editorBound.height + editorBound.top)) && editor.editor.firstChild) {
|
|
47413
47530
|
_modules_index_js__WEBPACK_IMPORTED_MODULE_5__.Dom.prepend(editor.editor, p);
|
|
47414
47531
|
} else {
|
|
@@ -53754,6 +53871,7 @@ var deleteCommand = /*#__PURE__*/ function(Plugin) {
|
|
|
53754
53871
|
}
|
|
53755
53872
|
jodit.s.expandSelection();
|
|
53756
53873
|
var range = jodit.s.range;
|
|
53874
|
+
this.__moveEdgesIntoCells(range);
|
|
53757
53875
|
var caret = this.__clearSelectedCells(range);
|
|
53758
53876
|
if (caret && range.collapsed) {
|
|
53759
53877
|
jodit.s.selectRange(caret);
|
|
@@ -53778,6 +53896,25 @@ var deleteCommand = /*#__PURE__*/ function(Plugin) {
|
|
|
53778
53896
|
},
|
|
53779
53897
|
{
|
|
53780
53898
|
/**
|
|
53899
|
+
* Firefox selects cells whole from their row, as after a drag into or out
|
|
53900
|
+
* of a table nested in a cell, and `deleteContents` would remove them. The
|
|
53901
|
+
* edges move into the cells, so their content is cleared instead, as in
|
|
53902
|
+
* Firefox's own delete
|
|
53903
|
+
*/ key: "__moveEdgesIntoCells",
|
|
53904
|
+
value: function __moveEdgesIntoCells(range) {
|
|
53905
|
+
var startContainer = range.startContainer, startOffset = range.startOffset, endContainer = range.endContainer, endOffset = range.endOffset;
|
|
53906
|
+
var first = _core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isTag(startContainer, 'tr') ? startContainer.childNodes[startOffset] : null;
|
|
53907
|
+
var last = _core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isTag(endContainer, 'tr') ? endContainer.childNodes[endOffset - 1] : null;
|
|
53908
|
+
if (_core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isCell(first)) {
|
|
53909
|
+
range.setStart(first, 0);
|
|
53910
|
+
}
|
|
53911
|
+
if (_core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isCell(last)) {
|
|
53912
|
+
range.setEnd(last, last.childNodes.length);
|
|
53913
|
+
}
|
|
53914
|
+
}
|
|
53915
|
+
},
|
|
53916
|
+
{
|
|
53917
|
+
/**
|
|
53781
53918
|
* A selection that starts or ends in a table cell clears the selected part
|
|
53782
53919
|
* of each cell it covers and keeps the cells, as the browsers do.
|
|
53783
53920
|
* `deleteContents` would remove the cells it fully covers, and the cells
|
|
@@ -58178,6 +58315,11 @@ function hr(editor) {
|
|
|
58178
58315
|
return false;
|
|
58179
58316
|
}
|
|
58180
58317
|
var p = editor.createInside.element(editor.o.enter);
|
|
58318
|
+
// As Enter's new line has, so it keeps its height without clean-html's
|
|
58319
|
+
// fillEmptyParagraph (#1807)
|
|
58320
|
+
if (!_core_dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isTag(p, 'br')) {
|
|
58321
|
+
_core_dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.append(p, editor.createInside.element('br'));
|
|
58322
|
+
}
|
|
58181
58323
|
_core_dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.after(elm, p);
|
|
58182
58324
|
editor.s.setCursorIn(p);
|
|
58183
58325
|
return false;
|
|
@@ -67507,11 +67649,15 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
67507
67649
|
}, "data-".concat(keyFake), 1));
|
|
67508
67650
|
(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'));
|
|
67509
67651
|
// The wrapper fits the media, whose size changes as its metadata loads
|
|
67510
|
-
// and as it's resized.
|
|
67652
|
+
// and as it's resized. It's inline, as the media is by default, so the
|
|
67653
|
+
// line's text-align still places it, or a block when the media is one.
|
|
67654
|
+
// A percentage width is of the line, so the wrapper is a block that
|
|
67655
|
+
// takes the line, and the media in it follows the text-align it inherits
|
|
67511
67656
|
var fit = function fit() {
|
|
67657
|
+
var ofLine = (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_5__.cssInline)(_$media, 'width').endsWith('%');
|
|
67512
67658
|
(0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_5__.css)(wrapper, {
|
|
67513
|
-
display: (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_5__.
|
|
67514
|
-
width:
|
|
67659
|
+
display: !ofLine && /^inline/.test((0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_5__.css)(_$media, 'display').toString()) ? 'inline-block' : 'block',
|
|
67660
|
+
width: ofLine ? '' : 'fit-content',
|
|
67515
67661
|
height: ''
|
|
67516
67662
|
});
|
|
67517
67663
|
};
|
|
@@ -72449,8 +72595,11 @@ var IFRAME_WRAPPER = '[data-jodit_iframe_wrapper]';
|
|
|
72449
72595
|
// is nothing measurable at all, let the wrapper size itself.
|
|
72450
72596
|
var width = element.offsetWidth || attrPixelSize(element, 'width');
|
|
72451
72597
|
var height = element.offsetHeight || attrPixelSize(element, 'height');
|
|
72598
|
+
// The wrapper takes the iframe's place in its line: inline, as an
|
|
72599
|
+
// iframe is by default, so the line's text-align still places it,
|
|
72600
|
+
// or a block when the iframe is one
|
|
72452
72601
|
(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.css)(wrapper, {
|
|
72453
|
-
display: (0,
|
|
72602
|
+
display: /^inline/.test((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.css)(element, 'display').toString()) ? 'inline-block' : 'block'
|
|
72454
72603
|
});
|
|
72455
72604
|
if (width) {
|
|
72456
72605
|
(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.css)(wrapper, 'width', width);
|
|
@@ -74869,20 +75018,14 @@ var selectCells = /*#__PURE__*/ function(Plugin) {
|
|
|
74869
75018
|
* Mouse move inside the table
|
|
74870
75019
|
*/ key: "__onMove",
|
|
74871
75020
|
value: function __onMove(table, e) {
|
|
74872
|
-
var _a
|
|
75021
|
+
var _a;
|
|
74873
75022
|
if (this.j.o.readonly && !this.j.isLocked) {
|
|
74874
75023
|
return;
|
|
74875
75024
|
}
|
|
74876
75025
|
if (this.j.isLockedNotBy(key)) {
|
|
74877
75026
|
return;
|
|
74878
75027
|
}
|
|
74879
|
-
|
|
74880
|
-
// host, so the lookup must start from the shadow root
|
|
74881
|
-
var node = ((_a = this.j.o.shadowRoot) !== null && _a !== void 0 ? _a : this.j.ed).elementFromPoint(e.clientX, e.clientY);
|
|
74882
|
-
var cell = node && _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.closest(node, [
|
|
74883
|
-
'td',
|
|
74884
|
-
'th'
|
|
74885
|
-
], table);
|
|
75028
|
+
var cell = this.__cellUnder(e, table);
|
|
74886
75029
|
if (!cell || !this.__selectedCell) {
|
|
74887
75030
|
return;
|
|
74888
75031
|
}
|
|
@@ -74908,7 +75051,7 @@ var selectCells = /*#__PURE__*/ function(Plugin) {
|
|
|
74908
75051
|
}
|
|
74909
75052
|
var cellsCount = this.__tableModule.getAllSelectedCells().length;
|
|
74910
75053
|
if (cellsCount > 1) {
|
|
74911
|
-
(
|
|
75054
|
+
(_a = this.j.s.sel) === null || _a === void 0 ? void 0 : _a.removeAllRanges();
|
|
74912
75055
|
}
|
|
74913
75056
|
this.j.e.fire('hidePopup');
|
|
74914
75057
|
e.stopPropagation();
|
|
@@ -74930,34 +75073,33 @@ var selectCells = /*#__PURE__*/ function(Plugin) {
|
|
|
74930
75073
|
this.__selectedCell = null;
|
|
74931
75074
|
}
|
|
74932
75075
|
},
|
|
75076
|
+
{
|
|
75077
|
+
// The cell of this table under the pointer; over a table nested in a cell, the mouse is still in that cell
|
|
75078
|
+
key: "__cellUnder",
|
|
75079
|
+
value: function __cellUnder(e, table) {
|
|
75080
|
+
var _a;
|
|
75081
|
+
// Inside Shadow DOM `document.elementFromPoint` returns the shadow
|
|
75082
|
+
// host, so the lookup must start from the shadow root
|
|
75083
|
+
var node = ((_a = this.j.o.shadowRoot) !== null && _a !== void 0 ? _a : this.j.ed).elementFromPoint(e.clientX, e.clientY);
|
|
75084
|
+
return _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.closest(node, function(elm) {
|
|
75085
|
+
return _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isCell(elm) && !_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.closest(elm, 'table', table);
|
|
75086
|
+
}, table);
|
|
75087
|
+
}
|
|
75088
|
+
},
|
|
74933
75089
|
{
|
|
74934
75090
|
/**
|
|
74935
75091
|
* Stop a selection process
|
|
74936
75092
|
*/ key: "__onStopSelection",
|
|
74937
75093
|
value: function __onStopSelection(table, e) {
|
|
74938
|
-
var _a;
|
|
74939
75094
|
if (!this.__selectedCell) {
|
|
74940
75095
|
return;
|
|
74941
75096
|
}
|
|
74942
75097
|
this.__isSelectionMode = false;
|
|
74943
75098
|
this.j.unlock();
|
|
74944
|
-
|
|
74945
|
-
// host, so the lookup must start from the shadow root
|
|
74946
|
-
var node = ((_a = this.j.o.shadowRoot) !== null && _a !== void 0 ? _a : this.j.ed).elementFromPoint(e.clientX, e.clientY);
|
|
74947
|
-
if (!node) {
|
|
74948
|
-
return;
|
|
74949
|
-
}
|
|
74950
|
-
var cell = _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.closest(node, [
|
|
74951
|
-
'td',
|
|
74952
|
-
'th'
|
|
74953
|
-
], table);
|
|
75099
|
+
var cell = this.__cellUnder(e, table);
|
|
74954
75100
|
if (!cell) {
|
|
74955
75101
|
return;
|
|
74956
75102
|
}
|
|
74957
|
-
var ownTable = _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.closest(cell, 'table', table);
|
|
74958
|
-
if (ownTable && ownTable !== table) {
|
|
74959
|
-
return; // Nested tables
|
|
74960
|
-
}
|
|
74961
75103
|
this.__showCellsPopup(table, [
|
|
74962
75104
|
cell,
|
|
74963
75105
|
this.__selectedCell
|