jodit-pro 4.14.10 → 4.15.2
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/CHANGELOG.md +8 -0
- package/es2015/jodit.css +2 -2
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +15 -15
- package/es2015/jodit.js +83 -83
- package/es2015/jodit.min.css +1 -1
- package/es2015/jodit.min.js +12 -12
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.css +6 -1
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.js +48 -45
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.min.css +1 -1
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.min.js +36 -36
- package/es2015/plugins/autocomplete/autocomplete.css +1 -1
- package/es2015/plugins/autocomplete/autocomplete.js +1 -1
- package/es2015/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2015/plugins/backup/backup.css +1 -1
- package/es2015/plugins/backup/backup.js +2 -2
- package/es2015/plugins/backup/backup.min.js +2 -2
- package/es2015/plugins/button-generator/button-generator.css +2 -2
- package/es2015/plugins/button-generator/button-generator.js +2 -2
- package/es2015/plugins/button-generator/button-generator.min.css +1 -1
- package/es2015/plugins/button-generator/button-generator.min.js +2 -2
- package/es2015/plugins/change-case/change-case.js +2 -2
- package/es2015/plugins/change-case/change-case.min.js +2 -2
- 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 +2 -2
- package/es2015/plugins/emoji/emoji.min.js +2 -2
- package/es2015/plugins/export-docs/export-docs.js +2 -2
- package/es2015/plugins/export-docs/export-docs.min.js +2 -2
- package/es2015/plugins/finder/finder.css +1 -1
- package/es2015/plugins/finder/finder.js +4 -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 +2 -2
- package/es2015/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es2015/plugins/image-editor-pro/image-editor-pro.css +1 -1
- package/es2015/plugins/image-editor-pro/image-editor-pro.js +1 -1
- package/es2015/plugins/image-editor-pro/image-editor-pro.min.js +1 -1
- package/es2015/plugins/keyboard/keyboard.css +1 -1
- package/es2015/plugins/keyboard/keyboard.js +7 -7
- package/es2015/plugins/keyboard/keyboard.min.js +2 -2
- package/es2015/plugins/mobile-view/mobile-view.js +2 -2
- package/es2015/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2015/plugins/page-break/page-break.js +2 -2
- package/es2015/plugins/page-break/page-break.min.js +3 -3
- package/es2015/plugins/paste-code/paste-code.css +2 -2
- package/es2015/plugins/paste-code/paste-code.js +2 -2
- package/es2015/plugins/paste-code/paste-code.min.css +1 -1
- package/es2015/plugins/paste-code/paste-code.min.js +3 -3
- 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 +2 -2
- package/es2015/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es2015/plugins/style/style.css +1 -1
- package/es2015/plugins/style/style.js +2 -2
- package/es2015/plugins/style/style.min.js +2 -2
- package/es2015/plugins/templates/templates.css +1 -1
- package/es2015/plugins/templates/templates.js +2 -2
- package/es2015/plugins/templates/templates.min.js +2 -2
- package/es2015/plugins/todo-list/todo-list.css +1 -1
- package/es2015/plugins/todo-list/todo-list.js +2 -2
- 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 +3 -3
- package/es2015/plugins/translate/translate.min.js +2 -2
- 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 +25 -25
- package/es2018/jodit.min.css +1 -1
- package/es2018/jodit.min.js +12 -12
- package/es2018/plugins/ai-assistant-pro/ai-assistant-pro.min.css +1 -1
- package/es2018/plugins/ai-assistant-pro/ai-assistant-pro.min.js +7 -7
- package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2018/plugins/backup/backup.min.js +2 -2
- package/es2018/plugins/button-generator/button-generator.min.css +1 -1
- package/es2018/plugins/button-generator/button-generator.min.js +2 -2
- package/es2018/plugins/change-case/change-case.min.js +2 -2
- package/es2018/plugins/color-picker/color-picker.min.js +1 -1
- package/es2018/plugins/emoji/emoji.min.js +2 -2
- package/es2018/plugins/export-docs/export-docs.min.js +2 -2
- package/es2018/plugins/finder/finder.min.js +13 -13
- 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 +2 -2
- package/es2018/plugins/image-editor-pro/image-editor-pro.min.js +1 -1
- package/es2018/plugins/keyboard/keyboard.min.js +2 -2
- package/es2018/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2018/plugins/page-break/page-break.min.js +3 -3
- package/es2018/plugins/paste-code/paste-code.min.css +1 -1
- package/es2018/plugins/paste-code/paste-code.min.js +3 -3
- package/es2018/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2018/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es2018/plugins/style/style.min.js +2 -2
- package/es2018/plugins/templates/templates.min.js +2 -2
- package/es2018/plugins/todo-list/todo-list.min.js +2 -2
- package/es2018/plugins/translate/translate.min.js +4 -4
- 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 -23
- package/es2021/jodit.js +83 -83
- package/es2021/jodit.min.css +1 -1
- package/es2021/jodit.min.js +17 -17
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.css +6 -1
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.js +48 -45
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.min.css +1 -1
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.min.js +7 -7
- package/es2021/plugins/autocomplete/autocomplete.css +1 -1
- package/es2021/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2021/plugins/backup/backup.css +1 -1
- package/es2021/plugins/backup/backup.js +2 -2
- package/es2021/plugins/backup/backup.min.js +2 -2
- package/es2021/plugins/button-generator/button-generator.css +2 -2
- package/es2021/plugins/button-generator/button-generator.js +2 -2
- package/es2021/plugins/button-generator/button-generator.min.css +1 -1
- package/es2021/plugins/button-generator/button-generator.min.js +2 -2
- package/es2021/plugins/change-case/change-case.js +2 -2
- package/es2021/plugins/change-case/change-case.min.js +2 -2
- 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 +2 -2
- package/es2021/plugins/emoji/emoji.min.js +2 -2
- package/es2021/plugins/export-docs/export-docs.js +2 -2
- package/es2021/plugins/export-docs/export-docs.min.js +2 -2
- package/es2021/plugins/finder/finder.css +1 -1
- package/es2021/plugins/finder/finder.js +4 -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 +2 -2
- package/es2021/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es2021/plugins/image-editor-pro/image-editor-pro.css +1 -1
- package/es2021/plugins/image-editor-pro/image-editor-pro.js +1 -1
- package/es2021/plugins/image-editor-pro/image-editor-pro.min.js +1 -1
- package/es2021/plugins/keyboard/keyboard.css +1 -1
- package/es2021/plugins/keyboard/keyboard.js +7 -7
- package/es2021/plugins/keyboard/keyboard.min.js +3 -3
- package/es2021/plugins/mobile-view/mobile-view.js +2 -2
- package/es2021/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2021/plugins/page-break/page-break.js +2 -2
- package/es2021/plugins/page-break/page-break.min.js +3 -3
- package/es2021/plugins/paste-code/paste-code.css +2 -2
- package/es2021/plugins/paste-code/paste-code.js +2 -2
- package/es2021/plugins/paste-code/paste-code.min.css +1 -1
- package/es2021/plugins/paste-code/paste-code.min.js +3 -3
- 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 +2 -2
- package/es2021/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es2021/plugins/style/style.css +1 -1
- package/es2021/plugins/style/style.js +2 -2
- package/es2021/plugins/style/style.min.js +2 -2
- package/es2021/plugins/templates/templates.css +1 -1
- package/es2021/plugins/templates/templates.js +2 -2
- package/es2021/plugins/templates/templates.min.js +2 -2
- package/es2021/plugins/todo-list/todo-list.css +1 -1
- package/es2021/plugins/todo-list/todo-list.js +2 -2
- 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 +3 -3
- package/es2021/plugins/translate/translate.min.js +4 -4
- 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 +23 -23
- package/es2021.en/jodit.js +83 -83
- package/es2021.en/jodit.min.css +1 -1
- package/es2021.en/jodit.min.js +17 -17
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.css +6 -1
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.js +48 -45
- 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 +7 -7
- package/es2021.en/plugins/autocomplete/autocomplete.css +1 -1
- package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021.en/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2021.en/plugins/backup/backup.css +1 -1
- package/es2021.en/plugins/backup/backup.js +2 -2
- package/es2021.en/plugins/backup/backup.min.js +2 -2
- package/es2021.en/plugins/button-generator/button-generator.css +2 -2
- package/es2021.en/plugins/button-generator/button-generator.js +2 -2
- package/es2021.en/plugins/button-generator/button-generator.min.css +1 -1
- package/es2021.en/plugins/button-generator/button-generator.min.js +2 -2
- package/es2021.en/plugins/change-case/change-case.js +2 -2
- package/es2021.en/plugins/change-case/change-case.min.js +2 -2
- 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 +2 -2
- package/es2021.en/plugins/emoji/emoji.min.js +2 -2
- package/es2021.en/plugins/export-docs/export-docs.js +2 -2
- package/es2021.en/plugins/export-docs/export-docs.min.js +2 -2
- package/es2021.en/plugins/finder/finder.css +1 -1
- package/es2021.en/plugins/finder/finder.js +4 -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 +2 -2
- package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es2021.en/plugins/image-editor-pro/image-editor-pro.css +1 -1
- package/es2021.en/plugins/image-editor-pro/image-editor-pro.js +1 -1
- package/es2021.en/plugins/image-editor-pro/image-editor-pro.min.js +1 -1
- package/es2021.en/plugins/keyboard/keyboard.css +1 -1
- package/es2021.en/plugins/keyboard/keyboard.js +7 -7
- package/es2021.en/plugins/keyboard/keyboard.min.js +3 -3
- package/es2021.en/plugins/mobile-view/mobile-view.js +2 -2
- package/es2021.en/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2021.en/plugins/page-break/page-break.js +2 -2
- package/es2021.en/plugins/page-break/page-break.min.js +3 -3
- package/es2021.en/plugins/paste-code/paste-code.css +2 -2
- package/es2021.en/plugins/paste-code/paste-code.js +2 -2
- package/es2021.en/plugins/paste-code/paste-code.min.css +1 -1
- package/es2021.en/plugins/paste-code/paste-code.min.js +3 -3
- 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 +2 -2
- package/es2021.en/plugins/show-blocks/show-blocks.min.js +4 -4
- package/es2021.en/plugins/style/style.css +1 -1
- package/es2021.en/plugins/style/style.js +2 -2
- package/es2021.en/plugins/style/style.min.js +2 -2
- package/es2021.en/plugins/templates/templates.css +1 -1
- package/es2021.en/plugins/templates/templates.js +2 -2
- package/es2021.en/plugins/templates/templates.min.js +2 -2
- package/es2021.en/plugins/todo-list/todo-list.css +1 -1
- package/es2021.en/plugins/todo-list/todo-list.js +2 -2
- 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 +3 -3
- package/es2021.en/plugins/translate/translate.min.js +4 -4
- 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 +83 -83
- package/es5/jodit.min.css +3 -3
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/ai-assistant-pro/ai-assistant-pro.css +6 -1
- package/es5/plugins/ai-assistant-pro/ai-assistant-pro.js +50 -45
- 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.css +1 -1
- package/es5/plugins/autocomplete/autocomplete.js +1 -1
- package/es5/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es5/plugins/backup/backup.css +1 -1
- package/es5/plugins/backup/backup.js +2 -2
- package/es5/plugins/backup/backup.min.js +2 -2
- package/es5/plugins/button-generator/button-generator.css +2 -2
- package/es5/plugins/button-generator/button-generator.js +2 -2
- package/es5/plugins/button-generator/button-generator.min.css +1 -1
- package/es5/plugins/button-generator/button-generator.min.js +2 -2
- package/es5/plugins/change-case/change-case.js +2 -2
- package/es5/plugins/change-case/change-case.min.js +2 -2
- 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 +2 -2
- package/es5/plugins/emoji/emoji.min.js +2 -2
- package/es5/plugins/export-docs/export-docs.js +2 -2
- package/es5/plugins/export-docs/export-docs.min.js +2 -2
- package/es5/plugins/finder/finder.css +1 -1
- package/es5/plugins/finder/finder.js +4 -4
- 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 +2 -2
- package/es5/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es5/plugins/image-editor-pro/image-editor-pro.css +1 -1
- package/es5/plugins/image-editor-pro/image-editor-pro.js +1 -1
- package/es5/plugins/image-editor-pro/image-editor-pro.min.js +1 -1
- package/es5/plugins/keyboard/keyboard.css +1 -1
- package/es5/plugins/keyboard/keyboard.js +7 -7
- package/es5/plugins/keyboard/keyboard.min.js +2 -2
- package/es5/plugins/mobile-view/mobile-view.js +2 -2
- package/es5/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es5/plugins/page-break/page-break.js +2 -2
- package/es5/plugins/page-break/page-break.min.js +2 -2
- package/es5/plugins/paste-code/paste-code.css +2 -2
- package/es5/plugins/paste-code/paste-code.js +2 -2
- 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 +2 -2
- package/es5/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es5/plugins/style/style.css +1 -1
- package/es5/plugins/style/style.js +2 -2
- package/es5/plugins/style/style.min.js +2 -2
- package/es5/plugins/templates/templates.css +1 -1
- package/es5/plugins/templates/templates.js +2 -2
- package/es5/plugins/templates/templates.min.js +2 -2
- package/es5/plugins/todo-list/todo-list.css +1 -1
- package/es5/plugins/todo-list/todo-list.js +2 -2
- 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 +3 -3
- package/es5/plugins/translate/translate.min.js +2 -2
- 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/config.js +1 -1
- package/esm/plugins/ai-assistant-pro/core/conversation.d.ts +1 -1
- package/esm/plugins/ai-assistant-pro/core/conversation.js +1 -1
- package/esm/plugins/ai-assistant-pro/icons/add-context.svg.js +1 -1
- package/esm/plugins/ai-assistant-pro/icons/ai-commands.svg.js +1 -1
- package/esm/plugins/ai-assistant-pro/icons/chevron-right.svg.js +1 -1
- package/esm/plugins/ai-assistant-pro/icons/send.svg.js +1 -1
- package/esm/plugins/ai-assistant-pro/icons/shield.svg.js +1 -1
- package/esm/plugins/ai-assistant-pro/icons/tool-bolt.svg.js +1 -1
- package/esm/plugins/ai-assistant-pro/voice/voice-input-button.js +1 -1
- package/esm/plugins/backup/assets/restore.svg.js +1 -1
- package/esm/plugins/button-generator/assets/check.svg.js +1 -1
- package/esm/plugins/button-generator/icon.svg.js +1 -1
- package/esm/plugins/change-case/icon.svg.js +1 -1
- package/esm/plugins/emoji/emoji.svg.js +1 -1
- package/esm/plugins/export-docs/assets/export.svg.js +1 -1
- package/esm/plugins/finder/ui/assets/icons/heart.svg.js +1 -1
- package/esm/plugins/finder/ui/assets/icons/home.svg.js +1 -1
- package/esm/plugins/finder/ui/assets/icons/new-folder.svg.js +1 -1
- package/esm/plugins/iframe-editor/icon.svg.js +1 -1
- package/esm/plugins/keyboard/icon.svg.js +1 -1
- package/esm/plugins/keyboard/ui/assets/backspace.svg.js +1 -1
- package/esm/plugins/keyboard/ui/assets/caps.svg.js +1 -1
- package/esm/plugins/keyboard/ui/assets/dots.svg.js +1 -1
- package/esm/plugins/keyboard/ui/assets/shift.svg.js +1 -1
- package/esm/plugins/keyboard/ui/assets/tab.svg.js +1 -1
- package/esm/plugins/mobile-view/icon.svg.js +1 -1
- package/esm/plugins/page-break/assets/page-break.svg.js +1 -1
- package/esm/plugins/paste-code/icon.svg.js +1 -1
- package/esm/plugins/paste-code/ui/code-tuner/drag.svg.js +1 -1
- package/esm/plugins/show-blocks/show-blocks.svg.js +1 -1
- package/esm/plugins/style/icon.svg.js +1 -1
- package/esm/plugins/templates/icon.svg.js +1 -1
- package/esm/plugins/todo-list/assets/todo-list.svg.js +1 -1
- package/esm/plugins/translate/assets/swap.svg.js +1 -1
- package/esm/plugins/translate/assets/translate.svg.js +1 -1
- package/package.json +1 -1
- package/types/plugins/ai-assistant-pro/core/conversation.d.ts +1 -1
- package/esm/plugins/ai-assistant-pro/icons/microphone.svg.js +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valerii <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.
|
|
4
|
+
* Version: v4.15.2
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
8
|
-
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var s=e();for(var o in s)("object"==typeof exports?exports:t)[o]=s[o]}}(self,function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[702],{63643:function(t){t.exports='<svg
|
|
8
|
+
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var s=e();for(var o in s)("object"==typeof exports?exports:t)[o]=s[o]}}(self,function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[702],{63643:function(t){t.exports='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"> <g fill="none"> <rect x="2" y="5" width="20" height="14" rx="2"/><path d="M6 9h0m4 0h0m4 0h0m4 0h0M6 13h0m4 0h0m4 0h0m4 0h0M8 16h8"/> </g> </svg>'},27926:function(t){t.exports='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"> <g fill="none"> <path d="M9 5h12v14H9l-7-7 7-7Zm3 4 6 6m0-6-6 6"/> </g> </svg>'},10690:function(t){t.exports='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"> <g fill="none"> <path d="m4 11 8-8 8 8h-5v6H9v-6H4ZM8 21h8"/> </g> </svg>'},91997:function(t){t.exports='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"> <g fill="none"> <path d="M5 12h0m7 0h0m7 0h0"/> </g> </svg>'},11699:function(t){t.exports='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"> <g fill="none"> <path d="m4 11 8-8 8 8h-5v10H9V11H4Z"/> </g> </svg>'},98126:function(t){t.exports='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"> <g fill="none"> <path d="M3 12h14m-4-4 4 4-4 4M21 5v14"/> </g> </svg>'},41113:function(t,e,s){"use strict";var o=s(63643),r=s.n(o),i=s(6441);i.Config.prototype.keyboard={defaultLayoutSet:"en",showLayoutSwitcher:!0,extraKeyGroup:"other",extraKeyButtons:[],delayKeyRepeat:350,periodKeyRepeat:100,layoutList:{en:{title:"English",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","i I","o O","p P","[ {","] }","\\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","; :","' \"","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},es:{title:"Español",keys:[["º ` ~","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _ |","¡ = +","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","i I","o O","p P","[ {","] }","ç Ç \\"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ñ Ñ ; :","' \"","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},de:{title:"Deutsch",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 * :","9 ( {","0 ) }","- _","= +","Backspace"],["Tab","q Q","w W","e E","r R","t T","z Z","u U","i I","o O","p P","ü Ü [","] }","\\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ö Ö ;","ä Ä ' \"","Enter"],["Shift","y Y","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},ru:{title:"Русский",keys:[["` ~ ±","1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","й Й","ц Ц","у У","к К","е Е","н Н","г Г","ш Ш","щ Щ","з З","х Х [","ъ ] {","\\ | }"],["Caps","ф Ф","ы Ы","в В","а А","п П","р Р","о О","л Л","д Д","ж Ж ;","э Э '","Enter"],["Shift","я Я","ч Ч","с С","м М","и И","т Т","ь Ь","б Б ,","ю Ю .","/ ?","Shift"],["Options","Space","Options"]]},tr:{title:"Türkçe",keys:[['" é` ~',"1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ ±","7 &","8 *","9 ( {","0 ) }","- _ [","= + ]","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","ı I","o O","p P","ğ Ğ","ü Ü",", \\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ş Ş","i̇ İ","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M","ö Ö <","ç Ç >",". / ?","Shift"],["Options","Space","Options"]]},iw:{title:"Hebrew",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","/ q Q","' w W","ק e E","ר r R","א t T","ט y Y","ו u U","ן i I","ם o O","פ p P","[ {","] }","\\ |"],["Caps","ש a A","ד s S","ג d D","כ f F","ע g G","י h H","ח j J","ל k K","ך l L","ף ; :","' \"","Enter"],["Shift","ז z Z","ס x X","ב c C","ה v V","נ b B","מ n N","צ m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},tata:{title:"Tata",keys:[["һ Һ` ~","1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ ±","7 &","8 *","9 ( {","0 )","- _","= +","Backspace"],["Tab","й Й","ө Ө","у У","к К","е Е","н Н","г Г","ш Ш","ә Ә","з З","х Х [","ү Ү ]","\\ | }"],["Caps","ф Ф","ы Ы","в В","а А","п П","р Р","о О","л Л","д Д","ң Ң ;","э Э '","Enter"],["Shift","я Я","ч Ч","с С","м М","и И","т Т","җ Җ","б Б ,","ю Ю .","ґ Ґ /","Shift"],["Options","Space","Options"]]}},layoutSwitchList:["en","es","de","ru","tr","iw","tata"],keySize:32,layout:[[1,1,1,1,1,1,1,1,1,1,1,1,1,2],[1.5,1,1,1,1,1,1,1,1,1,1,1,1,1.5],[1.8,1,1,1,1,1,1,1,1,1,1,1,2.2],[2.5,1,1,1,1,1,1,1,1,1,1,2.5],[3.5,9,3.5]]},i.Config.prototype.controls.keyboard={tooltip:"Keyboard",icon:r(),isActive:t=>!!t.e.fire("isKeyboardOpened"),command:"toggleKeyboard"},i.Config.prototype.controls.extraKeyboardButtons={}},95618:function(t,e,s){"use strict";s.r(e),s.d(e,{keyboard:function(){return u}});var o=s(82749),r=s(31635);s(41113);var i=s(25241),n=s(6441),a=s(65478),h=s(27613),l=s(50911),p=s(67510),d=s(41409),c=s(2692);class u extends l.Plugin{afterInit(t){t.registerCommand("toggleKeyboard",this.toggleKeyboard).registerCommand("insertChar",this.insertChar),t.e.on("isKeyboardOpened",()=>this.__keyboard?.isOpened)}insertChar(t,e,s){this.j.s.insertNode(this.j.createInside.text(s))}toggleKeyboard(){if(!this.__keyboard){this.__keyboard=new d.Dialog({toolbarButtonSize:"tiny"});let t=new i.UIKeyboard(this.j);this.__keyboard.setMod("slim",!0).setMod("adaptive",!1).setContent(t);let{showLayoutSwitcher:e,layoutSwitchList:s,layoutList:o}=this.j.o.keyboard;if(e){let e=new p.UISelect(this.__keyboard,{value:t.state.currentLayout,options:s.map(t=>({text:o[t]?.title??t,value:t})),onChange(e){t.state.currentLayout=e}});e.setMod("size","tiny").setMod("width","auto").setMod("variant","outline"),this.__keyboard.setHeader(e)}}this.__keyboard.isOpened?this.__keyboard.close():this.__keyboard.open()}beforeDestruct(t){this.__keyboard?.destruct()}constructor(t){super(t),(0,o._)(this,"hasStyle",!c.JoditPro.fatMode),(0,o._)(this,"buttons",[{group:"insert",name:"keyboard"}]),(0,o._)(this,"__keyboard",void 0);let{extraKeyButtons:e,extraKeyGroup:s}=t.o.keyboard;e.length&&e.forEach((e,o)=>{let r=(0,h.isString)(e)?e:e.key,i=(0,h.isString)(e)||!e.hotkeys?["ctrl+"+(o+1)]:e.hotkeys;t.registerButton({name:"extraKeyboardButtons."+r,group:s});let{extraKeyboardButtons:a}=n.Config.defaultOptions.controls;a[r]={name:r,tooltip:r,args:[r],hotkeys:i,command:"insertChar"}})}}(0,o._)(u,"requires",["license"]),(0,r.__decorate)([a.autobind],u.prototype,"insertChar",null),(0,r.__decorate)([a.autobind],u.prototype,"toggleKeyboard",null),c.JoditPro.plugins.add("keyboard",u)},25241:function(t,e,s){"use strict";s.d(e,{UIKeyboard:function(){return b}});var o=s(82749),r=s(31635),i=s(82758),n=s(65478),a=s(43555),h=s(67510),l=s(27926),p=s.n(l),d=s(10690),c=s.n(d),u=s(91997),y=s.n(u),k=s(11699),g=s.n(k),f=s(98126),w=s.n(f);class b extends h.UIElement{className(){return"UIKeyboard"}render(){let{layout:t,keySize:e}=this.j.options.keyboard,s=t.length;return`<div>${(()=>{let o=[];for(let r=0;s>r;r+=1){let s=[];for(let o=0;o<t[r].length;o+=1)s.push(`<div style="width:${e*t[r][o]}px;height:${e}px;" class="&__key"></div>`);o.push(`<div class='&__row'>${s.join(`
|
|
9
9
|
`)}</div>`)}return o.join(`
|
|
10
|
-
`)})()}</div>`}onStateChange(){let{currentLayout:t,options:e,shift:s,caps:o}=this.state,{keys:
|
|
10
|
+
`)})()}</div>`}onStateChange(){let{currentLayout:t,options:e,shift:s,caps:o}=this.state,{keys:r}=this.j.o.keyboard.layoutList[t],i=0;for(let t=0;t<r.length;t+=1)for(let n=0;n<r[t].length;n+=1){let a=r[t][n].split(" "),h=a[0];s&&(h=a[1]),!s&&o&&a[1]&&b.isLetter(a[0])&&(h=a[1]),e&&(h=a[2]),this.setKeyValue(i,h??a[0]),i+=1}}static isLetter(t){return t.toLowerCase()!==t.toUpperCase()}setKeyValue(t,e){let s=this._keys[t];if(!s)return;let o=!1,{options:r,shift:i,caps:n}=this.state;switch(e){case"Caps":o=n;break;case"Options":o=r;break;case"Shift":o=i}s.innerHTML=b.decorate(e),s.classList.toggle(this.getFullElName("key","active",!0),o),(0,a.attr)(s,"-key",e)}onKeyUp(){this.pressed&&this.stopPress()}onReady(){this.j.e.on(this.getElms("key"),"mouseenter",this.stopPress)}stopPress(){this.pressed&&(this.pressed=!1,this.j.async.clearTimeout(this.reKeyDownTimeout),this._keys.forEach(t=>{t.classList.remove(this.getFullElName("key","pressed",!0))}))}onKeyDown(t,e=0){let s=t.target;if(!s||!s.classList.contains(this.getFullElName("key")))return!1;this.pressed=!0,s.classList.add(this.getFullElName("key","pressed",!0));let o=(0,a.attr)(s,"-key");switch(o){case"Caps":this.state.caps=!this.state.caps;break;case"Shift":this.state.shift=!this.state.shift;break;case"Options":this.state.options=!this.state.options;break;case"Enter":case"Backspace":this.j.e.fire("keydown",{key:o,preventDefault(){}});break;case"Space":case"Tab":this.j.s.insertNode(this.j.createInside.text(i.NBSP_SPACE));break;default:this.state.shift&&(this.state.shift=!1),o&&this.j.s.insertNode(this.j.createInside.text(o))}let{periodKeyRepeat:r,delayKeyRepeat:n}=this.j.o.keyboard;return this.reKeyDownTimeout=this.j.async.setTimeout(()=>this.onKeyDown(t,r),e||n),!1}static decorate(t){switch(t){case"Space":return"";case"Enter":return h.Icon.get("enter");case"Backspace":return p();case"Shift":return g();case"Caps":return c();case"Options":return y();case"Tab":return w();default:return t}}constructor(t){super(t),(0,o._)(this,"state",{caps:!1,shift:!1,options:!1,currentLayout:this.j.o.keyboard.defaultLayoutSet}),(0,o._)(this,"_keys",this.getElms("key")),(0,o._)(this,"pressed",!1),(0,o._)(this,"reKeyDownTimeout",0),this.onStateChange()}}(0,r.__decorate)([(0,n.watch)(["state.currentLayout","state.options","state.shift","state.caps"])],b.prototype,"onStateChange",null),(0,r.__decorate)([(0,n.watch)(["ow:mouseup"])],b.prototype,"onKeyUp",null),(0,r.__decorate)([(0,n.hook)("ready")],b.prototype,"onReady",null),(0,r.__decorate)([n.autobind],b.prototype,"stopPress",null),(0,r.__decorate)([(0,n.watch)(["container:mousedown","container:touchstart"])],b.prototype,"onKeyDown",null),b=(0,r.__decorate)([n.component],b)}},function(t){return t(95618)}])});
|
|
@@ -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.
|
|
4
|
+
* Version: v4.15.2
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -21,7 +21,7 @@ return (self["webpackChunkjodit_pro"] = self["webpackChunkjodit_pro"] || []).pus
|
|
|
21
21
|
/***/ 27222:
|
|
22
22
|
/***/ (function(module) {
|
|
23
23
|
|
|
24
|
-
module.exports = "<svg
|
|
24
|
+
module.exports = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"> <g fill=\"none\"> <rect x=\"6\" y=\"2\" width=\"12\" height=\"20\" rx=\"3\"/><path d=\"M10 5h4M12 18h0\"/> </g> </svg>"
|
|
25
25
|
|
|
26
26
|
/***/ }),
|
|
27
27
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valerii <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.
|
|
4
|
+
* Version: v4.15.2
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
8
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var o=t();for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}(self,function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[782],{27222:function(e){e.exports='<svg
|
|
8
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var o=t();for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}(self,function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[782],{27222:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"> <g fill="none"> <rect x="6" y="2" width="12" height="20" rx="3"/><path d="M10 5h4M12 18h0"/> </g> </svg>'},29606:function(e,t,o){"use strict";var i=o(27222),n=o.n(i),r=o(6441),d=o(29807),l=o(86583);r.Config.prototype.mobileView={mode:"default"};let a="buttonmobileSView",s="buttonmobileCView";r.Config.prototype.controls.mobileView={tooltip:"Mobile View",icon:n(),command:"mobileView",isActive:e=>(0,l.dataBind)(e,s)&&"default"!==(0,l.dataBind)(e,s),isChildActive(e,t){let o=t.control?.args?.[0];return(0,d.isNumeric)(o)&&(o=Number(o)),((0,l.dataBind)(e,s)||"default")===o},exec:e=>!!(0,l.dataBind)(e,a)&&void e.execCommand("mobileView",!1,(0,l.dataBind)(e,a)),childExec(e,t,{button:o}){let i=o.control?.args?.[0];e.execCommand("mobileView",!1,(0,d.isNumeric)(i)?Number(i):i)},list:{default:"Default",375:"iPhone SE",414:"iPhone XR",390:"iPhone 12 Pro",393:"Pixel 5",820:"iPad Air"}},o.d(t,["dataBindCurrentKey",0,s,"dataBindStoredKey",0,a])},74398:function(e,t,o){"use strict";o.r(t);var i=o(82749),n=o(31635),r=o(29606),d=o(65478),l=o(43555),a=o(50911),s=o(2692);class u extends a.Plugin{className(){return"MobileView"}afterInit(e){e.registerCommand("mobileView",{exec:(t,o,i)=>{this.__currentMode===i&&(i="default"),this.__currentMode=i,(0,l.dataBind)(e,r.dataBindCurrentKey,i),"default"!==this.__currentMode&&(0,l.dataBind)(e,r.dataBindStoredKey,i),"default"===i?(0,l.css)(this.jodit.currentPlace.slots.center,{width:null,margin:null}):(0,l.css)(this.j.currentPlace.slots.center,{width:i,margin:"0 auto"})}}),e.events.on("beforeSetMode",()=>{})}__beforeSetMode(){"default"!==this.__currentMode&&this.j.execCommand("mobileView",!1,"default")}beforeDestruct(e){}constructor(...e){super(...e),(0,i._)(this,"buttons",[{name:"mobileView",group:"state"}]),(0,i._)(this,"__currentMode","default")}}(0,i._)(u,"requires",["license"]),(0,n.__decorate)([(0,d.watch)(":beforeSetMode.mobileView")],u.prototype,"__beforeSetMode",null),u=(0,n.__decorate)([d.component],u),s.JoditPro.plugins.add("mobileView",u)}},function(e){return e(74398)}])});
|
|
@@ -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.
|
|
4
|
+
* Version: v4.15.2
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -21,7 +21,7 @@ return (self["webpackChunkjodit_pro"] = self["webpackChunkjodit_pro"] || []).pus
|
|
|
21
21
|
/***/ 17405:
|
|
22
22
|
/***/ (function(module) {
|
|
23
23
|
|
|
24
|
-
module.exports = "<svg
|
|
24
|
+
module.exports = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"> <g fill=\"none\"> <path d=\"M5 8V3h14v5M5 16v5h14v-5M2 12h3m4 0h3m4 0h3m3 0h0\"/> </g> </svg>"
|
|
25
25
|
|
|
26
26
|
/***/ }),
|
|
27
27
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valerii <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.
|
|
4
|
+
* Version: v4.15.2
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
8
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var
|
|
8
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(self,function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[398],{17405:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"> <g fill="none"> <path d="M5 8V3h14v5M5 16v5h14v-5M2 12h3m4 0h3m4 0h3m3 0h0"/> </g> </svg>'},13109:function(e,t,r){"use strict";var o=r(17405),a=r.n(o),n=r(64889),i=r(6441);i.Config.prototype.pageBreak={separator:'<div style="page-break-before: always"></div>'},i.Config.prototype.controls.pageBreak={tooltip:"Insert page break",icon:a(),command:"insertPageBreak"},i.Config.prototype.iframeStyle=`${i.Config.prototype.iframeStyle};${n.default.replace(/[\n\t]/g,"")}`},64889:function(e,t){"use strict";t.default=`[data-jodit-page-break] {
|
|
9
9
|
display: flex;
|
|
10
10
|
height: 24px;
|
|
11
11
|
box-sizing: border-box;
|
|
@@ -22,4 +22,4 @@
|
|
|
22
22
|
|
|
23
23
|
[data-jodit-page-break]:active {
|
|
24
24
|
border-color: #818181;
|
|
25
|
-
}`},79850:function(e,t,
|
|
25
|
+
}`},79850:function(e,t,r){"use strict";r.r(t),r.d(t,{PageBreak:function(){return c}});var o=r(82749),a=r(31635);r(13109);var n=r(64889),i=r(65478),s=r(22732),d=r(21537),p=r(50911),l=r(2692);class c extends p.Plugin{className(){return"PageBreak"}afterInit(e){this.onChange(),e.registerCommand("insertPageBreak",()=>{let t=e.createInside.div("",{});this.decoratePageBreak(t),e.s.insertNode(t,!1,!1);let r=new Set(["td","th","tr","tbody","thead","tfoot","caption","colgroup","table"]),o=t.parentNode;for(;o&&o!==e.editor&&(s.Dom.after(o,t),!s.Dom.isBlock(o)||s.Dom.isTag(o,r));)o=t.parentNode;e.s.setCursorAfter(t),e.setEditorValue()})}decoratePageBreak(e){(0,d.attr)(e,{"data-jodit-page-break":!0,contenteditable:!1}),e.innerText=this.j.i18n("Page break")}beforeDestruct(){}onChange(){(0,d.$$)('[style*="page-break-after"],[style*="page-break-before"]',this.j.editor).forEach(e=>{s.Dom.isEmpty(e)&&!(0,d.attr)(e,"data-jodit-page-break")&&this.decoratePageBreak(e)})}onAfterGetValueFromEditor(e){e.value=e.value.replace(/<div[^>]+data-jodit-page-break[^>]+>[^]*?<\/div>/gi,this.j.o.pageBreak.separator)}constructor(...e){super(...e),(0,o._)(this,"styles",n.default),(0,o._)(this,"buttons",[{name:"pageBreak",group:"insert"}])}}(0,o._)(c,"requires",["license"]),(0,a.__decorate)([(0,i.watch)([":change",":afterSetMode"]),(0,i.debounce)()],c.prototype,"onChange",null),(0,a.__decorate)([(0,i.watch)(":afterGetValueFromEditor")],c.prototype,"onAfterGetValueFromEditor",null),l.JoditPro.plugins.add("pageBreak",c)}},function(e){return e(79850)}])});
|
|
@@ -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.
|
|
4
|
+
* Version: v4.15.2
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
.jodit-ui-code-tuner__anchor {
|
|
16
16
|
width: 16px;
|
|
17
17
|
height: 26px;
|
|
18
|
-
background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%
|
|
18
|
+
background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%0A%09%3Cg%20fill%3D%22none%22%3E%0A%09%09%3Cpath%20d%3D%22M8%204h0m8%200h0M8%2012h0m8%200h0M8%2020h0m8%200h0%22%20stroke-width%3D%223%22%2F%3E%0A%09%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A");
|
|
19
19
|
background-position: center;
|
|
20
20
|
background-repeat: no-repeat;
|
|
21
21
|
background-size: 11px;
|
|
@@ -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.
|
|
4
|
+
* Version: v4.15.2
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -21,7 +21,7 @@ return (self["webpackChunkjodit_pro"] = self["webpackChunkjodit_pro"] || []).pus
|
|
|
21
21
|
/***/ 75689:
|
|
22
22
|
/***/ (function(module) {
|
|
23
23
|
|
|
24
|
-
module.exports = "<svg viewBox=\"0 0 24 24\"
|
|
24
|
+
module.exports = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"> <g fill=\"none\"> <rect x=\"4\" y=\"5\" width=\"16\" height=\"16\" rx=\"2\"/><rect x=\"9\" y=\"3\" width=\"6\" height=\"4\" rx=\"1\"/><path d=\"m9 11-3 3 3 3m6-6 3 3-3 3\"/> </g> </svg>"
|
|
25
25
|
|
|
26
26
|
/***/ }),
|
|
27
27
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.jodit-ui-code-tuner{left:0;position:fixed;top:0;z-index:10}.jodit-ui-code-tuner__anchor{background-color:#fff;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%
|
|
1
|
+
.jodit-ui-code-tuner{left:0;position:fixed;top:0;z-index:10}.jodit-ui-code-tuner__anchor{background-color:#fff;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222.5%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20stroke-width%3D%223%22%20d%3D%22M8%204zm8%200zm-8%208zm8%200zm-8%208zm8%200z%22%2F%3E%3C%2Fsvg%3E");background-position:50%;background-repeat:no-repeat;background-size:11px;border:1px solid rgba(0,0,0,.12);border-radius:4px;box-shadow:0 1px 2px rgba(0,0,0,.15);cursor:grab;height:26px;opacity:.9;width:16px}.jodit-ui-code-tuner__anchor:hover{opacity:1}.jodit-ui-code-tuner__anchor:active{cursor:grabbing}.jodit-paste-code{display:flex;flex-direction:column;height:100%;justify-content:stretch;padding:16px}.jodit-paste-code__textarea{flex:1;height:100%;justify-content:stretch}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valerii <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.
|
|
4
|
+
* Version: v4.15.2
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
8
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var i=t();for(var o in i)("object"==typeof exports?exports:e)[o]=i[o]}}(self,function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[150],{75689:function(e){e.exports='<svg
|
|
8
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var i=t();for(var o in i)("object"==typeof exports?exports:e)[o]=i[o]}}(self,function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[150],{75689:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"> <g fill="none"> <rect x="4" y="5" width="16" height="16" rx="2"/><rect x="9" y="3" width="6" height="4" rx="1"/><path d="m9 11-3 3 3 3m6-6 3 3-3 3"/> </g> </svg>'},83967:function(e,t,i){"use strict";var o=i(35960),s=i(75689),a=i.n(s),n=i(6441),r=i(22732),l=i(53326);n.Config.prototype.controls.pasteCode={icon:a(),tooltip:"Paste code",command:"pasteCode"},n.Config.prototype.controls.codeBlock={edit:{icon:"pencil",tooltip:"Edit code",exec(e,t){e.e.fire("editPreInPasteCode",t)}},copy:{icon:"copy",tooltip:"Copy code",exec(e,t){r.Dom.isTag(t,"pre")&&(0,o.copyCodeToClipboard)(e,t)}},remove:{icon:"bin",tooltip:"Delete",exec(e,t){r.Dom.safeRemove(t),e.e.fire("synchro"),e.e.fire("hideCodeTuner.pasteCode")}}},n.Config.prototype.pasteCode={globalHighlightLib:!1,canonicalLanguageCode(e){switch(e){case"ts":return"typescript";case"js":return"javascript";case"markup":return"html"}return e},highlightLib:{beforeLibLoad(){window.Prism=window.Prism||{},window.Prism.manual=!0},highlight:(e,t)=>"u">typeof Prism?Prism.highlight(e,Prism.languages[t]||Prism.languages.plain,t):(0,l.htmlspecialchars)(e),isLangLoaded:e=>"html"===e||"u">typeof Prism&&!!Prism.languages[e],js:["https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/prism.min.js","https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/plugins/autoloader/prism-autoloader.min.js"],langUrl:e=>`https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-${e}.min.js`,css:["https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism.min.css"]},defaultLanguage:"html",insertTemplate:(e,t,i)=>`<pre class="language-${t}">${(0,l.htmlspecialchars)(i)}</pre>`,popup:["codeBlock.edit","codeBlock.copy","|","codeBlock.remove"],languages:[{value:"plaintext",text:"Plain"},{value:"html",text:"HTML/XML"},{value:"bash",text:"Bash"},{value:"php",text:"PHP"},{value:"javascript",text:"JavaScript"},{value:"typescript",text:"TypeScript"},{value:"jsx",text:"JSX"},{value:"java",text:"Java"},{value:"css",text:"CSS"},{value:"php",text:"PHP"},{value:"ruby",text:"Ruby"},{value:"python",text:"Python"},{value:"java",text:"Java"},{value:"c",text:"C"},{value:"csharp",text:"C#"},{value:"cpp",text:"C++"},{value:"sql",text:"SQL"},{value:"docker",text:"Docker"},{value:"http",text:"HTTP"},{value:"ini",text:"INI"},{value:"yaml",text:"YAML"},{value:"json",text:"JSON"},{value:"json5",text:"JSON5"},{value:"makefile",text:"Makefile"},{value:"swift",text:"Swift"}],dialog:{width:700,height:600}}},35960:function(e,t,i){"use strict";i.d(t,{copyCodeToClipboard:function(){return l},languageTitle:function(){return n},parseLanguage:function(){return a},setPreLanguage:function(){return r}});var o=i(22732);function s(e){return e.firstElementChild===e.lastElementChild&&o.Dom.isTag(e.firstElementChild,"code")?e.firstElementChild:e}function a(e,t){let i=null,o=e=>e.classList.forEach(e=>{let t=/^language-(.+)/.exec(e);t&&t[1]&&(i=t[1])});o(t);let a=s(t);return null==i&&a!==t&&o(a),e.o.pasteCode.canonicalLanguageCode(i||"html")}function n(e,t){let i=e.o.pasteCode.languages.find(e=>e.value+""===t);return e.i18n((i?i.text:t)+"")}function r(e,t,i){let o=e=>Array.from(e.classList).forEach(t=>{/^language-/.test(t)&&e.classList.remove(t)});o(t);let a=s(t);a!==t&&o(a),a.classList.add("language-"+i),e.e.fire("rehighlightPasteCode",t),e.e.fire("synchro")}function l(e,t){let i=t.innerText,{navigator:s}=e.ow;if(s&&s.clipboard&&s.clipboard.writeText)s.clipboard.writeText(i).catch(()=>null);else{let t=e.create.element("textarea");t.value=i,t.style.position="fixed",t.style.opacity="0",e.od.body.appendChild(t),t.select();try{e.od.execCommand("copy")}catch{}o.Dom.safeRemove(t)}e.e.fire("afterCopyCode.pasteCode",i)}},41406:function(e,t,i){"use strict";i.r(t),i.d(t,{pasteCode:function(){return m}});var o=i(82749),s=i(31635);i(83967);var a=i(24397),n=i(35960),r=i(82758),l=i(65478),h=i(21537),c=i(87612),d=i(53326),p=i(50911),u=i(67510),g=i(41409),_=i(2692);class m extends p.Plugin{className(){return"pasteCode"}afterInit(e){e.registerCommand("pasteCode",()=>this.__openCodeEditDialog()),this.__codeTuner=new a.UICodeTuner(e),e.async.requestIdleCallback(()=>this.__initHighlightLibLoading())}__openCodeEditDialog(e,t,i){let o=this.j,s=this.__createForm(),{code:a,language:n}=(0,h.refs)(s.container);e&&(n.value=e),t&&(a.value=t),o.async.requestIdleCallback(()=>{a.focus()}),o.s.save(),this.__createDialog(()=>{if(s.validate()){o.s.restore();let e=o.createInside.fromHTML(o.o.pasteCode.insertTemplate(o,n.value,a.value));if(i)g.Dom.replace(i,e,o.createInside,!1,!0);else{let t=o.s.current(),i=g.Dom.up(t,g.Dom.isBlock,o.editor);i&&!g.Dom.isCell(i)?g.Dom.after(i,e):o.s.insertNode(e)}this.__imdOnChange();return}return!1},()=>{o.s.restore()}).setContent(s.container).open(!0)}beforeDestruct(e){this.__codeTuner?.destruct()}onRehighlightPasteCode(e){g.Dom.isTag(e,"pre")&&((0,h.attr)(e,"contenteditable",!1),this.__highlightCode(e).catch(()=>null))}__createForm(){let{jodit:e}=this;return new u.UIForm(e,[new u.UISelect(e,{name:"language",label:"Language",value:e.o.pasteCode.defaultLanguage,options:e.o.pasteCode.languages,required:!0}),new u.UITextArea(e,{label:"Code view",resizable:!1,name:"code",required:!0,className:"jodit-paste-code__textarea"})],{className:"jodit-paste-code"})}__createDialog(e,t){let i=new g.Dialog({language:this.j.o.language});return i.setHeader("Insert/Edit Code Sample").setSize(this.j.o.pasteCode.dialog.width,this.j.o.pasteCode.dialog.height).setFooter([(0,u.Button)(i,"","Cancel","default").onAction(()=>{i.close(),t()}),(0,u.Button)(i,"save","Save","primary").onAction(()=>{i.close(),e()})]),i}__onChange(){this.__imdOnChange()}__imdOnChange(){(0,h.$$)("pre",this.j.editor).forEach(e=>{(0,h.attr)(e,"contenteditable")||((0,h.attr)(e,"contenteditable",!1),this.__highlightCode(e).catch(()=>null))})}async __highlightCode(e){let t=this.__parseLanguage(e),{highlight:i}=await this.__initHighlightLibLoading(t),o=e;e.firstElementChild===e.lastElementChild&&g.Dom.isTag(e.firstElementChild,"code")&&(o=e.firstElementChild),o.innerHTML=i(o.innerText,t)}onPreEdit(e){let t=g.Dom.isNode(e)&&g.Dom.isTag(e,"pre")?e:g.Dom.closest(e.target,"pre",this.j.editor);if(t){let e=this.__parseLanguage(t);this.__openCodeEditDialog(e,t.innerText,t)}}__parseLanguage(e){return(0,n.parseLanguage)(this.jodit,e)}onAfterGetValueFromEditor(e){let t=(e,t,i,o,s,a)=>`${t.trim()}${o}${(0,d.htmlspecialchars)((0,h.stripTags)(s,this.j.ed,new Set(["br"])))}${a}`;e.value=e.value.replace(/(<pre[^>]*)contenteditable\s*=\s*(['"]?)false\2([^>]*>\s*<code[^>]*>)(.*?)(<\/code>\s*<\/pre>)/gis,t).replace(/(<pre[^>]*)contenteditable\s*=\s*(['"]?)false\2([^>]*>)(.*?)(<\/pre>)/gis,t)}constructor(...e){super(...e),(0,o._)(this,"buttons",[{name:"pasteCode",group:"clipboard"}]),(0,o._)(this,"__codeTuner",void 0),(0,o._)(this,"__highlightLibJSIsLoaded",!1),(0,o._)(this,"__loadLanguage",new Map),(0,o._)(this,"__initHighlightLibLoading",async e=>{let{globalHighlightLib:t,highlightLib:{css:i,js:o,langUrl:s,highlight:a,isLangLoaded:n,beforeLibLoad:l,afterLibLoad:d}}=this.j.o.pasteCode;return this.__highlightLibJSIsLoaded||t||(this.__highlightLibJSIsLoaded=Promise.resolve(l?.()).then(()=>f(this.async,Promise.allSettled([(0,h.loadNextStyle)(this.jodit,i).catch(()=>null),(0,h.loadNext)(this.jodit,o).catch(()=>null)]))).then(()=>d?.())),(0,c.isBoolean)(this.__highlightLibJSIsLoaded)||await this.__highlightLibJSIsLoaded,!e||n(e)||t||(this.__loadLanguage.has(e)||(r.IS_PROD,this.__loadLanguage.set(e,f(this.async,(0,h.appendScriptAsync)(this.jodit,s(e)).catch(()=>null)))),await this.__loadLanguage.get(e)),{highlight:a}})}}function f(e,t){return e.promise((e,i)=>{t.then(e).catch(i)}).catch(()=>null)}(0,o._)(m,"requires",["license"]),(0,s.__decorate)([l.autobind],m.prototype,"__openCodeEditDialog",null),(0,s.__decorate)([(0,l.watch)("?:rehighlightPasteCode")],m.prototype,"onRehighlightPasteCode",null),(0,s.__decorate)([(0,l.watch)(["?:change","?:afterInit"]),(0,l.debounce)()],m.prototype,"__onChange",null),(0,s.__decorate)([(0,l.watch)(["?:dblclick","?:editPreInPasteCode"])],m.prototype,"onPreEdit",null),(0,s.__decorate)([(0,l.watch)("?:afterGetValueFromEditor")],m.prototype,"onAfterGetValueFromEditor",null),m=(0,s.__decorate)([l.component],m),_.JoditPro.plugins.add("paste-code",m)},24397:function(e,t,i){"use strict";i.d(t,{UICodeTuner:function(){return d}});var o=i(82749),s=i(31635),a=i(35960),n=i(65478),r=i(22732),l=i(21537),h=i(67510),c=i(21491);class d extends h.UIElement{className(){return"UICodeTuner"}render(){return`<div>
|
|
9
9
|
<div class="&__anchor" title="~Drag to move the code block~"></div>
|
|
10
|
-
</div>`}onEditorMouseMove(e){let t=r.Dom.closest(e.target,"pre",this.j.editor);t&&(this.__cancelHide(),this.show(t))}onEditorClick(e){let t=r.Dom.closest(e.target,"pre",this.j.editor);t?(this.__cancelHide(),this.show(t),this.openToolbar()):this.forceHide()}show(e){this.currentBlock=e,this.isShown||(this.isShown=!0,null==this.container.parentNode&&this.j.od.body.appendChild(this.container),this.j.e.on(this.j.ow,"mousemove",this.__onPointerMove),this.j.e.on(this.j.ow,"scroll resize",this.__onReposition).on(this.j.editor,"scroll",this.__onReposition)),this.calcPosition()}hide(){this.popup.isOpened||this.forceHide()}onOutsideClick(e){e&&r.Dom.isOrContains(this.container,e.target)||this.forceHide()}forceHide(){this.__cancelHide(),this.isShown&&(this.isShown=!1,this.j.e.off(this.j.ow,"mousemove",this.__onPointerMove).off(this.j.ow,"scroll resize",this.__onReposition).off(this.j.editor,"scroll",this.__onReposition),this.popup.close(),r.Dom.safeRemove(this.container))}__onPointerMove(e){this.isShown&&!this.popup.isOpened&&(this.__inActiveZone(e.clientX,e.clientY)?this.__cancelHide():this.__scheduleHide())}__inActiveZone(e,t){let i=(0,l.position)(this.currentBlock,this.j);return e>=i.left-16-6-6&&e<=i.left+i.width&&t>=i.top-6&&t<=i.top+i.height+6}__scheduleHide(){this.__hideTimer||(this.__hideTimer=this.j.async.setTimeout(()=>{this.__hideTimer=0,this.hide()},150))}__cancelHide(){this.__hideTimer&&(this.j.async.clearTimeout(this.__hideTimer),this.__hideTimer=0)}__onReposition(){if(this.isShown){if(!this.j.editor.contains(this.currentBlock))return void this.forceHide();this.calcPosition()}}onEditorChange(){this.__onReposition()}calcPosition(){let e=(0,l.position)(this.currentBlock,this.j);(0,l.css)(this.container,{left:Math.round(e.left-16-6),top:Math.round(e.top+4)}),this.popup.isOpened&&this.popup.updatePosition()}openToolbar(){this.toolbar.build([this.__languageControl(),...this.j.o.pasteCode.popup],this.currentBlock),this.popup.setContent(this.toolbar.container),this.popup.isOpened?this.popup.updatePosition():this.popup.open(()=>(0,l.position)(this.currentBlock,this.j))}__languageControl(){let e={};return this.j.o.pasteCode.languages.forEach(t=>{e[t.value+""]=t.text+""}),{name:"language",list:e,tooltip:"Language",text:(0,a.languageTitle)(this.j,(0,a.parseLanguage)(this.j,this.currentBlock)),childTemplate:(e,t,i)=>this.j.i18n(i),update:(e,t)=>{let i=t.target;r.Dom.isTag(i,"pre")&&t.setState({text:(0,a.languageTitle)(this.j,(0,a.parseLanguage)(this.j,i)),icon:{name:""}})},childExec:(e,t,{control:i})=>{let o=(i.args&&i.args[0]||"plaintext")+"";r.Dom.isTag(t,"pre")&&((0,a.setPreLanguage)(this.j,t,o),this.j.e.fire("hideCodeTuner.pasteCode"))}}}onAnchorMouseDown(e){e.preventDefault(),this.popup.close(),this.j.e.fire("startDragElement",this.currentBlock,e)}destruct(){this.forceHide(),this.popup.destruct(),super.destruct()}constructor(...e){super(...e),(0,o._)(this,"toolbar",(0,
|
|
10
|
+
</div>`}onEditorMouseMove(e){let t=r.Dom.closest(e.target,"pre",this.j.editor);t&&(this.__cancelHide(),this.show(t))}onEditorClick(e){let t=r.Dom.closest(e.target,"pre",this.j.editor);t?(this.__cancelHide(),this.show(t),this.openToolbar()):this.forceHide()}show(e){this.currentBlock=e,this.isShown||(this.isShown=!0,null==this.container.parentNode&&this.j.od.body.appendChild(this.container),this.j.e.on(this.j.ow,"mousemove",this.__onPointerMove),this.j.e.on(this.j.ow,"scroll resize",this.__onReposition).on(this.j.editor,"scroll",this.__onReposition)),this.calcPosition()}hide(){this.popup.isOpened||this.forceHide()}onOutsideClick(e){e&&r.Dom.isOrContains(this.container,e.target)||this.forceHide()}forceHide(){this.__cancelHide(),this.isShown&&(this.isShown=!1,this.j.e.off(this.j.ow,"mousemove",this.__onPointerMove).off(this.j.ow,"scroll resize",this.__onReposition).off(this.j.editor,"scroll",this.__onReposition),this.popup.close(),r.Dom.safeRemove(this.container))}__onPointerMove(e){this.isShown&&!this.popup.isOpened&&(this.__inActiveZone(e.clientX,e.clientY)?this.__cancelHide():this.__scheduleHide())}__inActiveZone(e,t){let i=(0,l.position)(this.currentBlock,this.j);return e>=i.left-16-6-6&&e<=i.left+i.width&&t>=i.top-6&&t<=i.top+i.height+6}__scheduleHide(){this.__hideTimer||(this.__hideTimer=this.j.async.setTimeout(()=>{this.__hideTimer=0,this.hide()},150))}__cancelHide(){this.__hideTimer&&(this.j.async.clearTimeout(this.__hideTimer),this.__hideTimer=0)}__onReposition(){if(this.isShown){if(!this.j.editor.contains(this.currentBlock))return void this.forceHide();this.calcPosition()}}onEditorChange(){this.__onReposition()}calcPosition(){let e=(0,l.position)(this.currentBlock,this.j);(0,l.css)(this.container,{left:Math.round(e.left-16-6),top:Math.round(e.top+4)}),this.popup.isOpened&&this.popup.updatePosition()}openToolbar(){this.toolbar.build([this.__languageControl(),...this.j.o.pasteCode.popup],this.currentBlock),this.popup.setContent(this.toolbar.container),this.popup.isOpened?this.popup.updatePosition():this.popup.open(()=>(0,l.position)(this.currentBlock,this.j))}__languageControl(){let e={};return this.j.o.pasteCode.languages.forEach(t=>{e[t.value+""]=t.text+""}),{name:"language",list:e,tooltip:"Language",text:(0,a.languageTitle)(this.j,(0,a.parseLanguage)(this.j,this.currentBlock)),childTemplate:(e,t,i)=>this.j.i18n(i),update:(e,t)=>{let i=t.target;r.Dom.isTag(i,"pre")&&t.setState({text:(0,a.languageTitle)(this.j,(0,a.parseLanguage)(this.j,i)),icon:{name:""}})},childExec:(e,t,{control:i})=>{let o=(i.args&&i.args[0]||"plaintext")+"";r.Dom.isTag(t,"pre")&&((0,a.setPreLanguage)(this.j,t,o),this.j.e.fire("hideCodeTuner.pasteCode"))}}}onAnchorMouseDown(e){e.preventDefault(),this.popup.close(),this.j.e.fire("startDragElement",this.currentBlock,e)}destruct(){this.forceHide(),this.popup.destruct(),super.destruct()}constructor(...e){super(...e),(0,o._)(this,"toolbar",(0,c.makeCollection)(this.j,this)),(0,o._)(this,"popup",new h.Popup(this.j,!1)),(0,o._)(this,"isShown",!1),(0,o._)(this,"__hideTimer",0),(0,o._)(this,"currentBlock",void 0)}}(0,s.__decorate)([(0,n.watch)("j.editor:mousemove"),(0,n.throttle)(50)],d.prototype,"onEditorMouseMove",null),(0,s.__decorate)([(0,n.watch)("j.editor:click")],d.prototype,"onEditorClick",null),(0,s.__decorate)([(0,n.watch)(":outsideClick")],d.prototype,"onOutsideClick",null),(0,s.__decorate)([(0,n.watch)(":hideCodeTuner.pasteCode")],d.prototype,"forceHide",null),(0,s.__decorate)([n.autobind],d.prototype,"__onPointerMove",null),(0,s.__decorate)([n.autobind],d.prototype,"__onReposition",null),(0,s.__decorate)([(0,n.watch)(":change :resize :afterSetMode"),(0,n.throttle)(10)],d.prototype,"onEditorChange",null),(0,s.__decorate)([(0,n.watch)("anchor:mousedown")],d.prototype,"onAnchorMouseDown",null),d=(0,s.__decorate)([n.component],d)}},function(e){return e(41406)}])});
|
|
@@ -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.
|
|
4
|
+
* Version: v4.15.2
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -21,7 +21,7 @@ return (self["webpackChunkjodit_pro"] = self["webpackChunkjodit_pro"] || []).pus
|
|
|
21
21
|
/***/ 78879:
|
|
22
22
|
/***/ (function(module) {
|
|
23
23
|
|
|
24
|
-
module.exports = "<svg
|
|
24
|
+
module.exports = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"> <g fill=\"none\"> <path d=\"M3 7V3h4m4 0h3m4 0h3v4m0 4v3m0 4v3h-4m-4 0h-3m-4 0H3v-4m0-4v-3M7 8h10M7 12h10M7 16h6\"/> </g> </svg>"
|
|
25
25
|
|
|
26
26
|
/***/ }),
|
|
27
27
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valerii <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.
|
|
4
|
+
* Version: v4.15.2
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
8
|
-
!function(t
|
|
8
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var o=t();for(var n in o)("object"==typeof exports?exports:e)[n]=o[n]}}(self,function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[314],{78879:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"> <g fill="none"> <path d="M3 7V3h4m4 0h3m4 0h3v4m0 4v3m0 4v3h-4m-4 0h-3m-4 0H3v-4m0-4v-3M7 8h10M7 12h10M7 16h6"/> </g> </svg>'},12324:function(e,t,o){"use strict";var n=o(6441);n.Config.prototype.showBlocks={enable:!1,color:"#ccc",tagList:["html","body","div","span","applet","object","iframe","h1","h2","h3","h4","h5","h6","p","blockquote","pre","a","abbr","acronym","address","big","cite","code","del","dfn","em","img","ins","kbd","q","s","samp","small","strike","strong","sub","sup","tt","var","b","u","i","center","dl","dt","dd","fieldset","form","label","legend","caption","th","td","li","ol","ul","article","aside","canvas","details","embed","figure","figcaption","footer","header","hgroup","menu","nav","output","ruby","section","summary","time","mark","audio","video"]},n.Config.prototype.controls.showBlocks={isActive:e=>!!e.e.fire("showBlocksEnabled"),tooltip:"Show Blocks",command:"toggleShowBlocks"}},45198:function(e,t,o){"use strict";o.r(t),o.d(t,{ar:function(){return i.a},cs_cz:function(){return i.a},de:function(){return i.a},es:function(){return i.a},fa:function(){return i.a},fr:function(){return i.a},he:function(){return i.a},hu:function(){return i.a},id:function(){return i.a},it:function(){return i.a},ja:function(){return i.a},ko:function(){return i.a},nl:function(){return i.a},pl:function(){return i.a},pt_br:function(){return i.a},ru:function(){return i.a},tr:function(){return i.a},zh_cn:function(){return i.a},zh_tw:function(){return i.a}});var n=o(41324),i=o.n(n)},47682:function(e,t,o){"use strict";o.r(t),o.d(t,{showBlocks:function(){return p}});var n=o(82749),i=o(31635);o(12324);var r=o(45198),s=o(78879),a=o.n(s),l=o(65478),u=o(2748),c=o(580),d=o(50911),h=o(12153),f=o(2692);class p extends d.Plugin{get style(){return(0,c.getContainer)(this.jodit,p,"style",!0)}enable(){this.isEnabled=!0;let e=this.j.o.iframe?"body":".jodit-wysiwyg",{tagList:t,color:o}=this.j.o.showBlocks;this.style.innerHTML=t.map(t=>`${e} ${t}{
|
|
9
9
|
outline: 1px dashed ${o};
|
|
10
|
-
background-image: url("${"data:image/svg+xml;utf8,"+escape('<svg xmlns="http://www.w3.org/2000/svg" width="50px"><text dominant-baseline="hanging" text-anchor="end" style="fill: '+o+';font: 10px sans-serif" x="50px" y="0">'+
|
|
10
|
+
background-image: url("${"data:image/svg+xml;utf8,"+escape('<svg xmlns="http://www.w3.org/2000/svg" width="50px"><text dominant-baseline="hanging" text-anchor="end" style="fill: '+o+';font: 10px sans-serif" x="50px" y="0">'+t+"</text></svg>")}");
|
|
11
11
|
background-position: top 2px ${"rtl"===this.j.o.direction?"left":"right"} 4px;
|
|
12
12
|
background-repeat: no-repeat;
|
|
13
13
|
position: relative;
|
|
14
|
-
}`).join("")}disable(){this.isEnabled=!1;let
|
|
14
|
+
}`).join("")}disable(){this.isEnabled=!1;let e=(0,l.cached)(this,"style");e&&(e.innerHTML="")}toggle(){this.isEnabled?this.disable():this.enable(),this.j.e.fire("updateToolbar")}afterInit(e){e.e.on("showBlocksEnabled",()=>this.isEnabled),e.registerCommand("enableShowBlocks",this.enable).registerCommand("disableShowBlocks",this.disable).registerCommand("toggleShowBlocks",this.toggle),this.j.o.showBlocks.enable&&this.enable()}beforeDestruct(e){this.disable(),u.Dom.safeRemove((0,l.cached)(this,"style"))}constructor(e){super(e),(0,n._)(this,"buttons",[{name:"showBlocks",group:"state"}]),(0,n._)(this,"isEnabled",!1),(0,c.extendLang)(r),h.Icon.set("showBlocks",a())}}(0,n._)(p,"requires",["license"]),(0,i.__decorate)([l.cache],p.prototype,"style",null),(0,i.__decorate)([l.autobind],p.prototype,"enable",null),(0,i.__decorate)([l.autobind],p.prototype,"disable",null),(0,i.__decorate)([l.autobind],p.prototype,"toggle",null),f.JoditPro.plugins.add("show-blocks",p)}},function(e){return e(47682)}])});
|
|
@@ -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.
|
|
4
|
+
* Version: v4.15.2
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -21,7 +21,7 @@ return (self["webpackChunkjodit_pro"] = self["webpackChunkjodit_pro"] || []).pus
|
|
|
21
21
|
/***/ 78955:
|
|
22
22
|
/***/ (function(module) {
|
|
23
23
|
|
|
24
|
-
module.exports = "<svg xmlns=\"http://www.w3.org/2000/svg\"
|
|
24
|
+
module.exports = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"> <g fill=\"none\"> <rect x=\"3\" y=\"3\" width=\"7\" height=\"7\" rx=\"1\"/><rect x=\"3\" y=\"14\" width=\"7\" height=\"7\" rx=\"1\"/><path d=\"M14 6h7m-7 4h4m-4 7h7m-7 4h4\"/> </g> </svg>"
|
|
25
25
|
|
|
26
26
|
/***/ }),
|
|
27
27
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valerii <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.
|
|
4
|
+
* Version: v4.15.2
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
8
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var l in n)("object"==typeof exports?exports:e)[l]=n[l]}}(self,function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[850],{78955:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var l in n)("object"==typeof exports?exports:e)[l]=n[l]}}(self,function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[850],{78955:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"> <g fill="none"> <rect x="3" y="3" width="7" height="7" rx="1"/><rect x="3" y="14" width="7" height="7" rx="1"/><path d="M14 6h7m-7 4h4m-4 7h7m-7 4h4"/> </g> </svg>'},28609:function(e,t,n){"use strict";var l=n(69341),s=n(5440),o=n(78955),i=n.n(o),r=n(6441);r.Config.prototype.customStyles={definitions:[]},r.Config.prototype.controls.style={tooltip:"Styles",icon:i(),isDisabled:e=>!e.o.customStyles.definitions.length,isActive(e){let t=e.o.customStyles.definitions;return!!t.length&&null!=(0,l.detectActiveStyle)(e,t)},update(e,t){let n=e.o.customStyles.definitions;if(!n.length)return;let s=(0,l.detectActiveStyle)(e,n),o=t.control?.component==="select";(e.o.textIcons||o)&&(s?t.state.text=s.name:t.state.text=o?e.i18n("Styles"):"")},exec:()=>!1,popup(e,t,n){let l=e.o.customStyles.definitions;if(!l.length)return!1;e.s.current()||e.s.focus(),e.s.save();let o=(0,s.buildStylePopup)(e,l,()=>{e.s.restore(),n()});return e.e.one("beforePopupClose",()=>{e.s.restore()}),o}}},31105:function(e,t,n){"use strict";n.d(t,{applyStyle:function(){return a}});var l=n(69341),s=n(82758),o=n(2748),i=n(29960),r=n(41180);function u(e,t){let n=e.s.current();if(!n)return null;if(s.IS_BLOCK.test(t.element))return o.Dom.closest(n,o.Dom.isBlock,e.editor);let l=o.Dom.isElement(n)?n:n.parentNode;for(;l&&l!==e.editor;){if(o.Dom.isElement(l)&&l.nodeName.toLowerCase()===t.element)return l;l=l.parentNode}return null}function c(e,t){for(let n of t)e.classList.remove(n);""===e.className&&e.removeAttribute("class")}function f(e){if(e.attributes)return{element:e.element,attributes:e.attributes};let t=e.classes?.filter(Boolean)[0];return t?{element:e.element,attributes:{class:t}}:{element:e.element}}function a(e,t,n){let a=(0,l.detectActiveStyle)(e,n),d=s.IS_BLOCK.test(t.element);if(d&&function(e){let t=e.s.current();if(!t)return;let n=o.Dom.closest(t,o.Dom.isBlock,e.editor);o.Dom.isTag(n,"pre")&&"false"===(0,i.attr)(n,"contenteditable")&&(0,i.attr)(n,"contenteditable",null)}(e),a&&s.IS_BLOCK.test(a.element)===d){if(d&&a!==t)!function(e,t){let n=e.s.current();if(!n)return;let l=o.Dom.closest(n,o.Dom.isBlock,e.editor);if(!l||l.nodeName.toLowerCase()!==t.element)return;let s=t.classes?.filter(Boolean);if(s?.length&&c(l,s),t.attributes){for(let[e,n]of Object.entries(t.attributes))if(null!=n)if("class"===e&&"string"==typeof n)c(l,n.split(/\s+/));else if("style"===e&&"object"==typeof n)for(let e of Object.keys(n))(0,r.css)(l,e,null);else(0,i.attr)(l,e)===n+""&&(0,i.attr)(l,e,null)}}(e,a);else if(e.s.commitStyle(f(a)),a.attributes||function(e,t){let n=t.classes?.filter(Boolean);if(!n||n.length<=1)return;let l=e.s.current();if(l)if(s.IS_BLOCK.test(t.element)){let t=o.Dom.closest(l,o.Dom.isBlock,e.editor);t&&c(t,n.slice(1))}else{let l=u(e,t);l&&(c(l,n.slice(1)),"span"!==l.nodeName.toLowerCase()||l.attributes.length||o.Dom.unwrap(l))}}(e,a),a===t)return}e.s.commitStyle(f(t)),t.attributes||function(e,t){let n=t.classes?.filter(Boolean);if(!n||n.length<=1)return;let l=u(e,t);if(l)for(let e=1;e<n.length;e++)l.classList.add(n[e])}(e,t)}},8060:function(e,t,n){"use strict";n.d(t,{classifyDefinitions:function(){return s}});var l=n(82758);function s(e){let t=[],n=[];for(let s of e)l.IS_BLOCK.test(s.element)?t.push(s):n.push(s);let s=[];return t.length&&s.push({title:"Block styles",definitions:t}),n.length&&s.push({title:"Text styles",definitions:n}),s}},69341:function(e,t,n){"use strict";n.d(t,{detectActiveStyle:function(){return u}});var l=n(82758),s=n(2748),o=n(29960),i=n(41180);function r(e,t){if(e.nodeName.toLowerCase()!==t.element)return!1;if(t.attributes){for(let[n,l]of Object.entries(t.attributes))if(null!=l){if("class"===n){if("string"==typeof l&&!e.classList.contains(l))return!1}else if("style"===n){if("object"==typeof l&&null!=l){for(let[t,n]of Object.entries(l))if(null!=n&&(0,i.css)(e,t,!0)!==n+"")return!1}}else if((0,o.attr)(e,n)!==l+"")return!1}return!0}let n=t.classes?.filter(Boolean);return!n?.length||n.every(t=>e.classList.contains(t))}function u(e,t){let n=e.s.current();if(!n)return null;for(let o of t)if(l.IS_BLOCK.test(o.element)){let t=s.Dom.closest(n,s.Dom.isBlock,e.editor);if(t&&r(t,o))return o}else{let t=s.Dom.isElement(n)?n:n.parentNode;for(;t&&t!==e.editor;){if(s.Dom.isElement(t)&&r(t,o))return o;t=t.parentNode}}return null}},75554:function(e,t,n){"use strict";n.r(t),n.d(t,{style:function(){return i}});var l=n(82749);n(28609);var s=n(50911),o=n(2692);class i extends s.Plugin{afterInit(e){}beforeDestruct(e){}constructor(...e){super(...e),(0,l._)(this,"buttons",[{name:"style",group:"font"}])}}(0,l._)(i,"requires",["license"]),o.JoditPro.plugins.add("style",i)},5440:function(e,t,n){"use strict";n.d(t,{buildStylePopup:function(){return u}});var l=n(31105),s=n(8060),o=n(69341),i=n(29960);let r="jodit-style-popup";function u(e,t,n){let u=(0,s.classifyDefinitions)(t),c=(0,o.detectActiveStyle)(e,t),f=e.c.div(r);for(let s of u){let o=e.c.div(`${r}__group-title`);o.textContent=e.i18n(s.title),f.appendChild(o);let u=e.c.div(`${r}__grid`);for(let o of s.definitions){let s=e.c.element("button");s.type="button",s.className=`${r}__card`+(c===o?` ${r}__card_active_true`:"");let f=e.c.div(`${r}__card-preview`),a=e.c.element(o.element);if(o.attributes)(0,i.attr)(a,o.attributes);else for(let e of o.classes?.filter(Boolean)??[])a.classList.add(e);a.textContent=o.name,f.appendChild(a),s.appendChild(f);let d=e.c.div(`${r}__card-label`);d.textContent=o.name,s.appendChild(d),e.e.on(s,"click",()=>{e.s.focus(),(0,l.applyStyle)(e,o,t),e.synchronizeValues(),n()}),u.appendChild(s)}f.appendChild(u)}return f}}},function(e){return e(75554)}])});
|
|
@@ -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.
|
|
4
|
+
* Version: v4.15.2
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -21,7 +21,7 @@ return (self["webpackChunkjodit_pro"] = self["webpackChunkjodit_pro"] || []).pus
|
|
|
21
21
|
/***/ 18993:
|
|
22
22
|
/***/ (function(module) {
|
|
23
23
|
|
|
24
|
-
module.exports = "<svg xmlns=\"http://www.w3.org/2000/svg\"
|
|
24
|
+
module.exports = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"> <g fill=\"none\"> <rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2\"/><path d=\"M3 9h18M10 9v12M14 13h3m-3 4h3\"/> </g> </svg>"
|
|
25
25
|
|
|
26
26
|
/***/ }),
|
|
27
27
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valerii <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.
|
|
4
|
+
* Version: v4.15.2
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
8
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var
|
|
8
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var o in n)("object"==typeof exports?exports:e)[o]=n[o]}}(self,function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[945],{18993:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"> <g fill="none"> <rect x="3" y="3" width="18" height="18" rx="2"/><path d="M3 9h18M10 9v12M14 13h3m-3 4h3"/> </g> </svg>'},58475:function(e,t,n){"use strict";var o=n(54296),i=n(18993),r=n.n(i),s=n(6441);s.Config.prototype.contentTemplates={definitions:[]},s.Config.prototype.controls.templates={tooltip:"Templates",icon:r(),isDisabled:e=>!e.o.contentTemplates.definitions.length,exec:()=>!1,popup(e,t,n){let i=e.o.contentTemplates.definitions;if(!i.length)return!1;e.s.current()||e.s.focus(),e.s.save();let r=(0,o.buildTemplatesPopup)(e,i,()=>{e.s.restore(),n()});return e.e.one("beforePopupClose",()=>{e.s.restore()}),r}}},61886:function(e,t,n){"use strict";n.r(t),n.d(t,{templates:function(){return s}});var o=n(82749);n(58475);var i=n(50911),r=n(2692);class s extends i.Plugin{afterInit(e){}beforeDestruct(e){}constructor(...e){super(...e),(0,o._)(this,"buttons",[{name:"templates",group:"insert"}])}}(0,o._)(s,"requires",["license"]),r.JoditPro.plugins.add("templates",s)},54296:function(e,t,n){"use strict";n.d(t,{buildTemplatesPopup:function(){return i}});let o="jodit-templates-popup";function i(e,t,n){let i=e.c.div(o);for(let r of t){let t=e.c.element("button");t.type="button",t.className=`${o}__card`;let s=e.c.div(`${o}__card-preview`);if(r.image){let t=e.c.element("img");t.src=r.image,t.alt=r.title,s.appendChild(t)}else{let t=e.c.div(`${o}__card-preview-inner`);t.innerHTML=r.html,s.appendChild(t)}t.appendChild(s);let l=e.c.div(`${o}__card-info`),p=e.c.div(`${o}__card-title`);p.textContent=r.title,l.appendChild(p);let c=e.c.div(`${o}__card-description`);c.textContent=r.description,l.appendChild(c),t.appendChild(l),e.e.on(t,"click",()=>{e.s.focus(),e.s.insertHTML(r.html),e.synchronizeValues(),n()}),i.appendChild(t)}return i}}},function(e){return e(61886)}])});
|