jodit-pro 4.19.6 → 4.19.9
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 +1 -1
- package/es2015/jodit.fat.min.js +3 -3
- package/es2015/jodit.js +82 -18
- package/es2015/jodit.min.js +3 -3
- 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 +1 -1
- package/es2015/plugins/finder/finder.js +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.js +3 -3
- package/es2018/jodit.min.js +3 -3
- 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.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 +1 -1
- package/es2021/jodit.fat.min.js +5 -5
- package/es2021/jodit.js +82 -18
- package/es2021/jodit.min.js +5 -5
- 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 +1 -1
- package/es2021/plugins/finder/finder.js +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 +1 -1
- package/es2021.en/jodit.fat.min.js +5 -5
- package/es2021.en/jodit.js +82 -18
- package/es2021.en/jodit.min.js +5 -5
- 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 +1 -1
- package/es2021.en/plugins/finder/finder.js +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 +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +92 -17
- package/es5/jodit.min.css +2 -2
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es5/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
- package/es5/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
- package/es5/plugins/autocomplete/autocomplete.css +1 -1
- package/es5/plugins/autocomplete/autocomplete.js +1 -1
- package/es5/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es5/plugins/backup/backup.css +1 -1
- package/es5/plugins/backup/backup.js +1 -1
- package/es5/plugins/backup/backup.min.js +1 -1
- package/es5/plugins/button-generator/button-generator.css +1 -1
- package/es5/plugins/button-generator/button-generator.js +1 -1
- package/es5/plugins/button-generator/button-generator.min.js +1 -1
- package/es5/plugins/change-case/change-case.js +1 -1
- package/es5/plugins/change-case/change-case.min.js +1 -1
- package/es5/plugins/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 +1 -1
- package/es5/plugins/finder/finder.js +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.9
|
|
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.9";
|
|
2338
2338
|
// prettier-ignore
|
|
2339
2339
|
var ES = "es5";
|
|
2340
2340
|
var IS_ES_MODERN = false;
|
|
@@ -12068,6 +12068,7 @@ var map = {};
|
|
|
12068
12068
|
/**
|
|
12069
12069
|
* Check if element is in view
|
|
12070
12070
|
*/ function inView(elm, root, doc) {
|
|
12071
|
+
var _a;
|
|
12071
12072
|
var rect = elm.getBoundingClientRect(), el = elm;
|
|
12072
12073
|
var top = rect.top, height = rect.height;
|
|
12073
12074
|
while(el && el !== root && el.parentNode){
|
|
@@ -12092,7 +12093,14 @@ var map = {};
|
|
|
12092
12093
|
// element scrolled above the top was wrongly reported as visible and never
|
|
12093
12094
|
// scrolled to. See #1279
|
|
12094
12095
|
var clientHeight = doc.documentElement && doc.documentElement.clientHeight || 0;
|
|
12095
|
-
|
|
12096
|
+
// `scrollIntoView` keeps clear of the document's `scroll-padding`, which
|
|
12097
|
+
// is how a page allows for a fixed header or footer, so its edges are the
|
|
12098
|
+
// viewport's edges here too
|
|
12099
|
+
var style = (_a = doc.defaultView) === null || _a === void 0 ? void 0 : _a.getComputedStyle(doc.documentElement), padding = function padding() {
|
|
12100
|
+
var value = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : '';
|
|
12101
|
+
return value.endsWith('%') ? parseFloat(value) * clientHeight / 100 : parseFloat(value) || 0;
|
|
12102
|
+
}, viewTop = padding(style === null || style === void 0 ? void 0 : style.scrollPaddingTop), viewBottom = clientHeight - padding(style === null || style === void 0 ? void 0 : style.scrollPaddingBottom);
|
|
12103
|
+
return (top + height <= viewBottom + SUBPIXEL_TOLERANCE || top <= viewTop) && top + height >= viewTop;
|
|
12096
12104
|
}
|
|
12097
12105
|
/**
|
|
12098
12106
|
* Scroll element into view if it is not in view
|
|
@@ -15571,7 +15579,9 @@ var Selection = /*#__PURE__*/ function() {
|
|
|
15571
15579
|
}
|
|
15572
15580
|
if (sel && sel.rangeCount) {
|
|
15573
15581
|
var range = sel.getRangeAt(0);
|
|
15574
|
-
|
|
15582
|
+
// A block has no first child outside itself to go by, and what's
|
|
15583
|
+
// left beside it would show as a line of its own
|
|
15584
|
+
var isBlock = _dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isBlock(node), first = isBlock ? node : node.firstChild;
|
|
15575
15585
|
if (_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isOrContains(_this.area, range.commonAncestorContainer)) {
|
|
15576
15586
|
_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.safeInsertNode(range, node);
|
|
15577
15587
|
} else {
|
|
@@ -15579,14 +15589,17 @@ var Selection = /*#__PURE__*/ function() {
|
|
|
15579
15589
|
}
|
|
15580
15590
|
[
|
|
15581
15591
|
function() {
|
|
15582
|
-
return
|
|
15592
|
+
return first === null || first === void 0 ? void 0 : first.previousSibling;
|
|
15583
15593
|
},
|
|
15584
15594
|
function() {
|
|
15585
|
-
return
|
|
15595
|
+
return first === null || first === void 0 ? void 0 : first.previousSibling;
|
|
15586
15596
|
},
|
|
15587
15597
|
function() {
|
|
15588
15598
|
var _a;
|
|
15589
|
-
return (_a =
|
|
15599
|
+
return (_a = first === null || first === void 0 ? void 0 : first.previousSibling) === null || _a === void 0 ? void 0 : _a.lastChild;
|
|
15600
|
+
},
|
|
15601
|
+
function() {
|
|
15602
|
+
return isBlock ? node.nextSibling : null;
|
|
15590
15603
|
}
|
|
15591
15604
|
].forEach(function(getChildNode) {
|
|
15592
15605
|
var childNode = getChildNode();
|
|
@@ -53209,6 +53222,7 @@ var deleteCommand = /*#__PURE__*/ function(Plugin) {
|
|
|
53209
53222
|
var rightSibling = _core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.findSibling(fake, false);
|
|
53210
53223
|
this.__moveContentInLeftSibling(fake, leftSibling, rightSibling);
|
|
53211
53224
|
this.__keepSpacesVisible(fake);
|
|
53225
|
+
this.__keepSpacesVisibleBesideTable(fake);
|
|
53212
53226
|
range.setStartBefore(fake);
|
|
53213
53227
|
range.collapse(true);
|
|
53214
53228
|
this.__moveCursorInEditableSibling(jodit, leftSibling, fake, range);
|
|
@@ -53229,6 +53243,7 @@ var deleteCommand = /*#__PURE__*/ function(Plugin) {
|
|
|
53229
53243
|
* Returns where the caret goes, or null when no table is involved
|
|
53230
53244
|
*/ key: "__clearSelectedCells",
|
|
53231
53245
|
value: function __clearSelectedCells(range) {
|
|
53246
|
+
var _this = this;
|
|
53232
53247
|
var _this_j = this.j, editor = _this_j.editor, createInside = _this_j.createInside;
|
|
53233
53248
|
var startCell = _core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.closest(range.startContainer, _core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isCell, editor);
|
|
53234
53249
|
var endCell = _core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.closest(range.endContainer, _core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isCell, editor);
|
|
@@ -53239,6 +53254,9 @@ var deleteCommand = /*#__PURE__*/ function(Plugin) {
|
|
|
53239
53254
|
var endTable = _core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.closest(endCell, 'table', editor);
|
|
53240
53255
|
var caret = range.cloneRange();
|
|
53241
53256
|
caret.collapse(true);
|
|
53257
|
+
// Where the selection ends, which follows the deletion in its cell
|
|
53258
|
+
var end = range.cloneRange();
|
|
53259
|
+
end.collapse(false);
|
|
53242
53260
|
var parts = [];
|
|
53243
53261
|
var addParts = function addParts(table) {
|
|
53244
53262
|
(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.toArray)(table.rows).flatMap(function(row) {
|
|
@@ -53277,7 +53295,25 @@ var deleteCommand = /*#__PURE__*/ function(Plugin) {
|
|
|
53277
53295
|
if (_core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isEmpty(cell)) {
|
|
53278
53296
|
_core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.detach(cell);
|
|
53279
53297
|
_core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.append(cell, createInside.element('br'));
|
|
53298
|
+
return;
|
|
53280
53299
|
}
|
|
53300
|
+
// A space left at the cell's edge, where the selection started or
|
|
53301
|
+
// ended in it, would be hidden, as at a block's (#1783). Each edge
|
|
53302
|
+
// moves beside its fake, as making the space non-breaking would
|
|
53303
|
+
// move it to the start of its text
|
|
53304
|
+
[
|
|
53305
|
+
caret,
|
|
53306
|
+
end
|
|
53307
|
+
].filter(function(edge) {
|
|
53308
|
+
return _core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isOrContains(cell, edge.startContainer);
|
|
53309
|
+
}).forEach(function(edge) {
|
|
53310
|
+
var fake = createInside.fake();
|
|
53311
|
+
edge.insertNode(fake);
|
|
53312
|
+
_this.__keepSpacesVisible(fake);
|
|
53313
|
+
edge.setStartBefore(fake);
|
|
53314
|
+
edge.collapse(true);
|
|
53315
|
+
_core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.safeRemove(fake);
|
|
53316
|
+
});
|
|
53281
53317
|
});
|
|
53282
53318
|
return startTable ? caret : null;
|
|
53283
53319
|
}
|
|
@@ -53348,6 +53384,29 @@ var deleteCommand = /*#__PURE__*/ function(Plugin) {
|
|
|
53348
53384
|
},
|
|
53349
53385
|
{
|
|
53350
53386
|
/**
|
|
53387
|
+
* A deletion that starts or ends in a table leaves the fake between the
|
|
53388
|
+
* table and the block it reached into, and a space at that block's edge
|
|
53389
|
+
* would be hidden as well (#1783)
|
|
53390
|
+
*/ key: "__keepSpacesVisibleBesideTable",
|
|
53391
|
+
value: function __keepSpacesVisibleBesideTable(fake) {
|
|
53392
|
+
var before = _core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.findNotEmptySibling(fake, true);
|
|
53393
|
+
var after = _core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.findNotEmptySibling(fake, false);
|
|
53394
|
+
var block = _core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isTag(after, 'table') ? before : _core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isTag(before, 'table') ? after : null;
|
|
53395
|
+
if (!_core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isBlock(block) || _core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isTag(block, 'table')) {
|
|
53396
|
+
return;
|
|
53397
|
+
}
|
|
53398
|
+
var edge = this.jodit.createInside.fake();
|
|
53399
|
+
if (block === before) {
|
|
53400
|
+
_core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.append(block, edge);
|
|
53401
|
+
} else {
|
|
53402
|
+
block.insertBefore(edge, block.firstChild);
|
|
53403
|
+
}
|
|
53404
|
+
this.__keepSpacesVisible(edge);
|
|
53405
|
+
_core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.safeRemove(edge);
|
|
53406
|
+
}
|
|
53407
|
+
},
|
|
53408
|
+
{
|
|
53409
|
+
/**
|
|
53351
53410
|
* The text, line break or other element next to the caret in its block,
|
|
53352
53411
|
* looking inside inline elements
|
|
53353
53412
|
*/ key: "__findNeighbor",
|
|
@@ -54951,7 +55010,13 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_3__.pluginSystem.add('enter', enter);
|
|
|
54951
55010
|
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_1__.Dom.after(br, clone);
|
|
54952
55011
|
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_1__.Dom.before(clone, fake);
|
|
54953
55012
|
}
|
|
54954
|
-
|
|
55013
|
+
// The new `br` ends the line above, so it takes something on the
|
|
55014
|
+
// caret's own line to bring that line into view. Chrome won't scroll to
|
|
55015
|
+
// an inline element without width, but it will to a `br`
|
|
55016
|
+
var mark = br.cloneNode();
|
|
55017
|
+
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_1__.Dom.before(fake, mark);
|
|
55018
|
+
(0,_core_helpers_utils_scroll_into_view_js__WEBPACK_IMPORTED_MODULE_2__.scrollIntoViewIfNeeded)(mark, jodit.editor, jodit.ed);
|
|
55019
|
+
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_1__.Dom.safeRemove(mark);
|
|
54955
55020
|
return true;
|
|
54956
55021
|
}
|
|
54957
55022
|
return false;
|
|
@@ -55683,6 +55748,7 @@ _config_js__WEBPACK_IMPORTED_MODULE_5__.Config.prototype.font = {
|
|
|
55683
55748
|
}
|
|
55684
55749
|
};
|
|
55685
55750
|
_core_ui_icon_js__WEBPACK_IMPORTED_MODULE_4__.Icon.set('font', _icons_font_svg_js__WEBPACK_IMPORTED_MODULE_6__["default"]).set('fontsize', _icons_fontsize_svg_js__WEBPACK_IMPORTED_MODULE_7__["default"]);
|
|
55751
|
+
var hadSelection = new WeakSet();
|
|
55686
55752
|
_config_js__WEBPACK_IMPORTED_MODULE_5__.Config.prototype.controls.fontsize = {
|
|
55687
55753
|
command: 'fontsize',
|
|
55688
55754
|
data: {
|
|
@@ -55719,17 +55785,16 @@ _config_js__WEBPACK_IMPORTED_MODULE_5__.Config.prototype.controls.fontsize = {
|
|
|
55719
55785
|
tooltip: 'Font size',
|
|
55720
55786
|
value: function value(editor, button) {
|
|
55721
55787
|
var _a;
|
|
55722
|
-
var current = editor.s.current();
|
|
55723
|
-
|
|
55724
|
-
|
|
55725
|
-
|
|
55726
|
-
|
|
55727
|
-
if (
|
|
55788
|
+
var current = editor.s.current(), box = current && _core_dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.closest(current, _core_dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isElement, editor.editor), control = button.control;
|
|
55789
|
+
// A select names its value, so until there is a selection it shows the
|
|
55790
|
+
// editor's own size, and afterwards the size of the last one
|
|
55791
|
+
if (box) {
|
|
55792
|
+
hadSelection.add(button);
|
|
55793
|
+
} else if (control.component !== 'select' || hadSelection.has(button)) {
|
|
55728
55794
|
return;
|
|
55729
55795
|
}
|
|
55730
|
-
var control = button.control;
|
|
55731
55796
|
var cssKey = ((_a = control.data) === null || _a === void 0 ? void 0 : _a.cssRule) || 'font-size';
|
|
55732
|
-
var value = (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_3__.css)(box, cssKey);
|
|
55797
|
+
var value = (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_3__.css)(box || editor.editor, cssKey);
|
|
55733
55798
|
if (cssKey === 'font-size') {
|
|
55734
55799
|
var numValue = parseFloat(value.toString());
|
|
55735
55800
|
if (editor.o.defaultFontSizePoints === 'pt') {
|
|
@@ -55765,7 +55830,6 @@ _config_js__WEBPACK_IMPORTED_MODULE_5__.Config.prototype.controls.fontsize = {
|
|
|
55765
55830
|
return keySet.has(normalize(value.toString()));
|
|
55766
55831
|
}
|
|
55767
55832
|
};
|
|
55768
|
-
var hadSelection = new WeakSet();
|
|
55769
55833
|
_config_js__WEBPACK_IMPORTED_MODULE_5__.Config.prototype.controls.font = _object_spread_props(_object_spread({}, _config_js__WEBPACK_IMPORTED_MODULE_5__.Config.prototype.controls.fontsize), {
|
|
55770
55834
|
command: 'fontname',
|
|
55771
55835
|
textTemplate: function textTemplate(j, value) {
|
|
@@ -57399,6 +57463,17 @@ function _wrap_native_super(Class) {
|
|
|
57399
57463
|
40: 'down',
|
|
57400
57464
|
45: 'insert',
|
|
57401
57465
|
46: 'del',
|
|
57466
|
+
// With Shift the digit keys send other characters: `&` for 7
|
|
57467
|
+
48: '0',
|
|
57468
|
+
49: '1',
|
|
57469
|
+
50: '2',
|
|
57470
|
+
51: '3',
|
|
57471
|
+
52: '4',
|
|
57472
|
+
53: '5',
|
|
57473
|
+
54: '6',
|
|
57474
|
+
55: '7',
|
|
57475
|
+
56: '8',
|
|
57476
|
+
57: '9',
|
|
57402
57477
|
59: ';',
|
|
57403
57478
|
61: '=',
|
|
57404
57479
|
91: 'meta',
|
package/es5/jodit.min.css
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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.9
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
8
8
|
/*!
|
|
9
9
|
* jodit-pro - PRO Version of Jodit Editor
|
|
10
10
|
* Author: Chupurnov Valerii <chupurnov@gmail.com>
|
|
11
|
-
* Version: v4.19.
|
|
11
|
+
* Version: v4.19.9
|
|
12
12
|
* Url: https://xdsoft.net/jodit/pro/
|
|
13
13
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
14
14
|
*/
|