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,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";((t,e)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var r=e();for(var n in r)("object"==typeof exports?exports:t)[n]=r[n]}})(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[92],{12750(t,e,r){r.d(e,{C(){return s}});const n={"text-justify":["inter-ideograph"]};function s(t){return t.isElement&&t.attributes.style&&Object.keys(n).forEach((e=>{const r=n[e];t.style.has(e)&&r.includes(""+t.style.get(e))&&t.style.set(e,null)})),t}},76995(t,e,r){r.d(e,{i(){return s}});const n=["cellspacing","cellpadding","border","v:shapes","o:spid"];function s(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 n)t.attributes[e]&&(t.attributes[e]=null);return t}},53614(t,e,r){r.d(e,{a(){return s}});var n=r(73076);const s=t=>(t.attributes.class&&(t.attributes.class=t.attributes.class.replace(/(el\d+)|(font\d+)|msonormal|msolistparagraph\w*/gi,""),(0,n.f)(t.attributes.class)||(t.attributes.class=null)),t)},50353(t,e,r){r.d(e,{b(){return s}});var n=r(18352);const s=(t,{jodit:e})=>{if(!e.o.pasteFromWord.convertUnitsToPixel)return t;const{style:r}=t;return r.forEach((t=>{const e=r.get(t);e&&r.set(t,(""+e).replace(/\d+(\.\d+)?(pt|cm)/g,(t=>(0,n.Lp)(t)+"px")))})),t}},45054(t,e,r){r.d(e,{S(){return o}});var n=r(18352),s=r(93310),i=r(11612),a=r(19438);function o(t){if((0,s.Hh)(t)){t.name="li",t.style.set("text-indent",null);const e=l(t),r=/[\da-np-zA-NP-Z].?/.test(e)?"ol":"ul",i=((t,e)=>{for(const e in a.Y1)if(RegExp(e).test(t))return a.Y1[e];return"ol"===e?"decimal":"disc"})(e,r);t.attributes[a.YJ]=r,t.attributes[a.Jf]=i,(0,n.rd)(t),(t=>{for(;t;){const e=t.previousElement;if(!(0,s.Be)(e)&&!(0,s.nq)(e))break;if((0,s.Be)(e)){if(e.attributes[a.Ki]>t.attributes[a.Ki])break;if(t.attributes[a.Ki]===e.attributes[a.Ki]&&t.parent&&(0,s.Y4)(t,t.parent))break;e.append(t);continue}const r=e;if(r.attributes[a.Ki]>t.attributes[a.Ki])break;if(t.attributes[a.Ki]===r.attributes[a.Ki]&&!(0,s.Y4)(t,r))break;r.append(t)}})(t);const{parent:o}=t;if(!(0,s.nq)(o)||!(0,s.Y4)(t,o)){const l=((t,e,r,i)=>{const o=t.wrap(e);return o.attributes.start=(0,n.Sg)(r),o.attributes[a.Ki]=t.attributes[a.Ki],o.attributes[a.Jf]=t.attributes[a.Jf],o.attributes[a.m3]=t.attributes[a.Jf],o.style.set(a.zQ,i),(t=>{!(0,s.nq)(t)||"li"===t.parent?.name||"disc"!==t.style.get(a.zQ)&&"decimal"!==t.style.get(a.zQ)||t.style.set(a.zQ,null)})(o),o})(t,r,e,i);return(0,s.nq)(o)&&(l.remove(),o.lastElement?.append(l)),t}}return t}const l=t=>t.textBetween((t=>t.isComment&&/\[if.*supportLists.*]/.test((0,s.dy)(t))),(t=>t.isComment&&/\[endif]/.test((0,s.dy)(t)))).replace(/ /g,"").replace((0,i.SPACE_REG_EXP)(),"")},44669(t,e,r){r.d(e,{c(){return g}});var n=r(45054),s=r(76995),i=r(76148),a=r(38450),o=r(33135),l=r(50353),u=r(53614),c=r(62094),d=r(83432),p=r(38933),f=r(50374),h=r(38535),m=r(12750);const g=[h.F,f.a,i.p,a.G,s.i,n.S,c.z,o.m,l.b,u.a,d.r,p.Y,m.C]},50374(t,e,r){r.d(e,{a(){return n}});const n=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(t,e,r){r.d(e,{r(){return n}});const n=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(t,e,r){r.d(e,{F(){return s}});var n=r(95582);const s=(t,e)=>{if(e.rtf&&"#comment"===t.name&&t.attributes.nodeValue&&-1!==t.attributes.nodeValue.indexOf("<v:shape")){e.shapes||(e.shapes={});const r=e.jodit.create.fromHTML(t.attributes.nodeValue);return(0,n.toArray)(r.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=e.shapes?.[t.attributes["v:shapes"]];if(r){const n=e.imageMap??{};e.imageMap||(e.imageMap=n,i(e.rtf,"i","\\shppict",e.imageMap),i(e.rtf,"s","\\shp{",e.imageMap));const s=n[r.substring(7)];if(s){const e=[],r=s.hex.match(/[0-9a-f]{2}/gi);if(r){for(let t=0;r.length>t;t++)e.push(String.fromCharCode(parseInt(r[t],16)));t.attributes.src="data:"+s.type+";base64,"+btoa(e.join(""))}}}}return t};function i(t,e,r,n){const s=t.split(r);for(const t of s){const r=t.split("shplid");if(r.length>1){const t=r[1];let s="";for(let e=0;t.length>e&&!/[{ \r\n\\]/.test(t[e]);e++)s+=t[e];const i=t.split("bliptag");if(i&&2>i.length)continue;let a=null;if(i[0].indexOf("pngblip")?a="image/png":-1!==i[0].indexOf("jpegblip")&&(a="image/jpeg"),!a)continue;const o=i[1].split("}");if(o&&2>o.length)continue;let l;if(o.length>2&&o[0].includes("blipuid"))l=o[1].split(" ");else{if(l=o[0].split(" "),l&&2>l.length)continue;l.shift()}n[e+s]={hex:l.join(""),type:a}}}}},62094(t,e,r){r.d(e,{z(){return n}});const n=(t,e)=>{const r=e.links??{};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(t,e,r){r.d(e,{p(){return s}});const n=new Set(["o:p","xml","script","meta","link","v:imagedata","style"]);function s(t){return"none"===t.style.get("display")||0===t.length&&"span"===t.name||n.has(t.name)?(t.remove(),null):t}},33135(t,e,r){r.d(e,{m(){return i}});var n=r(93310);let s=0;function i(t){return t.isComment&&/\[if.*(supportLists|gte vml).*]/.test((0,n.dy)(t))&&(s++,t.remove()),t.isComment&&s>0&&(0,n.dy)(t).includes("[endif]")&&(s=s>0?s-1:0,t.remove()),s&&(t.isText||"img"===t.name&&(!t.attributes.src||/^file:/.test(t.attributes.src)))?(t.remove(),null):t}},38450(t,e,r){r.d(e,{G(){return s}});const n={i:"em",b:"strong"};function s(t){const{name:e}=t;return e in n&&(t.name=n[e]),t}},38933(t,e,r){r.d(e,{Y(){return n}});const n=t=>(!t.attributes.width||"th"!==t.name&&"td"!==t.name||(t.attributes.width=null),t)},48077(t,e,r){r(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(t,e,r){r.d(e,{Jf(){return i},Ki(){return n},Y1(){return l},YJ(){return s},m3(){return a},zQ(){return o}});const n="jd-list-level",s="jd-list-type",i="jd-list-style-type",a="data-list-style-type",o="list-style-type",l={"·":"disc",o:"circle","§":"square","[ivx]":"lower-roman","[IVX]":"upper-roman","[a-z]":"lower-alpha","[A-Z]":"upper-alpha","\\d":"decimal"}},69111(t,e,r){r.d(e,{Be(){return a},Hh(){return o},Y4(){return l},nq(){return i}});var n=r(12787),s=r(19438);function i(t){return!(!t||"ol"!==t.name&&"ul"!==t.name)}function a(t){return!(!t||"li"!==t.name)}function o(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)&&!!t.find((t=>t.isComment&&(0,n.d)(t).includes("supportLists"))).length}function l(t,e){return!(e.name!==t.attributes[s.YJ]||e.attributes[s.Jf]!==t.attributes[s.Jf]||t.attributes[s.Ki]!==e.attributes[s.Ki])}},84300(t,e,r){r.d(e,{n(){return l}});var n=r(8138),s=r(11612),i=(r(95582),r(12787)),a=r(12481);const o=new Set(s.INSEPARABLE_TAGS);class l{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 o.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=(t=>{const e={};if(n.i.isElement(t))for(let r=0,n=t.attributes;n.length>r;r+=1)e[n[r].name]=n[r].value;else e.nodeValue=t.nodeValue;return e})(t),this.style=new a.b(this.attributes.style),this.children=[],t.childNodes.forEach((t=>this.children.push(l.make(t,this))))}static make(t,e=null){return new l(t,e)}wrap(t){const e=l.make(document.createElement(t),this.parent),r=this.parent.children.indexOf(this)??-1;return-1===r?this.parent.append(e):this.parent.children[r]=e,e.append(this),e}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 r=e-1;r>=0;r-=1)if(t[r].isElement)return t[r];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(){return this.sibling(!1)??this.parent?.previous??null}get next(){return this.sibling(!0)??this.parent?.next??null}sibling(t){if(!this.parent)return null;const{children:e}=this.parent,r=e.indexOf(this);return-1!==r&&e[r+(t?1:-1)]?e[r+(t?1:-1)]:null}forEach(t,e=!1){const r=[...this.children];for(const n of r){if(!1===t(n))return!1;if(e&&!1===n.forEach(t,!0))return!1}}find(t,e=!0){const r=[];return this.forEach((e=>{t(e)&&r.push(e)}),e),r}map(t){return this.children.map(t)}remove(){const t=this.parent?.children.indexOf(this);return null!=t&&-1!==t&&this.parent?.children.splice(t,1),this}textBetween(t,e){let r=!1;const n=[];return this.forEach((s=>{if(!r&&t(s)&&(r=!0),r&&s.isText&&n.push((0,i.d)(s)),r&&e(s))return!1}),!0),n.join("")}}},93310(t,e,r){r.d(e,{Be(){return n.Be},C7(){return i.C},Hh(){return n.Hh},Y4(){return n.Y4},dy(){return i.d},nK(){return s.n},nq(){return n.nq}});var n=r(69111),s=r(84300),i=r(12787)},12787(t,e,r){r.d(e,{C(){return l},d(){return a}});var n=r(11612),s=r(46232),i=r(73076);function a(t,e=(()=>!0),r=!0,s){switch(!0){case t.isComment:case t.isText:{if(!e(t))return"";const{nodeValue:r}=t.attributes;return t.isComment?`\x3c!--${r}--\x3e`:r}case t.isElement:{const{attributes:n}=t,i=l(t,e,r,s);if(!t.attributes["jd-safe"]&&r&&0===i.replace(/[\n\t]/g,"").length&&!t.isSingle)return"";const a=Object.keys(n).map((t=>"style"===t||null==n[t]||/^jd-/.test(t)?"":`${t}="${u(n[t])}"`)).filter(Boolean),{str:c}=t.style,d=u(c((t=>o(t,s))));if(d&&a.push(`style="${d}"`),r&&0===a.length&&["span","a"].includes(t.name))return i;const p=a.length?" "+a.join(" "):"";return e(t)?t.isSingle?`<${t.name}${p}/>`:`<${t.name}${p}>${i}</${t.name}>`:i}default:if(!n.IS_PROD)throw Error("Need implementation for this type")}return""}function o(t,e){if(!e)return!0;if(o.cache.has(e)){const r=o.cache.get(e)?.get(t);if((0,s.j)(r))return r}const r=e.some((e=>RegExp(e).test(t))),n=o.cache.get(e)||new Map;return n.set(t,r),o.cache.set(e,n),r}function l(t,e=(()=>!0),r=!0,n){let s=t.map((t=>a(t,e,r,n))).join("");return"p"===t.name&&0===(0,i.f)(s).length&&(s=" "),s}function u(t){return(""+t).replace(/"/g,""")}o.cache=new WeakMap},12481(t,e,r){r.d(e,{b(){return o}});var n=r(97582),s=r(95582),i=r(50526),a=r(18352);let o=class t{constructor(t){this._data=l(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){return this._data[t]??null}has(t){return void 0!==this._data[t]}add(t,e){return this._data=l(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))),r=t=>(0,s.isString)(t)?/^0[a-z]+$/i.test(t)?"0":t:""+t;return["padding","margin"].forEach((t=>{if(this._data[t]){const n=e.indexOf(t),s=(0,a.Wb)(this._data[t]);["top","right","bottom","left"].forEach(((i,a)=>{const o=`${t}-${i}`,l=this._data[o];null==l||e.indexOf(o)>=n&&r(s[a])!==r(l)||-1!==e.indexOf(o)&&e.splice(e.indexOf(o),1)}))}})),e.length?e.map((t=>`${(0,s.kebabCase)(t)}:${this.get(t)}`)).join(";"):""}};function l(t){return(t=>{const e={},r=[];for(let n=t.length-1;n>=0;n-=1){const s=t[n][0];e[s]||(e[s]=!0,r.unshift(t[n]))}return r})((t??"").replace(/"/g,'"').split(";").filter(Boolean).map((t=>(0,s.trim)(t).split(":").map(s.trim)))).reduce(((t,[e,r])=>(e&&r&&(t[e]=r),t)),{})}o=(0,n.gn)([i.autobind],o)},12049(t,e,r){r.d(e,{x(){return o}});var n=r(95582),s=r(44913),i=r(79374),a=r(93310);function o(t,e,r,o=""){const l=document.createElement("iframe");l.style.display="none",document.body.appendChild(l);try{const s=l.contentDocument??l.contentWindow?.document;if(!s)return e;s.open(),s.write(e),s.close();const u="jd-style";for(let t=0;s.styleSheets.length>t;t+=1)try{const e=s.styleSheets[t].cssRules;for(let t=0;e.length>t;t+=1)e[t].selectorText&&(0,n.$$)(e[t].selectorText,s.body).forEach((r=>{(0,n.attr)(r,u)||((0,n.attr)(r,u,(0,n.attr)(r,"style")||""),(0,n.attr)(r,"style","")),(0,n.attr)(r,"style",`${(0,n.attr)(r,"style")};${e[t].style.cssText}`)}))}catch(t){}return(0,n.$$)(`[${u}]`,s.body).forEach((t=>{(0,n.attr)(t,"style",`${(0,n.attr)(t,"style")};${(0,n.attr)(t,u)}`)})),(0,i.W)(t,a.nK.make(s.body),r,o)}finally{s.i.safeRemove(l)}return e}},45394(t,e,r){r.d(e,{r(){return a}});var n=r(93310),s=r(19438),i=r(81723);function a(t){if(void 0!==t.attributes[s.Ki])return;const e=[(0,i.D4)(t)],r=[t];let a=t.next;for(;a;){if(a.isElement&&!a.attributes[s.Ki]&&(0,n.Hh)(a)){const t=(0,i.D4)(a);t&&(e.push(t),r.push(a))}a=a.next}const o=Math.min(...e.filter((t=>t>0)));let l=e.map((t=>Math.ceil(t/10)));-1!==l.indexOf(0)&&(l=l.map((t=>t+1))),r.forEach(((t,e)=>{t.attributes[s.Ki]=l[e],t.style.add("margin-left",Math.max((0,i.D4)(t)-10*l[e]/o*40,0)+"px")}))}},81723(t,e,r){function n(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 s;function i(t){if("number"==typeof t)return t;if(/%$/.test(t))return 0;s||(s=document.createElement("div"),Object.assign(s.style,{position:"absolute",left:"-9999px",top:"-9999px",margin:"0",padding:"0",border:"0"}),document.body.append(s),setTimeout((()=>{s?.remove(),s=null})));const e=0>parseFloat(t);e&&(t=t.replace("-","")),s.style.width=t;const r=s.clientWidth;return e?-r:r}function a(t){const{style:e}=t;let r=[0,0,0,0];const s=e.keys.filter((t=>/margin/.test(t))),a=Math.max(s.indexOf("margin-left"),s.indexOf("margin")),o=a>0?s[a]:"margin-left";let l;return"margin"===o?(r=n(e.get("margin")),l=r[3]||0):l=e.get(o)||0,i(l)}function o(t){return/\d.\d/.test(t)?t.split(".").pop()||null:/^\d/.test(t)?""+(parseInt(t,10)||1):null}r.d(e,{D4(){return a},Lp(){return i},Sg(){return o},Wb(){return n}})},18352(t,e,r){r.d(e,{Lp(){return n.Lp},Sg(){return n.Sg},Wb(){return n.Wb},rd(){return i.r},xk(){return s.x}});var n=r(81723),s=r(12049),i=(r(79374),r(45394))},79374(t,e,r){r.d(e,{W(){return a}});var n=r(44669),s=r(73076),i=r(93310);function a(t,e,r,a){const o={jodit:t,rtf:a};return e.forEach((function t(e){if(e){for(const t of n.c)if(null==(e=t(e,o)))break;e?.forEach(t)}})),r&&e.forEach((t=>{t.style.clear()}),!0),(0,s.f)((0,i.C7)(e,(t=>!t.isComment),!0,t.o.pasteFromWord.allowedStyleProps))}},70322(t,e,r){r.r(e),r.d(e,{PasteFromWordPro(){return u}});var n=r(88292),s=r(11612),i=r(4682),a=r(79501),o=r(18352),l=(r(48077),r(54625));class u extends a.L{insertFromWordByType(t,e,r,n){if(!this.j.o.pasteFromWord.enable||r!==s.INSERT_AS_HTML&&r!==s.INSERT_AS_TEXT)return super.insertFromWordByType(t,e,r,n);if(e=(0,o.xk)(this.j,e,r===s.INSERT_AS_TEXT,n.rtf),this.j.o.beautifyHTML){const t=this.j.events?.fire("beautifyHTML",e);(0,i.H)(t)&&(e=t)}(0,l.kU)(t,this.j,e)}}u.requires=["license"],n.y.plugins.remove("pasteFromWord"),n.y.plugins.add("pasteFromWordPro",u)}},t=>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
|
+
});
|