jodit-pro 1.3.40 → 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,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";!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n=e();for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[92],{12750:function(t,e,n){n.d(e,{C:function(){return i}});const r={"text-justify":["inter-ideograph"]};function i(t){return t.isElement&&t.attributes.style&&Object.keys(r).forEach((e=>{var n;const i=r[e];t.style.has(e)&&i.includes(null===(n=t.style.get(e))||void 0===n?void 0:n.toString())&&t.style.set(e,null)})),t}},76995:function(t,e,n){n.d(e,{i:function(){return i}});const r=["cellspacing","cellpadding","border","v:shapes","o:spid"];function i(t){if(/^OLE_LINK\d+$/.test(t.attributes.name)&&(t.attributes.name=null,0===t.length))return t.remove(),null;"_GoBack"===t.attributes.name&&(t.attributes.name=null);for(const e of r)t.attributes[e]&&(t.attributes[e]=null);return t}},53614:function(t,e,n){n.d(e,{a:function(){return i}});var r=n(73076);const i=t=>(t.attributes.class&&(t.attributes.class=t.attributes.class.replace(/(el\d+)|(font\d+)|msonormal|msolistparagraph\w*/gi,""),(0,r.f)(t.attributes.class)||(t.attributes.class=null)),t)},50353:function(t,e,n){n.d(e,{b:function(){return i}});var r=n(18352);const i=(t,{jodit:e})=>{if(!e.o.pasteFromWord.convertUnitsToPixel)return t;const{style:n}=t;return n.forEach((t=>{const e=n.get(t);e&&n.set(t,e.toString().replace(/\d+(\.\d+)?(pt|cm)/g,(t=>(0,r.Lp)(t)+"px")))})),t}},45054:function(t,e,n){n.d(e,{S:function(){return a}});var r=n(18352),i=n(93310),s=n(11612),o=n(19438);function a(t){var e;if((0,i.Hh)(t)){t.name="li",t.style.set("text-indent",null);const n=u(t),s=/[\da-np-zA-NP-Z].?/.test(n)?"ol":"ul",a=function(t,e){for(const e in o.Y1)if(RegExp(e).test(t))return o.Y1[e];return"ol"===e?"decimal":"disc"}(n,s);t.attributes[o.YJ]=s,t.attributes[o.Jf]=a,(0,r.rd)(t),function(t){for(;t;){const e=t.previousElement;if(!(0,i.Be)(e)&&!(0,i.nq)(e))break;if((0,i.Be)(e)){if(e.attributes[o.Ki]>t.attributes[o.Ki])break;if(t.attributes[o.Ki]===e.attributes[o.Ki]&&t.parent&&(0,i.Y4)(t,t.parent))break;e.append(t);continue}const n=e;if(n.attributes[o.Ki]>t.attributes[o.Ki])break;if(t.attributes[o.Ki]===n.attributes[o.Ki]&&!(0,i.Y4)(t,n))break;n.append(t)}}(t);const{parent:l}=t;if(!(0,i.nq)(l)||!(0,i.Y4)(t,l)){const u=function(t,e,n,s){const a=t.wrap(e);return a.attributes.start=(0,r.Sg)(n),a.attributes[o.Ki]=t.attributes[o.Ki],a.attributes[o.Jf]=t.attributes[o.Jf],a.attributes[o.m3]=t.attributes[o.Jf],a.style.set(o.zQ,s),function(t){var e;!(0,i.nq)(t)||"li"===(null===(e=t.parent)||void 0===e?void 0:e.name)||"disc"!==t.style.get(o.zQ)&&"decimal"!==t.style.get(o.zQ)||t.style.set(o.zQ,null)}(a),a}(t,s,n,a);return(0,i.nq)(l)&&(u.remove(),null===(e=l.lastElement)||void 0===e||e.append(u)),t}}return t}const u=t=>t.textBetween((t=>t.isComment&&/\[if.*supportLists.*]/.test((0,i.dy)(t))),(t=>t.isComment&&/\[endif]/.test((0,i.dy)(t)))).replace(/ /g,"").replace((0,s.SPACE_REG_EXP)(),"")},44669:function(t,e,n){n.d(e,{c:function(){return g}});var r=n(45054),i=n(76995),s=n(76148),o=n(38450),a=n(33135),u=n(50353),l=n(53614),c=n(62094),f=n(83432),d=n(38933),p=n(50374),h=n(38535),m=n(12750);const g=[h.F,p.a,s.p,o.G,i.i,r.S,c.z,a.m,u.b,l.a,f.r,d.Y,m.C]},50374:function(t,e,n){n.d(e,{a:function(){return r}});const r=t=>((t.isElement&&"always"===t.style.get("page-break-before")||"page"===t.style.get("break-before"))&&(t.attributes["jd-safe"]=!0,t.style.add("page-break-before","always"),t.isSingle&&(t.name="div")),t)},83432:function(t,e,n){n.d(e,{r:function(){return r}});const r=t=>t.isElement?("img"===t.name&&(t.attributes.align&&(t.style.add("float",t.attributes.align),t.attributes.align=null),t.attributes.hspace&&(t.style.add("marginLeft",t.attributes.hspace+"px"),t.style.add("marginRight",t.attributes.hspace+"px"),t.attributes.hspace=null)),t):t},38535:function(t,e,n){n.d(e,{F:function(){return i}});var r=n(95582);const i=(t,e)=>{var n,i;if(e.rtf&&"#comment"===t.name&&t.attributes.nodeValue&&-1!==t.attributes.nodeValue.indexOf("<v:shape")){e.shapes||(e.shapes={});const n=e.jodit.create.fromHTML(t.attributes.nodeValue);return(0,r.toArray)(n.getElementsByTagName("v:shape")).forEach((t=>{e.shapes[t.id]=t.getAttribute("o:spid")})),t}if("img"!==t.name)return t;if(e.rtf&&t.attributes["v:shapes"]){const r=null===(n=e.shapes)||void 0===n?void 0:n[t.attributes["v:shapes"]];if(r){const n=null!==(i=e.imageMap)&&void 0!==i?i:{};e.imageMap||(e.imageMap=n,s(e.rtf,"i","\\shppict",e.imageMap),s(e.rtf,"s","\\shp{",e.imageMap));const o=n[r.substring(7)];if(o){const e=[],n=o.hex.match(/[0-9a-f]{2}/gi);if(n){for(let t=0;n.length>t;t++){const r=parseInt(n[t],16);e.push(String.fromCharCode(r))}t.attributes.src="data:"+o.type+";base64,"+btoa(e.join(""))}}}}return t};function s(t,e,n,r){const i=t.split(n);for(const t of i){const n=t.split("shplid");if(n.length>1){const t=n[1];let i="";for(let e=0;t.length>e&&!/[{ \r\n\\]/.test(t[e]);e++)i+=t[e];const s=t.split("bliptag");if(s&&2>s.length)continue;let o=null;if(s[0].indexOf("pngblip")?o="image/png":-1!==s[0].indexOf("jpegblip")&&(o="image/jpeg"),!o)continue;const a=s[1].split("}");if(a&&2>a.length)continue;let u;if(a.length>2&&a[0].includes("blipuid"))u=a[1].split(" ");else{if(u=a[0].split(" "),u&&2>u.length)continue;u.shift()}r[e+i]={hex:u.join(""),type:o}}}}},62094:function(t,e,n){n.d(e,{z:function(){return r}});const r=(t,e)=>{var n;const r=null!==(n=e.links)&&void 0!==n?n:{};if(t.attributes.href&&t.attributes.href.match(/#.+$/)&&(r[t.attributes.href.match(/#(.+)$/)[1]]=t),t.attributes.name&&r[t.attributes.name]){const e=r[t.attributes.name];e.attributes.href=e.attributes.href.replace(/.*#(.*)$/,"#$1")}return e.links=r,t}},76148:function(t,e,n){n.d(e,{p:function(){return i}});const r=new Set(["o:p","xml","script","meta","link","v:imagedata","style"]);function i(t){return"none"===t.style.get("display")||0===t.length&&"span"===t.name||r.has(t.name)?(t.remove(),null):t}},33135:function(t,e,n){n.d(e,{m:function(){return s}});var r=n(93310);let i=0;function s(t){return t.isComment&&/\[if.*(supportLists|gte vml).*]/.test((0,r.dy)(t))&&(i++,t.remove()),t.isComment&&i>0&&(0,r.dy)(t).includes("[endif]")&&(i=i>0?i-1:0,t.remove()),i&&(t.isText||"img"===t.name&&(!t.attributes.src||/^file:/.test(t.attributes.src)))?(t.remove(),null):t}},38450:function(t,e,n){n.d(e,{G:function(){return i}});const r={i:"em",b:"strong"};function i(t){const{name:e}=t;return e in r&&(t.name=r[e]),t}},38933:function(t,e,n){n.d(e,{Y:function(){return r}});const r=t=>(!t.attributes.width||"th"!==t.name&&"td"!==t.name||(t.attributes.width=null),t)},48077:function(t,e,n){n(77628).Config.prototype.pasteFromWord={enable:!1,convertUnitsToPixel:!1,allowedStyleProps:["background","background-color","border","border-.*","color","float","font-family","font-size","font-style","font-weight","height","line-height","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","padding","text-align","text-justify","text-decoration","text-indent","vertical-align","width"]}},19438:function(t,e,n){n.d(e,{Jf:function(){return s},Ki:function(){return r},Y1:function(){return u},YJ:function(){return i},m3:function(){return o},zQ:function(){return a}});const r="jd-list-level",i="jd-list-type",s="jd-list-style-type",o="data-list-style-type",a="list-style-type",u={"·":"disc",o:"circle","§":"square","[ivx]":"lower-roman","[IVX]":"upper-roman","[a-z]":"lower-alpha","[A-Z]":"upper-alpha","\\d":"decimal"}},69111:function(t,e,n){n.d(e,{Be:function(){return o},Hh:function(){return a},Y4:function(){return u},nq:function(){return s}});var r=n(12787),i=n(19438);function s(t){return Boolean(t&&("ol"===t.name||"ul"===t.name))}function o(t){return Boolean(t&&"li"===t.name)}function a(t){return"li"!==t.name&&/mso-list:\s*l\d+ level\d+ lfo\d+/i.test(t.attributes.style)||/msolistparagraph/i.test(t.attributes.class)&&Boolean(t.find((t=>t.isComment&&(0,r.d)(t).includes("supportLists"))).length)}function u(t,e){return!(e.name!==t.attributes[i.YJ]||e.attributes[i.Jf]!==t.attributes[i.Jf]||t.attributes[i.Ki]!==e.attributes[i.Ki])}},84300:function(t,e,n){n.d(e,{n:function(){return u}});var r=n(8138),i=n(11612),s=(n(95582),n(12787)),o=n(12481);const a=new Set(i.INSEPARABLE_TAGS);class u{get isText(){return this.type===Node.TEXT_NODE}get isElement(){return this.type===Node.ELEMENT_NODE}get isComment(){return this.type===Node.COMMENT_NODE}get isSingle(){return a.has(this.name)}get length(){return this.children.length}constructor(t,e){this.parent=e,this.name=t.nodeName.toLowerCase(),this.type=t.nodeType,this.attributes=function(t){const e={};if(r.i.isElement(t))for(let n=0,r=t.attributes;r.length>n;n+=1)e[r[n].name]=r[n].value;else e.nodeValue=t.nodeValue;return e}(t),this.style=new o.b(this.attributes.style),this.children=[],t.childNodes.forEach((t=>this.children.push(u.make(t,this))))}static make(t,e=null){return new u(t,e)}wrap(t){var e;const n=u.make(document.createElement(t),this.parent),r=null!==(e=this.parent.children.indexOf(this))&&void 0!==e?e:-1;return-1===r?this.parent.append(n):this.parent.children[r]=n,n.append(this),n}append(t){return t.remove(),this.children.push(t),t.parent=this,this}get previousElement(){if(!this.parent)return null;const{children:t}=this.parent,e=t.indexOf(this);if(-1!==e)for(let n=e-1;n>=0;n-=1)if(t[n].isElement)return t[n];return null}get lastElement(){const{children:t}=this;for(let e=t.length-1;e>=0;e-=1)if(t[e].isElement)return t[e];return null}get previous(){var t,e,n;return null!==(n=null!==(t=this.sibling(!1))&&void 0!==t?t:null===(e=this.parent)||void 0===e?void 0:e.previous)&&void 0!==n?n:null}get next(){var t,e,n;return null!==(n=null!==(t=this.sibling(!0))&&void 0!==t?t:null===(e=this.parent)||void 0===e?void 0:e.next)&&void 0!==n?n:null}sibling(t){if(!this.parent)return null;const{children:e}=this.parent,n=e.indexOf(this);return-1!==n&&e[n+(t?1:-1)]?e[n+(t?1:-1)]:null}forEach(t,e=!1){const n=[...this.children];for(const r of n){if(!1===t(r))return!1;if(e&&!1===r.forEach(t,!0))return!1}}find(t,e=!0){const n=[];return this.forEach((e=>{t(e)&&n.push(e)}),e),n}map(t){return this.children.map(t)}remove(){var t,e;const n=null===(t=this.parent)||void 0===t?void 0:t.children.indexOf(this);return null!=n&&-1!==n&&(null===(e=this.parent)||void 0===e||e.children.splice(n,1)),this}textBetween(t,e){let n=!1;const r=[];return this.forEach((i=>{if(!n&&t(i)&&(n=!0),n&&i.isText&&r.push((0,s.d)(i)),n&&e(i))return!1}),!0),r.join("")}}},93310:function(t,e,n){n.d(e,{Be:function(){return r.Be},C7:function(){return s.C},Hh:function(){return r.Hh},Y4:function(){return r.Y4},dy:function(){return s.d},nK:function(){return i.n},nq:function(){return r.nq}});var r=n(69111),i=n(84300),s=n(12787)},12787:function(t,e,n){n.d(e,{C:function(){return u},d:function(){return o}});var r=n(11612),i=n(46232),s=n(73076);function o(t,e=(()=>!0),n=!0,i){switch(!0){case t.isComment:case t.isText:{if(!e(t))return"";const{nodeValue:n}=t.attributes;return t.isComment?`\x3c!--${n}--\x3e`:n}case t.isElement:{const{attributes:r}=t,s=u(t,e,n,i);if(!t.attributes["jd-safe"]&&n&&0===s.replace(/[\n\t]/g,"").length&&!t.isSingle)return"";const o=Object.keys(r).map((t=>"style"===t||null==r[t]||/^jd-/.test(t)?"":`${t}="${l(r[t])}"`)).filter(Boolean),{str:c}=t.style,f=l(c((t=>a(t,i))));if(f&&o.push(`style="${f}"`),n&&0===o.length&&["span","a"].includes(t.name))return s;const d=o.length?" "+o.join(" "):"";return e(t)?t.isSingle?`<${t.name}${d}/>`:`<${t.name}${d}>${s}</${t.name}>`:s}default:if(!r.IS_PROD)throw Error("Need implementation for this type")}return""}function a(t,e){var n;if(!e)return!0;if(a.cache.has(e)){const r=null===(n=a.cache.get(e))||void 0===n?void 0:n.get(t);if((0,i.j)(r))return r}const r=e.some((e=>new RegExp(e).test(t))),s=a.cache.get(e)||new Map;return s.set(t,r),a.cache.set(e,s),r}function u(t,e=(()=>!0),n=!0,r){let i=t.map((t=>o(t,e,n,r))).join("");return"p"===t.name&&0===(0,s.f)(i).length&&(i=" "),i}function l(t){return t.toString().replace(/"/g,""")}a.cache=new WeakMap},12481:function(t,e,n){n.d(e,{b:function(){return a}});var r=n(97582),i=n(95582),s=n(50526),o=n(18352);let a=class t{constructor(t){this._data=u(t)}get keys(){return Object.keys(this._data)}forEach(t){this.keys.forEach((e=>t(e)))}clear(){this._data={}}set(t,e){this._data[t]=e}get(t){var e;return null!==(e=this._data[t])&&void 0!==e?e:null}has(t){return void 0!==this._data[t]}add(t,e){return this._data=u(this.str()+";"+`${t}:${e}`),this}str(t=(t=>!0)){const e=Object.keys(this._data).filter((e=>e&&!/^mso-/.test(e)&&t(e)&&null!=this.get(e))),n=t=>(0,i.isString)(t)?/^0[a-z]+$/i.test(t)?"0":t:t.toString();return["padding","margin"].forEach((t=>{if(this._data[t]){const r=e.indexOf(t),i=(0,o.Wb)(this._data[t]);["top","right","bottom","left"].forEach(((s,o)=>{const a=`${t}-${s}`,u=this._data[a];null==u||e.indexOf(a)>=r&&n(i[o])!==n(u)||-1!==e.indexOf(a)&&e.splice(e.indexOf(a),1)}))}})),e.length?e.map((t=>`${(0,i.kebabCase)(t)}:${this.get(t)}`)).join(";"):""}};function u(t){return function(t){const e={},n=[];for(let r=t.length-1;r>=0;r-=1){const i=t[r][0];e[i]||(e[i]=!0,n.unshift(t[r]))}return n}((null!=t?t:"").replace(/"/g,'"').split(";").filter(Boolean).map((t=>(0,i.trim)(t).split(":").map(i.trim)))).reduce(((t,[e,n])=>(e&&n&&(t[e]=n),t)),{})}a=(0,r.gn)([s.autobind],a)},12049:function(t,e,n){n.d(e,{x:function(){return a}});var r=n(95582),i=n(44913),s=n(79374),o=n(93310);function a(t,e,n,a=""){var u,l;const c=document.createElement("iframe");c.style.display="none",document.body.appendChild(c);try{const i=null!==(u=c.contentDocument)&&void 0!==u?u:null===(l=c.contentWindow)||void 0===l?void 0:l.document;if(!i)return e;i.open(),i.write(e),i.close();const f="jd-style";for(let t=0;i.styleSheets.length>t;t+=1)try{const e=i.styleSheets[t].cssRules;for(let t=0;e.length>t;t+=1)e[t].selectorText&&(0,r.$$)(e[t].selectorText,i.body).forEach((n=>{(0,r.attr)(n,f)||((0,r.attr)(n,f,(0,r.attr)(n,"style")||""),(0,r.attr)(n,"style","")),(0,r.attr)(n,"style",`${(0,r.attr)(n,"style")};${e[t].style.cssText}`)}))}catch(t){}return(0,r.$$)(`[${f}]`,i.body).forEach((t=>{(0,r.attr)(t,"style",`${(0,r.attr)(t,"style")};${(0,r.attr)(t,f)}`)})),(0,s.W)(t,o.nK.make(i.body),n,a)}finally{i.i.safeRemove(c)}return e}},45394:function(t,e,n){n.d(e,{r:function(){return o}});var r=n(93310),i=n(19438),s=n(81723);function o(t){if(void 0!==t.attributes[i.Ki])return;const e=[(0,s.D4)(t)],n=[t];let o=t.next;for(;o;){if(o.isElement&&!o.attributes[i.Ki]&&(0,r.Hh)(o)){const t=(0,s.D4)(o);t&&(e.push(t),n.push(o))}o=o.next}const a=Math.min(...e.filter((t=>t>0)));let u=e.map((t=>Math.ceil(t/10)));-1!==u.indexOf(0)&&(u=u.map((t=>t+1))),n.forEach(((t,e)=>{t.attributes[i.Ki]=u[e],t.style.add("margin-left",`${Math.max((0,s.D4)(t)-10*u[e]/a*40,0)}px`)}))}},81723:function(t,e,n){function r(t){if(!t)return[0,0,0,0];const e=t.match(/(0|auto|(-?[.\d]+(?:\w+|%)))/g)||["0px"];switch(e.length){case 2:return[0,1,0,1].map((t=>e[t]));case 3:return[0,1,2,1].map((t=>e[t]));case 4:return[0,1,2,3].map((t=>e[t]));default:return[0,0,0,0].map((t=>e[t]))}}let i;function s(t){if("number"==typeof t)return t;if(/%$/.test(t))return 0;i||(i=document.createElement("div"),Object.assign(i.style,{position:"absolute",left:"-9999px",top:"-9999px",margin:"0",padding:"0",border:"0"}),document.body.append(i),setTimeout((()=>{null==i||i.remove(),i=null})));const e=0>parseFloat(t);e&&(t=t.replace("-","")),i.style.width=t;const n=i.clientWidth;return e?-n:n}function o(t){const{style:e}=t;let n=[0,0,0,0];const i=e.keys.filter((t=>/margin/.test(t))),o=Math.max(i.indexOf("margin-left"),i.indexOf("margin")),a=o>0?i[o]:"margin-left";let u;return"margin"===a?(n=r(e.get("margin")),u=n[3]||0):u=e.get(a)||0,s(u)}function a(t){return/\d.\d/.test(t)?t.split(".").pop()||null:/^\d/.test(t)?(parseInt(t,10)||1).toString():null}n.d(e,{D4:function(){return o},Lp:function(){return s},Sg:function(){return a},Wb:function(){return r}})},18352:function(t,e,n){n.d(e,{Lp:function(){return r.Lp},Sg:function(){return r.Sg},Wb:function(){return r.Wb},rd:function(){return s.r},xk:function(){return i.x}});var r=n(81723),i=n(12049),s=(n(79374),n(45394))},79374:function(t,e,n){n.d(e,{W:function(){return o}});var r=n(44669),i=n(73076),s=n(93310);function o(t,e,n,o){const a={jodit:t,rtf:o};return e.forEach((function t(e){if(e){for(const t of r.c)if(null==(e=t(e,a)))break;null==e||e.forEach(t)}})),n&&e.forEach((t=>{t.style.clear()}),!0),(0,i.f)((0,s.C7)(e,(t=>!t.isComment),!0,t.o.pasteFromWord.allowedStyleProps))}},70322:function(t,e,n){n.r(e),n.d(e,{PasteFromWordPro:function(){return l}});var r=n(88292),i=n(11612),s=n(4682),o=n(79501),a=n(18352),u=(n(48077),n(54625));class l extends o.L{insertFromWordByType(t,e,n,r){var o;if(!this.j.o.pasteFromWord.enable||n!==i.INSERT_AS_HTML&&n!==i.INSERT_AS_TEXT)return super.insertFromWordByType(t,e,n,r);if(e=(0,a.xk)(this.j,e,n===i.INSERT_AS_TEXT,r.rtf),this.j.o.beautifyHTML){const t=null===(o=this.j.events)||void 0===o?void 0:o.fire("beautifyHTML",e);(0,s.H)(t)&&(e=t)}(0,u.kU)(t,this.j,e)}}l.requires=["license"],r.y.plugins.remove("pasteFromWord"),r.y.plugins.add("pasteFromWordPro",l)}},function(t){return t(t.s=70322)}])}));
|
|
@@ -0,0 +1,645 @@
|
|
|
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
|
+
(function webpackUniversalModuleDefinition(root, factory) {
|
|
10
|
+
if(typeof exports === 'object' && typeof module === 'object')
|
|
11
|
+
module.exports = factory();
|
|
12
|
+
else if(typeof define === 'function' && define.amd)
|
|
13
|
+
define([], factory);
|
|
14
|
+
else {
|
|
15
|
+
var a = factory();
|
|
16
|
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
|
17
|
+
}
|
|
18
|
+
})(self, function() {
|
|
19
|
+
return (self["webpackChunkjodit_pro"] = self["webpackChunkjodit_pro"] || []).push([[876],{
|
|
20
|
+
|
|
21
|
+
/***/ 23530:
|
|
22
|
+
/***/ (function(module) {
|
|
23
|
+
|
|
24
|
+
module.exports = "<svg viewBox=\"0 0 1792 1792\" xmlns=\"http://www.w3.org/2000/svg\"> <g> <rect rx=\"10\" height=\"1620\" width=\"1620\" y=\"79.646973\" x=\"80\" stroke-width=\"100\" stroke-dasharray=\"8% 10%\" fill=\"none\"/> <path d=\"m1333.992706,381.692384l0,52.982419q0,21.04781 -12.98052,44.272981t-29.820114,23.22517q-35.082487,0 -37.889085,0.725787q-18.242893,4.354719 -22.452791,22.499384q-2.104949,7.983652 -2.104949,46.45034l0,836.106125q0,18.144664 -12.629695,31.208822t-30.170938,13.064158l-75.778171,0q-17.541243,0 -30.170938,-13.064158t-12.629695,-31.208822l0,-884.008038l-100.335911,0l0,884.008038q0,18.144664 -12.27887,31.208822t-30.521763,13.064158l-75.778171,0q-18.242893,0 -30.521763,-13.064158t-12.27887,-31.208822l0,-359.990137q-103.14251,-8.709439 -171.904184,-42.821407q-88.407866,-42.095621 -134.716748,-129.915795q-44.905583,-84.917028 -44.905583,-187.978721q0,-120.48057 61.745176,-207.574958q61.745176,-85.642815 146.644794,-115.400064q77.88312,-26.854103 292.587937,-26.854103l336.090221,0q17.541243,0 30.170938,13.064158t12.629695,31.208822z\"/> </g> </svg>"
|
|
25
|
+
|
|
26
|
+
/***/ }),
|
|
27
|
+
|
|
28
|
+
/***/ 56766:
|
|
29
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
30
|
+
|
|
31
|
+
"use strict";
|
|
32
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77628);
|
|
33
|
+
/*!
|
|
34
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
35
|
+
* See LICENSE.md in the project root for license information.
|
|
36
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
37
|
+
*/
|
|
38
|
+
|
|
39
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.showBlocks = {
|
|
40
|
+
enable: false,
|
|
41
|
+
color: '#ccc',
|
|
42
|
+
tagList: [
|
|
43
|
+
'html',
|
|
44
|
+
'body',
|
|
45
|
+
'div',
|
|
46
|
+
'span',
|
|
47
|
+
'applet',
|
|
48
|
+
'object',
|
|
49
|
+
'iframe',
|
|
50
|
+
'h1',
|
|
51
|
+
'h2',
|
|
52
|
+
'h3',
|
|
53
|
+
'h4',
|
|
54
|
+
'h5',
|
|
55
|
+
'h6',
|
|
56
|
+
'p',
|
|
57
|
+
'blockquote',
|
|
58
|
+
'pre',
|
|
59
|
+
'a',
|
|
60
|
+
'abbr',
|
|
61
|
+
'acronym',
|
|
62
|
+
'address',
|
|
63
|
+
'big',
|
|
64
|
+
'cite',
|
|
65
|
+
'code',
|
|
66
|
+
'del',
|
|
67
|
+
'dfn',
|
|
68
|
+
'em',
|
|
69
|
+
'img',
|
|
70
|
+
'ins',
|
|
71
|
+
'kbd',
|
|
72
|
+
'q',
|
|
73
|
+
's',
|
|
74
|
+
'samp',
|
|
75
|
+
'small',
|
|
76
|
+
'strike',
|
|
77
|
+
'strong',
|
|
78
|
+
'sub',
|
|
79
|
+
'sup',
|
|
80
|
+
'tt',
|
|
81
|
+
'var',
|
|
82
|
+
'b',
|
|
83
|
+
'u',
|
|
84
|
+
'i',
|
|
85
|
+
'center',
|
|
86
|
+
'dl',
|
|
87
|
+
'dt',
|
|
88
|
+
'dd',
|
|
89
|
+
'fieldset',
|
|
90
|
+
'form',
|
|
91
|
+
'label',
|
|
92
|
+
'legend',
|
|
93
|
+
'caption',
|
|
94
|
+
'th',
|
|
95
|
+
'td',
|
|
96
|
+
'li',
|
|
97
|
+
'ol',
|
|
98
|
+
'ul',
|
|
99
|
+
'article',
|
|
100
|
+
'aside',
|
|
101
|
+
'canvas',
|
|
102
|
+
'details',
|
|
103
|
+
'embed',
|
|
104
|
+
'figure',
|
|
105
|
+
'figcaption',
|
|
106
|
+
'footer',
|
|
107
|
+
'header',
|
|
108
|
+
'hgroup',
|
|
109
|
+
'menu',
|
|
110
|
+
'nav',
|
|
111
|
+
'output',
|
|
112
|
+
'ruby',
|
|
113
|
+
'section',
|
|
114
|
+
'summary',
|
|
115
|
+
'time',
|
|
116
|
+
'mark',
|
|
117
|
+
'audio',
|
|
118
|
+
'video'
|
|
119
|
+
]
|
|
120
|
+
};
|
|
121
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.controls.showBlocks = {
|
|
122
|
+
isActive(editor) {
|
|
123
|
+
return Boolean(editor.e.fire('showBlocksEnabled'));
|
|
124
|
+
},
|
|
125
|
+
tooltip: 'Show Blocks',
|
|
126
|
+
command: 'toggleShowBlocks'
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
/***/ }),
|
|
131
|
+
|
|
132
|
+
/***/ 33548:
|
|
133
|
+
/***/ (function(module) {
|
|
134
|
+
|
|
135
|
+
"use strict";
|
|
136
|
+
|
|
137
|
+
/*!
|
|
138
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
139
|
+
* See LICENSE.md in the project root for license information.
|
|
140
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
141
|
+
*/
|
|
142
|
+
module.exports = {
|
|
143
|
+
'Show Blocks': 'تظهر كتل'
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
/***/ }),
|
|
148
|
+
|
|
149
|
+
/***/ 6974:
|
|
150
|
+
/***/ (function(module) {
|
|
151
|
+
|
|
152
|
+
"use strict";
|
|
153
|
+
|
|
154
|
+
/*!
|
|
155
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
156
|
+
* See LICENSE.md in the project root for license information.
|
|
157
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
158
|
+
*/
|
|
159
|
+
module.exports = {
|
|
160
|
+
'Show Blocks': 'Ukázat Bloky'
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
/***/ }),
|
|
165
|
+
|
|
166
|
+
/***/ 24274:
|
|
167
|
+
/***/ (function(module) {
|
|
168
|
+
|
|
169
|
+
"use strict";
|
|
170
|
+
|
|
171
|
+
/*!
|
|
172
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
173
|
+
* See LICENSE.md in the project root for license information.
|
|
174
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
175
|
+
*/
|
|
176
|
+
module.exports = {
|
|
177
|
+
'Show Blocks': 'Zeigen Blöcke'
|
|
178
|
+
};
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
/***/ }),
|
|
182
|
+
|
|
183
|
+
/***/ 82725:
|
|
184
|
+
/***/ (function(module) {
|
|
185
|
+
|
|
186
|
+
"use strict";
|
|
187
|
+
|
|
188
|
+
/*!
|
|
189
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
190
|
+
* See LICENSE.md in the project root for license information.
|
|
191
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
192
|
+
*/
|
|
193
|
+
module.exports = {
|
|
194
|
+
'Show Blocks': 'Mostrar Bloques'
|
|
195
|
+
};
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
/***/ }),
|
|
199
|
+
|
|
200
|
+
/***/ 25702:
|
|
201
|
+
/***/ (function(module) {
|
|
202
|
+
|
|
203
|
+
"use strict";
|
|
204
|
+
|
|
205
|
+
/*!
|
|
206
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
207
|
+
* See LICENSE.md in the project root for license information.
|
|
208
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
209
|
+
*/
|
|
210
|
+
module.exports = {
|
|
211
|
+
'Show Blocks': 'نشان می دهد بلوک'
|
|
212
|
+
};
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
/***/ }),
|
|
216
|
+
|
|
217
|
+
/***/ 10342:
|
|
218
|
+
/***/ (function(module) {
|
|
219
|
+
|
|
220
|
+
"use strict";
|
|
221
|
+
|
|
222
|
+
/*!
|
|
223
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
224
|
+
* See LICENSE.md in the project root for license information.
|
|
225
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
226
|
+
*/
|
|
227
|
+
module.exports = {
|
|
228
|
+
'Show Blocks': 'Afficher Les Blocs'
|
|
229
|
+
};
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
/***/ }),
|
|
233
|
+
|
|
234
|
+
/***/ 98455:
|
|
235
|
+
/***/ (function(module) {
|
|
236
|
+
|
|
237
|
+
"use strict";
|
|
238
|
+
|
|
239
|
+
/*!
|
|
240
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
241
|
+
* See LICENSE.md in the project root for license information.
|
|
242
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
243
|
+
*/
|
|
244
|
+
module.exports = {
|
|
245
|
+
'Show Blocks': 'תראה רחובות'
|
|
246
|
+
};
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
/***/ }),
|
|
250
|
+
|
|
251
|
+
/***/ 6561:
|
|
252
|
+
/***/ (function(module) {
|
|
253
|
+
|
|
254
|
+
"use strict";
|
|
255
|
+
|
|
256
|
+
/*!
|
|
257
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
258
|
+
* See LICENSE.md in the project root for license information.
|
|
259
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
260
|
+
*/
|
|
261
|
+
module.exports = {
|
|
262
|
+
'Show Blocks': 'Mutasd Meg Blokkok'
|
|
263
|
+
};
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
/***/ }),
|
|
267
|
+
|
|
268
|
+
/***/ 44642:
|
|
269
|
+
/***/ (function(module) {
|
|
270
|
+
|
|
271
|
+
"use strict";
|
|
272
|
+
|
|
273
|
+
/*!
|
|
274
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
275
|
+
* See LICENSE.md in the project root for license information.
|
|
276
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
277
|
+
*/
|
|
278
|
+
module.exports = {
|
|
279
|
+
'Show Blocks': 'Menunjukkan Blok'
|
|
280
|
+
};
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
/***/ }),
|
|
284
|
+
|
|
285
|
+
/***/ 60841:
|
|
286
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
287
|
+
|
|
288
|
+
"use strict";
|
|
289
|
+
__webpack_require__.r(__webpack_exports__);
|
|
290
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
291
|
+
/* harmony export */ "ar": function() { return /* binding */ ar; },
|
|
292
|
+
/* harmony export */ "cs_cz": function() { return /* binding */ cs_cz; },
|
|
293
|
+
/* harmony export */ "de": function() { return /* binding */ de; },
|
|
294
|
+
/* harmony export */ "es": function() { return /* binding */ es; },
|
|
295
|
+
/* harmony export */ "fa": function() { return /* binding */ fa; },
|
|
296
|
+
/* harmony export */ "fr": function() { return /* binding */ fr; },
|
|
297
|
+
/* harmony export */ "he": function() { return /* binding */ he; },
|
|
298
|
+
/* harmony export */ "hu": function() { return /* binding */ hu; },
|
|
299
|
+
/* harmony export */ "id": function() { return /* binding */ id; },
|
|
300
|
+
/* harmony export */ "it": function() { return /* binding */ it; },
|
|
301
|
+
/* harmony export */ "ja": function() { return /* binding */ ja; },
|
|
302
|
+
/* harmony export */ "ko": function() { return /* binding */ ko; },
|
|
303
|
+
/* harmony export */ "nl": function() { return /* binding */ nl; },
|
|
304
|
+
/* harmony export */ "pl": function() { return /* binding */ pl; },
|
|
305
|
+
/* harmony export */ "pt_br": function() { return /* binding */ pt_br; },
|
|
306
|
+
/* harmony export */ "ru": function() { return /* binding */ ru; },
|
|
307
|
+
/* harmony export */ "tr": function() { return /* binding */ tr; },
|
|
308
|
+
/* harmony export */ "zh_cn": function() { return /* binding */ zh_cn; },
|
|
309
|
+
/* harmony export */ "zh_tw": function() { return /* binding */ zh_tw; }
|
|
310
|
+
/* harmony export */ });
|
|
311
|
+
/*!
|
|
312
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
313
|
+
* See LICENSE.md in the project root for license information.
|
|
314
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
315
|
+
*/
|
|
316
|
+
const ar = __webpack_require__(33548);
|
|
317
|
+
const cs_cz = __webpack_require__(6974);
|
|
318
|
+
const de = __webpack_require__(24274);
|
|
319
|
+
const es = __webpack_require__(82725);
|
|
320
|
+
const fa = __webpack_require__(25702);
|
|
321
|
+
const fr = __webpack_require__(10342);
|
|
322
|
+
const he = __webpack_require__(98455);
|
|
323
|
+
const hu = __webpack_require__(6561);
|
|
324
|
+
const id = __webpack_require__(44642);
|
|
325
|
+
const it = __webpack_require__(81483);
|
|
326
|
+
const ja = __webpack_require__(51860);
|
|
327
|
+
const ko = __webpack_require__(90069);
|
|
328
|
+
const nl = __webpack_require__(52044);
|
|
329
|
+
const pl = __webpack_require__(87205);
|
|
330
|
+
const pt_br = __webpack_require__(821);
|
|
331
|
+
const ru = __webpack_require__(76539);
|
|
332
|
+
const tr = __webpack_require__(93793);
|
|
333
|
+
const zh_cn = __webpack_require__(40742);
|
|
334
|
+
const zh_tw = __webpack_require__(70142);
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
/***/ }),
|
|
339
|
+
|
|
340
|
+
/***/ 81483:
|
|
341
|
+
/***/ (function(module) {
|
|
342
|
+
|
|
343
|
+
"use strict";
|
|
344
|
+
|
|
345
|
+
/*!
|
|
346
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
347
|
+
* See LICENSE.md in the project root for license information.
|
|
348
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
349
|
+
*/
|
|
350
|
+
module.exports = {
|
|
351
|
+
'Show Blocks': 'Visualizza Blocchi'
|
|
352
|
+
};
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
/***/ }),
|
|
356
|
+
|
|
357
|
+
/***/ 51860:
|
|
358
|
+
/***/ (function(module) {
|
|
359
|
+
|
|
360
|
+
"use strict";
|
|
361
|
+
|
|
362
|
+
/*!
|
|
363
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
364
|
+
* See LICENSE.md in the project root for license information.
|
|
365
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
366
|
+
*/
|
|
367
|
+
module.exports = {
|
|
368
|
+
'Show Blocks': 'ショーのブロック'
|
|
369
|
+
};
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
/***/ }),
|
|
373
|
+
|
|
374
|
+
/***/ 90069:
|
|
375
|
+
/***/ (function(module) {
|
|
376
|
+
|
|
377
|
+
"use strict";
|
|
378
|
+
|
|
379
|
+
/*!
|
|
380
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
381
|
+
* See LICENSE.md in the project root for license information.
|
|
382
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
383
|
+
*/
|
|
384
|
+
module.exports = {
|
|
385
|
+
'Show Blocks': '쇼 블록'
|
|
386
|
+
};
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
/***/ }),
|
|
390
|
+
|
|
391
|
+
/***/ 52044:
|
|
392
|
+
/***/ (function(module) {
|
|
393
|
+
|
|
394
|
+
"use strict";
|
|
395
|
+
|
|
396
|
+
/*!
|
|
397
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
398
|
+
* See LICENSE.md in the project root for license information.
|
|
399
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
400
|
+
*/
|
|
401
|
+
module.exports = {
|
|
402
|
+
'Show Blocks': 'Toon Blokken'
|
|
403
|
+
};
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
/***/ }),
|
|
407
|
+
|
|
408
|
+
/***/ 87205:
|
|
409
|
+
/***/ (function(module) {
|
|
410
|
+
|
|
411
|
+
"use strict";
|
|
412
|
+
|
|
413
|
+
/*!
|
|
414
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
415
|
+
* See LICENSE.md in the project root for license information.
|
|
416
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
417
|
+
*/
|
|
418
|
+
module.exports = {
|
|
419
|
+
'Show Blocks': 'Pokaż Bloki'
|
|
420
|
+
};
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
/***/ }),
|
|
424
|
+
|
|
425
|
+
/***/ 821:
|
|
426
|
+
/***/ (function(module) {
|
|
427
|
+
|
|
428
|
+
"use strict";
|
|
429
|
+
|
|
430
|
+
/*!
|
|
431
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
432
|
+
* See LICENSE.md in the project root for license information.
|
|
433
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
434
|
+
*/
|
|
435
|
+
module.exports = {
|
|
436
|
+
'Show Blocks': 'Mostrar Blocos'
|
|
437
|
+
};
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
/***/ }),
|
|
441
|
+
|
|
442
|
+
/***/ 76539:
|
|
443
|
+
/***/ (function(module) {
|
|
444
|
+
|
|
445
|
+
"use strict";
|
|
446
|
+
|
|
447
|
+
/*!
|
|
448
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
449
|
+
* See LICENSE.md in the project root for license information.
|
|
450
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
451
|
+
*/
|
|
452
|
+
module.exports = {
|
|
453
|
+
'Show Blocks': 'Показать Блоки'
|
|
454
|
+
};
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
/***/ }),
|
|
458
|
+
|
|
459
|
+
/***/ 93793:
|
|
460
|
+
/***/ (function(module) {
|
|
461
|
+
|
|
462
|
+
"use strict";
|
|
463
|
+
|
|
464
|
+
/*!
|
|
465
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
466
|
+
* See LICENSE.md in the project root for license information.
|
|
467
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
468
|
+
*/
|
|
469
|
+
module.exports = {
|
|
470
|
+
'Show Blocks': 'Haritayı Blokları'
|
|
471
|
+
};
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
/***/ }),
|
|
475
|
+
|
|
476
|
+
/***/ 40742:
|
|
477
|
+
/***/ (function(module) {
|
|
478
|
+
|
|
479
|
+
"use strict";
|
|
480
|
+
|
|
481
|
+
/*!
|
|
482
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
483
|
+
* See LICENSE.md in the project root for license information.
|
|
484
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
485
|
+
*/
|
|
486
|
+
module.exports = {
|
|
487
|
+
'Show Blocks': '显示块'
|
|
488
|
+
};
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
/***/ }),
|
|
492
|
+
|
|
493
|
+
/***/ 70142:
|
|
494
|
+
/***/ (function(module) {
|
|
495
|
+
|
|
496
|
+
"use strict";
|
|
497
|
+
|
|
498
|
+
/*!
|
|
499
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
500
|
+
* See LICENSE.md in the project root for license information.
|
|
501
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
502
|
+
*/
|
|
503
|
+
module.exports = {
|
|
504
|
+
'Show Blocks': 'แสดงช่วงตึก'
|
|
505
|
+
};
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
/***/ }),
|
|
509
|
+
|
|
510
|
+
/***/ 87998:
|
|
511
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
512
|
+
|
|
513
|
+
"use strict";
|
|
514
|
+
__webpack_require__.r(__webpack_exports__);
|
|
515
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
516
|
+
/* harmony export */ "showBlocks": function() { return /* binding */ showBlocks; }
|
|
517
|
+
/* harmony export */ });
|
|
518
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(97582);
|
|
519
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(56766);
|
|
520
|
+
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7324);
|
|
521
|
+
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(44913);
|
|
522
|
+
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(10503);
|
|
523
|
+
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(81160);
|
|
524
|
+
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(50526);
|
|
525
|
+
/* harmony import */ var _JoditPro__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(88292);
|
|
526
|
+
/*!
|
|
527
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
528
|
+
* See LICENSE.md in the project root for license information.
|
|
529
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
530
|
+
*/
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
function svgToUrl(svg) {
|
|
540
|
+
return `data:image/svg+xml;utf8,${escape(svg)}`;
|
|
541
|
+
}
|
|
542
|
+
/**
|
|
543
|
+
* Plugin for showing special markers inside every blocks
|
|
544
|
+
*/
|
|
545
|
+
class showBlocks extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_1__/* .Plugin */ .S {
|
|
546
|
+
get style() {
|
|
547
|
+
return (0,jodit_core_global__WEBPACK_IMPORTED_MODULE_4__/* .getContainer */ .ZO)(this.jodit, showBlocks, 'style', true);
|
|
548
|
+
}
|
|
549
|
+
/**
|
|
550
|
+
* Enable showing block
|
|
551
|
+
*/
|
|
552
|
+
enable() {
|
|
553
|
+
this.isEnabled = true;
|
|
554
|
+
const root = this.j.o.iframe ? 'body' : '.jodit-wysiwyg';
|
|
555
|
+
const { tagList, color } = this.j.o.showBlocks;
|
|
556
|
+
this.style.innerHTML = tagList
|
|
557
|
+
.map((tag) => `${root} ${tag}{
|
|
558
|
+
outline: 1px dashed ${color};
|
|
559
|
+
background-image: url("${svgToUrl('<svg xmlns="http://www.w3.org/2000/svg" width="50px">' +
|
|
560
|
+
'<text dominant-baseline="hanging" text-anchor="end" style="fill: ' +
|
|
561
|
+
color +
|
|
562
|
+
';font: 10px sans-serif" x="50px" y="0">' +
|
|
563
|
+
tag +
|
|
564
|
+
'</text>' +
|
|
565
|
+
'</svg>')}");
|
|
566
|
+
background-position: top 2px ${this.j.o.direction === 'rtl' ? 'left' : 'right'} 4px;
|
|
567
|
+
background-repeat: no-repeat;
|
|
568
|
+
position: relative;
|
|
569
|
+
}`)
|
|
570
|
+
.join('');
|
|
571
|
+
}
|
|
572
|
+
/**
|
|
573
|
+
* Disable showing block
|
|
574
|
+
*/
|
|
575
|
+
disable() {
|
|
576
|
+
this.isEnabled = false;
|
|
577
|
+
this.style.innerHTML = '';
|
|
578
|
+
}
|
|
579
|
+
/**
|
|
580
|
+
* Toggle showing block
|
|
581
|
+
*/
|
|
582
|
+
toggle() {
|
|
583
|
+
this.isEnabled ? this.disable() : this.enable();
|
|
584
|
+
this.j.e.fire('updateToolbar');
|
|
585
|
+
}
|
|
586
|
+
constructor(jodit) {
|
|
587
|
+
super(jodit);
|
|
588
|
+
/** @override */
|
|
589
|
+
this.buttons = [
|
|
590
|
+
{
|
|
591
|
+
name: 'showBlocks',
|
|
592
|
+
group: 'state'
|
|
593
|
+
}
|
|
594
|
+
];
|
|
595
|
+
/**
|
|
596
|
+
* Show block is enabled
|
|
597
|
+
*/
|
|
598
|
+
this.isEnabled = false;
|
|
599
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_4__/* .extendLang */ .xl)(__webpack_require__(60841));
|
|
600
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon.set */ .J.set('showBlocks', __webpack_require__(23530));
|
|
601
|
+
}
|
|
602
|
+
/** @override */
|
|
603
|
+
afterInit(jodit) {
|
|
604
|
+
jodit.e.on('showBlocksEnabled', () => this.isEnabled);
|
|
605
|
+
jodit
|
|
606
|
+
.registerCommand('enableShowBlocks', this.enable)
|
|
607
|
+
.registerCommand('disableShowBlocks', this.disable)
|
|
608
|
+
.registerCommand('toggleShowBlocks', this.toggle);
|
|
609
|
+
if (this.j.o.showBlocks.enable) {
|
|
610
|
+
this.enable();
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
/** @override */
|
|
614
|
+
beforeDestruct(jodit) {
|
|
615
|
+
this.disable();
|
|
616
|
+
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__/* .Dom.safeRemove */ .i.safeRemove(this.style);
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
/** @override */
|
|
620
|
+
showBlocks.requires = ['license'];
|
|
621
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .gn)([
|
|
622
|
+
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.cache
|
|
623
|
+
], showBlocks.prototype, "style", null);
|
|
624
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .gn)([
|
|
625
|
+
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.autobind
|
|
626
|
+
], showBlocks.prototype, "enable", null);
|
|
627
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .gn)([
|
|
628
|
+
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.autobind
|
|
629
|
+
], showBlocks.prototype, "disable", null);
|
|
630
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .gn)([
|
|
631
|
+
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.autobind
|
|
632
|
+
], showBlocks.prototype, "toggle", null);
|
|
633
|
+
_JoditPro__WEBPACK_IMPORTED_MODULE_6__/* .JoditPro.plugins.add */ .y.plugins.add('show-blocks', showBlocks);
|
|
634
|
+
|
|
635
|
+
|
|
636
|
+
/***/ })
|
|
637
|
+
|
|
638
|
+
},
|
|
639
|
+
/******/ function(__webpack_require__) { // webpackRuntimeModules
|
|
640
|
+
/******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
|
|
641
|
+
/******/ var __webpack_exports__ = (__webpack_exec__(87998));
|
|
642
|
+
/******/ return __webpack_exports__;
|
|
643
|
+
/******/ }
|
|
644
|
+
]);
|
|
645
|
+
});
|