jodit-pro 4.15.11 → 4.15.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 +13 -13
- package/es2015/jodit.js +262 -13
- package/es2015/jodit.min.css +1 -1
- package/es2015/jodit.min.js +10 -10
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
- package/es2015/plugins/autocomplete/autocomplete.css +1 -1
- package/es2015/plugins/autocomplete/autocomplete.js +1 -1
- package/es2015/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2015/plugins/backup/backup.css +1 -1
- package/es2015/plugins/backup/backup.js +1 -1
- package/es2015/plugins/backup/backup.min.js +1 -1
- package/es2015/plugins/button-generator/button-generator.css +1 -1
- package/es2015/plugins/button-generator/button-generator.js +1 -1
- package/es2015/plugins/button-generator/button-generator.min.js +1 -1
- package/es2015/plugins/change-case/change-case.js +1 -1
- package/es2015/plugins/change-case/change-case.min.js +1 -1
- package/es2015/plugins/color-picker/color-picker.css +1 -1
- package/es2015/plugins/color-picker/color-picker.js +1 -1
- package/es2015/plugins/color-picker/color-picker.min.js +1 -1
- package/es2015/plugins/emoji/emoji.css +1 -1
- package/es2015/plugins/emoji/emoji.js +1 -1
- package/es2015/plugins/emoji/emoji.min.js +1 -1
- package/es2015/plugins/export-docs/export-docs.js +1 -1
- package/es2015/plugins/export-docs/export-docs.min.js +1 -1
- package/es2015/plugins/finder/finder.css +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/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 +10 -10
- package/es2018/jodit.min.css +1 -1
- package/es2018/jodit.min.js +8 -8
- package/es2018/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
- package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2018/plugins/backup/backup.min.js +1 -1
- package/es2018/plugins/button-generator/button-generator.min.js +1 -1
- package/es2018/plugins/change-case/change-case.min.js +1 -1
- package/es2018/plugins/color-picker/color-picker.min.js +1 -1
- package/es2018/plugins/emoji/emoji.min.js +1 -1
- package/es2018/plugins/export-docs/export-docs.min.js +1 -1
- package/es2018/plugins/finder/finder.min.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/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 +12 -12
- package/es2021/jodit.js +262 -13
- package/es2021/jodit.min.css +1 -1
- package/es2021/jodit.min.js +10 -10
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
- package/es2021/plugins/autocomplete/autocomplete.css +1 -1
- package/es2021/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2021/plugins/backup/backup.css +1 -1
- package/es2021/plugins/backup/backup.js +1 -1
- package/es2021/plugins/backup/backup.min.js +1 -1
- package/es2021/plugins/button-generator/button-generator.css +1 -1
- package/es2021/plugins/button-generator/button-generator.js +1 -1
- package/es2021/plugins/button-generator/button-generator.min.js +1 -1
- package/es2021/plugins/change-case/change-case.js +1 -1
- package/es2021/plugins/change-case/change-case.min.js +1 -1
- package/es2021/plugins/color-picker/color-picker.css +1 -1
- package/es2021/plugins/color-picker/color-picker.js +1 -1
- package/es2021/plugins/color-picker/color-picker.min.js +1 -1
- package/es2021/plugins/emoji/emoji.css +1 -1
- package/es2021/plugins/emoji/emoji.js +1 -1
- package/es2021/plugins/emoji/emoji.min.js +1 -1
- package/es2021/plugins/export-docs/export-docs.js +1 -1
- package/es2021/plugins/export-docs/export-docs.min.js +1 -1
- package/es2021/plugins/finder/finder.css +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/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 +262 -13
- package/es2021.en/jodit.min.css +1 -1
- package/es2021.en/jodit.min.js +11 -11
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
- package/es2021.en/plugins/autocomplete/autocomplete.css +1 -1
- package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021.en/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2021.en/plugins/backup/backup.css +1 -1
- package/es2021.en/plugins/backup/backup.js +1 -1
- package/es2021.en/plugins/backup/backup.min.js +1 -1
- package/es2021.en/plugins/button-generator/button-generator.css +1 -1
- package/es2021.en/plugins/button-generator/button-generator.js +1 -1
- package/es2021.en/plugins/button-generator/button-generator.min.js +1 -1
- package/es2021.en/plugins/change-case/change-case.js +1 -1
- package/es2021.en/plugins/change-case/change-case.min.js +1 -1
- package/es2021.en/plugins/color-picker/color-picker.css +1 -1
- package/es2021.en/plugins/color-picker/color-picker.js +1 -1
- package/es2021.en/plugins/color-picker/color-picker.min.js +1 -1
- package/es2021.en/plugins/emoji/emoji.css +1 -1
- package/es2021.en/plugins/emoji/emoji.js +1 -1
- package/es2021.en/plugins/emoji/emoji.min.js +1 -1
- package/es2021.en/plugins/export-docs/export-docs.js +1 -1
- package/es2021.en/plugins/export-docs/export-docs.min.js +1 -1
- package/es2021.en/plugins/finder/finder.css +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/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 +463 -13
- 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/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/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.15.
|
|
4
|
+
* Version: v4.15.13
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -2212,9 +2212,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2212
2212
|
/* harmony export */ KEY_BACKSPACE: function() { return /* binding */ KEY_BACKSPACE; },
|
|
2213
2213
|
/* harmony export */ KEY_DELETE: function() { return /* binding */ KEY_DELETE; },
|
|
2214
2214
|
/* harmony export */ KEY_DOWN: function() { return /* binding */ KEY_DOWN; },
|
|
2215
|
+
/* harmony export */ KEY_END: function() { return /* binding */ KEY_END; },
|
|
2215
2216
|
/* harmony export */ KEY_ENTER: function() { return /* binding */ KEY_ENTER; },
|
|
2216
2217
|
/* harmony export */ KEY_ESC: function() { return /* binding */ KEY_ESC; },
|
|
2217
2218
|
/* harmony export */ KEY_F3: function() { return /* binding */ KEY_F3; },
|
|
2219
|
+
/* harmony export */ KEY_HOME: function() { return /* binding */ KEY_HOME; },
|
|
2218
2220
|
/* harmony export */ KEY_LEFT: function() { return /* binding */ KEY_LEFT; },
|
|
2219
2221
|
/* harmony export */ KEY_META: function() { return /* binding */ KEY_META; },
|
|
2220
2222
|
/* harmony export */ KEY_RIGHT: function() { return /* binding */ KEY_RIGHT; },
|
|
@@ -2286,7 +2288,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
2286
2288
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
2287
2289
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
2288
2290
|
}
|
|
2289
|
-
var APP_VERSION = "4.15.
|
|
2291
|
+
var APP_VERSION = "4.15.13";
|
|
2290
2292
|
// prettier-ignore
|
|
2291
2293
|
var ES = "es5";
|
|
2292
2294
|
var IS_ES_MODERN = false;
|
|
@@ -2350,6 +2352,8 @@ var KEY_TAB = 'Tab';
|
|
|
2350
2352
|
var KEY_ENTER = 'Enter';
|
|
2351
2353
|
var KEY_ESC = 'Escape';
|
|
2352
2354
|
var KEY_ALT = 'Alt';
|
|
2355
|
+
var KEY_HOME = 'Home';
|
|
2356
|
+
var KEY_END = 'End';
|
|
2353
2357
|
var KEY_LEFT = 'ArrowLeft';
|
|
2354
2358
|
var KEY_UP = 'ArrowUp';
|
|
2355
2359
|
var KEY_RIGHT = 'ArrowRight';
|
|
@@ -14911,11 +14915,35 @@ var Selection = /*#__PURE__*/ function() {
|
|
|
14911
14915
|
}, this.area)) {
|
|
14912
14916
|
throw (0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.error)('Node element must be in editor');
|
|
14913
14917
|
}
|
|
14918
|
+
var target = !inward && this.__closestNotEditable(node) || node;
|
|
14914
14919
|
var range = this.createRange();
|
|
14915
|
-
range[inward ||
|
|
14920
|
+
range[inward || target === this.area ? 'selectNodeContents' : 'selectNode'](target);
|
|
14916
14921
|
return this.selectRange(range);
|
|
14917
14922
|
}
|
|
14918
14923
|
},
|
|
14924
|
+
{
|
|
14925
|
+
/**
|
|
14926
|
+
* The outermost `contenteditable="false"` ancestor of the node inside the
|
|
14927
|
+
* editable area, if there is one.
|
|
14928
|
+
*
|
|
14929
|
+
* A range can be put inside such an island (e.g. on an `<img>` wrapped in a
|
|
14930
|
+
* `<picture contenteditable="false">`), but the browser cannot place a caret
|
|
14931
|
+
* there: the arrow keys then have nothing to move from and the selection
|
|
14932
|
+
* cannot be escaped. Selecting the island itself keeps the range in editable
|
|
14933
|
+
* content, so the caret can step over it. See #1184
|
|
14934
|
+
*/ key: "__closestNotEditable",
|
|
14935
|
+
value: function __closestNotEditable(node) {
|
|
14936
|
+
var area = this.area;
|
|
14937
|
+
var result = null, elm = node.parentNode;
|
|
14938
|
+
while(elm && elm !== area && area.contains(elm)){
|
|
14939
|
+
if (_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isElement(elm) && elm.getAttribute('contenteditable') === 'false') {
|
|
14940
|
+
result = elm;
|
|
14941
|
+
}
|
|
14942
|
+
elm = elm.parentNode;
|
|
14943
|
+
}
|
|
14944
|
+
return result;
|
|
14945
|
+
}
|
|
14946
|
+
},
|
|
14919
14947
|
{
|
|
14920
14948
|
key: "html",
|
|
14921
14949
|
get: /**
|
|
@@ -25865,6 +25893,9 @@ var Jodit = Jodit_1 = /*#__PURE__*/ function(ViewWithToolbar) {
|
|
|
25865
25893
|
* Return source element value
|
|
25866
25894
|
*/ key: "getElementValue",
|
|
25867
25895
|
value: function getElementValue() {
|
|
25896
|
+
if (this.element === this.container && this.__inlineElementValue !== undefined) {
|
|
25897
|
+
return this.__inlineElementValue;
|
|
25898
|
+
}
|
|
25868
25899
|
return this.element.value !== undefined ? this.element.value : this.element.innerHTML;
|
|
25869
25900
|
}
|
|
25870
25901
|
},
|
|
@@ -25875,7 +25906,11 @@ var Jodit = Jodit_1 = /*#__PURE__*/ function(ViewWithToolbar) {
|
|
|
25875
25906
|
if (!(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isString)(value)) {
|
|
25876
25907
|
throw (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.error)('value must be string');
|
|
25877
25908
|
}
|
|
25878
|
-
if (this.element
|
|
25909
|
+
if (this.element === this.container) {
|
|
25910
|
+
this.__inlineElementValue = value;
|
|
25911
|
+
return;
|
|
25912
|
+
}
|
|
25913
|
+
if (value !== this.getElementValue()) {
|
|
25879
25914
|
var data = {
|
|
25880
25915
|
value: value
|
|
25881
25916
|
};
|
|
@@ -41043,6 +41078,19 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
41043
41078
|
|
|
41044
41079
|
|
|
41045
41080
|
|
|
41081
|
+
var INPUT_TAGS = new Set([
|
|
41082
|
+
'input',
|
|
41083
|
+
'textarea',
|
|
41084
|
+
'select'
|
|
41085
|
+
]);
|
|
41086
|
+
var FOCUSABLE_SELECTOR = [
|
|
41087
|
+
'button:not([disabled])',
|
|
41088
|
+
'a[href]',
|
|
41089
|
+
'input:not([disabled]):not([type="hidden"])',
|
|
41090
|
+
'select:not([disabled])',
|
|
41091
|
+
'textarea:not([disabled])',
|
|
41092
|
+
'[tabindex]:not([tabindex="-1"])'
|
|
41093
|
+
].join(',');
|
|
41046
41094
|
var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
41047
41095
|
"use strict";
|
|
41048
41096
|
_inherits(ToolbarButton, UIButton);
|
|
@@ -41342,7 +41390,14 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
41342
41390
|
{
|
|
41343
41391
|
key: "onTriggerKeyDown",
|
|
41344
41392
|
value: function onTriggerKeyDown(e) {
|
|
41345
|
-
if (this.state.disabled
|
|
41393
|
+
if (this.state.disabled) {
|
|
41394
|
+
return;
|
|
41395
|
+
}
|
|
41396
|
+
if (e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_1__.KEY_DOWN) {
|
|
41397
|
+
this.onButtonKeyDown(e);
|
|
41398
|
+
return;
|
|
41399
|
+
}
|
|
41400
|
+
if (![
|
|
41346
41401
|
_core_constants_js__WEBPACK_IMPORTED_MODULE_1__.KEY_ENTER,
|
|
41347
41402
|
_core_constants_js__WEBPACK_IMPORTED_MODULE_1__.KEY_SPACE,
|
|
41348
41403
|
' '
|
|
@@ -41355,6 +41410,77 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
41355
41410
|
},
|
|
41356
41411
|
{
|
|
41357
41412
|
/**
|
|
41413
|
+
* `ArrowDown` on a button with a trigger opens its dropdown and moves the
|
|
41414
|
+
* focus into it, like the WAI-ARIA menu button pattern
|
|
41415
|
+
*/ key: "onButtonKeyDown",
|
|
41416
|
+
value: function onButtonKeyDown(e) {
|
|
41417
|
+
var _a;
|
|
41418
|
+
if (e.key !== _core_constants_js__WEBPACK_IMPORTED_MODULE_1__.KEY_DOWN || this.state.disabled || !this.state.hasTrigger || e.altKey || e.ctrlKey || e.metaKey) {
|
|
41419
|
+
return;
|
|
41420
|
+
}
|
|
41421
|
+
e.preventDefault();
|
|
41422
|
+
e.stopPropagation();
|
|
41423
|
+
if (!this.openedPopup) {
|
|
41424
|
+
this.trigger.click();
|
|
41425
|
+
}
|
|
41426
|
+
(_a = this.__popupFocusables()[0]) === null || _a === void 0 ? void 0 : _a.focus();
|
|
41427
|
+
}
|
|
41428
|
+
},
|
|
41429
|
+
{
|
|
41430
|
+
/**
|
|
41431
|
+
* Inside the dropdown: `ArrowDown`/`ArrowUp` walk the items, `Escape` and
|
|
41432
|
+
* `ArrowUp` on the first item close it and give the focus back to the button
|
|
41433
|
+
*/ key: "__onPopupKeyDown",
|
|
41434
|
+
value: function __onPopupKeyDown(e) {
|
|
41435
|
+
if (!this.openedPopup || e.altKey || e.ctrlKey || e.metaKey) {
|
|
41436
|
+
return;
|
|
41437
|
+
}
|
|
41438
|
+
var target = e.target;
|
|
41439
|
+
// A text field keeps the arrow keys for itself
|
|
41440
|
+
if (_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_6__.Dom.isTag(target, INPUT_TAGS) && e.key !== _core_constants_js__WEBPACK_IMPORTED_MODULE_1__.KEY_ESC) {
|
|
41441
|
+
return;
|
|
41442
|
+
}
|
|
41443
|
+
var items = this.__popupFocusables(), index = items.indexOf(target);
|
|
41444
|
+
switch(e.key){
|
|
41445
|
+
case _core_constants_js__WEBPACK_IMPORTED_MODULE_1__.KEY_ESC:
|
|
41446
|
+
this.__closePopup();
|
|
41447
|
+
break;
|
|
41448
|
+
case _core_constants_js__WEBPACK_IMPORTED_MODULE_1__.KEY_UP:
|
|
41449
|
+
if (index <= 0) {
|
|
41450
|
+
this.__closePopup();
|
|
41451
|
+
} else {
|
|
41452
|
+
items[index - 1].focus();
|
|
41453
|
+
}
|
|
41454
|
+
break;
|
|
41455
|
+
case _core_constants_js__WEBPACK_IMPORTED_MODULE_1__.KEY_DOWN:
|
|
41456
|
+
if (!items.length) {
|
|
41457
|
+
return;
|
|
41458
|
+
}
|
|
41459
|
+
items[(index + 1) % items.length].focus();
|
|
41460
|
+
break;
|
|
41461
|
+
default:
|
|
41462
|
+
return;
|
|
41463
|
+
}
|
|
41464
|
+
e.preventDefault();
|
|
41465
|
+
e.stopPropagation();
|
|
41466
|
+
}
|
|
41467
|
+
},
|
|
41468
|
+
{
|
|
41469
|
+
/**
|
|
41470
|
+
* Visible controls of the opened dropdown that can take the focus
|
|
41471
|
+
*/ key: "__popupFocusables",
|
|
41472
|
+
value: function __popupFocusables() {
|
|
41473
|
+
var popup = this.openedPopup;
|
|
41474
|
+
if (!popup) {
|
|
41475
|
+
return [];
|
|
41476
|
+
}
|
|
41477
|
+
return Array.from(popup.container.querySelectorAll(FOCUSABLE_SELECTOR)).filter(function(elm) {
|
|
41478
|
+
return Boolean(elm.offsetParent);
|
|
41479
|
+
});
|
|
41480
|
+
}
|
|
41481
|
+
},
|
|
41482
|
+
{
|
|
41483
|
+
/**
|
|
41358
41484
|
* Create an open popup list
|
|
41359
41485
|
*/ key: "__openControlList",
|
|
41360
41486
|
value: function __openControlList(control) {
|
|
@@ -41440,7 +41566,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
41440
41566
|
value: function openPopup() {
|
|
41441
41567
|
this.__closePopup();
|
|
41442
41568
|
this.openedPopup = new _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_20__.Popup(this.j, false);
|
|
41443
|
-
this.j.e.on(this.ow, 'mousedown touchstart', this.onOutsideClick).on('escape closeAllPopups', this.onOutsideClick);
|
|
41569
|
+
this.j.e.on(this.ow, 'mousedown touchstart', this.onOutsideClick).on('escape closeAllPopups', this.onOutsideClick).on(this.openedPopup.container, 'keydown', this.__onPopupKeyDown);
|
|
41444
41570
|
return this.openedPopup;
|
|
41445
41571
|
}
|
|
41446
41572
|
},
|
|
@@ -41459,12 +41585,18 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
41459
41585
|
// throws NotFoundError. See #1458
|
|
41460
41586
|
this.openedPopup = null;
|
|
41461
41587
|
this.j.e.off(this.ow, 'mousedown touchstart', this.onOutsideClick).off('escape closeAllPopups', this.onOutsideClick);
|
|
41588
|
+
// The keyboard brought the focus into the dropdown: give it back to
|
|
41589
|
+
// the button, otherwise it would fall out to the document
|
|
41590
|
+
var activeElement = this.od.activeElement, hadFocus = activeElement && _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_6__.Dom.isOrContains(popup.container, activeElement);
|
|
41462
41591
|
this.state.activated = false;
|
|
41463
41592
|
popup.close();
|
|
41464
41593
|
popup.destruct();
|
|
41465
41594
|
if (this.trigger) {
|
|
41466
41595
|
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_15__.attr)(this.trigger, 'aria-expanded', false);
|
|
41467
41596
|
}
|
|
41597
|
+
if (hadFocus) {
|
|
41598
|
+
this.focus();
|
|
41599
|
+
}
|
|
41468
41600
|
}
|
|
41469
41601
|
},
|
|
41470
41602
|
{
|
|
@@ -41531,6 +41663,12 @@ __decorate([
|
|
|
41531
41663
|
__decorate([
|
|
41532
41664
|
(0,_core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_5__.watch)('trigger:keydown')
|
|
41533
41665
|
], ToolbarButton.prototype, "onTriggerKeyDown", null);
|
|
41666
|
+
__decorate([
|
|
41667
|
+
(0,_core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_5__.watch)('button:keydown')
|
|
41668
|
+
], ToolbarButton.prototype, "onButtonKeyDown", null);
|
|
41669
|
+
__decorate([
|
|
41670
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_2__.autobind
|
|
41671
|
+
], ToolbarButton.prototype, "__onPopupKeyDown", null);
|
|
41534
41672
|
__decorate([
|
|
41535
41673
|
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_2__.autobind
|
|
41536
41674
|
], ToolbarButton.prototype, "onOutsideClick", null);
|
|
@@ -45365,11 +45503,12 @@ UiAiAssistant = __decorate([
|
|
|
45365
45503
|
/* harmony import */ var _tab_tab_js__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(767);
|
|
45366
45504
|
/* harmony import */ var _table_table_js__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(43003);
|
|
45367
45505
|
/* harmony import */ var _table_keyboard_navigation_table_keyboard_navigation_js__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(72439);
|
|
45368
|
-
/* harmony import */ var
|
|
45369
|
-
/* harmony import */ var
|
|
45370
|
-
/* harmony import */ var
|
|
45371
|
-
/* harmony import */ var
|
|
45372
|
-
/* harmony import */ var
|
|
45506
|
+
/* harmony import */ var _toolbar_navigation_toolbar_navigation_js__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(94529);
|
|
45507
|
+
/* harmony import */ var _video_video_js__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(26551);
|
|
45508
|
+
/* harmony import */ var _wrap_nodes_wrap_nodes_js__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(72253);
|
|
45509
|
+
/* harmony import */ var _dtd_dtd_js__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(65735);
|
|
45510
|
+
/* harmony import */ var _xpath_xpath_js__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(83671);
|
|
45511
|
+
/* harmony import */ var _speech_recognize_speech_recognize_js__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(3115);
|
|
45373
45512
|
/*!
|
|
45374
45513
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
45375
45514
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -45439,6 +45578,7 @@ UiAiAssistant = __decorate([
|
|
|
45439
45578
|
|
|
45440
45579
|
|
|
45441
45580
|
|
|
45581
|
+
|
|
45442
45582
|
|
|
45443
45583
|
|
|
45444
45584
|
// JODIT-START:FAT
|
|
@@ -56715,8 +56855,9 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_2__.pluginSystem.add('indent', indent);
|
|
|
56715
56855
|
/* harmony import */ var _size_size_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(45927);
|
|
56716
56856
|
/* harmony import */ var _stat_stat_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(7309);
|
|
56717
56857
|
/* harmony import */ var _table_table_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(43003);
|
|
56718
|
-
/* harmony import */ var
|
|
56719
|
-
/* harmony import */ var
|
|
56858
|
+
/* harmony import */ var _toolbar_navigation_toolbar_navigation_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(94529);
|
|
56859
|
+
/* harmony import */ var _wrap_nodes_wrap_nodes_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(72253);
|
|
56860
|
+
/* harmony import */ var _dtd_dtd_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(65735);
|
|
56720
56861
|
/*!
|
|
56721
56862
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
56722
56863
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -56748,6 +56889,7 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_2__.pluginSystem.add('indent', indent);
|
|
|
56748
56889
|
|
|
56749
56890
|
|
|
56750
56891
|
|
|
56892
|
+
|
|
56751
56893
|
|
|
56752
56894
|
|
|
56753
56895
|
/***/ }),
|
|
@@ -73184,6 +73326,314 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_0__.pluginSystem.add('table', table);
|
|
|
73184
73326
|
/* harmony default export */ __webpack_exports__["default"] = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"> <g fill=\"none\"> <rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2.5\"/><path d=\"M3 9h18M3 15h18M9 3v18M15 3v18\"/> </g> </svg> ");
|
|
73185
73327
|
|
|
73186
73328
|
|
|
73329
|
+
/***/ }),
|
|
73330
|
+
|
|
73331
|
+
/***/ 94529:
|
|
73332
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
73333
|
+
|
|
73334
|
+
/* unused harmony export toolbarNavigation */
|
|
73335
|
+
/* harmony import */ var _core_constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(82758);
|
|
73336
|
+
/* harmony import */ var _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(45219);
|
|
73337
|
+
/* harmony import */ var _core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(37133);
|
|
73338
|
+
/* harmony import */ var _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2748);
|
|
73339
|
+
/* harmony import */ var _core_global_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(580);
|
|
73340
|
+
/* harmony import */ var _core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(29960);
|
|
73341
|
+
/* harmony import */ var _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(50911);
|
|
73342
|
+
function _array_like_to_array(arr, len) {
|
|
73343
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
73344
|
+
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
73345
|
+
return arr2;
|
|
73346
|
+
}
|
|
73347
|
+
function _array_with_holes(arr) {
|
|
73348
|
+
if (Array.isArray(arr)) return arr;
|
|
73349
|
+
}
|
|
73350
|
+
function _assert_this_initialized(self) {
|
|
73351
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
73352
|
+
return self;
|
|
73353
|
+
}
|
|
73354
|
+
function _call_super(_this, derived, args) {
|
|
73355
|
+
derived = _get_prototype_of(derived);
|
|
73356
|
+
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
73357
|
+
}
|
|
73358
|
+
function _class_call_check(instance, Constructor) {
|
|
73359
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
73360
|
+
}
|
|
73361
|
+
function _construct(Parent, args, Class) {
|
|
73362
|
+
if (_is_native_reflect_construct()) _construct = Reflect.construct;
|
|
73363
|
+
else {
|
|
73364
|
+
_construct = function construct(Parent, args, Class) {
|
|
73365
|
+
var a = [
|
|
73366
|
+
null
|
|
73367
|
+
];
|
|
73368
|
+
a.push.apply(a, args);
|
|
73369
|
+
var Constructor = Function.bind.apply(Parent, a);
|
|
73370
|
+
var instance = new Constructor();
|
|
73371
|
+
if (Class) _set_prototype_of(instance, Class.prototype);
|
|
73372
|
+
return instance;
|
|
73373
|
+
};
|
|
73374
|
+
}
|
|
73375
|
+
return _construct.apply(null, arguments);
|
|
73376
|
+
}
|
|
73377
|
+
function _defineProperties(target, props) {
|
|
73378
|
+
for(var i = 0; i < props.length; i++){
|
|
73379
|
+
var descriptor = props[i];
|
|
73380
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
73381
|
+
descriptor.configurable = true;
|
|
73382
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
73383
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
73384
|
+
}
|
|
73385
|
+
}
|
|
73386
|
+
function _create_class(Constructor, protoProps, staticProps) {
|
|
73387
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
73388
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
73389
|
+
return Constructor;
|
|
73390
|
+
}
|
|
73391
|
+
function _get_prototype_of(o) {
|
|
73392
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
73393
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
73394
|
+
};
|
|
73395
|
+
return _get_prototype_of(o);
|
|
73396
|
+
}
|
|
73397
|
+
function _inherits(subClass, superClass) {
|
|
73398
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
73399
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
73400
|
+
}
|
|
73401
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
73402
|
+
constructor: {
|
|
73403
|
+
value: subClass,
|
|
73404
|
+
writable: true,
|
|
73405
|
+
configurable: true
|
|
73406
|
+
}
|
|
73407
|
+
});
|
|
73408
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
73409
|
+
}
|
|
73410
|
+
function _is_native_function(fn) {
|
|
73411
|
+
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
|
73412
|
+
}
|
|
73413
|
+
function _is_native_reflect_construct() {
|
|
73414
|
+
try {
|
|
73415
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
73416
|
+
} catch (_) {}
|
|
73417
|
+
return (_is_native_reflect_construct = function() {
|
|
73418
|
+
return !!result;
|
|
73419
|
+
})();
|
|
73420
|
+
}
|
|
73421
|
+
function _iterable_to_array_limit(arr, i) {
|
|
73422
|
+
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
73423
|
+
if (_i == null) return;
|
|
73424
|
+
var _arr = [];
|
|
73425
|
+
var _n = true;
|
|
73426
|
+
var _d = false;
|
|
73427
|
+
var _s, _e;
|
|
73428
|
+
try {
|
|
73429
|
+
for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
|
|
73430
|
+
_arr.push(_s.value);
|
|
73431
|
+
if (i && _arr.length === i) break;
|
|
73432
|
+
}
|
|
73433
|
+
} catch (err) {
|
|
73434
|
+
_d = true;
|
|
73435
|
+
_e = err;
|
|
73436
|
+
} finally{
|
|
73437
|
+
try {
|
|
73438
|
+
if (!_n && _i["return"] != null) _i["return"]();
|
|
73439
|
+
} finally{
|
|
73440
|
+
if (_d) throw _e;
|
|
73441
|
+
}
|
|
73442
|
+
}
|
|
73443
|
+
return _arr;
|
|
73444
|
+
}
|
|
73445
|
+
function _non_iterable_rest() {
|
|
73446
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
73447
|
+
}
|
|
73448
|
+
function _possible_constructor_return(self, call) {
|
|
73449
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
73450
|
+
return _assert_this_initialized(self);
|
|
73451
|
+
}
|
|
73452
|
+
function _set_prototype_of(o, p) {
|
|
73453
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
73454
|
+
o.__proto__ = p;
|
|
73455
|
+
return o;
|
|
73456
|
+
};
|
|
73457
|
+
return _set_prototype_of(o, p);
|
|
73458
|
+
}
|
|
73459
|
+
function _sliced_to_array(arr, i) {
|
|
73460
|
+
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
|
|
73461
|
+
}
|
|
73462
|
+
function _type_of(obj) {
|
|
73463
|
+
"@swc/helpers - typeof";
|
|
73464
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
73465
|
+
}
|
|
73466
|
+
function _unsupported_iterable_to_array(o, minLen) {
|
|
73467
|
+
if (!o) return;
|
|
73468
|
+
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
73469
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
73470
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
73471
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
73472
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
73473
|
+
}
|
|
73474
|
+
function _wrap_native_super(Class) {
|
|
73475
|
+
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
73476
|
+
_wrap_native_super = function(Class) {
|
|
73477
|
+
if (Class === null || !_is_native_function(Class)) return Class;
|
|
73478
|
+
if (typeof Class !== "function") throw new TypeError("Super expression must either be null or a function");
|
|
73479
|
+
if (typeof _cache !== "undefined") {
|
|
73480
|
+
if (_cache.has(Class)) return _cache.get(Class);
|
|
73481
|
+
_cache.set(Class, Wrapper);
|
|
73482
|
+
}
|
|
73483
|
+
function Wrapper() {
|
|
73484
|
+
return _construct(Class, arguments, _get_prototype_of(this).constructor);
|
|
73485
|
+
}
|
|
73486
|
+
Wrapper.prototype = Object.create(Class.prototype, {
|
|
73487
|
+
constructor: {
|
|
73488
|
+
value: Wrapper,
|
|
73489
|
+
enumerable: false,
|
|
73490
|
+
writable: true,
|
|
73491
|
+
configurable: true
|
|
73492
|
+
}
|
|
73493
|
+
});
|
|
73494
|
+
return _set_prototype_of(Wrapper, Class);
|
|
73495
|
+
};
|
|
73496
|
+
return _wrap_native_super(Class);
|
|
73497
|
+
}
|
|
73498
|
+
/*!
|
|
73499
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
73500
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
73501
|
+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
|
|
73502
|
+
*/ var __decorate = undefined && undefined.__decorate || function(decorators, target, key, desc) {
|
|
73503
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
73504
|
+
if ((typeof Reflect === "undefined" ? "undefined" : _type_of(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
73505
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
73506
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
73507
|
+
};
|
|
73508
|
+
|
|
73509
|
+
|
|
73510
|
+
|
|
73511
|
+
|
|
73512
|
+
|
|
73513
|
+
|
|
73514
|
+
|
|
73515
|
+
var INPUT_TAGS = new Set([
|
|
73516
|
+
'input',
|
|
73517
|
+
'textarea',
|
|
73518
|
+
'select'
|
|
73519
|
+
]);
|
|
73520
|
+
/**
|
|
73521
|
+
* Makes the toolbar reachable from the keyboard, as described by the WAI-ARIA
|
|
73522
|
+
* authoring practices for a `role="toolbar"` widget.
|
|
73523
|
+
*
|
|
73524
|
+
* The focus is moved programmatically, so this works whatever
|
|
73525
|
+
* {@link Config.allowTabNavigation} does with the tab order — including the
|
|
73526
|
+
* default, where the buttons take no part in the page tab order.
|
|
73527
|
+
*/ var toolbarNavigation = /*#__PURE__*/ function(Plugin) {
|
|
73528
|
+
"use strict";
|
|
73529
|
+
_inherits(toolbarNavigation, Plugin);
|
|
73530
|
+
function toolbarNavigation() {
|
|
73531
|
+
_class_call_check(this, toolbarNavigation);
|
|
73532
|
+
return _call_super(this, toolbarNavigation, arguments);
|
|
73533
|
+
}
|
|
73534
|
+
_create_class(toolbarNavigation, [
|
|
73535
|
+
{
|
|
73536
|
+
/** @override */ key: "afterInit",
|
|
73537
|
+
value: function afterInit(jodit) {
|
|
73538
|
+
jodit.registerCommand('focusToolbar', {
|
|
73539
|
+
hotkeys: 'alt+f10',
|
|
73540
|
+
exec: this.focusToolbar
|
|
73541
|
+
});
|
|
73542
|
+
}
|
|
73543
|
+
},
|
|
73544
|
+
{
|
|
73545
|
+
/** @override */ key: "beforeDestruct",
|
|
73546
|
+
value: function beforeDestruct() {}
|
|
73547
|
+
},
|
|
73548
|
+
{
|
|
73549
|
+
/**
|
|
73550
|
+
* Moves the focus to the first button of the toolbar.
|
|
73551
|
+
*
|
|
73552
|
+
* Bound to `Alt+F10` by default; remap it like any other command:
|
|
73553
|
+
* `commandToHotkeys: { focusToolbar: 'alt+0' }`
|
|
73554
|
+
*/ key: "focusToolbar",
|
|
73555
|
+
value: function focusToolbar() {
|
|
73556
|
+
var _this___buttons = _sliced_to_array(this.__buttons(), 1), first = _this___buttons[0];
|
|
73557
|
+
first === null || first === void 0 ? void 0 : first.focus();
|
|
73558
|
+
return false;
|
|
73559
|
+
}
|
|
73560
|
+
},
|
|
73561
|
+
{
|
|
73562
|
+
/**
|
|
73563
|
+
* Arrow keys / `Home` / `End` walk the buttons, `Escape` leaves the toolbar
|
|
73564
|
+
*/ key: "onKeyDown",
|
|
73565
|
+
value: function onKeyDown(e) {
|
|
73566
|
+
if (e.defaultPrevented || e.altKey || e.ctrlKey || e.metaKey) {
|
|
73567
|
+
return;
|
|
73568
|
+
}
|
|
73569
|
+
var target = e.target;
|
|
73570
|
+
// A control that needs the arrow keys for itself
|
|
73571
|
+
if (_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_3__.Dom.isTag(target, INPUT_TAGS) || _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_3__.Dom.isHTMLElement(target) && target.isContentEditable) {
|
|
73572
|
+
return;
|
|
73573
|
+
}
|
|
73574
|
+
var buttons = this.__buttons();
|
|
73575
|
+
if (!buttons.length) {
|
|
73576
|
+
return;
|
|
73577
|
+
}
|
|
73578
|
+
switch(e.key){
|
|
73579
|
+
case _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_ESC:
|
|
73580
|
+
this.j.s.focus();
|
|
73581
|
+
break;
|
|
73582
|
+
case _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_HOME:
|
|
73583
|
+
buttons[0].focus();
|
|
73584
|
+
break;
|
|
73585
|
+
case _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_END:
|
|
73586
|
+
buttons[buttons.length - 1].focus();
|
|
73587
|
+
break;
|
|
73588
|
+
case _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_LEFT:
|
|
73589
|
+
case _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_RIGHT:
|
|
73590
|
+
{
|
|
73591
|
+
var index = buttons.findIndex(function(button) {
|
|
73592
|
+
return button.container.contains(target);
|
|
73593
|
+
});
|
|
73594
|
+
if (index === -1) {
|
|
73595
|
+
return;
|
|
73596
|
+
}
|
|
73597
|
+
var forward = e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_RIGHT !== this.__isRtl(), next = index + (forward ? 1 : -1);
|
|
73598
|
+
buttons[(next + buttons.length) % buttons.length].focus();
|
|
73599
|
+
break;
|
|
73600
|
+
}
|
|
73601
|
+
default:
|
|
73602
|
+
return;
|
|
73603
|
+
}
|
|
73604
|
+
e.preventDefault();
|
|
73605
|
+
e.stopPropagation();
|
|
73606
|
+
return false;
|
|
73607
|
+
}
|
|
73608
|
+
},
|
|
73609
|
+
{
|
|
73610
|
+
/**
|
|
73611
|
+
* Toolbar buttons that can take the focus right now
|
|
73612
|
+
*/ key: "__buttons",
|
|
73613
|
+
value: function __buttons() {
|
|
73614
|
+
return this.j.toolbar.buttons.filter(function(button) {
|
|
73615
|
+
return !button.state.disabled && button.container.isConnected;
|
|
73616
|
+
});
|
|
73617
|
+
}
|
|
73618
|
+
},
|
|
73619
|
+
{
|
|
73620
|
+
key: "__isRtl",
|
|
73621
|
+
value: function __isRtl() {
|
|
73622
|
+
return (0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_5__.attr)(this.j.toolbar.container, 'dir') === 'rtl';
|
|
73623
|
+
}
|
|
73624
|
+
}
|
|
73625
|
+
]);
|
|
73626
|
+
return toolbarNavigation;
|
|
73627
|
+
}(_wrap_native_super(_core_plugin_index_js__WEBPACK_IMPORTED_MODULE_6__.Plugin));
|
|
73628
|
+
__decorate([
|
|
73629
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
73630
|
+
], toolbarNavigation.prototype, "focusToolbar", null);
|
|
73631
|
+
__decorate([
|
|
73632
|
+
(0,_core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_2__.watch)('j.toolbar.container:keydown.toolbar-navigation')
|
|
73633
|
+
], toolbarNavigation.prototype, "onKeyDown", null);
|
|
73634
|
+
_core_global_js__WEBPACK_IMPORTED_MODULE_4__.pluginSystem.add('toolbarNavigation', toolbarNavigation);
|
|
73635
|
+
|
|
73636
|
+
|
|
73187
73637
|
/***/ }),
|
|
73188
73638
|
|
|
73189
73639
|
/***/ 14984:
|