jodit-pro 4.12.27 → 4.12.32
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.css +1 -1
- package/es2015/jodit.fat.min.js +13 -11
- package/es2015/jodit.js +231 -74
- package/es2015/jodit.min.js +8 -8
- 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 +62 -0
- package/es2015/plugins/autocomplete/autocomplete.js +29 -2
- package/es2015/plugins/autocomplete/autocomplete.min.css +1 -0
- package/es2015/plugins/autocomplete/autocomplete.min.js +2 -2
- 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/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 +23 -2
- package/es2015/plugins/page-break/page-break.min.js +2 -2
- package/es2015/plugins/paste-code/paste-code.css +28 -1
- package/es2015/plugins/paste-code/paste-code.js +489 -64
- package/es2015/plugins/paste-code/paste-code.min.css +1 -1
- package/es2015/plugins/paste-code/paste-code.min.js +4 -2
- 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 +9 -1
- package/es2015/plugins/todo-list/todo-list.min.js +2 -2
- 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 +13 -11
- 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.css +1 -0
- package/es2018/plugins/autocomplete/autocomplete.min.js +2 -2
- 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/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 +2 -2
- package/es2018/plugins/paste-code/paste-code.min.css +1 -1
- package/es2018/plugins/paste-code/paste-code.min.js +4 -2
- 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 +2 -2
- 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.css +1 -1
- package/es2021/jodit.fat.min.js +14 -12
- package/es2021/jodit.js +231 -74
- package/es2021/jodit.min.js +9 -9
- 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 +62 -0
- package/es2021/plugins/autocomplete/autocomplete.js +29 -2
- package/es2021/plugins/autocomplete/autocomplete.min.css +1 -0
- package/es2021/plugins/autocomplete/autocomplete.min.js +2 -2
- 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/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 +23 -2
- package/es2021/plugins/page-break/page-break.min.js +2 -2
- package/es2021/plugins/paste-code/paste-code.css +28 -1
- package/es2021/plugins/paste-code/paste-code.js +488 -64
- package/es2021/plugins/paste-code/paste-code.min.css +1 -1
- package/es2021/plugins/paste-code/paste-code.min.js +4 -2
- 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 +9 -1
- package/es2021/plugins/todo-list/todo-list.min.js +2 -2
- 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.css +1 -1
- package/es2021.en/jodit.fat.min.js +28 -26
- package/es2021.en/jodit.js +231 -74
- package/es2021.en/jodit.min.js +9 -9
- 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 +62 -0
- package/es2021.en/plugins/autocomplete/autocomplete.js +29 -2
- package/es2021.en/plugins/autocomplete/autocomplete.min.css +1 -0
- package/es2021.en/plugins/autocomplete/autocomplete.min.js +2 -2
- 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/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 +23 -2
- package/es2021.en/plugins/page-break/page-break.min.js +2 -2
- package/es2021.en/plugins/paste-code/paste-code.css +28 -1
- package/es2021.en/plugins/paste-code/paste-code.js +488 -64
- package/es2021.en/plugins/paste-code/paste-code.min.css +1 -1
- package/es2021.en/plugins/paste-code/paste-code.min.js +4 -2
- 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 +9 -1
- package/es2021.en/plugins/todo-list/todo-list.min.js +2 -2
- 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.css +1 -1
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +333 -74
- 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 +62 -0
- package/es5/plugins/autocomplete/autocomplete.js +29 -2
- package/es5/plugins/autocomplete/autocomplete.min.css +1 -0
- package/es5/plugins/autocomplete/autocomplete.min.js +2 -2
- 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/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 +23 -2
- package/es5/plugins/page-break/page-break.min.js +2 -2
- package/es5/plugins/paste-code/paste-code.css +28 -1
- package/es5/plugins/paste-code/paste-code.js +586 -66
- package/es5/plugins/paste-code/paste-code.min.css +1 -1
- package/es5/plugins/paste-code/paste-code.min.js +2 -2
- 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 +9 -1
- package/es5/plugins/todo-list/todo-list.min.js +2 -2
- 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/esm/config.d.ts +6 -1
- package/esm/plugins/all.d.ts +1 -1
- package/esm/plugins/all.js +1 -1
- package/esm/plugins/autocomplete/autocomplete.d.ts +2 -26
- package/esm/plugins/autocomplete/autocomplete.impl.d.ts +31 -0
- package/esm/plugins/autocomplete/autocomplete.impl.js +1 -0
- package/esm/plugins/autocomplete/autocomplete.js +1 -1
- package/esm/plugins/index.d.ts +1 -1
- package/esm/plugins/index.js +1 -1
- package/esm/plugins/page-break/page-break.js +1 -1
- package/esm/plugins/paste-code/config.d.ts +6 -1
- package/esm/plugins/paste-code/config.js +1 -1
- package/esm/plugins/paste-code/helpers.d.ts +25 -0
- package/esm/plugins/paste-code/helpers.js +1 -0
- package/esm/plugins/paste-code/paste-code.d.ts +9 -0
- package/esm/plugins/paste-code/paste-code.js +1 -1
- package/esm/plugins/paste-code/ui/code-tuner/code-tuner.d.ts +87 -0
- package/esm/plugins/paste-code/ui/code-tuner/code-tuner.js +3 -0
- package/esm/plugins/paste-code/ui/code-tuner/drag.svg.js +1 -0
- package/esm/plugins/todo-list/todo-list.js +1 -1
- package/package.json +1 -1
- package/types/config.d.ts +6 -1
- package/types/plugins/autocomplete/autocomplete.d.ts +2 -26
- package/types/plugins/autocomplete/autocomplete.impl.d.ts +31 -0
- package/types/plugins/index.d.ts +1 -1
- package/types/plugins/paste-code/config.d.ts +6 -1
- package/types/plugins/paste-code/helpers.d.ts +25 -0
- package/types/plugins/paste-code/paste-code.d.ts +9 -0
- package/types/plugins/paste-code/ui/code-tuner/code-tuner.d.ts +87 -0
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.12.
|
|
4
|
+
* Version: v4.12.32
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -2266,7 +2266,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
2266
2266
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
2267
2267
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
2268
2268
|
}
|
|
2269
|
-
var APP_VERSION = "4.12.
|
|
2269
|
+
var APP_VERSION = "4.12.32";
|
|
2270
2270
|
// prettier-ignore
|
|
2271
2271
|
var ES = "es5";
|
|
2272
2272
|
var IS_ES_MODERN = false;
|
|
@@ -7901,6 +7901,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7901
7901
|
/* harmony export */ LimitedStack: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.LimitedStack; },
|
|
7902
7902
|
/* harmony export */ NUMBER_FIELDS_REG: function() { return /* reexport safe */ _normalize_index_js__WEBPACK_IMPORTED_MODULE_5__.NUMBER_FIELDS_REG; },
|
|
7903
7903
|
/* harmony export */ OptionsError: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.OptionsError; },
|
|
7904
|
+
/* harmony export */ UNSAFE_PROTO_KEYS: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.UNSAFE_PROTO_KEYS; },
|
|
7904
7905
|
/* harmony export */ abort: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.abort; },
|
|
7905
7906
|
/* harmony export */ alignElement: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.alignElement; },
|
|
7906
7907
|
/* harmony export */ alreadyLoadedList: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.alreadyLoadedList; },
|
|
@@ -7973,6 +7974,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7973
7974
|
/* harmony export */ isString: function() { return /* reexport safe */ _checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isString; },
|
|
7974
7975
|
/* harmony export */ isStringArray: function() { return /* reexport safe */ _checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isStringArray; },
|
|
7975
7976
|
/* harmony export */ isURL: function() { return /* reexport safe */ _checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isURL; },
|
|
7977
|
+
/* harmony export */ isUnsafeProtoKey: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.isUnsafeProtoKey; },
|
|
7976
7978
|
/* harmony export */ isValidName: function() { return /* reexport safe */ _checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isValidName; },
|
|
7977
7979
|
/* harmony export */ isViewObject: function() { return /* reexport safe */ _checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isViewObject; },
|
|
7978
7980
|
/* harmony export */ isVoid: function() { return /* reexport safe */ _checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isVoid; },
|
|
@@ -9531,7 +9533,8 @@ var completeUrl = function completeUrl(url) {
|
|
|
9531
9533
|
/* harmony import */ var _checker_is_void_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(86068);
|
|
9532
9534
|
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(6441);
|
|
9533
9535
|
/* harmony import */ var _extend_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(97735);
|
|
9534
|
-
/* harmony import */ var
|
|
9536
|
+
/* harmony import */ var _is_unsafe_proto_key_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(69175);
|
|
9537
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(37790);
|
|
9535
9538
|
function _array_like_to_array(arr, len) {
|
|
9536
9539
|
if (len == null || len > arr.length) len = arr.length;
|
|
9537
9540
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
@@ -9568,18 +9571,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
9568
9571
|
|
|
9569
9572
|
|
|
9570
9573
|
|
|
9571
|
-
|
|
9572
|
-
* Keys that must never be copied from a (potentially untrusted) config object —
|
|
9573
|
-
* assigning them during a recursive merge can reach and mutate
|
|
9574
|
-
* `Object.prototype` (prototype pollution, CWE-1321).
|
|
9575
|
-
*/ var UNSAFE_PROTO_KEYS = [
|
|
9576
|
-
'__proto__',
|
|
9577
|
-
'constructor',
|
|
9578
|
-
'prototype'
|
|
9579
|
-
];
|
|
9580
|
-
function isUnsafeProtoKey(key) {
|
|
9581
|
-
return UNSAFE_PROTO_KEYS.indexOf(key) !== -1;
|
|
9582
|
-
}
|
|
9574
|
+
|
|
9583
9575
|
/**
|
|
9584
9576
|
* @example
|
|
9585
9577
|
* ```js
|
|
@@ -9629,7 +9621,7 @@ function isUnsafeProtoKey(key) {
|
|
|
9629
9621
|
}
|
|
9630
9622
|
var newOpt = {};
|
|
9631
9623
|
Object.keys(options).forEach(function(key) {
|
|
9632
|
-
if (isUnsafeProtoKey(key)) {
|
|
9624
|
+
if ((0,_is_unsafe_proto_key_js__WEBPACK_IMPORTED_MODULE_6__.isUnsafeProtoKey)(key)) {
|
|
9633
9625
|
return;
|
|
9634
9626
|
}
|
|
9635
9627
|
var opt = options[key], protoKey = proto ? proto[key] : null;
|
|
@@ -9648,7 +9640,7 @@ function isUnsafeProtoKey(key) {
|
|
|
9648
9640
|
return newOpt;
|
|
9649
9641
|
}
|
|
9650
9642
|
function ConfigFlatten(obj) {
|
|
9651
|
-
return (0,
|
|
9643
|
+
return (0,_utils_js__WEBPACK_IMPORTED_MODULE_7__.keys)(obj, false).reduce(function(app, key) {
|
|
9652
9644
|
app[key] = obj[key];
|
|
9653
9645
|
return app;
|
|
9654
9646
|
}, {});
|
|
@@ -9690,7 +9682,7 @@ function ConfigFlatten(obj) {
|
|
|
9690
9682
|
* @see {@link ConfigProto} for the prototype-chain variant used at editor creation time
|
|
9691
9683
|
*/ function ConfigMerge(target, source) {
|
|
9692
9684
|
Object.keys(source).forEach(function(key) {
|
|
9693
|
-
if (isUnsafeProtoKey(key)) {
|
|
9685
|
+
if ((0,_is_unsafe_proto_key_js__WEBPACK_IMPORTED_MODULE_6__.isUnsafeProtoKey)(key)) {
|
|
9694
9686
|
return;
|
|
9695
9687
|
}
|
|
9696
9688
|
var srcVal = source[key];
|
|
@@ -9703,7 +9695,7 @@ function ConfigFlatten(obj) {
|
|
|
9703
9695
|
});
|
|
9704
9696
|
}
|
|
9705
9697
|
function ConfigDeepFlatten(obj) {
|
|
9706
|
-
return (0,
|
|
9698
|
+
return (0,_utils_js__WEBPACK_IMPORTED_MODULE_7__.keys)(obj, false).reduce(function(app, key) {
|
|
9707
9699
|
app[key] = (0,_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_1__.isPlainObject)(obj[key]) ? ConfigDeepFlatten(obj[key]) : obj[key];
|
|
9708
9700
|
return app;
|
|
9709
9701
|
}, {});
|
|
@@ -10525,14 +10517,15 @@ var getClassName = function getClassName(obj) {
|
|
|
10525
10517
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
10526
10518
|
|
|
10527
10519
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10528
|
-
/* harmony export */ $$: function() { return /* reexport safe */
|
|
10520
|
+
/* harmony export */ $$: function() { return /* reexport safe */ _selector_js__WEBPACK_IMPORTED_MODULE_24__.$$; },
|
|
10529
10521
|
/* harmony export */ ConfigDeepFlatten: function() { return /* reexport safe */ _config_proto_js__WEBPACK_IMPORTED_MODULE_7__.ConfigDeepFlatten; },
|
|
10530
10522
|
/* harmony export */ ConfigFlatten: function() { return /* reexport safe */ _config_proto_js__WEBPACK_IMPORTED_MODULE_7__.ConfigFlatten; },
|
|
10531
10523
|
/* harmony export */ ConfigMerge: function() { return /* reexport safe */ _config_proto_js__WEBPACK_IMPORTED_MODULE_7__.ConfigMerge; },
|
|
10532
10524
|
/* harmony export */ ConfigProto: function() { return /* reexport safe */ _config_proto_js__WEBPACK_IMPORTED_MODULE_7__.ConfigProto; },
|
|
10533
10525
|
/* harmony export */ ConnectionError: function() { return /* reexport safe */ _error_index_js__WEBPACK_IMPORTED_MODULE_13__.ConnectionError; },
|
|
10534
|
-
/* harmony export */ LimitedStack: function() { return /* reexport safe */
|
|
10526
|
+
/* harmony export */ LimitedStack: function() { return /* reexport safe */ _stack_js__WEBPACK_IMPORTED_MODULE_26__.LimitedStack; },
|
|
10535
10527
|
/* harmony export */ OptionsError: function() { return /* reexport safe */ _error_index_js__WEBPACK_IMPORTED_MODULE_13__.OptionsError; },
|
|
10528
|
+
/* harmony export */ UNSAFE_PROTO_KEYS: function() { return /* reexport safe */ _is_unsafe_proto_key_js__WEBPACK_IMPORTED_MODULE_18__.UNSAFE_PROTO_KEYS; },
|
|
10536
10529
|
/* harmony export */ abort: function() { return /* reexport safe */ _error_index_js__WEBPACK_IMPORTED_MODULE_13__.abort; },
|
|
10537
10530
|
/* harmony export */ alignElement: function() { return /* reexport safe */ _align_js__WEBPACK_IMPORTED_MODULE_0__.alignElement; },
|
|
10538
10531
|
/* harmony export */ alreadyLoadedList: function() { return /* reexport safe */ _append_script_js__WEBPACK_IMPORTED_MODULE_1__.alreadyLoadedList; },
|
|
@@ -10542,17 +10535,17 @@ var getClassName = function getClassName(obj) {
|
|
|
10542
10535
|
/* harmony export */ attr: function() { return /* reexport safe */ _attr_js__WEBPACK_IMPORTED_MODULE_3__.attr; },
|
|
10543
10536
|
/* harmony export */ browser: function() { return /* reexport safe */ _browser_js__WEBPACK_IMPORTED_MODULE_4__.browser; },
|
|
10544
10537
|
/* harmony export */ buildQuery: function() { return /* reexport safe */ _build_query_js__WEBPACK_IMPORTED_MODULE_5__.buildQuery; },
|
|
10545
|
-
/* harmony export */ call: function() { return /* reexport safe */
|
|
10546
|
-
/* harmony export */ callPromise: function() { return /* reexport safe */
|
|
10547
|
-
/* harmony export */ callThis: function() { return /* reexport safe */
|
|
10538
|
+
/* harmony export */ call: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_27__.call; },
|
|
10539
|
+
/* harmony export */ callPromise: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_27__.callPromise; },
|
|
10540
|
+
/* harmony export */ callThis: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_27__.callThis; },
|
|
10548
10541
|
/* harmony export */ clearAlign: function() { return /* reexport safe */ _align_js__WEBPACK_IMPORTED_MODULE_0__.clearAlign; },
|
|
10549
10542
|
/* harmony export */ clearCenterAlign: function() { return /* reexport safe */ _css_js__WEBPACK_IMPORTED_MODULE_9__.clearCenterAlign; },
|
|
10550
|
-
/* harmony export */ cns: function() { return /* reexport safe */
|
|
10543
|
+
/* harmony export */ cns: function() { return /* reexport safe */ _mark_deprecated_js__WEBPACK_IMPORTED_MODULE_19__.cns; },
|
|
10551
10544
|
/* harmony export */ completeUrl: function() { return /* reexport safe */ _complete_url_js__WEBPACK_IMPORTED_MODULE_6__.completeUrl; },
|
|
10552
10545
|
/* harmony export */ connection: function() { return /* reexport safe */ _error_index_js__WEBPACK_IMPORTED_MODULE_13__.connection; },
|
|
10553
10546
|
/* harmony export */ convertMediaUrlToVideoEmbed: function() { return /* reexport safe */ _convert_media_url_to_video_embed_js__WEBPACK_IMPORTED_MODULE_8__.convertMediaUrlToVideoEmbed; },
|
|
10554
10547
|
/* harmony export */ css: function() { return /* reexport safe */ _css_js__WEBPACK_IMPORTED_MODULE_9__.css; },
|
|
10555
|
-
/* harmony export */ cssPath: function() { return /* reexport safe */
|
|
10548
|
+
/* harmony export */ cssPath: function() { return /* reexport safe */ _selector_js__WEBPACK_IMPORTED_MODULE_24__.cssPath; },
|
|
10556
10549
|
/* harmony export */ ctrlKey: function() { return /* reexport safe */ _ctrl_key_js__WEBPACK_IMPORTED_MODULE_10__.ctrlKey; },
|
|
10557
10550
|
/* harmony export */ dataBind: function() { return /* reexport safe */ _data_bind_js__WEBPACK_IMPORTED_MODULE_11__.dataBind; },
|
|
10558
10551
|
/* harmony export */ defaultLanguage: function() { return /* reexport safe */ _default_language_js__WEBPACK_IMPORTED_MODULE_12__.defaultLanguage; },
|
|
@@ -10560,30 +10553,31 @@ var getClassName = function getClassName(obj) {
|
|
|
10560
10553
|
/* harmony export */ fastClone: function() { return /* reexport safe */ _extend_js__WEBPACK_IMPORTED_MODULE_14__.fastClone; },
|
|
10561
10554
|
/* harmony export */ get: function() { return /* reexport safe */ _get_js__WEBPACK_IMPORTED_MODULE_15__.get; },
|
|
10562
10555
|
/* harmony export */ getClassName: function() { return /* reexport safe */ _get_class_name_js__WEBPACK_IMPORTED_MODULE_16__.getClassName; },
|
|
10563
|
-
/* harmony export */ getDataTransfer: function() { return /* reexport safe */
|
|
10564
|
-
/* harmony export */ getPropertyDescriptor: function() { return /* reexport safe */
|
|
10565
|
-
/* harmony export */ getXPathByElement: function() { return /* reexport safe */
|
|
10556
|
+
/* harmony export */ getDataTransfer: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_27__.getDataTransfer; },
|
|
10557
|
+
/* harmony export */ getPropertyDescriptor: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_27__.getPropertyDescriptor; },
|
|
10558
|
+
/* harmony export */ getXPathByElement: function() { return /* reexport safe */ _selector_js__WEBPACK_IMPORTED_MODULE_24__.getXPathByElement; },
|
|
10566
10559
|
/* harmony export */ hAlignElement: function() { return /* reexport safe */ _align_js__WEBPACK_IMPORTED_MODULE_0__.hAlignElement; },
|
|
10567
10560
|
/* harmony export */ humanSizeToBytes: function() { return /* reexport safe */ _human_size_to_bytes_js__WEBPACK_IMPORTED_MODULE_17__.humanSizeToBytes; },
|
|
10568
|
-
/* harmony export */ inView: function() { return /* reexport safe */
|
|
10561
|
+
/* harmony export */ inView: function() { return /* reexport safe */ _scroll_into_view_js__WEBPACK_IMPORTED_MODULE_23__.inView; },
|
|
10569
10562
|
/* harmony export */ isAtom: function() { return /* reexport safe */ _extend_js__WEBPACK_IMPORTED_MODULE_14__.isAtom; },
|
|
10563
|
+
/* harmony export */ isUnsafeProtoKey: function() { return /* reexport safe */ _is_unsafe_proto_key_js__WEBPACK_IMPORTED_MODULE_18__.isUnsafeProtoKey; },
|
|
10570
10564
|
/* harmony export */ keepNames: function() { return /* reexport safe */ _get_class_name_js__WEBPACK_IMPORTED_MODULE_16__.keepNames; },
|
|
10571
|
-
/* harmony export */ keys: function() { return /* reexport safe */
|
|
10572
|
-
/* harmony export */ loadImage: function() { return /* reexport safe */
|
|
10565
|
+
/* harmony export */ keys: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_27__.keys; },
|
|
10566
|
+
/* harmony export */ loadImage: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_27__.loadImage; },
|
|
10573
10567
|
/* harmony export */ loadNext: function() { return /* reexport safe */ _append_script_js__WEBPACK_IMPORTED_MODULE_1__.loadNext; },
|
|
10574
10568
|
/* harmony export */ loadNextStyle: function() { return /* reexport safe */ _append_script_js__WEBPACK_IMPORTED_MODULE_1__.loadNextStyle; },
|
|
10575
10569
|
/* harmony export */ markAsAtomic: function() { return /* reexport safe */ _extend_js__WEBPACK_IMPORTED_MODULE_14__.markAsAtomic; },
|
|
10576
|
-
/* harmony export */ markDeprecated: function() { return /* reexport safe */
|
|
10577
|
-
/* harmony export */ markOwner: function() { return /* reexport safe */
|
|
10578
|
-
/* harmony export */ memorizeExec: function() { return /* reexport safe */
|
|
10570
|
+
/* harmony export */ markDeprecated: function() { return /* reexport safe */ _mark_deprecated_js__WEBPACK_IMPORTED_MODULE_19__.markDeprecated; },
|
|
10571
|
+
/* harmony export */ markOwner: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_27__.markOwner; },
|
|
10572
|
+
/* harmony export */ memorizeExec: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_27__.memorizeExec; },
|
|
10579
10573
|
/* harmony export */ options: function() { return /* reexport safe */ _error_index_js__WEBPACK_IMPORTED_MODULE_13__.options; },
|
|
10580
|
-
/* harmony export */ parseQuery: function() { return /* reexport safe */
|
|
10581
|
-
/* harmony export */ previewBox: function() { return /* reexport safe */
|
|
10582
|
-
/* harmony export */ refs: function() { return /* reexport safe */
|
|
10583
|
-
/* harmony export */ reset: function() { return /* reexport safe */
|
|
10584
|
-
/* harmony export */ resolveElement: function() { return /* reexport safe */
|
|
10585
|
-
/* harmony export */ scrollIntoViewIfNeeded: function() { return /* reexport safe */
|
|
10586
|
-
/* harmony export */ set: function() { return /* reexport safe */
|
|
10574
|
+
/* harmony export */ parseQuery: function() { return /* reexport safe */ _parse_query_js__WEBPACK_IMPORTED_MODULE_20__.parseQuery; },
|
|
10575
|
+
/* harmony export */ previewBox: function() { return /* reexport safe */ _print_js__WEBPACK_IMPORTED_MODULE_21__.previewBox; },
|
|
10576
|
+
/* harmony export */ refs: function() { return /* reexport safe */ _selector_js__WEBPACK_IMPORTED_MODULE_24__.refs; },
|
|
10577
|
+
/* harmony export */ reset: function() { return /* reexport safe */ _reset_js__WEBPACK_IMPORTED_MODULE_22__.reset; },
|
|
10578
|
+
/* harmony export */ resolveElement: function() { return /* reexport safe */ _selector_js__WEBPACK_IMPORTED_MODULE_24__.resolveElement; },
|
|
10579
|
+
/* harmony export */ scrollIntoViewIfNeeded: function() { return /* reexport safe */ _scroll_into_view_js__WEBPACK_IMPORTED_MODULE_23__.scrollIntoViewIfNeeded; },
|
|
10580
|
+
/* harmony export */ set: function() { return /* reexport safe */ _set_js__WEBPACK_IMPORTED_MODULE_25__.set; }
|
|
10587
10581
|
/* harmony export */ });
|
|
10588
10582
|
/* harmony import */ var _align_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25726);
|
|
10589
10583
|
/* harmony import */ var _append_script_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(63799);
|
|
@@ -10603,15 +10597,16 @@ var getClassName = function getClassName(obj) {
|
|
|
10603
10597
|
/* harmony import */ var _get_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(94643);
|
|
10604
10598
|
/* harmony import */ var _get_class_name_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(80568);
|
|
10605
10599
|
/* harmony import */ var _human_size_to_bytes_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(38420);
|
|
10606
|
-
/* harmony import */ var
|
|
10607
|
-
/* harmony import */ var
|
|
10608
|
-
/* harmony import */ var
|
|
10609
|
-
/* harmony import */ var
|
|
10610
|
-
/* harmony import */ var
|
|
10611
|
-
/* harmony import */ var
|
|
10612
|
-
/* harmony import */ var
|
|
10613
|
-
/* harmony import */ var
|
|
10614
|
-
/* harmony import */ var
|
|
10600
|
+
/* harmony import */ var _is_unsafe_proto_key_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(69175);
|
|
10601
|
+
/* harmony import */ var _mark_deprecated_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(95942);
|
|
10602
|
+
/* harmony import */ var _parse_query_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(82501);
|
|
10603
|
+
/* harmony import */ var _print_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(11628);
|
|
10604
|
+
/* harmony import */ var _reset_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(58844);
|
|
10605
|
+
/* harmony import */ var _scroll_into_view_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(26395);
|
|
10606
|
+
/* harmony import */ var _selector_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(76078);
|
|
10607
|
+
/* harmony import */ var _set_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(3703);
|
|
10608
|
+
/* harmony import */ var _stack_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(50535);
|
|
10609
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(37790);
|
|
10615
10610
|
/*!
|
|
10616
10611
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
10617
10612
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -10645,6 +10640,38 @@ var getClassName = function getClassName(obj) {
|
|
|
10645
10640
|
|
|
10646
10641
|
|
|
10647
10642
|
|
|
10643
|
+
|
|
10644
|
+
|
|
10645
|
+
|
|
10646
|
+
/***/ }),
|
|
10647
|
+
|
|
10648
|
+
/***/ 69175:
|
|
10649
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
10650
|
+
|
|
10651
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10652
|
+
/* harmony export */ UNSAFE_PROTO_KEYS: function() { return /* binding */ UNSAFE_PROTO_KEYS; },
|
|
10653
|
+
/* harmony export */ isUnsafeProtoKey: function() { return /* binding */ isUnsafeProtoKey; }
|
|
10654
|
+
/* harmony export */ });
|
|
10655
|
+
/*!
|
|
10656
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
10657
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
10658
|
+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
|
|
10659
|
+
*/ /**
|
|
10660
|
+
* @module helpers/utils
|
|
10661
|
+
*/ /**
|
|
10662
|
+
* Keys that must never be written from a (potentially untrusted) source —
|
|
10663
|
+
* assigning them while walking/merging an object can reach and mutate
|
|
10664
|
+
* `Object.prototype` (prototype pollution, CWE-1321).
|
|
10665
|
+
*/ var UNSAFE_PROTO_KEYS = [
|
|
10666
|
+
'__proto__',
|
|
10667
|
+
'constructor',
|
|
10668
|
+
'prototype'
|
|
10669
|
+
];
|
|
10670
|
+
/**
|
|
10671
|
+
* Check whether a key can be used to pollute the prototype chain.
|
|
10672
|
+
*/ function isUnsafeProtoKey(key) {
|
|
10673
|
+
return UNSAFE_PROTO_KEYS.indexOf(key) !== -1;
|
|
10674
|
+
}
|
|
10648
10675
|
|
|
10649
10676
|
|
|
10650
10677
|
/***/ }),
|
|
@@ -11162,6 +11189,7 @@ var $$temp = function $$temp() {
|
|
|
11162
11189
|
/* harmony import */ var _checker_is_numeric_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(29807);
|
|
11163
11190
|
/* harmony import */ var _checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(72430);
|
|
11164
11191
|
/* harmony import */ var _checker_is_string_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(70799);
|
|
11192
|
+
/* harmony import */ var _is_unsafe_proto_key_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(69175);
|
|
11165
11193
|
/*!
|
|
11166
11194
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
11167
11195
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -11170,6 +11198,7 @@ var $$temp = function $$temp() {
|
|
|
11170
11198
|
|
|
11171
11199
|
|
|
11172
11200
|
|
|
11201
|
+
|
|
11173
11202
|
/**
|
|
11174
11203
|
* Safe access in tree object
|
|
11175
11204
|
*
|
|
@@ -11187,6 +11216,9 @@ var $$temp = function $$temp() {
|
|
|
11187
11216
|
return;
|
|
11188
11217
|
}
|
|
11189
11218
|
var parts = chain.split('.');
|
|
11219
|
+
if (parts.some(_is_unsafe_proto_key_js__WEBPACK_IMPORTED_MODULE_4__.isUnsafeProtoKey)) {
|
|
11220
|
+
return;
|
|
11221
|
+
}
|
|
11190
11222
|
var result = obj, key = parts[0];
|
|
11191
11223
|
for(var i = 0; i < parts.length - 1; i += 1){
|
|
11192
11224
|
key = parts[i];
|
|
@@ -37112,12 +37144,17 @@ var TABS = {
|
|
|
37112
37144
|
self.j.alert('The name should not be empty');
|
|
37113
37145
|
return false;
|
|
37114
37146
|
}
|
|
37147
|
+
self.j.e.fire('afterImageEditorSave', data, name);
|
|
37115
37148
|
self.onSave(name, data, self.hide, function(e) {
|
|
37116
37149
|
self.j.alert(e.message);
|
|
37117
37150
|
});
|
|
37118
37151
|
});
|
|
37119
37152
|
break;
|
|
37120
37153
|
case self.buttons.save:
|
|
37154
|
+
// Notify listeners that a crop/resize was applied,
|
|
37155
|
+
// passing the action box (action + box dimensions).
|
|
37156
|
+
// See https://github.com/xdan/jodit/issues/820
|
|
37157
|
+
self.j.e.fire('afterImageEditorSave', data);
|
|
37121
37158
|
self.onSave(undefined, data, self.hide, function(e) {
|
|
37122
37159
|
self.j.alert(e.message);
|
|
37123
37160
|
});
|
|
@@ -41355,6 +41392,15 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
41355
41392
|
if (!fileList.length) {
|
|
41356
41393
|
return Promise.reject((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_0__.error)('Need files'));
|
|
41357
41394
|
}
|
|
41395
|
+
// Client-side validation hook — returning `false` aborts the upload.
|
|
41396
|
+
// See https://github.com/xdan/jodit/issues/1329
|
|
41397
|
+
if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_0__.isFunction)(o.beforeUpload)) {
|
|
41398
|
+
if (o.beforeUpload.call(uploader, fileList) === false) {
|
|
41399
|
+
var err = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_0__.error)('Upload canceled');
|
|
41400
|
+
(handlerError || o.defaultHandlerError).call(uploader, err);
|
|
41401
|
+
return Promise.reject(err);
|
|
41402
|
+
}
|
|
41403
|
+
}
|
|
41358
41404
|
var promises = [];
|
|
41359
41405
|
if (o.insertImageAsBase64URI) {
|
|
41360
41406
|
readImagesWithReader(fileList, o.imagesExtensions, promises, uploader, handlerSuccess, o.defaultHandlerSuccess);
|
|
@@ -43799,6 +43845,14 @@ UiAiAssistant = __decorate([
|
|
|
43799
43845
|
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(32496);
|
|
43800
43846
|
/* harmony import */ var _cases_check_not_collapsed_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(11338);
|
|
43801
43847
|
/* harmony import */ var _cases_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(14630);
|
|
43848
|
+
function _array_like_to_array(arr, len) {
|
|
43849
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
43850
|
+
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
43851
|
+
return arr2;
|
|
43852
|
+
}
|
|
43853
|
+
function _array_with_holes(arr) {
|
|
43854
|
+
if (Array.isArray(arr)) return arr;
|
|
43855
|
+
}
|
|
43802
43856
|
function _assert_this_initialized(self) {
|
|
43803
43857
|
if (self === void 0) {
|
|
43804
43858
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
@@ -43867,6 +43921,33 @@ function _inherits(subClass, superClass) {
|
|
|
43867
43921
|
function _is_native_function(fn) {
|
|
43868
43922
|
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
|
43869
43923
|
}
|
|
43924
|
+
function _iterable_to_array_limit(arr, i) {
|
|
43925
|
+
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
43926
|
+
if (_i == null) return;
|
|
43927
|
+
var _arr = [];
|
|
43928
|
+
var _n = true;
|
|
43929
|
+
var _d = false;
|
|
43930
|
+
var _s, _e;
|
|
43931
|
+
try {
|
|
43932
|
+
for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
|
|
43933
|
+
_arr.push(_s.value);
|
|
43934
|
+
if (i && _arr.length === i) break;
|
|
43935
|
+
}
|
|
43936
|
+
} catch (err) {
|
|
43937
|
+
_d = true;
|
|
43938
|
+
_e = err;
|
|
43939
|
+
} finally{
|
|
43940
|
+
try {
|
|
43941
|
+
if (!_n && _i["return"] != null) _i["return"]();
|
|
43942
|
+
} finally{
|
|
43943
|
+
if (_d) throw _e;
|
|
43944
|
+
}
|
|
43945
|
+
}
|
|
43946
|
+
return _arr;
|
|
43947
|
+
}
|
|
43948
|
+
function _non_iterable_rest() {
|
|
43949
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
43950
|
+
}
|
|
43870
43951
|
function _possible_constructor_return(self, call) {
|
|
43871
43952
|
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
43872
43953
|
return call;
|
|
@@ -43880,10 +43961,21 @@ function _set_prototype_of(o, p) {
|
|
|
43880
43961
|
};
|
|
43881
43962
|
return _set_prototype_of(o, p);
|
|
43882
43963
|
}
|
|
43964
|
+
function _sliced_to_array(arr, i) {
|
|
43965
|
+
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
|
|
43966
|
+
}
|
|
43883
43967
|
function _type_of(obj) {
|
|
43884
43968
|
"@swc/helpers - typeof";
|
|
43885
43969
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
43886
43970
|
}
|
|
43971
|
+
function _unsupported_iterable_to_array(o, minLen) {
|
|
43972
|
+
if (!o) return;
|
|
43973
|
+
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
43974
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
43975
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
43976
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
43977
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
43978
|
+
}
|
|
43887
43979
|
function _wrap_native_super(Class) {
|
|
43888
43980
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
43889
43981
|
_wrap_native_super = function wrapNativeSuper(Class) {
|
|
@@ -44012,10 +44104,15 @@ var backspace = /*#__PURE__*/ function(Plugin) {
|
|
|
44012
44104
|
return false;
|
|
44013
44105
|
}
|
|
44014
44106
|
(0,_core_selection_helpers_index_js__WEBPACK_IMPORTED_MODULE_5__.moveNodeInsideStart)(jodit, fakeNode, backspace);
|
|
44015
|
-
|
|
44107
|
+
var disabled = jodit.o.delete.disableCases;
|
|
44108
|
+
if (_cases_index_js__WEBPACK_IMPORTED_MODULE_8__.casesMap.some(function(param) {
|
|
44109
|
+
var _param = _sliced_to_array(param, 2), key = _param[0], func = _param[1];
|
|
44110
|
+
if (disabled && disabled.has(key)) {
|
|
44111
|
+
return;
|
|
44112
|
+
}
|
|
44016
44113
|
if ((0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_3__.isFunction)(func) && func(jodit, fakeNode, backspace, mode)) {
|
|
44017
44114
|
if (!_core_constants_js__WEBPACK_IMPORTED_MODULE_0__.IS_PROD) {
|
|
44018
|
-
console.info('Remove case:',
|
|
44115
|
+
console.info('Remove case:', key);
|
|
44019
44116
|
}
|
|
44020
44117
|
return true;
|
|
44021
44118
|
}
|
|
@@ -44687,8 +44784,9 @@ function checkRepeatRemoveCharAction(backspace, sibling, fakeNode, mode, removed
|
|
|
44687
44784
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
44688
44785
|
|
|
44689
44786
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
44690
|
-
/* harmony export */
|
|
44787
|
+
/* harmony export */ casesMap: function() { return /* binding */ casesMap; }
|
|
44691
44788
|
/* harmony export */ });
|
|
44789
|
+
/* unused harmony export cases */
|
|
44692
44790
|
/* harmony import */ var _check_join_neighbors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(62845);
|
|
44693
44791
|
/* harmony import */ var _check_join_two_lists_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91748);
|
|
44694
44792
|
/* harmony import */ var _check_remove_char_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(73792);
|
|
@@ -44698,12 +44796,56 @@ function checkRepeatRemoveCharAction(backspace, sibling, fakeNode, mode, removed
|
|
|
44698
44796
|
/* harmony import */ var _check_remove_unbreakable_element_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(56825);
|
|
44699
44797
|
/* harmony import */ var _check_table_cell_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(90240);
|
|
44700
44798
|
/* harmony import */ var _check_unwrap_first_list_item_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(68034);
|
|
44799
|
+
function _array_like_to_array(arr, len) {
|
|
44800
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
44801
|
+
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
44802
|
+
return arr2;
|
|
44803
|
+
}
|
|
44804
|
+
function _array_with_holes(arr) {
|
|
44805
|
+
if (Array.isArray(arr)) return arr;
|
|
44806
|
+
}
|
|
44807
|
+
function _iterable_to_array_limit(arr, i) {
|
|
44808
|
+
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
44809
|
+
if (_i == null) return;
|
|
44810
|
+
var _arr = [];
|
|
44811
|
+
var _n = true;
|
|
44812
|
+
var _d = false;
|
|
44813
|
+
var _s, _e;
|
|
44814
|
+
try {
|
|
44815
|
+
for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
|
|
44816
|
+
_arr.push(_s.value);
|
|
44817
|
+
if (i && _arr.length === i) break;
|
|
44818
|
+
}
|
|
44819
|
+
} catch (err) {
|
|
44820
|
+
_d = true;
|
|
44821
|
+
_e = err;
|
|
44822
|
+
} finally{
|
|
44823
|
+
try {
|
|
44824
|
+
if (!_n && _i["return"] != null) _i["return"]();
|
|
44825
|
+
} finally{
|
|
44826
|
+
if (_d) throw _e;
|
|
44827
|
+
}
|
|
44828
|
+
}
|
|
44829
|
+
return _arr;
|
|
44830
|
+
}
|
|
44831
|
+
function _non_iterable_rest() {
|
|
44832
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
44833
|
+
}
|
|
44834
|
+
function _sliced_to_array(arr, i) {
|
|
44835
|
+
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
|
|
44836
|
+
}
|
|
44837
|
+
function _unsupported_iterable_to_array(o, minLen) {
|
|
44838
|
+
if (!o) return;
|
|
44839
|
+
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
44840
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
44841
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
44842
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
44843
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
44844
|
+
}
|
|
44701
44845
|
/*!
|
|
44702
44846
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
44703
44847
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
44704
44848
|
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
|
|
44705
|
-
*/ /**
|
|
44706
|
-
* @module plugins/backspace
|
|
44707
44849
|
*/
|
|
44708
44850
|
|
|
44709
44851
|
|
|
@@ -44714,18 +44856,55 @@ function checkRepeatRemoveCharAction(backspace, sibling, fakeNode, mode, removed
|
|
|
44714
44856
|
|
|
44715
44857
|
|
|
44716
44858
|
/**
|
|
44859
|
+
* Ordered delete/backspace cases with stable keys. The first one returning
|
|
44860
|
+
* `true` wins. The keys are stable across minified builds (function names are
|
|
44861
|
+
* mangled by terser) so they can be referenced by `delete.disableCases`.
|
|
44717
44862
|
* @private
|
|
44718
|
-
*/ var
|
|
44719
|
-
|
|
44720
|
-
|
|
44721
|
-
|
|
44722
|
-
|
|
44723
|
-
|
|
44724
|
-
|
|
44725
|
-
|
|
44726
|
-
|
|
44727
|
-
|
|
44863
|
+
*/ var casesMap = [
|
|
44864
|
+
[
|
|
44865
|
+
'remove-unbreakable',
|
|
44866
|
+
_check_remove_unbreakable_element_js__WEBPACK_IMPORTED_MODULE_6__.checkRemoveUnbreakableElement
|
|
44867
|
+
],
|
|
44868
|
+
[
|
|
44869
|
+
'remove-not-editable',
|
|
44870
|
+
_check_remove_content_not_editable_js__WEBPACK_IMPORTED_MODULE_3__.checkRemoveContentNotEditable
|
|
44871
|
+
],
|
|
44872
|
+
[
|
|
44873
|
+
'remove-char',
|
|
44874
|
+
_check_remove_char_js__WEBPACK_IMPORTED_MODULE_2__.checkRemoveChar
|
|
44875
|
+
],
|
|
44876
|
+
[
|
|
44877
|
+
'table-cell',
|
|
44878
|
+
_check_table_cell_js__WEBPACK_IMPORTED_MODULE_7__.checkTableCell
|
|
44879
|
+
],
|
|
44880
|
+
[
|
|
44881
|
+
'remove-empty-parent',
|
|
44882
|
+
_check_remove_empty_parent_js__WEBPACK_IMPORTED_MODULE_5__.checkRemoveEmptyParent
|
|
44883
|
+
],
|
|
44884
|
+
[
|
|
44885
|
+
'remove-empty-neighbor',
|
|
44886
|
+
_check_remove_empty_neighbor_js__WEBPACK_IMPORTED_MODULE_4__.checkRemoveEmptyNeighbor
|
|
44887
|
+
],
|
|
44888
|
+
[
|
|
44889
|
+
'join-two-lists',
|
|
44890
|
+
_check_join_two_lists_js__WEBPACK_IMPORTED_MODULE_1__.checkJoinTwoLists
|
|
44891
|
+
],
|
|
44892
|
+
[
|
|
44893
|
+
'join-neighbors',
|
|
44894
|
+
_check_join_neighbors_js__WEBPACK_IMPORTED_MODULE_0__.checkJoinNeighbors
|
|
44895
|
+
],
|
|
44896
|
+
[
|
|
44897
|
+
'unwrap-first-list-item',
|
|
44898
|
+
_check_unwrap_first_list_item_js__WEBPACK_IMPORTED_MODULE_8__.checkUnwrapFirstListItem
|
|
44899
|
+
]
|
|
44728
44900
|
];
|
|
44901
|
+
/**
|
|
44902
|
+
* @private
|
|
44903
|
+
* @deprecated Use `casesMap` to also get the stable case keys.
|
|
44904
|
+
*/ var cases = casesMap.map(function(param) {
|
|
44905
|
+
var _param = _sliced_to_array(param, 2), fn = _param[1];
|
|
44906
|
+
return fn;
|
|
44907
|
+
});
|
|
44729
44908
|
|
|
44730
44909
|
|
|
44731
44910
|
/***/ }),
|
|
@@ -45617,6 +45796,21 @@ function _is_native_reflect_construct() {
|
|
|
45617
45796
|
return false;
|
|
45618
45797
|
}
|
|
45619
45798
|
},
|
|
45799
|
+
{
|
|
45800
|
+
/**
|
|
45801
|
+
* Collapse a value that holds only a single empty block (e.g.
|
|
45802
|
+
* `<p><br></p>` left after deleting all content) to an empty string —
|
|
45803
|
+
* opt-in via `cleanHTML.collapseEmptyValueToEmptyString`. See #1149
|
|
45804
|
+
*/ key: "onAfterGetValueFromEditor",
|
|
45805
|
+
value: function onAfterGetValueFromEditor(data) {
|
|
45806
|
+
if (!this.j.o.cleanHTML.collapseEmptyValueToEmptyString) {
|
|
45807
|
+
return;
|
|
45808
|
+
}
|
|
45809
|
+
if (/^<([a-z][a-z0-9]*)\b[^>]*>(?:<br\/?>)?<\/\1>$/i.test(data.value.trim())) {
|
|
45810
|
+
data.value = '';
|
|
45811
|
+
}
|
|
45812
|
+
}
|
|
45813
|
+
},
|
|
45620
45814
|
{
|
|
45621
45815
|
key: "onSafeHTML",
|
|
45622
45816
|
value: function onSafeHTML(sandBox) {
|
|
@@ -45654,6 +45848,9 @@ __decorate([
|
|
|
45654
45848
|
__decorate([
|
|
45655
45849
|
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_0__.watch)(':beforeSetNativeEditorValue')
|
|
45656
45850
|
], cleanHtml.prototype, "onBeforeSetNativeEditorValue", null);
|
|
45851
|
+
__decorate([
|
|
45852
|
+
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_0__.watch)(':afterGetValueFromEditor')
|
|
45853
|
+
], cleanHtml.prototype, "onAfterGetValueFromEditor", null);
|
|
45657
45854
|
__decorate([
|
|
45658
45855
|
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_0__.watch)(':safeHTML')
|
|
45659
45856
|
], cleanHtml.prototype, "onSafeHTML", null);
|
|
@@ -45679,6 +45876,7 @@ _config_js__WEBPACK_IMPORTED_MODULE_1__.Config.prototype.cleanHTML = {
|
|
|
45679
45876
|
timeout: 300,
|
|
45680
45877
|
removeEmptyElements: true,
|
|
45681
45878
|
fillEmptyParagraph: true,
|
|
45879
|
+
collapseEmptyValueToEmptyString: false,
|
|
45682
45880
|
replaceNBSP: true,
|
|
45683
45881
|
replaceOldTags: {
|
|
45684
45882
|
i: 'em',
|
|
@@ -50040,6 +50238,25 @@ _config_js__WEBPACK_IMPORTED_MODULE_4__.Config.prototype.controls.font = _object
|
|
|
50040
50238
|
return v.toLowerCase().replace(/['"]+/g, '').replace(/[^a-z0-9-]+/g, ',');
|
|
50041
50239
|
}
|
|
50042
50240
|
},
|
|
50241
|
+
// When no font is explicitly set, the computed font-family equals the
|
|
50242
|
+
// editor's own default (e.g. `-apple-system, …`). Return '' so the
|
|
50243
|
+
// button shows the `Default` list entry instead of that raw stack.
|
|
50244
|
+
// See #1370
|
|
50245
|
+
value: function value(editor) {
|
|
50246
|
+
var current = editor.s.current();
|
|
50247
|
+
if (!current) {
|
|
50248
|
+
return;
|
|
50249
|
+
}
|
|
50250
|
+
var box = _core_dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.closest(current, _core_dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isElement, editor.editor);
|
|
50251
|
+
if (!box) {
|
|
50252
|
+
return;
|
|
50253
|
+
}
|
|
50254
|
+
var value = (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_2__.css)(box, 'font-family').toString();
|
|
50255
|
+
if (value === (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_2__.css)(editor.editor, 'font-family').toString()) {
|
|
50256
|
+
return '';
|
|
50257
|
+
}
|
|
50258
|
+
return value;
|
|
50259
|
+
},
|
|
50043
50260
|
tooltip: 'Font family'
|
|
50044
50261
|
});
|
|
50045
50262
|
|
|
@@ -57155,6 +57372,7 @@ _config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.link = {
|
|
|
57155
57372
|
noFollowCheckbox: true,
|
|
57156
57373
|
openInNewTabCheckbox: true,
|
|
57157
57374
|
openInNewTabCheckboxDefaultChecked: false,
|
|
57375
|
+
ariaLabelInput: false,
|
|
57158
57376
|
modeClassName: 'input',
|
|
57159
57377
|
selectMultipleClassName: true,
|
|
57160
57378
|
preventReadOnlyNavigation: true,
|
|
@@ -57470,7 +57688,7 @@ function _is_native_reflect_construct() {
|
|
|
57470
57688
|
var currentElement = current;
|
|
57471
57689
|
var isImageContent = _core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isImage(currentElement);
|
|
57472
57690
|
var content_input = elements.content_input;
|
|
57473
|
-
var className_input = elements.className_input, className_select = elements.className_select;
|
|
57691
|
+
var className_input = elements.className_input, className_select = elements.className_select, aria_label_input = elements.aria_label_input;
|
|
57474
57692
|
if (!content_input) {
|
|
57475
57693
|
content_input = jodit.c.element('input', {
|
|
57476
57694
|
type: 'hidden',
|
|
@@ -57495,6 +57713,9 @@ function _is_native_reflect_construct() {
|
|
|
57495
57713
|
if (!isImageContent && current) {
|
|
57496
57714
|
content_input.value = getSelectionText();
|
|
57497
57715
|
}
|
|
57716
|
+
if (aria_label_input) {
|
|
57717
|
+
aria_label_input.value = _$link ? (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.attr)(_$link, 'aria-label') || '' : '';
|
|
57718
|
+
}
|
|
57498
57719
|
if (_$link) {
|
|
57499
57720
|
url_input.value = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.attr)(_$link, 'href') || '';
|
|
57500
57721
|
if (modeClassName) {
|
|
@@ -57584,6 +57805,10 @@ function _is_native_reflect_construct() {
|
|
|
57584
57805
|
}
|
|
57585
57806
|
(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.attr)(a, 'rel', relParts.length ? relParts.join(' ') : null);
|
|
57586
57807
|
}
|
|
57808
|
+
if (aria_label_input) {
|
|
57809
|
+
var ariaLabel = aria_label_input.value.trim();
|
|
57810
|
+
(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.attr)(a, 'aria-label', ariaLabel || null);
|
|
57811
|
+
}
|
|
57587
57812
|
jodit.e.fire('applyLink', jodit, a, form);
|
|
57588
57813
|
});
|
|
57589
57814
|
jodit.synchronizeValues();
|
|
@@ -57728,7 +57953,7 @@ function writeImage(a, content_input, textWasChanged, url_input) {
|
|
|
57728
57953
|
*/
|
|
57729
57954
|
|
|
57730
57955
|
var formTemplate = function formTemplate(editor) {
|
|
57731
|
-
var _editor_o_link = editor.o.link, openInNewTabCheckbox = _editor_o_link.openInNewTabCheckbox, noFollowCheckbox = _editor_o_link.noFollowCheckbox, modeClassName = _editor_o_link.modeClassName, selectSizeClassName = _editor_o_link.selectSizeClassName, selectMultipleClassName = _editor_o_link.selectMultipleClassName, selectOptionsClassName = _editor_o_link.selectOptionsClassName;
|
|
57956
|
+
var _editor_o_link = editor.o.link, openInNewTabCheckbox = _editor_o_link.openInNewTabCheckbox, noFollowCheckbox = _editor_o_link.noFollowCheckbox, ariaLabelInput = _editor_o_link.ariaLabelInput, modeClassName = _editor_o_link.modeClassName, selectSizeClassName = _editor_o_link.selectSizeClassName, selectMultipleClassName = _editor_o_link.selectMultipleClassName, selectOptionsClassName = _editor_o_link.selectOptionsClassName;
|
|
57732
57957
|
return new _core_ui_form_index_js__WEBPACK_IMPORTED_MODULE_1__.UIForm(editor, [
|
|
57733
57958
|
new _core_ui_form_index_js__WEBPACK_IMPORTED_MODULE_1__.UIBlock(editor, [
|
|
57734
57959
|
new _core_ui_form_index_js__WEBPACK_IMPORTED_MODULE_1__.UIInput(editor, {
|
|
@@ -57740,6 +57965,13 @@ var formTemplate = function formTemplate(editor) {
|
|
|
57740
57965
|
required: true
|
|
57741
57966
|
})
|
|
57742
57967
|
]),
|
|
57968
|
+
ariaLabelInput ? new _core_ui_form_index_js__WEBPACK_IMPORTED_MODULE_1__.UIBlock(editor, [
|
|
57969
|
+
new _core_ui_form_index_js__WEBPACK_IMPORTED_MODULE_1__.UIInput(editor, {
|
|
57970
|
+
name: 'ariaLabel',
|
|
57971
|
+
ref: 'aria_label_input',
|
|
57972
|
+
label: 'Aria label'
|
|
57973
|
+
})
|
|
57974
|
+
]) : null,
|
|
57743
57975
|
new _core_ui_form_index_js__WEBPACK_IMPORTED_MODULE_1__.UIBlock(editor, [
|
|
57744
57976
|
new _core_ui_form_index_js__WEBPACK_IMPORTED_MODULE_1__.UIInput(editor, {
|
|
57745
57977
|
name: 'content',
|
|
@@ -64226,15 +64458,40 @@ var selectCells = /*#__PURE__*/ function(Plugin) {
|
|
|
64226
64458
|
/**
|
|
64227
64459
|
* Mouse click inside the table
|
|
64228
64460
|
*/ key: "onStartSelection",
|
|
64229
|
-
value: function onStartSelection(cell) {
|
|
64461
|
+
value: function onStartSelection(cell, event) {
|
|
64462
|
+
var _this = this;
|
|
64463
|
+
var _a;
|
|
64230
64464
|
if (this.j.o.readonly) {
|
|
64231
64465
|
return;
|
|
64232
64466
|
}
|
|
64467
|
+
var table = _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.closest(cell, 'table', this.j.editor);
|
|
64468
|
+
// Ctrl/Cmd + click toggles a single cell into the existing selection
|
|
64469
|
+
// instead of resetting it — non-contiguous multi-cell selection.
|
|
64470
|
+
// See https://github.com/xdan/jodit/issues/1163
|
|
64471
|
+
if (((event === null || event === void 0 ? void 0 : event.ctrlKey) || (event === null || event === void 0 ? void 0 : event.metaKey)) && cell !== this.j.editor && table && _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isCell(cell)) {
|
|
64472
|
+
if (this.__tableModule.getAllSelectedCells().includes(cell)) {
|
|
64473
|
+
this.__tableModule.removeSelection(cell);
|
|
64474
|
+
} else {
|
|
64475
|
+
if (!cell.firstChild) {
|
|
64476
|
+
cell.appendChild(this.j.createInside.element('br'));
|
|
64477
|
+
}
|
|
64478
|
+
this.__tableModule.addSelection(cell);
|
|
64479
|
+
}
|
|
64480
|
+
this.__selectedCell = cell;
|
|
64481
|
+
(_a = this.j.s.sel) === null || _a === void 0 ? void 0 : _a.removeAllRanges();
|
|
64482
|
+
if (this.__tableModule.getAllSelectedCells().length) {
|
|
64483
|
+
this.j.e.fire('showPopup', table, function() {
|
|
64484
|
+
return (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.position)(cell, _this.j);
|
|
64485
|
+
}, 'cells');
|
|
64486
|
+
} else {
|
|
64487
|
+
this.j.e.fire('hidePopup', 'cells');
|
|
64488
|
+
}
|
|
64489
|
+
return false;
|
|
64490
|
+
}
|
|
64233
64491
|
this.unselectCells();
|
|
64234
64492
|
if (cell === this.j.editor) {
|
|
64235
64493
|
return;
|
|
64236
64494
|
}
|
|
64237
|
-
var table = _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.closest(cell, 'table', this.j.editor);
|
|
64238
64495
|
if (!cell || !table) {
|
|
64239
64496
|
return;
|
|
64240
64497
|
}
|
|
@@ -65359,7 +65616,7 @@ _config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.sourceEditorNativeOptio
|
|
|
65359
65616
|
*/ highlightActiveLine: true
|
|
65360
65617
|
};
|
|
65361
65618
|
_config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.sourceEditorCDNUrlsJS = [
|
|
65362
|
-
'https://cdnjs.cloudflare.com/ajax/libs/ace/1.
|
|
65619
|
+
'https://cdnjs.cloudflare.com/ajax/libs/ace/1.43.3/ace.js'
|
|
65363
65620
|
];
|
|
65364
65621
|
_config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.beautifyHTMLCDNUrlsJS = [
|
|
65365
65622
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js',
|
|
@@ -72349,10 +72606,9 @@ var JoditPro = /*#__PURE__*/ function(Jodit) {
|
|
|
72349
72606
|
|
|
72350
72607
|
/***/ }),
|
|
72351
72608
|
|
|
72352
|
-
/***/
|
|
72609
|
+
/***/ 49934:
|
|
72353
72610
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
72354
72611
|
|
|
72355
|
-
__webpack_require__.r(__webpack_exports__);
|
|
72356
72612
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
72357
72613
|
/* harmony export */ autocomplete: function() { return /* binding */ autocomplete; }
|
|
72358
72614
|
/* harmony export */ });
|
|
@@ -73185,7 +73441,7 @@ AutocompleteItem = (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__de
|
|
|
73185
73441
|
/* harmony import */ var jodit_esm_plugins_all__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25187);
|
|
73186
73442
|
/* harmony import */ var jodit_pro_plugins_paste_from_word_paste_from_word__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(58858);
|
|
73187
73443
|
/* harmony import */ var jodit_pro_plugins_license_license__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(21246);
|
|
73188
|
-
/* harmony import */ var
|
|
73444
|
+
/* harmony import */ var jodit_pro_plugins_autocomplete_autocomplete_impl__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(49934);
|
|
73189
73445
|
/* harmony import */ var jodit_esm_plugins_speech_recognize_speech_recognize__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3115);
|
|
73190
73446
|
/*!
|
|
73191
73447
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
@@ -73194,6 +73450,9 @@ AutocompleteItem = (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_5__.__de
|
|
|
73194
73450
|
*/
|
|
73195
73451
|
|
|
73196
73452
|
|
|
73453
|
+
// `.impl` (not the standalone entry) — the entry additionally carries the
|
|
73454
|
+
// standalone stylesheet that must stay OUT of the main bundle so webpack
|
|
73455
|
+
// emits plugins/autocomplete/autocomplete.min.css. See #1308
|
|
73197
73456
|
|
|
73198
73457
|
|
|
73199
73458
|
|