jodit-pro 1.3.39 → 2.0.0-beta.10
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/.nvmrc +1 -0
- package/CHANGELOG.md +982 -0
- package/LICENSE.txt +1 -0
- package/README.md +27 -27
- package/SECURITY.md +10 -0
- package/es2015/jodit.css +4945 -0
- package/es2015/jodit.fat.min.css +1 -0
- package/es2015/jodit.fat.min.js +10 -0
- package/es2015/jodit.js +42706 -0
- package/es2015/jodit.min.css +1 -0
- package/es2015/jodit.min.js +10 -0
- package/es2015/plugins/autocomplete/autocomplete.css +26 -0
- package/es2015/plugins/autocomplete/autocomplete.js +473 -0
- package/es2015/plugins/autocomplete/autocomplete.min.js +10 -0
- package/es2015/plugins/backup/backup.css +48 -0
- package/es2015/plugins/backup/backup.js +567 -0
- package/{build/plugins/backup/backup.css → es2015/plugins/backup/backup.min.css} +1 -1
- package/es2015/plugins/backup/backup.min.js +10 -0
- package/es2015/plugins/button-generator/button-generator.css +316 -0
- package/es2015/plugins/button-generator/button-generator.js +1363 -0
- package/es2015/plugins/button-generator/button-generator.min.css +1 -0
- package/es2015/plugins/button-generator/button-generator.min.js +10 -0
- package/es2015/plugins/change-case/change-case.js +171 -0
- package/es2015/plugins/change-case/change-case.min.js +10 -0
- package/es2015/plugins/color-picker/color-picker.css +133 -0
- package/es2015/plugins/color-picker/color-picker.js +519 -0
- package/es2015/plugins/color-picker/color-picker.min.css +1 -0
- package/es2015/plugins/color-picker/color-picker.min.js +10 -0
- package/es2015/plugins/emoji/emoji.css +108 -0
- package/es2015/plugins/emoji/emoji.js +421 -0
- package/es2015/plugins/emoji/emoji.min.css +1 -0
- package/es2015/plugins/emoji/emoji.min.js +10 -0
- package/es2015/plugins/export-docs/export-docs.js +153 -0
- package/es2015/plugins/export-docs/export-docs.min.js +10 -0
- package/es2015/plugins/finder/finder.css +1342 -0
- package/es2015/plugins/finder/finder.js +3175 -0
- package/es2015/plugins/finder/finder.min.css +1 -0
- package/es2015/plugins/finder/finder.min.js +10 -0
- package/es2015/plugins/google-maps/google-maps.css +397 -0
- package/es2015/plugins/google-maps/google-maps.js +2492 -0
- package/es2015/plugins/google-maps/google-maps.min.css +1 -0
- package/es2015/plugins/google-maps/google-maps.min.js +10 -0
- package/es2015/plugins/google-search/google-search.js +108 -0
- package/es2015/plugins/google-search/google-search.min.js +10 -0
- package/es2015/plugins/highlight-signature/highlight-signature.js +233 -0
- package/es2015/plugins/highlight-signature/highlight-signature.min.js +10 -0
- package/es2015/plugins/iframe-editor/iframe-editor.css +16 -0
- package/es2015/plugins/iframe-editor/iframe-editor.js +310 -0
- package/es2015/plugins/iframe-editor/iframe-editor.min.js +10 -0
- package/es2015/plugins/keyboard/keyboard.css +48 -0
- package/es2015/plugins/keyboard/keyboard.js +539 -0
- package/es2015/plugins/keyboard/keyboard.min.js +10 -0
- package/es2015/plugins/mobile-view/mobile-view.js +170 -0
- package/es2015/plugins/mobile-view/mobile-view.min.js +10 -0
- package/es2015/plugins/page-break/page-break.js +181 -0
- package/es2015/plugins/page-break/page-break.min.js +10 -0
- package/es2015/plugins/paste-code/paste-code.css +21 -0
- package/es2015/plugins/paste-code/paste-code.js +320 -0
- package/es2015/plugins/paste-code/paste-code.min.js +10 -0
- package/es2015/plugins/paste-from-word/paste-from-word.js +1541 -0
- package/es2015/plugins/paste-from-word/paste-from-word.min.js +10 -0
- package/es2015/plugins/show-blocks/show-blocks.js +645 -0
- package/es2015/plugins/show-blocks/show-blocks.min.js +10 -0
- package/es2015/plugins/todo-list/todo-list.css +77 -0
- package/es2015/plugins/todo-list/todo-list.js +314 -0
- package/es2015/plugins/todo-list/todo-list.min.css +1 -0
- package/es2015/plugins/todo-list/todo-list.min.js +10 -0
- package/es2015/plugins/translate/translate.css +91 -0
- package/es2015/plugins/translate/translate.js +630 -0
- package/es2015/plugins/translate/translate.min.js +10 -0
- package/es2015/plugins/tune-block/tune-block.css +37 -0
- package/es2015/plugins/tune-block/tune-block.js +387 -0
- package/{build/plugins/tune-block/tune-block.css → es2015/plugins/tune-block/tune-block.min.css} +1 -1
- package/es2015/plugins/tune-block/tune-block.min.js +10 -0
- package/es2018/jodit.css +4945 -0
- package/es2018/jodit.fat.min.css +1 -0
- package/es2018/jodit.fat.min.js +10 -0
- package/es2018/jodit.js +42762 -0
- package/es2018/jodit.min.css +1 -0
- package/es2018/jodit.min.js +10 -0
- package/es2018/plugins/autocomplete/autocomplete.css +26 -0
- package/es2018/plugins/autocomplete/autocomplete.js +471 -0
- package/es2018/plugins/autocomplete/autocomplete.min.js +10 -0
- package/es2018/plugins/backup/backup.css +48 -0
- package/es2018/plugins/backup/backup.js +561 -0
- package/{build/plugins/backup/backup.es5.css → es2018/plugins/backup/backup.min.css} +1 -1
- package/es2018/plugins/backup/backup.min.js +10 -0
- package/es2018/plugins/button-generator/button-generator.css +316 -0
- package/es2018/plugins/button-generator/button-generator.js +1387 -0
- package/es2018/plugins/button-generator/button-generator.min.css +1 -0
- package/es2018/plugins/button-generator/button-generator.min.js +10 -0
- package/es2018/plugins/change-case/change-case.js +171 -0
- package/es2018/plugins/change-case/change-case.min.js +10 -0
- package/es2018/plugins/color-picker/color-picker.css +133 -0
- package/es2018/plugins/color-picker/color-picker.js +519 -0
- package/es2018/plugins/color-picker/color-picker.min.css +1 -0
- package/es2018/plugins/color-picker/color-picker.min.js +10 -0
- package/es2018/plugins/emoji/emoji.css +108 -0
- package/es2018/plugins/emoji/emoji.js +425 -0
- package/es2018/plugins/emoji/emoji.min.css +1 -0
- package/es2018/plugins/emoji/emoji.min.js +10 -0
- package/es2018/plugins/export-docs/export-docs.js +157 -0
- package/es2018/plugins/export-docs/export-docs.min.js +10 -0
- package/es2018/plugins/finder/finder.css +1342 -0
- package/es2018/plugins/finder/finder.js +3160 -0
- package/es2018/plugins/finder/finder.min.css +1 -0
- package/es2018/plugins/finder/finder.min.js +10 -0
- package/es2018/plugins/google-maps/google-maps.css +397 -0
- package/es2018/plugins/google-maps/google-maps.js +2556 -0
- package/es2018/plugins/google-maps/google-maps.min.css +1 -0
- package/es2018/plugins/google-maps/google-maps.min.js +10 -0
- package/es2018/plugins/google-search/google-search.js +108 -0
- package/es2018/plugins/google-search/google-search.min.js +10 -0
- package/es2018/plugins/highlight-signature/highlight-signature.js +233 -0
- package/es2018/plugins/highlight-signature/highlight-signature.min.js +10 -0
- package/es2018/plugins/iframe-editor/iframe-editor.css +16 -0
- package/es2018/plugins/iframe-editor/iframe-editor.js +310 -0
- package/es2018/plugins/iframe-editor/iframe-editor.min.js +10 -0
- package/es2018/plugins/keyboard/keyboard.css +48 -0
- package/es2018/plugins/keyboard/keyboard.js +539 -0
- package/es2018/plugins/keyboard/keyboard.min.js +10 -0
- package/es2018/plugins/mobile-view/mobile-view.js +170 -0
- package/es2018/plugins/mobile-view/mobile-view.min.js +10 -0
- package/es2018/plugins/page-break/page-break.js +181 -0
- package/es2018/plugins/page-break/page-break.min.js +10 -0
- package/es2018/plugins/paste-code/paste-code.css +21 -0
- package/es2018/plugins/paste-code/paste-code.js +318 -0
- package/es2018/plugins/paste-code/paste-code.min.js +10 -0
- package/es2018/plugins/paste-from-word/paste-from-word.js +1541 -0
- package/es2018/plugins/paste-from-word/paste-from-word.min.js +10 -0
- package/es2018/plugins/show-blocks/show-blocks.js +645 -0
- package/es2018/plugins/show-blocks/show-blocks.min.js +10 -0
- package/es2018/plugins/todo-list/todo-list.css +77 -0
- package/es2018/plugins/todo-list/todo-list.js +314 -0
- package/es2018/plugins/todo-list/todo-list.min.css +1 -0
- package/es2018/plugins/todo-list/todo-list.min.js +10 -0
- package/es2018/plugins/translate/translate.css +91 -0
- package/es2018/plugins/translate/translate.js +639 -0
- package/es2018/plugins/translate/translate.min.js +10 -0
- package/es2018/plugins/tune-block/tune-block.css +37 -0
- package/es2018/plugins/tune-block/tune-block.js +387 -0
- package/{build/plugins/tune-block/tune-block.es5.css → es2018/plugins/tune-block/tune-block.min.css} +1 -1
- package/es2018/plugins/tune-block/tune-block.min.js +10 -0
- package/es2021/jodit.css +4945 -0
- package/es2021/jodit.fat.min.css +1 -0
- package/es2021/jodit.fat.min.js +10 -0
- package/es2021/jodit.js +42643 -0
- package/es2021/jodit.min.css +1 -0
- package/es2021/jodit.min.js +10 -0
- package/es2021/plugins/autocomplete/autocomplete.css +26 -0
- package/es2021/plugins/autocomplete/autocomplete.js +463 -0
- package/es2021/plugins/autocomplete/autocomplete.min.css +1 -0
- package/es2021/plugins/autocomplete/autocomplete.min.js +10 -0
- package/es2021/plugins/backup/backup.css +48 -0
- package/es2021/plugins/backup/backup.js +554 -0
- package/es2021/plugins/backup/backup.min.css +1 -0
- package/es2021/plugins/backup/backup.min.js +10 -0
- package/es2021/plugins/button-generator/button-generator.css +316 -0
- package/es2021/plugins/button-generator/button-generator.js +1382 -0
- package/es2021/plugins/button-generator/button-generator.min.css +1 -0
- package/es2021/plugins/button-generator/button-generator.min.js +10 -0
- package/es2021/plugins/change-case/change-case.js +171 -0
- package/es2021/plugins/change-case/change-case.min.js +10 -0
- package/es2021/plugins/color-picker/color-picker.css +133 -0
- package/es2021/plugins/color-picker/color-picker.js +517 -0
- package/es2021/plugins/color-picker/color-picker.min.css +1 -0
- package/es2021/plugins/color-picker/color-picker.min.js +10 -0
- package/es2021/plugins/emoji/emoji.css +108 -0
- package/es2021/plugins/emoji/emoji.js +425 -0
- package/es2021/plugins/emoji/emoji.min.css +1 -0
- package/es2021/plugins/emoji/emoji.min.js +10 -0
- package/es2021/plugins/export-docs/export-docs.js +156 -0
- package/es2021/plugins/export-docs/export-docs.min.js +10 -0
- package/es2021/plugins/finder/finder.css +1342 -0
- package/es2021/plugins/finder/finder.js +3152 -0
- package/es2021/plugins/finder/finder.min.css +1 -0
- package/es2021/plugins/finder/finder.min.js +10 -0
- package/es2021/plugins/google-maps/google-maps.css +397 -0
- package/es2021/plugins/google-maps/google-maps.js +2540 -0
- package/es2021/plugins/google-maps/google-maps.min.css +1 -0
- package/es2021/plugins/google-maps/google-maps.min.js +10 -0
- package/es2021/plugins/google-search/google-search.js +107 -0
- package/es2021/plugins/google-search/google-search.min.js +10 -0
- package/es2021/plugins/highlight-signature/highlight-signature.js +231 -0
- package/es2021/plugins/highlight-signature/highlight-signature.min.js +10 -0
- package/es2021/plugins/iframe-editor/iframe-editor.css +16 -0
- package/es2021/plugins/iframe-editor/iframe-editor.js +308 -0
- package/es2021/plugins/iframe-editor/iframe-editor.min.css +1 -0
- package/es2021/plugins/iframe-editor/iframe-editor.min.js +10 -0
- package/es2021/plugins/keyboard/keyboard.css +48 -0
- package/es2021/plugins/keyboard/keyboard.js +537 -0
- package/es2021/plugins/keyboard/keyboard.min.css +1 -0
- package/es2021/plugins/keyboard/keyboard.min.js +10 -0
- package/es2021/plugins/mobile-view/mobile-view.js +168 -0
- package/es2021/plugins/mobile-view/mobile-view.min.js +10 -0
- package/es2021/plugins/page-break/page-break.js +181 -0
- package/es2021/plugins/page-break/page-break.min.js +10 -0
- package/es2021/plugins/paste-code/paste-code.css +21 -0
- package/es2021/plugins/paste-code/paste-code.js +318 -0
- package/es2021/plugins/paste-code/paste-code.min.css +1 -0
- package/es2021/plugins/paste-code/paste-code.min.js +10 -0
- package/es2021/plugins/paste-from-word/paste-from-word.js +1528 -0
- package/es2021/plugins/paste-from-word/paste-from-word.min.js +10 -0
- package/es2021/plugins/show-blocks/show-blocks.js +645 -0
- package/es2021/plugins/show-blocks/show-blocks.min.js +10 -0
- package/es2021/plugins/todo-list/todo-list.css +77 -0
- package/es2021/plugins/todo-list/todo-list.js +313 -0
- package/es2021/plugins/todo-list/todo-list.min.css +1 -0
- package/es2021/plugins/todo-list/todo-list.min.js +10 -0
- package/es2021/plugins/translate/translate.css +91 -0
- package/es2021/plugins/translate/translate.js +636 -0
- package/es2021/plugins/translate/translate.min.css +1 -0
- package/es2021/plugins/translate/translate.min.js +10 -0
- package/es2021/plugins/tune-block/tune-block.css +37 -0
- package/es2021/plugins/tune-block/tune-block.js +385 -0
- package/es2021/plugins/tune-block/tune-block.min.css +1 -0
- package/es2021/plugins/tune-block/tune-block.min.js +10 -0
- package/es2021.en/jodit.css +4945 -0
- package/es2021.en/jodit.fat.min.css +1 -0
- package/es2021.en/jodit.fat.min.js +10 -0
- package/es2021.en/jodit.js +40989 -0
- package/es2021.en/jodit.min.css +1 -0
- package/es2021.en/jodit.min.js +10 -0
- package/es2021.en/plugins/autocomplete/autocomplete.css +26 -0
- package/es2021.en/plugins/autocomplete/autocomplete.js +463 -0
- package/es2021.en/plugins/autocomplete/autocomplete.min.css +1 -0
- package/es2021.en/plugins/autocomplete/autocomplete.min.js +10 -0
- package/es2021.en/plugins/backup/backup.css +48 -0
- package/es2021.en/plugins/backup/backup.js +554 -0
- package/es2021.en/plugins/backup/backup.min.css +1 -0
- package/es2021.en/plugins/backup/backup.min.js +10 -0
- package/es2021.en/plugins/button-generator/button-generator.css +316 -0
- package/es2021.en/plugins/button-generator/button-generator.js +1382 -0
- package/es2021.en/plugins/button-generator/button-generator.min.css +1 -0
- package/es2021.en/plugins/button-generator/button-generator.min.js +10 -0
- package/es2021.en/plugins/change-case/change-case.js +171 -0
- package/es2021.en/plugins/change-case/change-case.min.js +10 -0
- package/es2021.en/plugins/color-picker/color-picker.css +133 -0
- package/es2021.en/plugins/color-picker/color-picker.js +517 -0
- package/es2021.en/plugins/color-picker/color-picker.min.css +1 -0
- package/es2021.en/plugins/color-picker/color-picker.min.js +10 -0
- package/es2021.en/plugins/emoji/emoji.css +108 -0
- package/es2021.en/plugins/emoji/emoji.js +425 -0
- package/es2021.en/plugins/emoji/emoji.min.css +1 -0
- package/es2021.en/plugins/emoji/emoji.min.js +10 -0
- package/es2021.en/plugins/export-docs/export-docs.js +156 -0
- package/es2021.en/plugins/export-docs/export-docs.min.js +10 -0
- package/es2021.en/plugins/finder/finder.css +1342 -0
- package/es2021.en/plugins/finder/finder.js +3117 -0
- package/es2021.en/plugins/finder/finder.min.css +1 -0
- package/es2021.en/plugins/finder/finder.min.js +10 -0
- package/es2021.en/plugins/google-maps/google-maps.css +397 -0
- package/es2021.en/plugins/google-maps/google-maps.js +2540 -0
- package/es2021.en/plugins/google-maps/google-maps.min.css +1 -0
- package/es2021.en/plugins/google-maps/google-maps.min.js +10 -0
- package/es2021.en/plugins/google-search/google-search.js +107 -0
- package/es2021.en/plugins/google-search/google-search.min.js +10 -0
- package/es2021.en/plugins/highlight-signature/highlight-signature.js +231 -0
- package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +10 -0
- package/es2021.en/plugins/iframe-editor/iframe-editor.css +16 -0
- package/es2021.en/plugins/iframe-editor/iframe-editor.js +308 -0
- package/es2021.en/plugins/iframe-editor/iframe-editor.min.css +1 -0
- package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +10 -0
- package/es2021.en/plugins/keyboard/keyboard.css +48 -0
- package/es2021.en/plugins/keyboard/keyboard.js +537 -0
- package/es2021.en/plugins/keyboard/keyboard.min.css +1 -0
- package/es2021.en/plugins/keyboard/keyboard.min.js +10 -0
- package/es2021.en/plugins/mobile-view/mobile-view.js +168 -0
- package/es2021.en/plugins/mobile-view/mobile-view.min.js +10 -0
- package/es2021.en/plugins/page-break/page-break.js +181 -0
- package/es2021.en/plugins/page-break/page-break.min.js +10 -0
- package/es2021.en/plugins/paste-code/paste-code.css +21 -0
- package/es2021.en/plugins/paste-code/paste-code.js +318 -0
- package/es2021.en/plugins/paste-code/paste-code.min.css +1 -0
- package/es2021.en/plugins/paste-code/paste-code.min.js +10 -0
- package/es2021.en/plugins/paste-from-word/paste-from-word.js +1528 -0
- package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +10 -0
- package/es2021.en/plugins/show-blocks/show-blocks.js +322 -0
- package/es2021.en/plugins/show-blocks/show-blocks.min.js +10 -0
- package/es2021.en/plugins/todo-list/todo-list.css +77 -0
- package/es2021.en/plugins/todo-list/todo-list.js +313 -0
- package/es2021.en/plugins/todo-list/todo-list.min.css +1 -0
- package/es2021.en/plugins/todo-list/todo-list.min.js +10 -0
- package/es2021.en/plugins/translate/translate.css +91 -0
- package/es2021.en/plugins/translate/translate.js +636 -0
- package/es2021.en/plugins/translate/translate.min.css +1 -0
- package/es2021.en/plugins/translate/translate.min.js +10 -0
- package/es2021.en/plugins/tune-block/tune-block.css +37 -0
- package/es2021.en/plugins/tune-block/tune-block.js +385 -0
- package/es2021.en/plugins/tune-block/tune-block.min.css +1 -0
- package/es2021.en/plugins/tune-block/tune-block.min.js +10 -0
- package/es5/jodit.css +5956 -0
- package/es5/jodit.fat.min.css +1 -0
- package/es5/jodit.fat.min.js +10 -0
- package/es5/jodit.js +49879 -0
- package/es5/jodit.min.css +15 -0
- package/es5/jodit.min.js +10 -0
- package/es5/plugins/autocomplete/autocomplete.css +26 -0
- package/es5/plugins/autocomplete/autocomplete.js +536 -0
- package/es5/plugins/autocomplete/autocomplete.min.css +1 -0
- package/es5/plugins/autocomplete/autocomplete.min.js +10 -0
- package/es5/plugins/backup/backup.css +48 -0
- package/es5/plugins/backup/backup.js +599 -0
- package/es5/plugins/backup/backup.min.css +1 -0
- package/es5/plugins/backup/backup.min.js +10 -0
- package/es5/plugins/button-generator/button-generator.css +316 -0
- package/es5/plugins/button-generator/button-generator.js +1310 -0
- package/es5/plugins/button-generator/button-generator.min.css +1 -0
- package/es5/plugins/button-generator/button-generator.min.js +10 -0
- package/es5/plugins/change-case/change-case.js +179 -0
- package/es5/plugins/change-case/change-case.min.js +10 -0
- package/es5/plugins/color-picker/color-picker.css +133 -0
- package/es5/plugins/color-picker/color-picker.js +525 -0
- package/es5/plugins/color-picker/color-picker.min.css +1 -0
- package/es5/plugins/color-picker/color-picker.min.js +10 -0
- package/es5/plugins/emoji/emoji.css +108 -0
- package/es5/plugins/emoji/emoji.js +459 -0
- package/es5/plugins/emoji/emoji.min.css +1 -0
- package/es5/plugins/emoji/emoji.min.js +10 -0
- package/es5/plugins/export-docs/export-docs.js +174 -0
- package/es5/plugins/export-docs/export-docs.min.js +10 -0
- package/es5/plugins/finder/finder.css +1342 -0
- package/es5/plugins/finder/finder.js +3335 -0
- package/es5/plugins/finder/finder.min.css +1 -0
- package/es5/plugins/finder/finder.min.js +10 -0
- package/es5/plugins/google-maps/google-maps.css +397 -0
- package/es5/plugins/google-maps/google-maps.js +2463 -0
- package/es5/plugins/google-maps/google-maps.min.css +1 -0
- package/es5/plugins/google-maps/google-maps.min.js +10 -0
- package/es5/plugins/google-search/google-search.js +113 -0
- package/es5/plugins/google-search/google-search.min.js +10 -0
- package/es5/plugins/highlight-signature/highlight-signature.js +253 -0
- package/es5/plugins/highlight-signature/highlight-signature.min.js +10 -0
- package/es5/plugins/iframe-editor/iframe-editor.css +16 -0
- package/es5/plugins/iframe-editor/iframe-editor.js +319 -0
- package/es5/plugins/iframe-editor/iframe-editor.min.css +1 -0
- package/es5/plugins/iframe-editor/iframe-editor.min.js +10 -0
- package/es5/plugins/keyboard/keyboard.css +48 -0
- package/es5/plugins/keyboard/keyboard.js +556 -0
- package/es5/plugins/keyboard/keyboard.min.css +1 -0
- package/es5/plugins/keyboard/keyboard.min.js +10 -0
- package/es5/plugins/mobile-view/mobile-view.js +176 -0
- package/es5/plugins/mobile-view/mobile-view.min.js +10 -0
- package/es5/plugins/page-break/page-break.js +169 -0
- package/es5/plugins/page-break/page-break.min.js +10 -0
- package/es5/plugins/paste-code/paste-code.css +21 -0
- package/es5/plugins/paste-code/paste-code.js +348 -0
- package/es5/plugins/paste-code/paste-code.min.css +1 -0
- package/es5/plugins/paste-code/paste-code.min.js +10 -0
- package/es5/plugins/paste-from-word/paste-from-word.js +1670 -0
- package/es5/plugins/paste-from-word/paste-from-word.min.js +10 -0
- package/es5/plugins/show-blocks/show-blocks.js +649 -0
- package/es5/plugins/show-blocks/show-blocks.min.js +10 -0
- package/es5/plugins/todo-list/todo-list.css +77 -0
- package/es5/plugins/todo-list/todo-list.js +324 -0
- package/es5/plugins/todo-list/todo-list.min.css +1 -0
- package/es5/plugins/todo-list/todo-list.min.js +10 -0
- package/es5/plugins/translate/translate.css +91 -0
- package/es5/plugins/translate/translate.js +657 -0
- package/es5/plugins/translate/translate.min.css +1 -0
- package/es5/plugins/translate/translate.min.js +10 -0
- package/es5/plugins/tune-block/tune-block.css +37 -0
- package/es5/plugins/tune-block/tune-block.js +397 -0
- package/es5/plugins/tune-block/tune-block.min.css +1 -0
- package/es5/plugins/tune-block/tune-block.min.js +10 -0
- package/examples/arabic.lang.html +8 -8
- package/examples/color-picker.html +6 -6
- package/examples/custom-icons.html +8 -8
- package/examples/custom-toolbar.html +8 -8
- package/examples/example.default.html +6 -6
- package/examples/fullsize.html +8 -8
- package/examples/index.html +6 -6
- package/examples/inline-mode.html +8 -8
- package/examples/oneinstance.html +8 -8
- package/examples/theme.html +6 -6
- package/package.json +6 -22
- package/LICENSE.md +0 -3
- package/build/jodit.css +0 -1
- package/build/jodit.es5.css +0 -8
- package/build/jodit.es5.js +0 -1
- package/build/jodit.fat.css +0 -1
- package/build/jodit.fat.es5.css +0 -1
- package/build/jodit.fat.es5.js +0 -1
- package/build/jodit.fat.js +0 -1
- package/build/jodit.js +0 -1
- package/build/plugins/autocomplete/autocomplete.es5.js +0 -1
- package/build/plugins/autocomplete/autocomplete.js +0 -1
- package/build/plugins/backup/backup.es5.js +0 -1
- package/build/plugins/backup/backup.js +0 -1
- package/build/plugins/button-generator/button-generator.css +0 -1
- package/build/plugins/button-generator/button-generator.es5.css +0 -1
- package/build/plugins/button-generator/button-generator.es5.js +0 -1
- package/build/plugins/button-generator/button-generator.js +0 -1
- package/build/plugins/change-case/change-case.es5.js +0 -1
- package/build/plugins/change-case/change-case.js +0 -1
- package/build/plugins/color-picker/color-picker.css +0 -1
- package/build/plugins/color-picker/color-picker.es5.css +0 -1
- package/build/plugins/color-picker/color-picker.es5.js +0 -1
- package/build/plugins/color-picker/color-picker.js +0 -1
- package/build/plugins/emoji/emoji.css +0 -1
- package/build/plugins/emoji/emoji.es5.css +0 -1
- package/build/plugins/emoji/emoji.es5.js +0 -1
- package/build/plugins/emoji/emoji.js +0 -1
- package/build/plugins/export-docs/export-docs.es5.js +0 -1
- package/build/plugins/export-docs/export-docs.js +0 -1
- package/build/plugins/finder/finder.css +0 -1
- package/build/plugins/finder/finder.es5.css +0 -1
- package/build/plugins/finder/finder.es5.js +0 -1
- package/build/plugins/finder/finder.js +0 -1
- package/build/plugins/google-maps/google-maps.css +0 -1
- package/build/plugins/google-maps/google-maps.es5.css +0 -1
- package/build/plugins/google-maps/google-maps.es5.js +0 -1
- package/build/plugins/google-maps/google-maps.js +0 -1
- package/build/plugins/google-search/google-search.es5.js +0 -1
- package/build/plugins/google-search/google-search.js +0 -1
- package/build/plugins/highlight-signature/highlight-signature.es5.js +0 -1
- package/build/plugins/highlight-signature/highlight-signature.js +0 -1
- package/build/plugins/iframe-editor/iframe-editor.es5.js +0 -1
- package/build/plugins/iframe-editor/iframe-editor.js +0 -1
- package/build/plugins/keyboard/keyboard.es5.js +0 -1
- package/build/plugins/keyboard/keyboard.js +0 -1
- package/build/plugins/mobile-view/mobile-view.css +0 -0
- package/build/plugins/mobile-view/mobile-view.es5.css +0 -0
- package/build/plugins/mobile-view/mobile-view.es5.js +0 -1
- package/build/plugins/mobile-view/mobile-view.js +0 -1
- package/build/plugins/page-break/page-break.css +0 -1
- package/build/plugins/page-break/page-break.es5.css +0 -1
- package/build/plugins/page-break/page-break.es5.js +0 -1
- package/build/plugins/page-break/page-break.js +0 -1
- package/build/plugins/paste-code/paste-code.es5.js +0 -1
- package/build/plugins/paste-code/paste-code.js +0 -1
- package/build/plugins/paste-from-word/paste-from-word.es5.js +0 -1
- package/build/plugins/paste-from-word/paste-from-word.js +0 -1
- package/build/plugins/show-blocks/show-blocks.es5.js +0 -1
- package/build/plugins/show-blocks/show-blocks.js +0 -1
- package/build/plugins/todo-list/todo-list.css +0 -1
- package/build/plugins/todo-list/todo-list.es5.css +0 -1
- package/build/plugins/todo-list/todo-list.es5.js +0 -1
- package/build/plugins/todo-list/todo-list.js +0 -1
- package/build/plugins/translate/translate.es5.js +0 -1
- package/build/plugins/translate/translate.js +0 -1
- package/build/plugins/tune-block/tune-block.es5.js +0 -1
- package/build/plugins/tune-block/tune-block.js +0 -1
- package/index.html +0 -268
- /package/{build/config.js → config.js} +0 -0
- /package/{build/plugins/autocomplete/autocomplete.css → es2015/plugins/autocomplete/autocomplete.min.css} +0 -0
- /package/{build/plugins/iframe-editor/iframe-editor.css → es2015/plugins/iframe-editor/iframe-editor.min.css} +0 -0
- /package/{build/plugins/keyboard/keyboard.css → es2015/plugins/keyboard/keyboard.min.css} +0 -0
- /package/{build/plugins/paste-code/paste-code.css → es2015/plugins/paste-code/paste-code.min.css} +0 -0
- /package/{build/plugins/translate/translate.css → es2015/plugins/translate/translate.min.css} +0 -0
- /package/{build/plugins/autocomplete/autocomplete.es5.css → es2018/plugins/autocomplete/autocomplete.min.css} +0 -0
- /package/{build/plugins/iframe-editor/iframe-editor.es5.css → es2018/plugins/iframe-editor/iframe-editor.min.css} +0 -0
- /package/{build/plugins/keyboard/keyboard.es5.css → es2018/plugins/keyboard/keyboard.min.css} +0 -0
- /package/{build/plugins/paste-code/paste-code.es5.css → es2018/plugins/paste-code/paste-code.min.css} +0 -0
- /package/{build/plugins/translate/translate.es5.css → es2018/plugins/translate/translate.min.css} +0 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* jodit-pro - PRO Version of Jodit Editor
|
|
3
|
+
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
+
* Version: v2.0.0-beta.10
|
|
5
|
+
* Url: https://xdsoft.net/jodit/pro/
|
|
6
|
+
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
.jodit-autocomplete-item {
|
|
10
|
+
display: flex;
|
|
11
|
+
min-width: 6em;
|
|
12
|
+
align-items: center;
|
|
13
|
+
padding: var(--jd-padding-default) var(--jd-padding-default);
|
|
14
|
+
cursor: default;
|
|
15
|
+
}
|
|
16
|
+
.jodit-autocomplete-item:hover {
|
|
17
|
+
background-color: var(--jd-color-background-button-hover);
|
|
18
|
+
color: var(--jd-color-dark);
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
}
|
|
21
|
+
.jodit-autocomplete-item_active_true:hover,
|
|
22
|
+
.jodit-autocomplete-item_active_true {
|
|
23
|
+
background-color: var(--jd-color-background-active);
|
|
24
|
+
color: var(--jd-color-white);
|
|
25
|
+
}
|
|
26
|
+
|
|
@@ -0,0 +1,463 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* jodit-pro - PRO Version of Jodit Editor
|
|
3
|
+
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
+
* Version: v2.0.0-beta.10
|
|
5
|
+
* Url: https://xdsoft.net/jodit/pro/
|
|
6
|
+
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
"use strict";
|
|
10
|
+
(function webpackUniversalModuleDefinition(root, factory) {
|
|
11
|
+
if(typeof exports === 'object' && typeof module === 'object')
|
|
12
|
+
module.exports = factory();
|
|
13
|
+
else if(typeof define === 'function' && define.amd)
|
|
14
|
+
define([], factory);
|
|
15
|
+
else {
|
|
16
|
+
var a = factory();
|
|
17
|
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
|
18
|
+
}
|
|
19
|
+
})(self, function() {
|
|
20
|
+
return (self["webpackChunkjodit_pro"] = self["webpackChunkjodit_pro"] || []).push([[633],{
|
|
21
|
+
|
|
22
|
+
/***/ 93123:
|
|
23
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
24
|
+
|
|
25
|
+
__webpack_require__.r(__webpack_exports__);
|
|
26
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
27
|
+
/* harmony export */ "autocomplete": function() { return /* binding */ autocomplete; }
|
|
28
|
+
/* harmony export */ });
|
|
29
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(97582);
|
|
30
|
+
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7324);
|
|
31
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(77628);
|
|
32
|
+
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(50526);
|
|
33
|
+
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(95582);
|
|
34
|
+
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(44913);
|
|
35
|
+
/* harmony import */ var jodit_core_ui_popup_popup__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(19797);
|
|
36
|
+
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(11612);
|
|
37
|
+
/* harmony import */ var _ui_autocomplete__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(77325);
|
|
38
|
+
/* harmony import */ var _JoditPro__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(88292);
|
|
39
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(47325);
|
|
40
|
+
/*!
|
|
41
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
42
|
+
* See LICENSE.md in the project root for license information.
|
|
43
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
44
|
+
*/
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__.Config.prototype.autocomplete = {
|
|
57
|
+
sources: [],
|
|
58
|
+
maxItems: 50,
|
|
59
|
+
isMatchedQuery: (query, value) => value.toLowerCase().indexOf(query.toLowerCase()) === 0,
|
|
60
|
+
itemRenderer: (item) => item.title ?? item.value,
|
|
61
|
+
insertValueRenderer: (item) => item.value + ' '
|
|
62
|
+
};
|
|
63
|
+
class autocomplete extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_0__/* .Plugin */ .S {
|
|
64
|
+
constructor() {
|
|
65
|
+
super(...arguments);
|
|
66
|
+
/** @override */
|
|
67
|
+
this.hasStyle = !_JoditPro__WEBPACK_IMPORTED_MODULE_8__/* .JoditPro.fatMode */ .y.fatMode;
|
|
68
|
+
this.sources = [];
|
|
69
|
+
}
|
|
70
|
+
/** @override */
|
|
71
|
+
afterInit(jodit) {
|
|
72
|
+
this.popup = new jodit_core_ui_popup_popup__WEBPACK_IMPORTED_MODULE_5__/* .Popup */ .G(jodit);
|
|
73
|
+
this.popup.setMod('padding', false);
|
|
74
|
+
this.list = new _ui_autocomplete__WEBPACK_IMPORTED_MODULE_7__/* .Autocomplete */ .F(jodit);
|
|
75
|
+
this.popup.setContent(this.list.container);
|
|
76
|
+
jodit.e
|
|
77
|
+
.on('select.autocomplete', (item) => {
|
|
78
|
+
let insertValue = item.value;
|
|
79
|
+
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isFunction)(item.insertValueRenderer)) {
|
|
80
|
+
insertValue = item.insertValueRenderer(item);
|
|
81
|
+
}
|
|
82
|
+
if (!jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_4__/* .Dom.isNode */ .i.isNode(insertValue)) {
|
|
83
|
+
insertValue = jodit.createInside.fromHTML(insertValue);
|
|
84
|
+
}
|
|
85
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_9__/* .replaceTextLeftOfCursorAfterSpace */ .p)(jodit.s.range, insertValue);
|
|
86
|
+
this.j.s.setCursorAfter(insertValue);
|
|
87
|
+
this.j.synchronizeValues();
|
|
88
|
+
this.popup.close();
|
|
89
|
+
})
|
|
90
|
+
.on('keydown.autocomplete', this.onKeyDown)
|
|
91
|
+
.on('keydown.autocomplete', this.onKeyControlDown, {
|
|
92
|
+
top: true
|
|
93
|
+
})
|
|
94
|
+
.on('beforeEnter.autocomplete', this.onEnter, { top: true })
|
|
95
|
+
.on('autocomplete.autocomplete', this.onAutoComplete)
|
|
96
|
+
.on('registerAutocompleteSource.autocomplete', this.registerAutocompleteSource);
|
|
97
|
+
}
|
|
98
|
+
registerAutocompleteSource(source) {
|
|
99
|
+
this.sources.push(source);
|
|
100
|
+
}
|
|
101
|
+
static isControlKey(key) {
|
|
102
|
+
return (key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_6__.KEY_DOWN ||
|
|
103
|
+
key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_6__.KEY_UP ||
|
|
104
|
+
key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_6__.KEY_ENTER ||
|
|
105
|
+
key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_6__.KEY_TAB);
|
|
106
|
+
}
|
|
107
|
+
async onKeyDown(e) {
|
|
108
|
+
if (e.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_6__.KEY_ESC) {
|
|
109
|
+
this.popup.isOpened && this.popup.close();
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
112
|
+
const { s } = this.j;
|
|
113
|
+
if (autocomplete.isControlKey(e.key) ||
|
|
114
|
+
!s.isInsideArea ||
|
|
115
|
+
!s.isCollapsed) {
|
|
116
|
+
return;
|
|
117
|
+
}
|
|
118
|
+
const range = this.j.s.sel?.rangeCount
|
|
119
|
+
? this.j.s.sel?.getRangeAt(0)
|
|
120
|
+
: null;
|
|
121
|
+
const query = range && (0,_helpers__WEBPACK_IMPORTED_MODULE_9__/* .getTextLeftOfCursor */ .Y)(range).split(' ').pop();
|
|
122
|
+
if (query && (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.trim)(query).length) {
|
|
123
|
+
const result = await this.onAutoComplete(query);
|
|
124
|
+
if (result.length) {
|
|
125
|
+
return this.openPopup(result);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
if (this.popup.isOpened) {
|
|
129
|
+
this.popup.close();
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
onKeyControlDown(e) {
|
|
133
|
+
if (this.popup.isOpened && autocomplete.isControlKey(e.key)) {
|
|
134
|
+
switch (e.key) {
|
|
135
|
+
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_6__.KEY_DOWN:
|
|
136
|
+
this.list.selectNext();
|
|
137
|
+
break;
|
|
138
|
+
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_6__.KEY_UP:
|
|
139
|
+
this.list.selectPrevious();
|
|
140
|
+
break;
|
|
141
|
+
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_6__.KEY_TAB:
|
|
142
|
+
this.list.select();
|
|
143
|
+
break;
|
|
144
|
+
}
|
|
145
|
+
this.j.e.stopPropagation(e.type);
|
|
146
|
+
return false;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
onEnter() {
|
|
150
|
+
if (this.popup.isOpened) {
|
|
151
|
+
this.list.select();
|
|
152
|
+
return false;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
async onAutoComplete(query) {
|
|
156
|
+
const result = [];
|
|
157
|
+
await Promise.all(this.sources
|
|
158
|
+
.concat(this.j.o.autocomplete.sources)
|
|
159
|
+
.map(async (source) => {
|
|
160
|
+
result.push(...(await this.resolveFeed(query, source)));
|
|
161
|
+
}));
|
|
162
|
+
return result;
|
|
163
|
+
}
|
|
164
|
+
async resolveFeed(query, feed, baseSource) {
|
|
165
|
+
let parts;
|
|
166
|
+
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isPromise)(feed)) {
|
|
167
|
+
feed = await feed;
|
|
168
|
+
}
|
|
169
|
+
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isFunction)(feed)) {
|
|
170
|
+
parts = await feed(query);
|
|
171
|
+
}
|
|
172
|
+
else if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isArray)(feed)) {
|
|
173
|
+
const arrayFeed = feed, { isMatchedQuery } = this.j.o.autocomplete;
|
|
174
|
+
parts = arrayFeed
|
|
175
|
+
.filter((item) => {
|
|
176
|
+
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isString)(item)) {
|
|
177
|
+
return isMatchedQuery(query, item);
|
|
178
|
+
}
|
|
179
|
+
return isMatchedQuery(query, item.value);
|
|
180
|
+
})
|
|
181
|
+
.map((item) => {
|
|
182
|
+
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isString)(item)) {
|
|
183
|
+
return { title: item, value: item };
|
|
184
|
+
}
|
|
185
|
+
return item;
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
else {
|
|
189
|
+
parts = await this.resolveFeed(query, feed.feed, feed);
|
|
190
|
+
}
|
|
191
|
+
if (parts && (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isArray)(parts)) {
|
|
192
|
+
const { itemRenderer, insertValueRenderer, maxItems } = this.j.o.autocomplete;
|
|
193
|
+
parts = parts.map((item) => ({
|
|
194
|
+
itemRenderer: baseSource?.itemRenderer ?? itemRenderer,
|
|
195
|
+
insertValueRenderer: baseSource?.insertValueRenderer ?? insertValueRenderer,
|
|
196
|
+
...item
|
|
197
|
+
}));
|
|
198
|
+
return parts.slice(0, maxItems);
|
|
199
|
+
}
|
|
200
|
+
return [];
|
|
201
|
+
}
|
|
202
|
+
openPopup(result) {
|
|
203
|
+
this.list.build(result);
|
|
204
|
+
this.popup.open(() => {
|
|
205
|
+
const { j } = this;
|
|
206
|
+
const rect = j.s.range.getBoundingClientRect();
|
|
207
|
+
const bound = {
|
|
208
|
+
left: rect.left,
|
|
209
|
+
top: rect.top,
|
|
210
|
+
height: rect.height,
|
|
211
|
+
width: rect.width
|
|
212
|
+
};
|
|
213
|
+
if (j.o.iframe && j.iframe) {
|
|
214
|
+
const pos = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.position)(j.iframe, j);
|
|
215
|
+
bound.top += pos.top;
|
|
216
|
+
bound.left += pos.left;
|
|
217
|
+
}
|
|
218
|
+
return bound;
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
/** @override */
|
|
222
|
+
beforeDestruct(jodit) {
|
|
223
|
+
jodit.e
|
|
224
|
+
.off(this.list)
|
|
225
|
+
.off('keydown.autocomplete', this.onKeyDown)
|
|
226
|
+
.off('autocomplete.autocomplete', this.onAutoComplete)
|
|
227
|
+
.off('.autocomplete');
|
|
228
|
+
this.list.destruct();
|
|
229
|
+
this.popup.destruct();
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
/** @override */
|
|
233
|
+
autocomplete.requires = ['enter', 'license'];
|
|
234
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_10__/* .__decorate */ .gn)([
|
|
235
|
+
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
|
|
236
|
+
], autocomplete.prototype, "registerAutocompleteSource", null);
|
|
237
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_10__/* .__decorate */ .gn)([
|
|
238
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.debounce)()
|
|
239
|
+
], autocomplete.prototype, "onKeyDown", null);
|
|
240
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_10__/* .__decorate */ .gn)([
|
|
241
|
+
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
|
|
242
|
+
], autocomplete.prototype, "onKeyControlDown", null);
|
|
243
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_10__/* .__decorate */ .gn)([
|
|
244
|
+
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
|
|
245
|
+
], autocomplete.prototype, "onEnter", null);
|
|
246
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_10__/* .__decorate */ .gn)([
|
|
247
|
+
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
|
|
248
|
+
], autocomplete.prototype, "onAutoComplete", null);
|
|
249
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_10__/* .__decorate */ .gn)([
|
|
250
|
+
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
|
|
251
|
+
], autocomplete.prototype, "resolveFeed", null);
|
|
252
|
+
_JoditPro__WEBPACK_IMPORTED_MODULE_8__/* .JoditPro.plugins.add */ .y.plugins.add('autocomplete', autocomplete);
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
/***/ }),
|
|
256
|
+
|
|
257
|
+
/***/ 47325:
|
|
258
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
259
|
+
|
|
260
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
261
|
+
/* harmony export */ "Y": function() { return /* binding */ getTextLeftOfCursor; },
|
|
262
|
+
/* harmony export */ "p": function() { return /* binding */ replaceTextLeftOfCursorAfterSpace; }
|
|
263
|
+
/* harmony export */ });
|
|
264
|
+
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(44913);
|
|
265
|
+
/*!
|
|
266
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
267
|
+
* See LICENSE.md in the project root for license information.
|
|
268
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
269
|
+
*/
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* For collapsed selection return left text value before cursor
|
|
273
|
+
* @example
|
|
274
|
+
* ```
|
|
275
|
+
* <p><string>test</strong>pop|</p> => pop
|
|
276
|
+
* <p><string>test|</strong>pop</p> => test
|
|
277
|
+
* <p><string>te|st</strong>pop</p> => te
|
|
278
|
+
* ```
|
|
279
|
+
*/
|
|
280
|
+
function getTextLeftOfCursor(range) {
|
|
281
|
+
const { startContainer, startOffset } = range;
|
|
282
|
+
if (jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom.isText */ .i.isText(startContainer)) {
|
|
283
|
+
return startContainer.nodeValue?.substr(0, startOffset) ?? '';
|
|
284
|
+
}
|
|
285
|
+
const node = startContainer.childNodes[startOffset];
|
|
286
|
+
if (!node) {
|
|
287
|
+
return '';
|
|
288
|
+
}
|
|
289
|
+
if (jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom.isText */ .i.isText(node)) {
|
|
290
|
+
return node.nodeValue ?? '';
|
|
291
|
+
}
|
|
292
|
+
const previous = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom.findNotEmptyNeighbor */ .i.findNotEmptyNeighbor(node, true, startContainer);
|
|
293
|
+
if (jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom.isText */ .i.isText(previous)) {
|
|
294
|
+
return node.nodeValue ?? '';
|
|
295
|
+
}
|
|
296
|
+
return '';
|
|
297
|
+
}
|
|
298
|
+
/**
|
|
299
|
+
* For collapsed selection replace part of left text value before cursor but started after space
|
|
300
|
+
* @example
|
|
301
|
+
* ```
|
|
302
|
+
* <p><string>test</strong>pap|</p> + pappy = <p><string>test</strong>pappy|</p>
|
|
303
|
+
* <p><string>test</strong>pap| test</p> + pappy = <p><string>test</strong>pappy| test</p>
|
|
304
|
+
* <p><string>test</strong>stat pap| test</p> + pappy = <p><string>test</strong>stat pappy| test</p>
|
|
305
|
+
* ```
|
|
306
|
+
*/
|
|
307
|
+
function replaceTextLeftOfCursorAfterSpace(range, elm) {
|
|
308
|
+
// eslint-disable-next-line prefer-const
|
|
309
|
+
let { startContainer, startOffset } = range;
|
|
310
|
+
if (!jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom.isText */ .i.isText(startContainer)) {
|
|
311
|
+
startContainer = startContainer.childNodes[startOffset - 1];
|
|
312
|
+
if (jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom.isText */ .i.isText(startContainer)) {
|
|
313
|
+
startOffset = startContainer.nodeValue?.length ?? 0;
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
if (jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom.isText */ .i.isText(startContainer)) {
|
|
317
|
+
const value = startContainer.nodeValue ?? '', leftSide = value.substring(0, startOffset), rightSide = value.substring(startOffset);
|
|
318
|
+
const words = leftSide.split(' ');
|
|
319
|
+
words[words.length - 1] = '';
|
|
320
|
+
const newLeftSide = words.join(' ');
|
|
321
|
+
startContainer.nodeValue = newLeftSide + rightSide;
|
|
322
|
+
range.setStart(startContainer, newLeftSide.length);
|
|
323
|
+
range.insertNode(elm);
|
|
324
|
+
return;
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
/***/ }),
|
|
330
|
+
|
|
331
|
+
/***/ 77325:
|
|
332
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
333
|
+
|
|
334
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
335
|
+
/* harmony export */ "F": function() { return /* binding */ Autocomplete; }
|
|
336
|
+
/* harmony export */ });
|
|
337
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(97582);
|
|
338
|
+
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(50526);
|
|
339
|
+
/* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(75004);
|
|
340
|
+
/* harmony import */ var _item__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91381);
|
|
341
|
+
/*!
|
|
342
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
343
|
+
* See LICENSE.md in the project root for license information.
|
|
344
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
345
|
+
*/
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
let Autocomplete = class Autocomplete extends jodit_core_ui__WEBPACK_IMPORTED_MODULE_1__/* .UIGroup */ .qe {
|
|
352
|
+
constructor() {
|
|
353
|
+
super(...arguments);
|
|
354
|
+
this.elements = [];
|
|
355
|
+
this.currentSelection = -1;
|
|
356
|
+
}
|
|
357
|
+
/** @override */
|
|
358
|
+
className() {
|
|
359
|
+
return 'Autocomplete';
|
|
360
|
+
}
|
|
361
|
+
onChangeSelection(_, previous) {
|
|
362
|
+
previous != null && this.elements[previous]?.setMod('active', false);
|
|
363
|
+
this.elements[this.currentSelection].setMod('active', true);
|
|
364
|
+
this.elements[this.currentSelection].container.scrollIntoView(false);
|
|
365
|
+
}
|
|
366
|
+
build(list) {
|
|
367
|
+
this.clear();
|
|
368
|
+
list.forEach((elm, index) => {
|
|
369
|
+
const item = new _item__WEBPACK_IMPORTED_MODULE_2__/* .AutocompleteItem */ .h(this.jodit, elm);
|
|
370
|
+
this.j.e
|
|
371
|
+
.on(item.container, 'mousedown touchstart', (e) => {
|
|
372
|
+
e.preventDefault();
|
|
373
|
+
})
|
|
374
|
+
.on(item.container, 'click', () => {
|
|
375
|
+
this.currentSelection = index;
|
|
376
|
+
this.select();
|
|
377
|
+
});
|
|
378
|
+
this.append(item);
|
|
379
|
+
});
|
|
380
|
+
this.currentSelection = 0;
|
|
381
|
+
this.onChangeSelection();
|
|
382
|
+
}
|
|
383
|
+
selectNext() {
|
|
384
|
+
if (this.currentSelection + 1 <= this.elements.length - 1) {
|
|
385
|
+
this.currentSelection += 1;
|
|
386
|
+
}
|
|
387
|
+
else {
|
|
388
|
+
this.currentSelection = 0;
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
selectPrevious() {
|
|
392
|
+
if (this.currentSelection - 1 >= 0) {
|
|
393
|
+
this.currentSelection -= 1;
|
|
394
|
+
}
|
|
395
|
+
else {
|
|
396
|
+
this.currentSelection = this.elements.length - 1;
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
select() {
|
|
400
|
+
this.j.e.fire('select.autocomplete', this.elements[this.currentSelection].item);
|
|
401
|
+
}
|
|
402
|
+
};
|
|
403
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__decorate */ .gn)([
|
|
404
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.watch)('currentSelection')
|
|
405
|
+
], Autocomplete.prototype, "onChangeSelection", null);
|
|
406
|
+
Autocomplete = (0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__decorate */ .gn)([
|
|
407
|
+
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.component
|
|
408
|
+
], Autocomplete);
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
/***/ }),
|
|
412
|
+
|
|
413
|
+
/***/ 91381:
|
|
414
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
415
|
+
|
|
416
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
417
|
+
/* harmony export */ "h": function() { return /* binding */ AutocompleteItem; }
|
|
418
|
+
/* harmony export */ });
|
|
419
|
+
/* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(75004);
|
|
420
|
+
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(95582);
|
|
421
|
+
/*!
|
|
422
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
423
|
+
* See LICENSE.md in the project root for license information.
|
|
424
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
425
|
+
*/
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
class AutocompleteItem extends jodit_core_ui__WEBPACK_IMPORTED_MODULE_0__/* .UIElement */ .u1 {
|
|
430
|
+
/** @override */
|
|
431
|
+
className() {
|
|
432
|
+
return 'AutocompleteItem';
|
|
433
|
+
}
|
|
434
|
+
constructor(jodit, item) {
|
|
435
|
+
super(jodit);
|
|
436
|
+
this.item = item;
|
|
437
|
+
const { container } = this;
|
|
438
|
+
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.isFunction)(item.itemRenderer)) {
|
|
439
|
+
const elm = item.itemRenderer(item);
|
|
440
|
+
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.isString)(elm)) {
|
|
441
|
+
container.innerHTML = elm;
|
|
442
|
+
}
|
|
443
|
+
else {
|
|
444
|
+
container.appendChild(elm);
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
else {
|
|
448
|
+
container.innerText = item.title ?? item.value;
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
/***/ })
|
|
455
|
+
|
|
456
|
+
},
|
|
457
|
+
/******/ function(__webpack_require__) { // webpackRuntimeModules
|
|
458
|
+
/******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
|
|
459
|
+
/******/ var __webpack_exports__ = (__webpack_exec__(93123));
|
|
460
|
+
/******/ return __webpack_exports__;
|
|
461
|
+
/******/ }
|
|
462
|
+
]);
|
|
463
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.jodit-autocomplete-item{align-items:center;cursor:default;display:flex;min-width:6em;padding:var(--jd-padding-default) var(--jd-padding-default)}.jodit-autocomplete-item:hover{background-color:var(--jd-color-background-button-hover);color:var(--jd-color-dark);cursor:pointer}.jodit-autocomplete-item_active_true,.jodit-autocomplete-item_active_true:hover{background-color:var(--jd-color-background-active);color:var(--jd-color-white)}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* jodit-pro - PRO Version of Jodit Editor
|
|
3
|
+
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
+
* Version: v2.0.0-beta.10
|
|
5
|
+
* Url: https://xdsoft.net/jodit/pro/
|
|
6
|
+
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
"use strict";((e,t)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var o=t();for(var n in o)("object"==typeof exports?exports:e)[n]=o[n]}})(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[633],{93123(e,t,o){o.r(t),o.d(t,{autocomplete(){return m}});var n=o(97582),s=o(7324),i=o(77628),r=o(50526),l=o(95582),u=o(44913),c=o(19797),p=o(11612),a=o(77325),h=o(88292),d=o(47325);i.Config.prototype.autocomplete={sources:[],maxItems:50,isMatchedQuery(e,t){return 0===t.toLowerCase().indexOf(e.toLowerCase())},itemRenderer(e){return e.title??e.value},insertValueRenderer(e){return e.value+" "}};class m extends s.S{constructor(){super(...arguments),this.hasStyle=!h.y.fatMode,this.sources=[]}afterInit(e){this.popup=new c.G(e),this.popup.setMod("padding",!1),this.list=new a.F(e),this.popup.setContent(this.list.container),e.e.on("select.autocomplete",(t=>{let o=t.value;(0,l.isFunction)(t.insertValueRenderer)&&(o=t.insertValueRenderer(t)),u.i.isNode(o)||(o=e.createInside.fromHTML(o)),(0,d.p)(e.s.range,o),this.j.s.setCursorAfter(o),this.j.synchronizeValues(),this.popup.close()})).on("keydown.autocomplete",this.onKeyDown).on("keydown.autocomplete",this.onKeyControlDown,{top:!0}).on("beforeEnter.autocomplete",this.onEnter,{top:!0}).on("autocomplete.autocomplete",this.onAutoComplete).on("registerAutocompleteSource.autocomplete",this.registerAutocompleteSource)}registerAutocompleteSource(e){this.sources.push(e)}static isControlKey(e){return e===p.KEY_DOWN||e===p.KEY_UP||e===p.KEY_ENTER||e===p.KEY_TAB}async onKeyDown(e){if(e.key===p.KEY_ESC)return void(this.popup.isOpened&&this.popup.close());const{s:t}=this.j;if(m.isControlKey(e.key)||!t.isInsideArea||!t.isCollapsed)return;const o=this.j.s.sel?.rangeCount?this.j.s.sel?.getRangeAt(0):null,n=o&&(0,d.Y)(o).split(" ").pop();if(n&&(0,l.trim)(n).length){const e=await this.onAutoComplete(n);if(e.length)return this.openPopup(e)}this.popup.isOpened&&this.popup.close()}onKeyControlDown(e){if(this.popup.isOpened&&m.isControlKey(e.key)){switch(e.key){case p.KEY_DOWN:this.list.selectNext();break;case p.KEY_UP:this.list.selectPrevious();break;case p.KEY_TAB:this.list.select()}return this.j.e.stopPropagation(e.type),!1}}onEnter(){if(this.popup.isOpened)return this.list.select(),!1}async onAutoComplete(e){const t=[];return await Promise.all(this.sources.concat(this.j.o.autocomplete.sources).map((async o=>{t.push(...await this.resolveFeed(e,o))}))),t}async resolveFeed(e,t,o){let n;if((0,l.isPromise)(t)&&(t=await t),(0,l.isFunction)(t))n=await t(e);else if((0,l.isArray)(t)){const o=t,{isMatchedQuery:s}=this.j.o.autocomplete;n=o.filter((t=>(0,l.isString)(t)?s(e,t):s(e,t.value))).map((e=>(0,l.isString)(e)?{title:e,value:e}:e))}else n=await this.resolveFeed(e,t.feed,t);if(n&&(0,l.isArray)(n)){const{itemRenderer:e,insertValueRenderer:t,maxItems:s}=this.j.o.autocomplete;return n=n.map((n=>({itemRenderer:o?.itemRenderer??e,insertValueRenderer:o?.insertValueRenderer??t,...n}))),n.slice(0,s)}return[]}openPopup(e){this.list.build(e),this.popup.open((()=>{const{j:e}=this,t=e.s.range.getBoundingClientRect(),o={left:t.left,top:t.top,height:t.height,width:t.width};if(e.o.iframe&&e.iframe){const t=(0,l.position)(e.iframe,e);o.top+=t.top,o.left+=t.left}return o}))}beforeDestruct(e){e.e.off(this.list).off("keydown.autocomplete",this.onKeyDown).off("autocomplete.autocomplete",this.onAutoComplete).off(".autocomplete"),this.list.destruct(),this.popup.destruct()}}m.requires=["enter","license"],(0,n.gn)([r.autobind],m.prototype,"registerAutocompleteSource",null),(0,n.gn)([(0,r.debounce)()],m.prototype,"onKeyDown",null),(0,n.gn)([r.autobind],m.prototype,"onKeyControlDown",null),(0,n.gn)([r.autobind],m.prototype,"onEnter",null),(0,n.gn)([r.autobind],m.prototype,"onAutoComplete",null),(0,n.gn)([r.autobind],m.prototype,"resolveFeed",null),h.y.plugins.add("autocomplete",m)},47325(e,t,o){o.d(t,{Y(){return s},p(){return i}});var n=o(44913);function s(e){const{startContainer:t,startOffset:o}=e;if(n.i.isText(t))return t.nodeValue?.substr(0,o)??"";const s=t.childNodes[o];if(!s)return"";if(n.i.isText(s))return s.nodeValue??"";const i=n.i.findNotEmptyNeighbor(s,!0,t);return n.i.isText(i)?s.nodeValue??"":""}function i(e,t){let{startContainer:o,startOffset:s}=e;if(n.i.isText(o)||(o=o.childNodes[s-1],n.i.isText(o)&&(s=o.nodeValue?.length??0)),n.i.isText(o)){const n=o.nodeValue??"",i=n.substring(0,s),r=n.substring(s),l=i.split(" ");l[l.length-1]="";const u=l.join(" ");return o.nodeValue=u+r,e.setStart(o,u.length),void e.insertNode(t)}}},77325(e,t,o){o.d(t,{F(){return l}});var n=o(97582),s=o(50526),i=o(75004),r=o(91381);let l=class e extends i.qe{constructor(){super(...arguments),this.elements=[],this.currentSelection=-1}className(){return"Autocomplete"}onChangeSelection(e,t){null!=t&&this.elements[t]?.setMod("active",!1),this.elements[this.currentSelection].setMod("active",!0),this.elements[this.currentSelection].container.scrollIntoView(!1)}build(e){this.clear(),e.forEach(((e,t)=>{const o=new r.h(this.jodit,e);this.j.e.on(o.container,"mousedown touchstart",(e=>{e.preventDefault()})).on(o.container,"click",(()=>{this.currentSelection=t,this.select()})),this.append(o)})),this.currentSelection=0,this.onChangeSelection()}selectNext(){this.currentSelection+1>this.elements.length-1?this.currentSelection=0:this.currentSelection+=1}selectPrevious(){0>this.currentSelection-1?this.currentSelection=this.elements.length-1:this.currentSelection-=1}select(){this.j.e.fire("select.autocomplete",this.elements[this.currentSelection].item)}};(0,n.gn)([(0,s.watch)("currentSelection")],l.prototype,"onChangeSelection",null),l=(0,n.gn)([s.component],l)},91381(e,t,o){o.d(t,{h(){return i}});var n=o(75004),s=o(95582);class i extends n.u1{className(){return"AutocompleteItem"}constructor(e,t){super(e),this.item=t;const{container:o}=this;if((0,s.isFunction)(t.itemRenderer)){const e=t.itemRenderer(t);(0,s.isString)(e)?o.innerHTML=e:o.appendChild(e)}else o.innerText=t.title??t.value}}}},e=>e(e.s=93123)])}));
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* jodit-pro - PRO Version of Jodit Editor
|
|
3
|
+
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
+
* Version: v2.0.0-beta.10
|
|
5
|
+
* Url: https://xdsoft.net/jodit/pro/
|
|
6
|
+
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
.jodit-ui-backup-box {
|
|
10
|
+
display: flex;
|
|
11
|
+
height: 100%;
|
|
12
|
+
max-height: 100%;
|
|
13
|
+
justify-content: stretch;
|
|
14
|
+
border-bottom: 1px solid var(--jd-color-border);
|
|
15
|
+
}
|
|
16
|
+
.jodit-ui-backup-box__list {
|
|
17
|
+
overflow: auto;
|
|
18
|
+
min-width: 200px;
|
|
19
|
+
padding: var(--jd-padding-default);
|
|
20
|
+
border-right: 1px solid var(--jd-color-border);
|
|
21
|
+
user-select: none;
|
|
22
|
+
}
|
|
23
|
+
.jodit-ui-backup-box__preview {
|
|
24
|
+
overflow: auto;
|
|
25
|
+
flex: 1;
|
|
26
|
+
padding: var(--jd-padding-default);
|
|
27
|
+
}
|
|
28
|
+
.jodit-ui-backup-box__empty {
|
|
29
|
+
position: relative;
|
|
30
|
+
top: 50%;
|
|
31
|
+
width: 100px;
|
|
32
|
+
height: 30px;
|
|
33
|
+
margin: auto;
|
|
34
|
+
opacity: 0.3;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.jodit-ui-backup-item {
|
|
38
|
+
padding: var(--jd-padding-default);
|
|
39
|
+
cursor: pointer;
|
|
40
|
+
}
|
|
41
|
+
.jodit-ui-backup-item:hover {
|
|
42
|
+
background-color: var(--jd-color-background-selection);
|
|
43
|
+
}
|
|
44
|
+
.jodit-ui-backup-item_active_true {
|
|
45
|
+
background-color: var(--jd-color-background-selection-opacity50);
|
|
46
|
+
outline: 1px solid var(--jd-color-border-active);
|
|
47
|
+
}
|
|
48
|
+
|