jodit-pro 4.11.19 → 4.11.23
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 +17 -14
- package/es2015/jodit.js +233 -13
- package/es2015/jodit.min.css +1 -1
- package/es2015/jodit.min.js +6 -6
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.css +239 -168
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.js +357 -76
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.min.css +1 -1
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.min.js +42 -39
- 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 +10 -4
- package/es2015/plugins/finder/finder.min.js +2 -2
- 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 +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 +17 -14
- package/es2018/jodit.min.css +1 -1
- package/es2018/jodit.min.js +6 -6
- package/es2018/plugins/ai-assistant-pro/ai-assistant-pro.min.css +1 -1
- package/es2018/plugins/ai-assistant-pro/ai-assistant-pro.min.js +49 -46
- 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 +2 -2
- 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 +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 +23 -16
- package/es2021/jodit.js +145 -13
- package/es2021/jodit.min.css +1 -1
- package/es2021/jodit.min.js +11 -7
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.css +239 -168
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.js +351 -74
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.min.css +1 -1
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.min.js +24 -21
- 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 +9 -4
- package/es2021/plugins/finder/finder.min.js +2 -2
- 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 +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 +24 -17
- package/es2021.en/jodit.js +145 -13
- package/es2021.en/jodit.min.css +1 -1
- package/es2021.en/jodit.min.js +14 -10
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.css +239 -168
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.js +351 -74
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.min.css +1 -1
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.min.js +24 -21
- 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 +9 -4
- package/es2021.en/plugins/finder/finder.min.js +2 -2
- 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 +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 +336 -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 +239 -168
- package/es5/plugins/ai-assistant-pro/ai-assistant-pro.js +527 -112
- package/es5/plugins/ai-assistant-pro/ai-assistant-pro.min.css +1 -1
- package/es5/plugins/ai-assistant-pro/ai-assistant-pro.min.js +2 -2
- 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 +10 -5
- package/es5/plugins/finder/finder.min.js +2 -2
- 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 +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/esm/plugins/ai-assistant-pro/ai-assistant-pro.d.ts +10 -0
- package/esm/plugins/ai-assistant-pro/ai-assistant-pro.js +2 -2
- package/esm/plugins/ai-assistant-pro/config.js +1 -1
- package/esm/plugins/ai-assistant-pro/core/block-utils.js +1 -1
- package/esm/plugins/ai-assistant-pro/core/conversation.d.ts +10 -1
- package/esm/plugins/ai-assistant-pro/core/conversation.js +1 -1
- package/esm/plugins/ai-assistant-pro/icons/chevron-right.svg.js +1 -0
- package/esm/plugins/ai-assistant-pro/icons/shield.svg.js +1 -0
- package/esm/plugins/ai-assistant-pro/icons/tool-bolt.svg.js +1 -0
- package/esm/plugins/ai-assistant-pro/ui/conversation-list/conversation-list-item.d.ts +6 -1
- package/esm/plugins/ai-assistant-pro/ui/conversation-list/conversation-list-item.js +1 -1
- package/esm/plugins/ai-assistant-pro/ui/input-area/input-area.js +1 -1
- package/esm/plugins/ai-assistant-pro/ui/main-panel/main-panel.d.ts +6 -0
- package/esm/plugins/ai-assistant-pro/ui/main-panel/main-panel.js +2 -2
- package/esm/plugins/ai-assistant-pro/ui/message-list/item/message-list-item.js +1 -1
- package/esm/plugins/ai-assistant-pro/ui/permission-request/permission-request.js +7 -4
- package/esm/plugins/finder/helpers/loading-manager.js +1 -1
- package/package.json +1 -1
- package/types/plugins/ai-assistant-pro/ai-assistant-pro.d.ts +10 -0
- package/types/plugins/ai-assistant-pro/core/conversation.d.ts +10 -1
- package/types/plugins/ai-assistant-pro/ui/conversation-list/conversation-list-item.d.ts +6 -1
- package/types/plugins/ai-assistant-pro/ui/main-panel/main-panel.d.ts +6 -0
package/es2015/jodit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valerii <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.11.
|
|
4
|
+
* Version: v4.11.23
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -1772,7 +1772,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1772
1772
|
* ```
|
|
1773
1773
|
* @packageDocumentation
|
|
1774
1774
|
* @module constants
|
|
1775
|
-
*/ const APP_VERSION = "4.11.
|
|
1775
|
+
*/ const APP_VERSION = "4.11.23";
|
|
1776
1776
|
// prettier-ignore
|
|
1777
1777
|
const ES = "es2015";
|
|
1778
1778
|
const IS_ES_MODERN = true;
|
|
@@ -4173,7 +4173,7 @@ __decorate([
|
|
|
4173
4173
|
}
|
|
4174
4174
|
}
|
|
4175
4175
|
function isDOMElement(subject) {
|
|
4176
|
-
return (0,_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_3__.isFunction)(subject.addEventListener);
|
|
4176
|
+
return subject && (0,_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_3__.isFunction)(subject.addEventListener);
|
|
4177
4177
|
}
|
|
4178
4178
|
|
|
4179
4179
|
|
|
@@ -9390,6 +9390,80 @@ __decorate([
|
|
|
9390
9390
|
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(6441);
|
|
9391
9391
|
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(57459);
|
|
9392
9392
|
/* harmony import */ var _response_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(98582);
|
|
9393
|
+
function _async_generator(gen) {
|
|
9394
|
+
var front, back;
|
|
9395
|
+
function send(key, arg) {
|
|
9396
|
+
return new Promise(function(resolve, reject) {
|
|
9397
|
+
var request = {
|
|
9398
|
+
key: key,
|
|
9399
|
+
arg: arg,
|
|
9400
|
+
resolve: resolve,
|
|
9401
|
+
reject: reject,
|
|
9402
|
+
next: null
|
|
9403
|
+
};
|
|
9404
|
+
if (back) back = back.next = request;
|
|
9405
|
+
else {
|
|
9406
|
+
front = back = request;
|
|
9407
|
+
resume(key, arg);
|
|
9408
|
+
}
|
|
9409
|
+
});
|
|
9410
|
+
}
|
|
9411
|
+
function resume(key, arg) {
|
|
9412
|
+
try {
|
|
9413
|
+
var result = gen[key](arg);
|
|
9414
|
+
var value = result.value;
|
|
9415
|
+
var overloaded = value instanceof _overload_yield;
|
|
9416
|
+
Promise.resolve(overloaded ? value.v : value).then(function(arg) {
|
|
9417
|
+
if (overloaded) {
|
|
9418
|
+
var nextKey = key === "return" ? "return" : "next";
|
|
9419
|
+
if (!value.k || arg.done) return resume(nextKey, arg);
|
|
9420
|
+
else arg = gen[nextKey](arg).value;
|
|
9421
|
+
}
|
|
9422
|
+
settle(result.done ? "return" : "normal", arg);
|
|
9423
|
+
}, function(err) {
|
|
9424
|
+
resume("throw", err);
|
|
9425
|
+
});
|
|
9426
|
+
} catch (err) {
|
|
9427
|
+
settle("throw", err);
|
|
9428
|
+
}
|
|
9429
|
+
}
|
|
9430
|
+
function settle(type, value) {
|
|
9431
|
+
switch(type){
|
|
9432
|
+
case "return":
|
|
9433
|
+
front.resolve({
|
|
9434
|
+
value: value,
|
|
9435
|
+
done: true
|
|
9436
|
+
});
|
|
9437
|
+
break;
|
|
9438
|
+
case "throw":
|
|
9439
|
+
front.reject(value);
|
|
9440
|
+
break;
|
|
9441
|
+
default:
|
|
9442
|
+
front.resolve({
|
|
9443
|
+
value: value,
|
|
9444
|
+
done: false
|
|
9445
|
+
});
|
|
9446
|
+
break;
|
|
9447
|
+
}
|
|
9448
|
+
front = front.next;
|
|
9449
|
+
if (front) resume(front.key, front.arg);
|
|
9450
|
+
else back = null;
|
|
9451
|
+
}
|
|
9452
|
+
this._invoke = send;
|
|
9453
|
+
if (typeof gen.return !== "function") this.return = undefined;
|
|
9454
|
+
}
|
|
9455
|
+
_async_generator.prototype[typeof Symbol === "function" && Symbol.asyncIterator || "@@asyncIterator"] = function() {
|
|
9456
|
+
return this;
|
|
9457
|
+
};
|
|
9458
|
+
_async_generator.prototype.next = function(arg) {
|
|
9459
|
+
return this._invoke("next", arg);
|
|
9460
|
+
};
|
|
9461
|
+
_async_generator.prototype.throw = function(arg) {
|
|
9462
|
+
return this._invoke("throw", arg);
|
|
9463
|
+
};
|
|
9464
|
+
_async_generator.prototype.return = function(arg) {
|
|
9465
|
+
return this._invoke("return", arg);
|
|
9466
|
+
};
|
|
9393
9467
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
9394
9468
|
try {
|
|
9395
9469
|
var info = gen[key](arg);
|
|
@@ -9419,6 +9493,9 @@ function _async_to_generator(fn) {
|
|
|
9419
9493
|
});
|
|
9420
9494
|
};
|
|
9421
9495
|
}
|
|
9496
|
+
function _await_async_generator(value) {
|
|
9497
|
+
return new _overload_yield(value, 0);
|
|
9498
|
+
}
|
|
9422
9499
|
function _define_property(obj, key, value) {
|
|
9423
9500
|
if (key in obj) {
|
|
9424
9501
|
Object.defineProperty(obj, key, {
|
|
@@ -9447,6 +9524,15 @@ function _object_spread(target) {
|
|
|
9447
9524
|
}
|
|
9448
9525
|
return target;
|
|
9449
9526
|
}
|
|
9527
|
+
function _overload_yield(value, kind) {
|
|
9528
|
+
this.v = value;
|
|
9529
|
+
this.k = kind;
|
|
9530
|
+
}
|
|
9531
|
+
function _wrap_async_generator(fn) {
|
|
9532
|
+
return function() {
|
|
9533
|
+
return new _async_generator(fn.apply(this, arguments));
|
|
9534
|
+
};
|
|
9535
|
+
}
|
|
9450
9536
|
/*!
|
|
9451
9537
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
9452
9538
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -9559,6 +9645,108 @@ class Ajax {
|
|
|
9559
9645
|
}, 0);
|
|
9560
9646
|
}).call(this));
|
|
9561
9647
|
}
|
|
9648
|
+
stream() {
|
|
9649
|
+
return _wrap_async_generator(function*() {
|
|
9650
|
+
var _a;
|
|
9651
|
+
this.__activated = true;
|
|
9652
|
+
const { xhr, o } = this;
|
|
9653
|
+
const request = this.prepareRequest();
|
|
9654
|
+
let lastIndex = 0;
|
|
9655
|
+
let buffer = '';
|
|
9656
|
+
const queue = [];
|
|
9657
|
+
let waitResolve = null;
|
|
9658
|
+
let done = false;
|
|
9659
|
+
let streamError = null;
|
|
9660
|
+
const notify = ()=>{
|
|
9661
|
+
if (waitResolve) {
|
|
9662
|
+
const r = waitResolve;
|
|
9663
|
+
waitResolve = null;
|
|
9664
|
+
r();
|
|
9665
|
+
}
|
|
9666
|
+
};
|
|
9667
|
+
const processChunk = (final)=>{
|
|
9668
|
+
var _a;
|
|
9669
|
+
const text = xhr.responseText;
|
|
9670
|
+
buffer += text.substring(lastIndex);
|
|
9671
|
+
lastIndex = text.length;
|
|
9672
|
+
const events = buffer.split('\n\n');
|
|
9673
|
+
buffer = final ? '' : (_a = events.pop()) !== null && _a !== void 0 ? _a : '';
|
|
9674
|
+
for (const event of events){
|
|
9675
|
+
const trimmed = event.trim();
|
|
9676
|
+
if (!trimmed) {
|
|
9677
|
+
continue;
|
|
9678
|
+
}
|
|
9679
|
+
const dataLines = [];
|
|
9680
|
+
for (const line of trimmed.split('\n')){
|
|
9681
|
+
if (line.startsWith('data: ')) {
|
|
9682
|
+
dataLines.push(line.slice(6));
|
|
9683
|
+
} else if (line.startsWith('data:')) {
|
|
9684
|
+
dataLines.push(line.slice(5));
|
|
9685
|
+
}
|
|
9686
|
+
}
|
|
9687
|
+
if (dataLines.length) {
|
|
9688
|
+
queue.push(dataLines.join('\n'));
|
|
9689
|
+
}
|
|
9690
|
+
}
|
|
9691
|
+
notify();
|
|
9692
|
+
};
|
|
9693
|
+
xhr.onprogress = ()=>processChunk(false);
|
|
9694
|
+
xhr.onload = ()=>{
|
|
9695
|
+
processChunk(true);
|
|
9696
|
+
done = true;
|
|
9697
|
+
this.__isFulfilled = true;
|
|
9698
|
+
notify();
|
|
9699
|
+
};
|
|
9700
|
+
xhr.onerror = ()=>{
|
|
9701
|
+
streamError = _helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_4__.connection('Connection error');
|
|
9702
|
+
done = true;
|
|
9703
|
+
this.__isFulfilled = true;
|
|
9704
|
+
notify();
|
|
9705
|
+
};
|
|
9706
|
+
xhr.onabort = ()=>{
|
|
9707
|
+
streamError = _helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_4__.abort('Abort connection');
|
|
9708
|
+
done = true;
|
|
9709
|
+
this.__isFulfilled = true;
|
|
9710
|
+
notify();
|
|
9711
|
+
};
|
|
9712
|
+
xhr.withCredentials = (_a = o.withCredentials) !== null && _a !== void 0 ? _a : false;
|
|
9713
|
+
const { url, data, method } = request;
|
|
9714
|
+
xhr.open(method, url, true);
|
|
9715
|
+
if (o.contentType && xhr.setRequestHeader) {
|
|
9716
|
+
xhr.setRequestHeader('Content-type', o.contentType);
|
|
9717
|
+
}
|
|
9718
|
+
let { headers } = o;
|
|
9719
|
+
if ((0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isFunction)(headers)) {
|
|
9720
|
+
headers = yield _await_async_generator(headers.call(this));
|
|
9721
|
+
}
|
|
9722
|
+
if (headers && xhr.setRequestHeader) {
|
|
9723
|
+
Object.keys(headers).forEach((key)=>{
|
|
9724
|
+
xhr.setRequestHeader(key, headers[key]);
|
|
9725
|
+
});
|
|
9726
|
+
}
|
|
9727
|
+
xhr.send(data ? this.__buildParams(data) : undefined);
|
|
9728
|
+
try {
|
|
9729
|
+
while(true){
|
|
9730
|
+
if (queue.length > 0) {
|
|
9731
|
+
yield queue.shift();
|
|
9732
|
+
} else if (done) {
|
|
9733
|
+
break;
|
|
9734
|
+
} else {
|
|
9735
|
+
yield _await_async_generator(new Promise((r)=>{
|
|
9736
|
+
waitResolve = r;
|
|
9737
|
+
}));
|
|
9738
|
+
}
|
|
9739
|
+
}
|
|
9740
|
+
} finally{
|
|
9741
|
+
if (!this.__isFulfilled) {
|
|
9742
|
+
this.abort();
|
|
9743
|
+
}
|
|
9744
|
+
}
|
|
9745
|
+
if (streamError) {
|
|
9746
|
+
throw streamError;
|
|
9747
|
+
}
|
|
9748
|
+
}).call(this);
|
|
9749
|
+
}
|
|
9562
9750
|
prepareRequest() {
|
|
9563
9751
|
if (!this.o.url) {
|
|
9564
9752
|
throw _helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_4__.error('Need URL for AJAX request');
|
|
@@ -13651,12 +13839,23 @@ let UITooltip = UITooltip_1 = class UITooltip extends _element_js__WEBPACK_IMPOR
|
|
|
13651
13839
|
}
|
|
13652
13840
|
__show(getPoint, content) {
|
|
13653
13841
|
this.setMod('visible', true);
|
|
13842
|
+
this.setMod('above', false);
|
|
13654
13843
|
this.getElm('content').innerHTML = content;
|
|
13655
13844
|
const point = getPoint();
|
|
13656
13845
|
(0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_5__.css)(this.container, {
|
|
13657
13846
|
left: point.x,
|
|
13658
13847
|
top: point.y
|
|
13659
13848
|
});
|
|
13849
|
+
const tooltipPos = (0,_helpers_size_position_js__WEBPACK_IMPORTED_MODULE_4__.position)(this.container);
|
|
13850
|
+
const viewHeight = this.j.ow.innerHeight;
|
|
13851
|
+
// If tooltip overflows below viewport, show it above the target
|
|
13852
|
+
if (tooltipPos.top + tooltipPos.height > viewHeight) {
|
|
13853
|
+
const targetPos = (0,_helpers_size_position_js__WEBPACK_IMPORTED_MODULE_4__.position)(this.__currentTarget);
|
|
13854
|
+
this.setMod('above', true);
|
|
13855
|
+
(0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_5__.css)(this.container, {
|
|
13856
|
+
top: targetPos.top - tooltipPos.height
|
|
13857
|
+
});
|
|
13858
|
+
}
|
|
13660
13859
|
}
|
|
13661
13860
|
__hide() {
|
|
13662
13861
|
this.j.async.clearTimeout(this.__delayShowTimeout);
|
|
@@ -35085,12 +35284,23 @@ const brBoxes = new Set([
|
|
|
35085
35284
|
* if it is not allowed, it deletes an empty block element or moves the cursor after it
|
|
35086
35285
|
* @internal
|
|
35087
35286
|
*/ function checkBlockNesting(jodit, node) {
|
|
35287
|
+
var _a, _b;
|
|
35088
35288
|
if (_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isFragment(node)) {
|
|
35089
35289
|
node = node.firstChild;
|
|
35090
35290
|
}
|
|
35091
35291
|
if (jodit.o.dtd.checkBlockNesting && _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isBlock(node)) {
|
|
35092
|
-
|
|
35093
|
-
|
|
35292
|
+
let parent = null;
|
|
35293
|
+
let current = (_b = (_a = jodit.s.current()) === null || _a === void 0 ? void 0 : _a.parentElement) !== null && _b !== void 0 ? _b : null;
|
|
35294
|
+
while(current && current !== jodit.editor){
|
|
35295
|
+
if (_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isBlock(current)) {
|
|
35296
|
+
if (jodit.o.dtd.blockLimits[current.nodeName.toLowerCase()]) {
|
|
35297
|
+
break;
|
|
35298
|
+
}
|
|
35299
|
+
parent = current;
|
|
35300
|
+
}
|
|
35301
|
+
current = current.parentElement;
|
|
35302
|
+
}
|
|
35303
|
+
if (parent) {
|
|
35094
35304
|
jodit.s.setCursorAfter(parent);
|
|
35095
35305
|
if (_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isEmpty(parent)) {
|
|
35096
35306
|
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.safeRemove(parent);
|
|
@@ -35818,7 +36028,9 @@ function focus(editor) {
|
|
|
35818
36028
|
editor.s.save(true);
|
|
35819
36029
|
}
|
|
35820
36030
|
}).on('focus', ()=>{
|
|
35821
|
-
editor.
|
|
36031
|
+
if (editor.isEditorMode()) {
|
|
36032
|
+
editor.s.restore();
|
|
36033
|
+
}
|
|
35822
36034
|
});
|
|
35823
36035
|
}
|
|
35824
36036
|
const focus = ()=>{
|
|
@@ -35943,11 +36155,8 @@ _config_js__WEBPACK_IMPORTED_MODULE_4__.Config.prototype.controls.fontsize = {
|
|
|
35943
36155
|
command: 'fontsize',
|
|
35944
36156
|
data: {
|
|
35945
36157
|
cssRule: 'font-size',
|
|
35946
|
-
|
|
35947
|
-
|
|
35948
|
-
return v.replace(/pt$/i, '');
|
|
35949
|
-
}
|
|
35950
|
-
return v;
|
|
36158
|
+
normalize: (v)=>{
|
|
36159
|
+
return v.toString().replace(/(px|pt)$/i, '');
|
|
35951
36160
|
}
|
|
35952
36161
|
},
|
|
35953
36162
|
list: [
|
|
@@ -35989,6 +36198,13 @@ _config_js__WEBPACK_IMPORTED_MODULE_4__.Config.prototype.controls.fontsize = {
|
|
|
35989
36198
|
const control = button.control;
|
|
35990
36199
|
const cssKey = ((_a = control.data) === null || _a === void 0 ? void 0 : _a.cssRule) || 'font-size';
|
|
35991
36200
|
const value = (0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_2__.css)(box, cssKey);
|
|
36201
|
+
if (cssKey === 'font-size') {
|
|
36202
|
+
const numValue = parseFloat(value.toString());
|
|
36203
|
+
if (editor.o.defaultFontSizePoints === 'pt') {
|
|
36204
|
+
return Math.round(numValue * 0.75).toString();
|
|
36205
|
+
}
|
|
36206
|
+
return Math.round(numValue).toString();
|
|
36207
|
+
}
|
|
35992
36208
|
return value.toString();
|
|
35993
36209
|
},
|
|
35994
36210
|
isChildActive: (editor, button)=>{
|
|
@@ -40602,6 +40818,7 @@ _config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.link = {
|
|
|
40602
40818
|
processPastedLink: true,
|
|
40603
40819
|
noFollowCheckbox: true,
|
|
40604
40820
|
openInNewTabCheckbox: true,
|
|
40821
|
+
openInNewTabCheckboxDefaultChecked: false,
|
|
40605
40822
|
modeClassName: 'input',
|
|
40606
40823
|
selectMultipleClassName: true,
|
|
40607
40824
|
preventReadOnlyNavigation: true,
|
|
@@ -40757,7 +40974,7 @@ _config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls.link = {
|
|
|
40757
40974
|
}
|
|
40758
40975
|
__generateForm(current, close) {
|
|
40759
40976
|
const { jodit } = this;
|
|
40760
|
-
const i18n = jodit.i18n.bind(jodit), { openInNewTabCheckbox, noFollowCheckbox, formTemplate, formClassName, modeClassName } = jodit.o.link;
|
|
40977
|
+
const i18n = jodit.i18n.bind(jodit), { openInNewTabCheckbox, openInNewTabCheckboxDefaultChecked, noFollowCheckbox, formTemplate, formClassName, modeClassName } = jodit.o.link;
|
|
40761
40978
|
const html = formTemplate(jodit);
|
|
40762
40979
|
const form = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isString)(html) ? jodit.c.fromHTML(html, {
|
|
40763
40980
|
target_checkbox_box: openInNewTabCheckbox,
|
|
@@ -40807,6 +41024,9 @@ _config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls.link = {
|
|
|
40807
41024
|
insert.textContent = i18n('Update');
|
|
40808
41025
|
} else {
|
|
40809
41026
|
_core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.hide(unlink);
|
|
41027
|
+
if (openInNewTabCheckbox && target_checkbox) {
|
|
41028
|
+
target_checkbox.checked = openInNewTabCheckboxDefaultChecked;
|
|
41029
|
+
}
|
|
40810
41030
|
}
|
|
40811
41031
|
jodit.editor.normalize();
|
|
40812
41032
|
const snapshot = jodit.history.snapshot.make();
|
|
@@ -45683,7 +45903,7 @@ class TextAreaEditor extends _sourceEditor_js__WEBPACK_IMPORTED_MODULE_3__.Sourc
|
|
|
45683
45903
|
this.container.appendChild(this.instance);
|
|
45684
45904
|
editor.e.on(this.instance, 'mousedown keydown touchstart input', editor.async.debounce(this.toWYSIWYG, editor.defaultTimeout)).on('setMinHeight.source', (minHeightD)=>{
|
|
45685
45905
|
(0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_2__.css)(this.instance, 'minHeight', minHeightD);
|
|
45686
|
-
}).on(this.instance, 'change keydown mousedown touchstart input', this.autosize).on('afterSetMode.source', this.autosize).on(this.instance, 'mousedown focus', (e)=>{
|
|
45906
|
+
}).on(this.instance, 'change keydown mousedown touchstart input', this.autosize).on('afterSetMode.source', this.autosize).on(this.instance, 'mousedown focus blur', (e)=>{
|
|
45687
45907
|
editor.e.fire(e.type, e);
|
|
45688
45908
|
});
|
|
45689
45909
|
this.autosize();
|