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,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(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 viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path d="M0 6c0-1.1.9-2 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6zm2 0v2h2V6H2zm1 3v2h2V9H3zm-1 3v2h2v-2H2zm3 0v2h10v-2H5zm11 0v2h2v-2h-2zM6 9v2h2V9H6zm3 0v2h2V9H9zm3 0v2h2V9h-2zm3 0v2h2V9h-2zM5 6v2h2V6H5zm3 0v2h2V6H8zm3 0v2h2V6h-2zm3 0v2h4V6h-4z"/> </svg>'},27926:function(t){t.exports='<?xml version="1.0" ?><svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M0 10l7-7h13v14H7l-7-7zm14.41 0l2.13-2.12-1.42-1.42L13 8.6l-2.12-2.13-1.42 1.42L11.6 10l-2.13 2.12 1.42 1.42L13 11.4l2.12 2.13 1.42-1.42L14.4 10z"/></svg>'},10690:function(t){t.exports='<svg viewBox="0 0 30 29" xmlns="http://www.w3.org/2000/svg"> <path d="M15 0.5L30 15.2625H22V24H8V15.2625H0L15 0.5Z"/> <rect x="8" y="26" width="14" height="3"/> </svg>'},91997:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24" > <circle cy="12" cx="12" r="2.2"/> <circle cy="12" cx="5" r="2.2"/> <circle cy="12" cx="19" r="2.2"/> </svg>'},11699:function(t){t.exports='<svg viewBox="0 0 30 29" xmlns="http://www.w3.org/2000/svg"> <path d="M15 0.5L30 15.2625H22V29H8V15.2625H0L15 0.5Z"/> </svg>'},98126:function(t){t.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M23.17 14.83l7.17 7.17h-28.34v4h28.34l-7.17 7.17 2.83 2.83 12-12-12-12-2.83 2.83zm16.83-2.83v24h4v-24h-4z"/> </svg>'},41113:function(t,e,s){"use strict";var o=s(63643),a=s.n(o),r=s(6441);r.Config.prototype.keyboard={defaultLayoutSet:"en",showLayoutSwitcher:!0,extraKeyGroup:"other",extraKeyButtons:[],delayKeyRepeat:350,periodKeyRepeat:100,layoutList:{en:{title:"English",keys:[["` ~ \xb1","1 ! \xa7","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\xf1ol",keys:[["\xba ` ~","1 ! \xa7","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _ |","\xa1 = +","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","i I","o O","p P","[ {","] }","\xe7 \xc7 \\"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","\xf1 \xd1 ; :","' \"","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},de:{title:"Deutsch",keys:[["` ~ \xb1","1 ! \xa7","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","\xfc \xdc [","] }","\\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","\xf6 \xd6 ;","\xe4 \xc4 ' \"","Enter"],["Shift","y Y","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},ru:{title:"Русский",keys:[["` ~ \xb1","1 ! \xa7",'2 @ "',"3 # :","4 $ <","5 % >","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","й Й","ц Ц","у У","к К","е Е","н Н","г Г","ш Ш","щ Щ","з З","х Х [","ъ ] {","\\ | }"],["Caps","ф Ф","ы Ы","в В","а А","п П","р Р","о О","л Л","д Д","ж Ж ;","э Э '","Enter"],["Shift","я Я","ч Ч","с С","м М","и И","т Т","ь Ь","б Б ,","ю Ю .","/ ?","Shift"],["Options","Space","Options"]]},tr:{title:"T\xfcrk\xe7e",keys:[['" \xe9` ~',"1 ! \xa7",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ \xb1","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","ğ Ğ","\xfc \xdc",", \\ |"],["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","\xf6 \xd6 <","\xe7 \xc7 >",". / ?","Shift"],["Options","Space","Options"]]},iw:{title:"Hebrew",keys:[["` ~ \xb1","1 ! \xa7","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 ! \xa7",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ \xb1","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]]},r.Config.prototype.controls.keyboard={tooltip:"Keyboard",icon:a(),isActive(t){return!!t.e.fire("isKeyboardOpened")},command:"toggleKeyboard"},r.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),a=s(31635);s(41113);var r=s(25241),i=s(6441),n=s(65478),h=s(27613),c=s(50911),l=s(67510),p=s(41409),d=s(2692);class u extends c.Plugin{afterInit(t){t.registerCommand("toggleKeyboard",this.toggleKeyboard).registerCommand("insertChar",this.insertChar),t.e.on("isKeyboardOpened",()=>{var t;return null==(t=this.__keyboard)?void 0:t.isOpened})}insertChar(t,e,s){this.j.s.insertNode(this.j.createInside.text(s))}toggleKeyboard(){if(!this.__keyboard){this.__keyboard=new p.Dialog({toolbarButtonSize:"tiny"});let t=new r.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 l.UISelect(this.__keyboard,{value:t.state.currentLayout,options:s.map(t=>{var e,s;return{text:null!=(e=null==(s=o[t])?void 0:s.title)?e: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){var e;null==(e=this.__keyboard)||e.destruct()}constructor(t){super(t),(0,o._)(this,"hasStyle",!d.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 a=(0,h.isString)(e)?e:e.key,r=(0,h.isString)(e)||!e.hotkeys?[`ctrl+${o+1}`]:e.hotkeys;t.registerButton({name:`extraKeyboardButtons.${a}`,group:s});let{extraKeyboardButtons:n}=i.Config.defaultOptions.controls;n[a]={name:a,tooltip:a,args:[a],hotkeys:r,command:"insertChar"}})}}(0,o._)(u,"requires",["license"]),(0,a.__decorate)([n.autobind],u.prototype,"insertChar",null),(0,a.__decorate)([n.autobind],u.prototype,"toggleKeyboard",null),d.JoditPro.plugins.add("keyboard",u)},25241:function(t,e,s){"use strict";s.d(e,{UIKeyboard:function(){return b}});var o=s(82749),a=s(31635),r=s(82758),i=s(65478),n=s(43555),h=s(67510),c=s(27926),l=s.n(c),p=s(10690),d=s.n(p),u=s(91997),y=s.n(u),f=s(11699),v=s.n(f),g=s(98126),k=s.n(g);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 a=0;s>a;a+=1){let s=[];for(let o=0;o<t[a].length;o+=1)s.push(`<div style="width:${e*t[a][o]}px;height:${e}px;" class="&__key"></div>`);o.push(`<div class='&__row'>${s.join("\n")}</div>`)}return o.join("\n")})()}</div>`}onStateChange(){let{currentLayout:t,options:e,shift:s,caps:o}=this.state,{keys:a}=this.j.o.keyboard.layoutList[t],r=0;for(let t=0;t<a.length;t+=1)for(let i=0;i<a[t].length;i+=1){let n=a[t][i].split(" "),h=n[0];s&&(h=n[1]),!s&&o&&n[1]&&b.isLetter(n[0])&&(h=n[1]),e&&(h=n[2]),this.setKeyValue(r,null!=h?h:n[0]),r+=1}}static isLetter(t){return t.toLowerCase()!==t.toUpperCase()}setKeyValue(t,e){let s=this._keys[t];if(!s)return;let o=!1,{options:a,shift:r,caps:i}=this.state;switch(e){case"Caps":o=i;break;case"Options":o=a;break;case"Shift":o=r}s.innerHTML=b.decorate(e),s.classList.toggle(this.getFullElName("key","active",!0),o),(0,n.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,n.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(r.NBSP_SPACE));break;default:this.state.shift&&(this.state.shift=!1),o&&this.j.s.insertNode(this.j.createInside.text(o))}let{periodKeyRepeat:a,delayKeyRepeat:i}=this.j.o.keyboard;return this.reKeyDownTimeout=this.j.async.setTimeout(()=>this.onKeyDown(t,a),e||i),!1}static decorate(t){switch(t){case"Space":return"";case"Enter":return h.Icon.get("enter");case"Backspace":return l();case"Shift":return v();case"Caps":return d();case"Options":return y();case"Tab":return k();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,a.__decorate)([(0,i.watch)(["state.currentLayout","state.options","state.shift","state.caps"])],b.prototype,"onStateChange",null),(0,a.__decorate)([(0,i.watch)(["ow:mouseup"])],b.prototype,"onKeyUp",null),(0,a.__decorate)([(0,i.hook)("ready")],b.prototype,"onReady",null),(0,a.__decorate)([i.autobind],b.prototype,"stopPress",null),(0,a.__decorate)([(0,i.watch)(["container:mousedown","container:touchstart"])],b.prototype,"onKeyDown",null),b=(0,a.__decorate)([i.component],b)}},function(t){return t(95618)}])});
|
|
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:[["` ~ \xb1","1 ! \xa7","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\xf1ol",keys:[["\xba ` ~","1 ! \xa7","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _ |","\xa1 = +","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","i I","o O","p P","[ {","] }","\xe7 \xc7 \\"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","\xf1 \xd1 ; :","' \"","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},de:{title:"Deutsch",keys:[["` ~ \xb1","1 ! \xa7","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","\xfc \xdc [","] }","\\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","\xf6 \xd6 ;","\xe4 \xc4 ' \"","Enter"],["Shift","y Y","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},ru:{title:"Русский",keys:[["` ~ \xb1","1 ! \xa7",'2 @ "',"3 # :","4 $ <","5 % >","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","й Й","ц Ц","у У","к К","е Е","н Н","г Г","ш Ш","щ Щ","з З","х Х [","ъ ] {","\\ | }"],["Caps","ф Ф","ы Ы","в В","а А","п П","р Р","о О","л Л","д Д","ж Ж ;","э Э '","Enter"],["Shift","я Я","ч Ч","с С","м М","и И","т Т","ь Ь","б Б ,","ю Ю .","/ ?","Shift"],["Options","Space","Options"]]},tr:{title:"T\xfcrk\xe7e",keys:[['" \xe9` ~',"1 ! \xa7",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ \xb1","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","ğ Ğ","\xfc \xdc",", \\ |"],["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","\xf6 \xd6 <","\xe7 \xc7 >",". / ?","Shift"],["Options","Space","Options"]]},iw:{title:"Hebrew",keys:[["` ~ \xb1","1 ! \xa7","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 ! \xa7",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ \xb1","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){return!!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",()=>{var t;return null==(t=this.__keyboard)?void 0:t.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=>{var e,s;return{text:null!=(e=null==(s=o[t])?void 0:s.title)?e: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){var e;null==(e=this.__keyboard)||e.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("\n")}</div>`)}return o.join("\n")})()}</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,null!=h?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)=>{var o,i;let n=null==(i=t.control)||null==(o=i.args)?void 0:o[0];return(0,d.isNumeric)(n)&&(n=Number(n)),((0,l.dataBind)(e,s)||"default")===n},exec:e=>!!(0,l.dataBind)(e,a)&&void e.execCommand("mobileView",!1,(0,l.dataBind)(e,a)),childExec:(e,t,{button:o})=>{var i,n;let r=null==(n=o.control)||null==(i=n.args)?void 0:i[0];e.execCommand("mobileView",!1,(0,d.isNumeric)(r)?Number(r):r)},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 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([[150],{75689:function(e){e.exports='<svg viewBox="0 0 24 24" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <path d="M2.5244141,23.5h18.9511719c0.4140625,0,0.75-0.3359375,0.75-0.75V4.9208984 c0-0.1992188-0.0795898-0.390625-0.2207031-0.53125L18.3198242,0.71875C18.1791992,0.5786133,17.9887695,0.5,17.7905273,0.5 H2.5244141c-0.4140625,0-0.75,0.3359375-0.75,0.75v21.5C1.7744141,23.1640625,2.1103516,23.5,2.5244141,23.5z M20.7128296,5.2197266 h-2.6986694V2.531189L20.7128296,5.2197266z M3.2744141,2h13.2397461v3.9697266c0,0.4140625,0.3359375,0.75,0.75,0.75h3.4614258V22 H3.2744141V2z" fill="#1D1D1D"/> <path d="M8.75,10.25h1.75c0.4140625,0,0.75-0.3359375,0.75-0.75s-0.3359375-0.75-0.75-0.75H8 c-0.4140625,0-0.75,0.3359375-0.75,0.75v2.75H6c-0.4140625,0-0.75,0.3359375-0.75,0.75S5.5859375,13.75,6,13.75h1.25v2.75 c0,0.4140625,0.3359375,0.75,0.75,0.75h2.5c0.4140625,0,0.75-0.3359375,0.75-0.75s-0.3359375-0.75-0.75-0.75H8.75V10.25z" fill="#1D1D1D"/> <path d="M18.5,12.25h-1.25V9.5c0-0.4140625-0.3359375-0.75-0.75-0.75H14c-0.4140625,0-0.75,0.3359375-0.75,0.75 s0.3359375,0.75,0.75,0.75h1.75v5.5H14c-0.4140625,0-0.75,0.3359375-0.75,0.75s0.3359375,0.75,0.75,0.75h2.5 c0.4140625,0,0.75-0.3359375,0.75-0.75v-2.75h1.25c0.4140625,0,0.75-0.3359375,0.75-0.75S18.9140625,12.25,18.5,12.25z" fill="#1D1D1D"/></svg>'},83967:function(e,t,o){"use strict";var i=o(35960),s=o(75689),a=o.n(s),n=o(6441),r=o(22732),l=o(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,i.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){return"u">typeof Prism?Prism.highlight(e,Prism.languages[t]||Prism.languages.plain,t):(0,l.htmlspecialchars)(e)},isLangLoaded(e){return"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,o)=>`<pre class="language-${t}">${(0,l.htmlspecialchars)(o)}</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,o){"use strict";o.d(t,{copyCodeToClipboard:function(){return l},languageTitle:function(){return n},parseLanguage:function(){return a},setPreLanguage:function(){return r}});var i=o(22732);function s(e){return e.firstElementChild===e.lastElementChild&&i.Dom.isTag(e.firstElementChild,"code")?e.firstElementChild:e}function a(e,t){let o=null,i=e=>e.classList.forEach(e=>{let t=/^language-(.+)/.exec(e);t&&t[1]&&(o=t[1])});i(t);let a=s(t);return null==o&&a!==t&&i(a),e.o.pasteCode.canonicalLanguageCode(o||"html")}function n(e,t){let o=e.o.pasteCode.languages.find(e=>String(e.value)===t);return e.i18n(String(o?o.text:t))}function r(e,t,o){let i=e=>Array.from(e.classList).forEach(t=>{/^language-/.test(t)&&e.classList.remove(t)});i(t);let a=s(t);a!==t&&i(a),a.classList.add(`language-${o}`),e.e.fire("rehighlightPasteCode",t),e.e.fire("synchro")}function l(e,t){let o=t.innerText,{navigator:s}=e.ow;if(s&&s.clipboard&&s.clipboard.writeText)s.clipboard.writeText(o).catch(()=>null);else{let t=e.create.element("textarea");t.value=o,t.style.position="fixed",t.style.opacity="0",e.od.body.appendChild(t),t.select();try{e.od.execCommand("copy")}catch(e){}i.Dom.safeRemove(t)}e.e.fire("afterCopyCode.pasteCode",o)}},41406:function(e,t,o){"use strict";o.r(t),o.d(t,{pasteCode:function(){return f}});var i=o(77688),s=o(82749),a=o(31635);o(83967);var n=o(24397),r=o(35960),l=o(82758),c=o(65478),h=o(21537),d=o(87612),u=o(53326),p=o(50911),g=o(67510),_=o(41409),m=o(2692);class f extends p.Plugin{className(){return"pasteCode"}afterInit(e){e.registerCommand("pasteCode",()=>this.__openCodeEditDialog()),this.__codeTuner=new n.UICodeTuner(e),e.async.requestIdleCallback(()=>this.__initHighlightLibLoading())}__openCodeEditDialog(e,t,o){let i=this.j,s=this.__createForm(),{code:a,language:n}=(0,h.refs)(s.container);e&&(n.value=e),t&&(a.value=t),i.async.requestIdleCallback(()=>{a.focus()}),i.s.save(),this.__createDialog(()=>{if(s.validate()){i.s.restore();let e=i.createInside.fromHTML(i.o.pasteCode.insertTemplate(i,n.value,a.value));if(o)_.Dom.replace(o,e,i.createInside,!1,!0);else{let t=i.s.current(),o=_.Dom.up(t,_.Dom.isBlock,i.editor);o&&!_.Dom.isCell(o)?_.Dom.after(o,e):i.s.insertNode(e)}this.__imdOnChange();return}return!1},()=>{i.s.restore()}).setContent(s.container).open(!0)}beforeDestruct(e){var t;null==(t=this.__codeTuner)||t.destruct()}onRehighlightPasteCode(e){_.Dom.isTag(e,"pre")&&((0,h.attr)(e,"contenteditable",!1),this.__highlightCode(e).catch(()=>null))}__createForm(){let{jodit:e}=this;return new g.UIForm(e,[new g.UISelect(e,{name:"language",label:"Language",value:e.o.pasteCode.defaultLanguage,options:e.o.pasteCode.languages,required:!0}),new g.UITextArea(e,{label:"Code view",resizable:!1,name:"code",required:!0,className:"jodit-paste-code__textarea"})],{className:"jodit-paste-code"})}__createDialog(e,t){let o=new _.Dialog({language:this.j.o.language});return o.setHeader("Insert/Edit Code Sample").setSize(this.j.o.pasteCode.dialog.width,this.j.o.pasteCode.dialog.height).setFooter([(0,g.Button)(o,"","Cancel","default").onAction(()=>{o.close(),t()}),(0,g.Button)(o,"save","Save","primary").onAction(()=>{o.close(),e()})]),o}__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))})}__highlightCode(e){return(0,i._)(function*(){let t=this.__parseLanguage(e),{highlight:o}=yield this.__initHighlightLibLoading(t),i=e;e.firstElementChild===e.lastElementChild&&_.Dom.isTag(e.firstElementChild,"code")&&(i=e.firstElementChild),i.innerHTML=o(i.innerText,t)}).call(this)}onPreEdit(e){let t=_.Dom.isNode(e)&&_.Dom.isTag(e,"pre")?e:_.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,r.parseLanguage)(this.jodit,e)}onAfterGetValueFromEditor(e){let t=(e,t,o,i,s,a)=>`${t.trim()}${i}${(0,u.htmlspecialchars)((0,h.stripTags)(s,this.j.ed,new Set(["br"])))}${a}`;e.value=e.value.replace(RegExp("(<pre[^>]*)contenteditable\\s*=\\s*(['\"]?)false\\2([^>]*>\\s*<code[^>]*>)(.*?)(<\\/code>\\s*<\\/pre>)","gis"),t).replace(RegExp("(<pre[^>]*)contenteditable\\s*=\\s*(['\"]?)false\\2([^>]*>)(.*?)(<\\/pre>)","gis"),t)}constructor(...e){var t;super(...e),t=this,(0,s._)(this,"buttons",[{name:"pasteCode",group:"clipboard"}]),(0,s._)(this,"__codeTuner",void 0),(0,s._)(this,"__highlightLibJSIsLoaded",!1),(0,s._)(this,"__loadLanguage",new Map),(0,s._)(this,"__initHighlightLibLoading",e=>(0,i._)(function*(){let{globalHighlightLib:o,highlightLib:{css:i,js:s,langUrl:a,highlight:n,isLangLoaded:r,beforeLibLoad:c,afterLibLoad:u}}=t.j.o.pasteCode;return t.__highlightLibJSIsLoaded||o||(t.__highlightLibJSIsLoaded=Promise.resolve(null==c?void 0:c()).then(()=>v(t.async,Promise.allSettled([(0,h.loadNextStyle)(t.jodit,i).catch(()=>null),(0,h.loadNext)(t.jodit,s).catch(()=>null)]))).then(()=>null==u?void 0:u())),(0,d.isBoolean)(t.__highlightLibJSIsLoaded)||(yield t.__highlightLibJSIsLoaded),!e||r(e)||o||(t.__loadLanguage.has(e)||(l.IS_PROD,t.__loadLanguage.set(e,v(t.async,(0,h.appendScriptAsync)(t.jodit,a(e)).catch(()=>null)))),yield t.__loadLanguage.get(e)),{highlight:n}})())}}function v(e,t){return e.promise((e,o)=>{t.then(e).catch(o)}).catch(()=>null)}(0,s._)(f,"requires",["license"]),(0,a.__decorate)([c.autobind],f.prototype,"__openCodeEditDialog",null),(0,a.__decorate)([(0,c.watch)("?:rehighlightPasteCode")],f.prototype,"onRehighlightPasteCode",null),(0,a.__decorate)([(0,c.watch)(["?:change","?:afterInit"]),(0,c.debounce)()],f.prototype,"__onChange",null),(0,a.__decorate)([(0,c.watch)(["?:dblclick","?:editPreInPasteCode"])],f.prototype,"onPreEdit",null),(0,a.__decorate)([(0,c.watch)("?:afterGetValueFromEditor")],f.prototype,"onAfterGetValueFromEditor",null),f=(0,a.__decorate)([c.component],f),m.JoditPro.plugins.add("paste-code",f)},24397:function(e,t,o){"use strict";o.d(t,{UICodeTuner:function(){return d}});var i=o(82749),s=o(31635),a=o(35960),n=o(65478),r=o(22732),l=o(21537),c=o(67510),h=o(21491);class d extends c.UIElement{className(){return"UICodeTuner"}render(){return`<div>
|
|
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([[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,o){"use strict";var i=o(35960),s=o(75689),n=o.n(s),a=o(6441),r=o(22732),l=o(53326);a.Config.prototype.controls.pasteCode={icon:n(),tooltip:"Paste code",command:"pasteCode"},a.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,i.copyCodeToClipboard)(e,t)}},remove:{icon:"bin",tooltip:"Delete",exec:(e,t)=>{r.Dom.safeRemove(t),e.e.fire("synchro"),e.e.fire("hideCodeTuner.pasteCode")}}},a.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){return"u">typeof Prism?Prism.highlight(e,Prism.languages[t]||Prism.languages.plain,t):(0,l.htmlspecialchars)(e)},isLangLoaded(e){return"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,o)=>`<pre class="language-${t}">${(0,l.htmlspecialchars)(o)}</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,o){"use strict";o.d(t,{copyCodeToClipboard:function(){return l},languageTitle:function(){return a},parseLanguage:function(){return n},setPreLanguage:function(){return r}});var i=o(22732);function s(e){return e.firstElementChild===e.lastElementChild&&i.Dom.isTag(e.firstElementChild,"code")?e.firstElementChild:e}function n(e,t){let o=null,i=e=>e.classList.forEach(e=>{let t=/^language-(.+)/.exec(e);t&&t[1]&&(o=t[1])});i(t);let n=s(t);return null==o&&n!==t&&i(n),e.o.pasteCode.canonicalLanguageCode(o||"html")}function a(e,t){let o=e.o.pasteCode.languages.find(e=>String(e.value)===t);return e.i18n(String(o?o.text:t))}function r(e,t,o){let i=e=>Array.from(e.classList).forEach(t=>{/^language-/.test(t)&&e.classList.remove(t)});i(t);let n=s(t);n!==t&&i(n),n.classList.add(`language-${o}`),e.e.fire("rehighlightPasteCode",t),e.e.fire("synchro")}function l(e,t){let o=t.innerText,{navigator:s}=e.ow;if(s&&s.clipboard&&s.clipboard.writeText)s.clipboard.writeText(o).catch(()=>null);else{let t=e.create.element("textarea");t.value=o,t.style.position="fixed",t.style.opacity="0",e.od.body.appendChild(t),t.select();try{e.od.execCommand("copy")}catch(e){}i.Dom.safeRemove(t)}e.e.fire("afterCopyCode.pasteCode",o)}},41406:function(e,t,o){"use strict";o.r(t),o.d(t,{pasteCode:function(){return f}});var i=o(77688),s=o(82749),n=o(31635);o(83967);var a=o(24397),r=o(35960),l=o(82758),c=o(65478),h=o(21537),d=o(87612),u=o(53326),p=o(50911),g=o(67510),_=o(41409),m=o(2692);class f 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,o){let i=this.j,s=this.__createForm(),{code:n,language:a}=(0,h.refs)(s.container);e&&(a.value=e),t&&(n.value=t),i.async.requestIdleCallback(()=>{n.focus()}),i.s.save(),this.__createDialog(()=>{if(s.validate()){i.s.restore();let e=i.createInside.fromHTML(i.o.pasteCode.insertTemplate(i,a.value,n.value));if(o)_.Dom.replace(o,e,i.createInside,!1,!0);else{let t=i.s.current(),o=_.Dom.up(t,_.Dom.isBlock,i.editor);o&&!_.Dom.isCell(o)?_.Dom.after(o,e):i.s.insertNode(e)}this.__imdOnChange();return}return!1},()=>{i.s.restore()}).setContent(s.container).open(!0)}beforeDestruct(e){var t;null==(t=this.__codeTuner)||t.destruct()}onRehighlightPasteCode(e){_.Dom.isTag(e,"pre")&&((0,h.attr)(e,"contenteditable",!1),this.__highlightCode(e).catch(()=>null))}__createForm(){let{jodit:e}=this;return new g.UIForm(e,[new g.UISelect(e,{name:"language",label:"Language",value:e.o.pasteCode.defaultLanguage,options:e.o.pasteCode.languages,required:!0}),new g.UITextArea(e,{label:"Code view",resizable:!1,name:"code",required:!0,className:"jodit-paste-code__textarea"})],{className:"jodit-paste-code"})}__createDialog(e,t){let o=new _.Dialog({language:this.j.o.language});return o.setHeader("Insert/Edit Code Sample").setSize(this.j.o.pasteCode.dialog.width,this.j.o.pasteCode.dialog.height).setFooter([(0,g.Button)(o,"","Cancel","default").onAction(()=>{o.close(),t()}),(0,g.Button)(o,"save","Save","primary").onAction(()=>{o.close(),e()})]),o}__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))})}__highlightCode(e){return(0,i._)(function*(){let t=this.__parseLanguage(e),{highlight:o}=yield this.__initHighlightLibLoading(t),i=e;e.firstElementChild===e.lastElementChild&&_.Dom.isTag(e.firstElementChild,"code")&&(i=e.firstElementChild),i.innerHTML=o(i.innerText,t)}).call(this)}onPreEdit(e){let t=_.Dom.isNode(e)&&_.Dom.isTag(e,"pre")?e:_.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,r.parseLanguage)(this.jodit,e)}onAfterGetValueFromEditor(e){let t=(e,t,o,i,s,n)=>`${t.trim()}${i}${(0,u.htmlspecialchars)((0,h.stripTags)(s,this.j.ed,new Set(["br"])))}${n}`;e.value=e.value.replace(RegExp("(<pre[^>]*)contenteditable\\s*=\\s*(['\"]?)false\\2([^>]*>\\s*<code[^>]*>)(.*?)(<\\/code>\\s*<\\/pre>)","gis"),t).replace(RegExp("(<pre[^>]*)contenteditable\\s*=\\s*(['\"]?)false\\2([^>]*>)(.*?)(<\\/pre>)","gis"),t)}constructor(...e){var t;super(...e),t=this,(0,s._)(this,"buttons",[{name:"pasteCode",group:"clipboard"}]),(0,s._)(this,"__codeTuner",void 0),(0,s._)(this,"__highlightLibJSIsLoaded",!1),(0,s._)(this,"__loadLanguage",new Map),(0,s._)(this,"__initHighlightLibLoading",e=>(0,i._)(function*(){let{globalHighlightLib:o,highlightLib:{css:i,js:s,langUrl:n,highlight:a,isLangLoaded:r,beforeLibLoad:c,afterLibLoad:u}}=t.j.o.pasteCode;return t.__highlightLibJSIsLoaded||o||(t.__highlightLibJSIsLoaded=Promise.resolve(null==c?void 0:c()).then(()=>C(t.async,Promise.allSettled([(0,h.loadNextStyle)(t.jodit,i).catch(()=>null),(0,h.loadNext)(t.jodit,s).catch(()=>null)]))).then(()=>null==u?void 0:u())),(0,d.isBoolean)(t.__highlightLibJSIsLoaded)||(yield t.__highlightLibJSIsLoaded),!e||r(e)||o||(t.__loadLanguage.has(e)||(l.IS_PROD,t.__loadLanguage.set(e,C(t.async,(0,h.appendScriptAsync)(t.jodit,n(e)).catch(()=>null)))),yield t.__loadLanguage.get(e)),{highlight:a}})())}}function C(e,t){return e.promise((e,o)=>{t.then(e).catch(o)}).catch(()=>null)}(0,s._)(f,"requires",["license"]),(0,n.__decorate)([c.autobind],f.prototype,"__openCodeEditDialog",null),(0,n.__decorate)([(0,c.watch)("?:rehighlightPasteCode")],f.prototype,"onRehighlightPasteCode",null),(0,n.__decorate)([(0,c.watch)(["?:change","?:afterInit"]),(0,c.debounce)()],f.prototype,"__onChange",null),(0,n.__decorate)([(0,c.watch)(["?:dblclick","?:editPreInPasteCode"])],f.prototype,"onPreEdit",null),(0,n.__decorate)([(0,c.watch)("?:afterGetValueFromEditor")],f.prototype,"onAfterGetValueFromEditor",null),f=(0,n.__decorate)([c.component],f),m.JoditPro.plugins.add("paste-code",f)},24397:function(e,t,o){"use strict";o.d(t,{UICodeTuner:function(){return d}});var i=o(82749),s=o(31635),n=o(35960),a=o(65478),r=o(22732),l=o(21537),c=o(67510),h=o(21491);class d extends c.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 o=(0,l.position)(this.currentBlock,this.j);return e>=o.left-16-6-6&&e<=o.left+o.width&&t>=o.top-6&&t<=o.top+o.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[String(t.value)]=String(t.text)}),{name:"language",list:e,tooltip:"Language",text:(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 o=(0,l.position)(this.currentBlock,this.j);return e>=o.left-16-6-6&&e<=o.left+o.width&&t>=o.top-6&&t<=o.top+o.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[String(t.value)]=String(t.text)}),{name:"language",list:e,tooltip:"Language",text:(0,n.languageTitle)(this.j,(0,n.parseLanguage)(this.j,this.currentBlock)),childTemplate:(e,t,o)=>this.j.i18n(o),update:(e,t)=>{let o=t.target;r.Dom.isTag(o,"pre")&&t.setState({text:(0,n.languageTitle)(this.j,(0,n.parseLanguage)(this.j,o)),icon:{name:""}})},childExec:(e,t,{control:o})=>{let i=String(o.args&&o.args[0]||"plaintext");r.Dom.isTag(t,"pre")&&((0,n.setPreLanguage)(this.j,t,i),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,i._)(this,"toolbar",(0,h.makeCollection)(this.j,this)),(0,i._)(this,"popup",new c.Popup(this.j,!1)),(0,i._)(this,"isShown",!1),(0,i._)(this,"__hideTimer",0),(0,i._)(this,"currentBlock",void 0)}}(0,s.__decorate)([(0,a.watch)("j.editor:mousemove"),(0,a.throttle)(50)],d.prototype,"onEditorMouseMove",null),(0,s.__decorate)([(0,a.watch)("j.editor:click")],d.prototype,"onEditorClick",null),(0,s.__decorate)([(0,a.watch)(":outsideClick")],d.prototype,"onOutsideClick",null),(0,s.__decorate)([(0,a.watch)(":hideCodeTuner.pasteCode")],d.prototype,"forceHide",null),(0,s.__decorate)([a.autobind],d.prototype,"__onPointerMove",null),(0,s.__decorate)([a.autobind],d.prototype,"__onReposition",null),(0,s.__decorate)([(0,a.watch)(":change :resize :afterSetMode"),(0,a.throttle)(10)],d.prototype,"onEditorChange",null),(0,s.__decorate)([(0,a.watch)("anchor:mousedown")],d.prototype,"onAnchorMouseDown",null),d=(0,s.__decorate)([a.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,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(o,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e=t();for(var n in e)("object"==typeof exports?exports:o)[n]=e[n]}}(self,function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[314],{78879:function(o){o.exports='<svg
|
|
8
|
+
!function(o,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e=t();for(var n in e)("object"==typeof exports?exports:o)[n]=e[n]}}(self,function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[314],{78879:function(o){o.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(o,t,e){"use strict";var n=e(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(o){return!!o.e.fire("showBlocksEnabled")},tooltip:"Show Blocks",command:"toggleShowBlocks"}},7085:function(o){o.exports={"Show Blocks":"تظهر كتل"}},42350:function(o){o.exports={"Show Blocks":"Uk\xe1zat Bloky"}},53189:function(o){o.exports={"Show Blocks":"Zeigen Bl\xf6cke"}},48154:function(o){o.exports={"Show Blocks":"Mostrar Bloques"}},59551:function(o){o.exports={"Show Blocks":"نشان می دهد بلوک"}},41858:function(o){o.exports={"Show Blocks":"Afficher Les Blocs"}},78777:function(o){o.exports={"Show Blocks":"תראה רחובות"}},25321:function(o){o.exports={"Show Blocks":"Mutasd Meg Blokkok"}},27847:function(o){o.exports={"Show Blocks":"Menunjukkan Blok"}},45198:function(o,t,e){"use strict";e.r(t),e.d(t,{ar:function(){return n},cs_cz:function(){return s},de:function(){return r},es:function(){return i},fa:function(){return l},fr:function(){return c},he:function(){return u},hu:function(){return a},id:function(){return h},it:function(){return f},ja:function(){return d},ko:function(){return p},nl:function(){return k},pl:function(){return g},pt_br:function(){return b},ru:function(){return w},tr:function(){return B},zh_cn:function(){return m},zh_tw:function(){return x}});var n=e(7085),s=e(42350),r=e(53189),i=e(48154),l=e(59551),c=e(41858),u=e(78777),a=e(25321),h=e(27847),f=e(23287),d=e(73035),p=e(97028),k=e(26436),g=e(6602),b=e(86401),w=e(54023),B=e(8432),m=e(58366),x=e(46954)},23287:function(o){o.exports={"Show Blocks":"Visualizza Blocchi"}},73035:function(o){o.exports={"Show Blocks":"ショーのブロック"}},97028:function(o){o.exports={"Show Blocks":"쇼 블록"}},26436:function(o){o.exports={"Show Blocks":"Toon Blokken"}},6602:function(o){o.exports={"Show Blocks":"Pokaż Bloki"}},86401:function(o){o.exports={"Show Blocks":"Mostrar Blocos"}},54023:function(o){o.exports={"Show Blocks":"Показать Блоки"}},8432:function(o){o.exports={"Show Blocks":"Haritayı Blokları"}},58366:function(o){o.exports={"Show Blocks":"显示块"}},46954:function(o){o.exports={"Show Blocks":"แสดงช่วงตึก"}},47682:function(o,t,e){"use strict";e.r(t),e.d(t,{showBlocks:function(){return p}});var n=e(82749),s=e(31635);e(12324);var r=e(45198),i=e(78879),l=e.n(i),c=e(65478),u=e(2748),a=e(580),h=e(50911),f=e(12153),d=e(2692);class p extends h.Plugin{get style(){return(0,a.getContainer)(this.jodit,p,"style",!0)}enable(){this.isEnabled=!0;let o=this.j.o.iframe?"body":".jodit-wysiwyg",{tagList:t,color:e}=this.j.o.showBlocks;this.style.innerHTML=t.map(t=>{var n;return`${o} ${t}{
|
|
9
9
|
outline: 1px dashed ${e};
|
|
10
10
|
background-image: url("${n='<svg xmlns="http://www.w3.org/2000/svg" width="50px"><text dominant-baseline="hanging" text-anchor="end" style="fill: '+e+';font: 10px sans-serif" x="50px" y="0">'+t+"</text></svg>",`data:image/svg+xml;utf8,${escape(n)}`}");
|
|
11
11
|
background-position: top 2px ${"rtl"===this.j.o.direction?"left":"right"} 4px;
|
|
@@ -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),i=n(5440),o=n(78955),r=n.n(o),s=n(6441);s.Config.prototype.customStyles={definitions:[]},s.Config.prototype.controls.style={tooltip:"Styles",icon:r(),isDisabled(e){return!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){var n;let i=e.o.customStyles.definitions;if(!i.length)return;let o=(0,l.detectActiveStyle)(e,i),r=(null==(n=t.control)?void 0:n.component)==="select";(e.o.textIcons||r)&&(o?t.state.text=o.name:t.state.text=r?e.i18n("Styles"):"")},exec(){return!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,i.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),i=n(82758),o=n(2748),r=n(29960),s=n(41180);function u(e,t){let n=e.s.current();if(!n)return null;if(i.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){var t;if(e.attributes)return{element:e.element,attributes:e.attributes};let n=null==(t=e.classes)?void 0:t.filter(Boolean)[0];return n?{element:e.element,attributes:{class:n}}:{element:e.element}}function a(e,t,n){let a=(0,l.detectActiveStyle)(e,n),d=i.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,r.attr)(n,"contenteditable")&&(0,r.attr)(n,"contenteditable",null)}(e),a&&i.IS_BLOCK.test(a.element)===d){if(d&&a!==t)!function(e,t){var n;let l=e.s.current();if(!l)return;let i=o.Dom.closest(l,o.Dom.isBlock,e.editor);if(!i||i.nodeName.toLowerCase()!==t.element)return;let u=null==(n=t.classes)?void 0:n.filter(Boolean);if((null==u?void 0:u.length)&&c(i,u),t.attributes){for(let[e,n]of Object.entries(t.attributes))if(null!=n)if("class"===e&&"string"==typeof n)c(i,n.split(/\s+/));else if("style"===e&&"object"==typeof n)for(let e of Object.keys(n))(0,s.css)(i,e,null);else(0,r.attr)(i,e)===String(n)&&(0,r.attr)(i,e,null)}}(e,a);else if(e.s.commitStyle(f(a)),a.attributes||function(e,t){var n;let l=null==(n=t.classes)?void 0:n.filter(Boolean);if(!l||l.length<=1)return;let r=e.s.current();if(r)if(i.IS_BLOCK.test(t.element)){let t=o.Dom.closest(r,o.Dom.isBlock,e.editor);t&&c(t,l.slice(1))}else{let n=u(e,t);n&&(c(n,l.slice(1)),"span"!==n.nodeName.toLowerCase()||n.attributes.length||o.Dom.unwrap(n))}}(e,a),a===t)return}e.s.commitStyle(f(t)),t.attributes||function(e,t){var n;let l=null==(n=t.classes)?void 0:n.filter(Boolean);if(!l||l.length<=1)return;let i=u(e,t);if(i)for(let e=1;e<l.length;e++)i.classList.add(l[e])}(e,t)}},8060:function(e,t,n){"use strict";n.d(t,{classifyDefinitions:function(){return i}});var l=n(82758);function i(e){let t=[],n=[];for(let i of e)l.IS_BLOCK.test(i.element)?t.push(i):n.push(i);let i=[];return t.length&&i.push({title:"Block styles",definitions:t}),n.length&&i.push({title:"Text styles",definitions:n}),i}},69341:function(e,t,n){"use strict";n.d(t,{detectActiveStyle:function(){return u}});var l=n(82758),i=n(2748),o=n(29960),r=n(41180);function s(e,t){var n;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,r.css)(e,t,!0)!==String(n))return!1}}else if((0,o.attr)(e,n)!==String(l))return!1}return!0}let l=null==(n=t.classes)?void 0:n.filter(Boolean);return null==l||!l.length||l.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=i.Dom.closest(n,i.Dom.isBlock,e.editor);if(t&&s(t,o))return o}else{let t=i.Dom.isElement(n)?n:n.parentNode;for(;t&&t!==e.editor;){if(i.Dom.isElement(t)&&s(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 r}});var l=n(82749);n(28609);var i=n(50911),o=n(2692);class r extends i.Plugin{afterInit(e){}beforeDestruct(e){}constructor(...e){super(...e),(0,l._)(this,"buttons",[{name:"style",group:"font"}])}}(0,l._)(r,"requires",["license"]),o.JoditPro.plugins.add("style",r)},5440:function(e,t,n){"use strict";n.d(t,{buildStylePopup:function(){return u}});var l=n(31105),i=n(8060),o=n(69341),r=n(29960);let s="jodit-style-popup";function u(e,t,n){let u=(0,i.classifyDefinitions)(t),c=(0,o.detectActiveStyle)(e,t),f=e.c.div(s);for(let i of u){let o=e.c.div(`${s}__group-title`);o.textContent=e.i18n(i.title),f.appendChild(o);let u=e.c.div(`${s}__grid`);for(let o of i.definitions){let i=e.c.element("button");i.type="button",i.className=`${s}__card`+(c===o?` ${s}__card_active_true`:"");let f=e.c.div(`${s}__card-preview`),p=e.c.element(o.element);if(o.attributes)(0,r.attr)(p,o.attributes);else{var a,d;for(let e of null!=(a=null==(d=o.classes)?void 0:d.filter(Boolean))?a:[])p.classList.add(e)}p.textContent=o.name,f.appendChild(p),i.appendChild(f);let m=e.c.div(`${s}__card-label`);m.textContent=o.name,i.appendChild(m),e.e.on(i,"click",()=>{e.s.focus(),(0,l.applyStyle)(e,o,t),e.synchronizeValues(),n()}),u.appendChild(i)}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){return!e.o.contentTemplates.definitions.length},exec(){return!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)}])});
|
|
@@ -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
|
/***/ 11373:
|
|
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 6 2 2 3-4M12 6h9m-18 7 2 2 3-4m4 2h9M3 20h4m5 0h9\"/> </g> </svg>"
|
|
25
25
|
|
|
26
26
|
/***/ }),
|
|
27
27
|
|