jodit-pro 4.7.3 → 4.7.6
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/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +2 -2
- package/es2015/jodit.min.js +2 -2
- package/es2015/plugins/autocomplete/autocomplete.js +1 -1
- package/es2015/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2015/plugins/backup/backup.css +1 -1
- package/es2015/plugins/backup/backup.js +1 -1
- package/es2015/plugins/backup/backup.min.js +1 -1
- package/es2015/plugins/button-generator/button-generator.css +1 -1
- package/es2015/plugins/button-generator/button-generator.js +1 -1
- package/es2015/plugins/button-generator/button-generator.min.js +1 -1
- package/es2015/plugins/change-case/change-case.js +1 -1
- package/es2015/plugins/change-case/change-case.min.js +1 -1
- package/es2015/plugins/color-picker/color-picker.css +1 -1
- package/es2015/plugins/color-picker/color-picker.js +1 -1
- package/es2015/plugins/color-picker/color-picker.min.js +1 -1
- package/es2015/plugins/emoji/emoji.css +1 -1
- package/es2015/plugins/emoji/emoji.js +1 -1
- package/es2015/plugins/emoji/emoji.min.js +1 -1
- package/es2015/plugins/export-docs/export-docs.js +1 -1
- package/es2015/plugins/export-docs/export-docs.min.js +1 -1
- package/es2015/plugins/finder/finder.css +1 -1
- package/es2015/plugins/finder/finder.js +1 -1
- package/es2015/plugins/finder/finder.min.js +1 -1
- package/es2015/plugins/google-maps/google-maps.css +1 -1
- package/es2015/plugins/google-maps/google-maps.js +1 -1
- package/es2015/plugins/google-maps/google-maps.min.js +1 -1
- package/es2015/plugins/google-search/google-search.js +1 -1
- package/es2015/plugins/google-search/google-search.min.js +1 -1
- package/es2015/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2015/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2015/plugins/keyboard/keyboard.css +1 -1
- package/es2015/plugins/keyboard/keyboard.js +1 -1
- package/es2015/plugins/keyboard/keyboard.min.js +1 -1
- package/es2015/plugins/mobile-view/mobile-view.js +1 -1
- package/es2015/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2015/plugins/page-break/page-break.js +1 -1
- package/es2015/plugins/page-break/page-break.min.js +1 -1
- package/es2015/plugins/paste-code/paste-code.css +1 -1
- package/es2015/plugins/paste-code/paste-code.js +1 -1
- package/es2015/plugins/paste-code/paste-code.min.js +1 -1
- package/es2015/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2015/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2015/plugins/show-blocks/show-blocks.js +1 -1
- package/es2015/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2015/plugins/todo-list/todo-list.css +1 -1
- package/es2015/plugins/todo-list/todo-list.js +1 -1
- package/es2015/plugins/todo-list/todo-list.min.js +1 -1
- package/es2015/plugins/translate/translate.css +1 -1
- package/es2015/plugins/translate/translate.js +1 -1
- package/es2015/plugins/translate/translate.min.js +1 -1
- package/es2015/plugins/tune-block/tune-block.css +1 -1
- package/es2015/plugins/tune-block/tune-block.js +1 -1
- package/es2015/plugins/tune-block/tune-block.min.js +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2018/plugins/backup/backup.min.js +1 -1
- package/es2018/plugins/button-generator/button-generator.min.js +1 -1
- package/es2018/plugins/change-case/change-case.min.js +1 -1
- package/es2018/plugins/color-picker/color-picker.min.js +1 -1
- package/es2018/plugins/emoji/emoji.min.js +1 -1
- package/es2018/plugins/export-docs/export-docs.min.js +1 -1
- package/es2018/plugins/finder/finder.min.js +1 -1
- package/es2018/plugins/google-maps/google-maps.min.js +1 -1
- package/es2018/plugins/google-search/google-search.min.js +1 -1
- package/es2018/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2018/plugins/keyboard/keyboard.min.js +1 -1
- package/es2018/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2018/plugins/page-break/page-break.min.js +1 -1
- package/es2018/plugins/paste-code/paste-code.min.js +1 -1
- package/es2018/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2018/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2018/plugins/todo-list/todo-list.min.js +1 -1
- package/es2018/plugins/translate/translate.min.js +1 -1
- package/es2018/plugins/tune-block/tune-block.min.js +1 -1
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +2 -2
- package/es2021/jodit.min.js +2 -2
- package/es2021/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2021/plugins/backup/backup.css +1 -1
- package/es2021/plugins/backup/backup.js +1 -1
- package/es2021/plugins/backup/backup.min.js +1 -1
- package/es2021/plugins/button-generator/button-generator.css +1 -1
- package/es2021/plugins/button-generator/button-generator.js +1 -1
- package/es2021/plugins/button-generator/button-generator.min.js +1 -1
- package/es2021/plugins/change-case/change-case.js +1 -1
- package/es2021/plugins/change-case/change-case.min.js +1 -1
- package/es2021/plugins/color-picker/color-picker.css +1 -1
- package/es2021/plugins/color-picker/color-picker.js +1 -1
- package/es2021/plugins/color-picker/color-picker.min.js +1 -1
- package/es2021/plugins/emoji/emoji.css +1 -1
- package/es2021/plugins/emoji/emoji.js +1 -1
- package/es2021/plugins/emoji/emoji.min.js +1 -1
- package/es2021/plugins/export-docs/export-docs.js +1 -1
- package/es2021/plugins/export-docs/export-docs.min.js +1 -1
- package/es2021/plugins/finder/finder.css +1 -1
- package/es2021/plugins/finder/finder.js +1 -1
- package/es2021/plugins/finder/finder.min.js +1 -1
- package/es2021/plugins/google-maps/google-maps.css +1 -1
- package/es2021/plugins/google-maps/google-maps.js +1 -1
- package/es2021/plugins/google-maps/google-maps.min.js +1 -1
- package/es2021/plugins/google-search/google-search.js +1 -1
- package/es2021/plugins/google-search/google-search.min.js +1 -1
- package/es2021/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2021/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2021/plugins/keyboard/keyboard.css +1 -1
- package/es2021/plugins/keyboard/keyboard.js +1 -1
- package/es2021/plugins/keyboard/keyboard.min.js +1 -1
- package/es2021/plugins/mobile-view/mobile-view.js +1 -1
- package/es2021/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2021/plugins/page-break/page-break.js +1 -1
- package/es2021/plugins/page-break/page-break.min.js +1 -1
- package/es2021/plugins/paste-code/paste-code.css +1 -1
- package/es2021/plugins/paste-code/paste-code.js +1 -1
- package/es2021/plugins/paste-code/paste-code.min.js +1 -1
- package/es2021/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2021/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2021/plugins/show-blocks/show-blocks.js +1 -1
- package/es2021/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2021/plugins/todo-list/todo-list.css +1 -1
- package/es2021/plugins/todo-list/todo-list.js +1 -1
- package/es2021/plugins/todo-list/todo-list.min.js +1 -1
- package/es2021/plugins/translate/translate.css +1 -1
- package/es2021/plugins/translate/translate.js +1 -1
- package/es2021/plugins/translate/translate.min.js +1 -1
- package/es2021/plugins/tune-block/tune-block.css +1 -1
- package/es2021/plugins/tune-block/tune-block.js +1 -1
- package/es2021/plugins/tune-block/tune-block.min.js +1 -1
- package/es2021.en/jodit.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +2 -2
- package/es2021.en/jodit.min.js +2 -2
- package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021.en/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2021.en/plugins/backup/backup.css +1 -1
- package/es2021.en/plugins/backup/backup.js +1 -1
- package/es2021.en/plugins/backup/backup.min.js +1 -1
- package/es2021.en/plugins/button-generator/button-generator.css +1 -1
- package/es2021.en/plugins/button-generator/button-generator.js +1 -1
- package/es2021.en/plugins/button-generator/button-generator.min.js +1 -1
- package/es2021.en/plugins/change-case/change-case.js +1 -1
- package/es2021.en/plugins/change-case/change-case.min.js +1 -1
- package/es2021.en/plugins/color-picker/color-picker.css +1 -1
- package/es2021.en/plugins/color-picker/color-picker.js +1 -1
- package/es2021.en/plugins/color-picker/color-picker.min.js +1 -1
- package/es2021.en/plugins/emoji/emoji.css +1 -1
- package/es2021.en/plugins/emoji/emoji.js +1 -1
- package/es2021.en/plugins/emoji/emoji.min.js +1 -1
- package/es2021.en/plugins/export-docs/export-docs.js +1 -1
- package/es2021.en/plugins/export-docs/export-docs.min.js +1 -1
- package/es2021.en/plugins/finder/finder.css +1 -1
- package/es2021.en/plugins/finder/finder.js +1 -1
- package/es2021.en/plugins/finder/finder.min.js +1 -1
- package/es2021.en/plugins/google-maps/google-maps.css +1 -1
- package/es2021.en/plugins/google-maps/google-maps.js +1 -1
- package/es2021.en/plugins/google-maps/google-maps.min.js +1 -1
- package/es2021.en/plugins/google-search/google-search.js +1 -1
- package/es2021.en/plugins/google-search/google-search.min.js +1 -1
- package/es2021.en/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2021.en/plugins/keyboard/keyboard.css +1 -1
- package/es2021.en/plugins/keyboard/keyboard.js +1 -1
- package/es2021.en/plugins/keyboard/keyboard.min.js +1 -1
- package/es2021.en/plugins/mobile-view/mobile-view.js +1 -1
- package/es2021.en/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2021.en/plugins/page-break/page-break.js +1 -1
- package/es2021.en/plugins/page-break/page-break.min.js +1 -1
- package/es2021.en/plugins/paste-code/paste-code.css +1 -1
- package/es2021.en/plugins/paste-code/paste-code.js +1 -1
- package/es2021.en/plugins/paste-code/paste-code.min.js +1 -1
- package/es2021.en/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2021.en/plugins/show-blocks/show-blocks.js +1 -1
- package/es2021.en/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2021.en/plugins/todo-list/todo-list.css +1 -1
- package/es2021.en/plugins/todo-list/todo-list.js +1 -1
- package/es2021.en/plugins/todo-list/todo-list.min.js +1 -1
- package/es2021.en/plugins/translate/translate.css +1 -1
- package/es2021.en/plugins/translate/translate.js +1 -1
- package/es2021.en/plugins/translate/translate.min.js +1 -1
- package/es2021.en/plugins/tune-block/tune-block.css +1 -1
- package/es2021.en/plugins/tune-block/tune-block.js +1 -1
- package/es2021.en/plugins/tune-block/tune-block.min.js +1 -1
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +2 -2
- package/es5/jodit.min.css +2 -2
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/autocomplete/autocomplete.js +1 -1
- package/es5/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es5/plugins/backup/backup.css +1 -1
- package/es5/plugins/backup/backup.js +1 -1
- package/es5/plugins/backup/backup.min.js +1 -1
- package/es5/plugins/button-generator/button-generator.css +1 -1
- package/es5/plugins/button-generator/button-generator.js +1 -1
- package/es5/plugins/button-generator/button-generator.min.js +1 -1
- package/es5/plugins/change-case/change-case.js +1 -1
- package/es5/plugins/change-case/change-case.min.js +1 -1
- package/es5/plugins/color-picker/color-picker.css +1 -1
- package/es5/plugins/color-picker/color-picker.js +1 -1
- package/es5/plugins/color-picker/color-picker.min.js +1 -1
- package/es5/plugins/emoji/emoji.css +1 -1
- package/es5/plugins/emoji/emoji.js +1 -1
- package/es5/plugins/emoji/emoji.min.js +1 -1
- package/es5/plugins/export-docs/export-docs.js +1 -1
- package/es5/plugins/export-docs/export-docs.min.js +1 -1
- package/es5/plugins/finder/finder.css +1 -1
- package/es5/plugins/finder/finder.js +1 -1
- package/es5/plugins/finder/finder.min.js +1 -1
- package/es5/plugins/google-maps/google-maps.css +1 -1
- package/es5/plugins/google-maps/google-maps.js +1 -1
- package/es5/plugins/google-maps/google-maps.min.js +1 -1
- package/es5/plugins/google-search/google-search.js +1 -1
- package/es5/plugins/google-search/google-search.min.js +1 -1
- package/es5/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es5/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es5/plugins/keyboard/keyboard.css +1 -1
- package/es5/plugins/keyboard/keyboard.js +1 -1
- package/es5/plugins/keyboard/keyboard.min.js +1 -1
- package/es5/plugins/mobile-view/mobile-view.js +1 -1
- package/es5/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es5/plugins/page-break/page-break.js +1 -1
- package/es5/plugins/page-break/page-break.min.js +1 -1
- package/es5/plugins/paste-code/paste-code.css +1 -1
- package/es5/plugins/paste-code/paste-code.js +1 -1
- package/es5/plugins/paste-code/paste-code.min.js +1 -1
- package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es5/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es5/plugins/show-blocks/show-blocks.js +1 -1
- package/es5/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es5/plugins/todo-list/todo-list.css +1 -1
- package/es5/plugins/todo-list/todo-list.js +1 -1
- package/es5/plugins/todo-list/todo-list.min.js +1 -1
- package/es5/plugins/translate/translate.css +1 -1
- package/es5/plugins/translate/translate.js +1 -1
- package/es5/plugins/translate/translate.min.js +1 -1
- package/es5/plugins/tune-block/tune-block.css +1 -1
- package/es5/plugins/tune-block/tune-block.js +1 -1
- package/es5/plugins/tune-block/tune-block.min.js +1 -1
- package/es5/polyfills.fat.min.js +1 -1
- package/es5/polyfills.js +1 -1
- package/es5/polyfills.min.js +1 -1
- package/esm/config.js +1 -6
- package/esm/core/ui/form/range/range.js +1 -6
- package/esm/index.js +1 -6
- package/esm/jodit-pro.js +1 -6
- package/esm/plugins/all.js +1 -6
- package/esm/plugins/autocomplete/autocomplete.js +1 -6
- package/esm/plugins/autocomplete/config.js +1 -6
- package/esm/plugins/autocomplete/helpers.js +1 -6
- package/esm/plugins/autocomplete/interface.js +0 -6
- package/esm/plugins/autocomplete/ui/autocomplete.js +1 -6
- package/esm/plugins/autocomplete/ui/item.js +1 -6
- package/esm/plugins/backup/assets/restore.svg.js +1 -1
- package/esm/plugins/backup/backup.js +1 -6
- package/esm/plugins/backup/config.js +1 -6
- package/esm/plugins/backup/interface.js +0 -6
- package/esm/plugins/backup/langs/index.js +0 -6
- package/esm/plugins/backup/modules/store.js +1 -6
- package/esm/plugins/backup/ui/box.js +1 -6
- package/esm/plugins/backup/ui/item.js +1 -6
- package/esm/plugins/backup/ui/list.js +1 -6
- package/esm/plugins/button-generator/assets/check.svg.js +1 -1
- package/esm/plugins/button-generator/assets/styles.json.js +1 -1
- package/esm/plugins/button-generator/button-generator.js +1 -1
- package/esm/plugins/button-generator/config.js +1 -6
- package/esm/plugins/button-generator/icon.svg.js +1 -1
- package/esm/plugins/button-generator/ui/button/button.js +5 -1
- package/esm/plugins/button-generator/ui/form/form.js +79 -1
- package/esm/plugins/button-generator/ui/generator/button-generator.js +7 -6
- package/esm/plugins/button-generator/ui/preview/preview.js +4 -1
- package/esm/plugins/change-case/change-case.js +1 -6
- package/esm/plugins/change-case/config.js +1 -6
- package/esm/plugins/change-case/icon.svg.js +1 -1
- package/esm/plugins/color-picker/color-picker.js +1 -6
- package/esm/plugins/color-picker/ui/input/color-input.js +1 -6
- package/esm/plugins/emoji/config.js +1 -1
- package/esm/plugins/emoji/emoji.js +1 -6
- package/esm/plugins/emoji/emoji.json.js +1 -1
- package/esm/plugins/emoji/emoji.svg.js +1 -1
- package/esm/plugins/emoji/interface.js +0 -6
- package/esm/plugins/emoji/ui/emoji.js +1 -6
- package/esm/plugins/export-docs/assets/export.svg.js +1 -1
- package/esm/plugins/export-docs/config.js +1 -6
- package/esm/plugins/export-docs/export-docs.js +2 -6
- package/esm/plugins/finder/browser.js +1 -6
- package/esm/plugins/finder/config.js +1 -6
- package/esm/plugins/finder/finder.js +1 -6
- package/esm/plugins/finder/helpers/context-menu.js +1 -6
- package/esm/plugins/finder/helpers/helpers.js +1 -6
- package/esm/plugins/finder/helpers/history-manager.js +1 -6
- package/esm/plugins/finder/helpers/loading-manager.js +1 -6
- package/esm/plugins/finder/helpers/persistent-store.js +1 -6
- package/esm/plugins/finder/helpers/state-manager.js +1 -6
- package/esm/plugins/finder/langs/index.js +1 -6
- package/esm/plugins/finder/langs/ru.js +1 -6
- package/esm/plugins/finder/ui/assets/icons/heart.svg.js +1 -1
- package/esm/plugins/finder/ui/assets/icons/home.svg.js +1 -1
- package/esm/plugins/finder/ui/assets/icons/index.js +1 -6
- package/esm/plugins/finder/ui/assets/icons/new-folder.svg.js +1 -1
- package/esm/plugins/finder/ui/folder/folder.js +10 -6
- package/esm/plugins/finder/ui/header/header.js +1 -6
- package/esm/plugins/finder/ui/item/item.js +5 -6
- package/esm/plugins/finder/ui/lightboox/lightbox.js +6 -6
- package/esm/plugins/finder/ui/panel/panel.js +4 -6
- package/esm/plugins/finder/ui/preview/preview.js +6 -1
- package/esm/plugins/finder/ui/progress/progress.js +1 -1
- package/esm/plugins/finder/ui/settings/settings.js +5 -6
- package/esm/plugins/finder/ui/sidebar/sidebar.js +5 -1
- package/esm/plugins/finder/ui/source/source.js +4 -6
- package/esm/plugins/finder/ui/sources/sources.js +1 -6
- package/esm/plugins/finder/ui/statusbar/statusbar.js +5 -6
- package/esm/plugins/finder/ui/tree/tree.js +1 -6
- package/esm/plugins/finder/ui/virtual-scroll/virtual-scroll.js +5 -6
- package/esm/plugins/google-maps/assets/circle.svg.js +1 -1
- package/esm/plugins/google-maps/assets/hand.svg.js +1 -1
- package/esm/plugins/google-maps/assets/icon.svg.js +1 -1
- package/esm/plugins/google-maps/assets/index.js +1 -6
- package/esm/plugins/google-maps/assets/marker.svg.js +1 -1
- package/esm/plugins/google-maps/assets/polygon.svg.js +1 -1
- package/esm/plugins/google-maps/assets/polyline.svg.js +1 -1
- package/esm/plugins/google-maps/assets/text.svg.js +1 -1
- package/esm/plugins/google-maps/config.js +1 -6
- package/esm/plugins/google-maps/google-maps.js +1 -6
- package/esm/plugins/google-maps/helpers/const.js +1 -6
- package/esm/plugins/google-maps/helpers/generate-js-script.js +122 -1
- package/esm/plugins/google-maps/helpers/generate-static-elements.js +1 -6
- package/esm/plugins/google-maps/helpers/helpers.js +1 -6
- package/esm/plugins/google-maps/helpers/static-url.js +1 -6
- package/esm/plugins/google-maps/ui/combo-box/combo-box.js +1 -6
- package/esm/plugins/google-maps/ui/editors/base.js +5 -6
- package/esm/plugins/google-maps/ui/editors/index.js +1 -6
- package/esm/plugins/google-maps/ui/editors/marker/marker.js +1 -6
- package/esm/plugins/google-maps/ui/editors/polygon/polygon.js +1 -6
- package/esm/plugins/google-maps/ui/editors/polyline/polyline.js +1 -6
- package/esm/plugins/google-maps/ui/index.js +1 -6
- package/esm/plugins/google-maps/ui/map/map.js +5 -6
- package/esm/plugins/google-maps/ui/map/modules/add-new-in-state.js +1 -6
- package/esm/plugins/google-maps/ui/map/modules/index.js +1 -6
- package/esm/plugins/google-maps/ui/map/modules/init-or-update-element-from-state.js +1 -6
- package/esm/plugins/google-maps/ui/map/modules/on-change-geometries.js +1 -6
- package/esm/plugins/google-maps/ui/map/modules/open-props-dialog.js +1 -6
- package/esm/plugins/google-maps/ui/map/modules/remove-element.js +1 -6
- package/esm/plugins/google-maps/ui/map/modules/update-state-and-gme.js +1 -6
- package/esm/plugins/google-maps/ui/maps-controls/maps-controls.js +1 -6
- package/esm/plugins/google-maps/ui/maps-props/maps-props.js +1 -6
- package/esm/plugins/google-maps/ui/wysiwyg/wysiwyg.js +4 -6
- package/esm/plugins/google-search/google-search.js +1 -6
- package/esm/plugins/google-search/icon.svg.js +1 -1
- package/esm/plugins/highlight-signature/config.js +1 -1
- package/esm/plugins/highlight-signature/highlight-signature.js +1 -6
- package/esm/plugins/iframe-editor/config.js +1 -6
- package/esm/plugins/iframe-editor/icon.svg.js +1 -1
- package/esm/plugins/iframe-editor/iframe-editor.js +1 -6
- package/esm/plugins/iframe-editor/interface.js +0 -6
- package/esm/plugins/iframe-editor/ui/iframe-editor/iframe-editor.js +1 -6
- package/esm/plugins/index.js +1 -1
- package/esm/plugins/keyboard/config.js +1 -1
- package/esm/plugins/keyboard/icon.svg.js +1 -1
- package/esm/plugins/keyboard/interface.js +0 -6
- package/esm/plugins/keyboard/keyboard.js +1 -1
- package/esm/plugins/keyboard/ui/assets/backspace.svg.js +1 -1
- package/esm/plugins/keyboard/ui/assets/caps.svg.js +1 -1
- package/esm/plugins/keyboard/ui/assets/dots.svg.js +1 -1
- package/esm/plugins/keyboard/ui/assets/shift.svg.js +1 -1
- package/esm/plugins/keyboard/ui/assets/tab.svg.js +1 -1
- package/esm/plugins/keyboard/ui/keyboard/keyboard.js +3 -6
- package/esm/plugins/license/helpers/helpers.js +1 -6
- package/esm/plugins/license/license.js +1 -6
- package/esm/plugins/mobile-view/config.js +1 -6
- package/esm/plugins/mobile-view/icon.svg.js +1 -1
- package/esm/plugins/mobile-view/mobile-view.js +1 -6
- package/esm/plugins/page-break/assets/page-break.svg.js +1 -1
- package/esm/plugins/page-break/config.js +1 -6
- package/esm/plugins/page-break/page-break.css.js +18 -6
- package/esm/plugins/page-break/page-break.js +1 -6
- package/esm/plugins/paste-code/config.js +1 -6
- package/esm/plugins/paste-code/icon.svg.js +1 -1
- package/esm/plugins/paste-code/paste-code.js +1 -6
- package/esm/plugins/paste-from-word/cases/clean-styles.js +1 -6
- package/esm/plugins/paste-from-word/cases/clear-attributes.js +1 -6
- package/esm/plugins/paste-from-word/cases/clear-class-name.js +1 -6
- package/esm/plugins/paste-from-word/cases/convert-style-unit-to-pixels.js +1 -6
- package/esm/plugins/paste-from-word/cases/convert-to-list.js +1 -6
- package/esm/plugins/paste-from-word/cases/index.js +1 -6
- package/esm/plugins/paste-from-word/cases/mark-page-break.js +1 -6
- package/esm/plugins/paste-from-word/cases/normalize-image-props.js +1 -6
- package/esm/plugins/paste-from-word/cases/process-image.js +1 -6
- package/esm/plugins/paste-from-word/cases/process-links.js +1 -6
- package/esm/plugins/paste-from-word/cases/remove-extra-tags.js +1 -6
- package/esm/plugins/paste-from-word/cases/remove-inside-comment.js +1 -6
- package/esm/plugins/paste-from-word/cases/replace-old-tags.js +1 -6
- package/esm/plugins/paste-from-word/cases/table.js +1 -6
- package/esm/plugins/paste-from-word/config.js +1 -6
- package/esm/plugins/paste-from-word/constants.js +1 -6
- package/esm/plugins/paste-from-word/element/checkers.js +1 -6
- package/esm/plugins/paste-from-word/element/element.js +1 -6
- package/esm/plugins/paste-from-word/element/index.js +1 -6
- package/esm/plugins/paste-from-word/element/render.js +1 -6
- package/esm/plugins/paste-from-word/element/style.js +1 -6
- package/esm/plugins/paste-from-word/helpers/apply-styles-pro.js +1 -6
- package/esm/plugins/paste-from-word/helpers/calc-list-levels.js +1 -6
- package/esm/plugins/paste-from-word/helpers/helpers.js +1 -6
- package/esm/plugins/paste-from-word/helpers/index.js +1 -6
- package/esm/plugins/paste-from-word/helpers/transform-word-to-html.js +1 -6
- package/esm/plugins/paste-from-word/interface.js +0 -6
- package/esm/plugins/paste-from-word/paste-from-word.js +1 -6
- package/esm/plugins/show-blocks/config.js +1 -6
- package/esm/plugins/show-blocks/langs/ar.js +1 -6
- package/esm/plugins/show-blocks/langs/cs_cz.js +1 -6
- package/esm/plugins/show-blocks/langs/de.js +1 -6
- package/esm/plugins/show-blocks/langs/es.js +1 -6
- package/esm/plugins/show-blocks/langs/fa.js +1 -6
- package/esm/plugins/show-blocks/langs/fr.js +1 -6
- package/esm/plugins/show-blocks/langs/he.js +1 -6
- package/esm/plugins/show-blocks/langs/hu.js +1 -6
- package/esm/plugins/show-blocks/langs/id.js +1 -6
- package/esm/plugins/show-blocks/langs/index.js +1 -6
- package/esm/plugins/show-blocks/langs/it.js +1 -6
- package/esm/plugins/show-blocks/langs/ja.js +1 -6
- package/esm/plugins/show-blocks/langs/ko.js +1 -6
- package/esm/plugins/show-blocks/langs/nl.js +1 -6
- package/esm/plugins/show-blocks/langs/pl.js +1 -6
- package/esm/plugins/show-blocks/langs/pt_br.js +1 -6
- package/esm/plugins/show-blocks/langs/ru.js +1 -6
- package/esm/plugins/show-blocks/langs/tr.js +1 -6
- package/esm/plugins/show-blocks/langs/zh_cn.js +1 -6
- package/esm/plugins/show-blocks/langs/zh_tw.js +1 -6
- package/esm/plugins/show-blocks/show-blocks.js +7 -6
- package/esm/plugins/show-blocks/show-blocks.svg.js +1 -1
- package/esm/plugins/todo-list/assets/todo-list.svg.js +1 -1
- package/esm/plugins/todo-list/config.js +1 -6
- package/esm/plugins/todo-list/todo-list.js +1 -6
- package/esm/plugins/translate/assets/swap.svg.js +1 -1
- package/esm/plugins/translate/assets/translate.svg.js +1 -1
- package/esm/plugins/translate/config.js +1 -6
- package/esm/plugins/translate/interface.js +0 -6
- package/esm/plugins/translate/providers/google/google.js +1 -6
- package/esm/plugins/translate/providers/languages.js +1 -6
- package/esm/plugins/translate/replace-text-fragments.js +1 -1
- package/esm/plugins/translate/translate.js +1 -6
- package/esm/plugins/translate/ui/list/list.js +7 -6
- package/esm/plugins/translate/ui/settings/settings.js +7 -6
- package/esm/plugins/tune-block/config.js +3 -6
- package/esm/plugins/tune-block/tune-block.js +1 -6
- package/esm/plugins/tune-block/ui/tuner/icon.svg.js +1 -1
- package/esm/plugins/tune-block/ui/tuner/tuner.js +3 -6
- package/esm/traits/resize/resize.js +1 -6
- package/esm/traits/select-items/select-items.js +1 -6
- package/package.json +1 -1
- package/esm/tsconfig.json +0 -17
- package/types/tsconfig.json +0 -17
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
const t={"text-justify":["inter-ideograph"]};export function cleanStyles(e){return e.isElement&&e.attributes.style&&Object.keys(t).forEach(s=>{var l;const n=t[s];e.style.has(s)&&n.includes(null===(l=e.style.get(s))||void 0===l?void 0:l.toString())&&e.style.set(s,null)}),e}
|
|
1
|
+
var r=Object.defineProperty;var i=(t,s)=>r(t,"name",{value:s,configurable:!0});const n={"text-justify":["inter-ideograph"]};function a(t){return t.isElement&&t.attributes.style&&Object.keys(n).forEach(s=>{var e;const o=n[s];t.style.has(s)&&o.includes((e=t.style.get(s))===null||e===void 0?void 0:e.toString())&&t.style.set(s,null)}),t}i(a,"cleanStyles");export{a as cleanStyles};
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
const t=["cellspacing","cellpadding","border","v:shapes","o:spid"];export function clearAttributes(e){if(/^OLE_LINK\d+$/.test(e.attributes.name)&&(e.attributes.name=null,0===e.length))return e.remove(),null;"_GoBack"===e.attributes.name&&(e.attributes.name=null);for(const n of t)e.attributes[n]&&(e.attributes[n]=null);return e}
|
|
1
|
+
var e=Object.defineProperty;var a=(t,r)=>e(t,"name",{value:r,configurable:!0});const n=["cellspacing","cellpadding","border","v:shapes","o:spid"];function s(t){if(/^OLE_LINK\d+$/.test(t.attributes.name)&&(t.attributes.name=null,t.length===0))return t.remove(),null;t.attributes.name==="_GoBack"&&(t.attributes.name=null);for(const r of n)t.attributes[r]&&(t.attributes[r]=null);return t}a(s,"clearAttributes");export{s as clearAttributes};
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
import{trim as s}from"jodit/esm/core/helpers/string/trim.js";export const clearClassName=t=>(t.attributes.class&&(t.attributes.class=t.attributes.class.replace(/(el\d+)|(font\d+)|msonormal|msolistparagraph\w*/gi,""),s(t.attributes.class)||(t.attributes.class=null)),t);
|
|
1
|
+
var r=Object.defineProperty;var s=(t,a)=>r(t,"name",{value:a,configurable:!0});import{trim as i}from"jodit/esm/core/helpers/string/trim.js";const o=s(t=>(t.attributes.class&&(t.attributes.class=t.attributes.class.replace(/(el\d+)|(font\d+)|msonormal|msolistparagraph\w*/gi,""),i(t.attributes.class)||(t.attributes.class=null)),t),"clearClassName");export{o as clearClassName};
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
import{convertUnitToPx as t}from"../helpers/index.js";export const convertStyleUnitToPixels=(e,{jodit:o})=>{if(!o.o.pasteFromWord.convertUnitsToPixel)return e;const{style:r}=e;return r.forEach(e=>{const o=r.get(e);o&&r.set(e,o.toString().replace(/\d+(\.\d+)?(pt|cm)/g,e=>t(e)+"px"))}),e};
|
|
1
|
+
var s=Object.defineProperty;var c=(t,o)=>s(t,"name",{value:o,configurable:!0});import{convertUnitToPx as p}from"../helpers/index.js";const v=c((t,{jodit:o})=>{if(!o.o.pasteFromWord.convertUnitsToPixel)return t;const{style:r}=t;return r.forEach(e=>{const n=r.get(e);n&&r.set(e,n.toString().replace(/\d+(\.\d+)?(pt|cm)/g,i=>p(i)+"px"))}),t},"convertStyleUnitToPixels");export{v as convertStyleUnitToPixels};
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
import{SPACE_REG_EXP as t}from"jodit/esm/core/constants.js";import{LEVEL_KEY as e,listStyleMap as r,STYLE_CSS_KEY as n,STYLE_KEY as s,STYLE_VALID_KEY as i,TYPE_KEY as a}from"../constants.js";import{html as o,isLeaf as u,isList as l,isPseudoLeaf as p,isSameType as c}from"../element/index.js";import{calcListLevels as m,calcStartBySymbol as b}from"../helpers/index.js";export function convertToList(t){var o;if(p(t)){t.name="li",t.style.set("text-indent",null);const p=getSymbol(t),d=/[\da-np-zA-NP-Z].?/.test(p)?"ol":"ul",f=function defineOrderedListStyle(t,e){for(const e in r)if(RegExp(e).test(t))return r[e];return"ol"===e?"decimal":"disc"}(p,d);t.attributes[a]=d,t.attributes[s]=f,m(t),function moveUp(t){for(;t;){const r=t.previousElement;if(!u(r)&&!l(r))break;if(u(r)){if(t.attributes[e]<r.attributes[e])break;if(t.attributes[e]===r.attributes[e]&&t.parent&&c(t,t.parent))break;r.append(t);continue}const n=r;if(t.attributes[e]<n.attributes[e])break;if(t.attributes[e]===n.attributes[e]&&!c(t,n))break;n.append(t)}}(t);const{parent:v}=t;if(!l(v)||!c(t,v)){const r=function wrapInNewList(t,r,a,o){const u=t.wrap(r);return u.attributes.start=b(a),u.attributes[e]=t.attributes[e],u.attributes[s]=t.attributes[s],u.attributes[i]=t.attributes[s],u.style.set(n,o),removeRedundancyStyle(u),u}(t,d,p,f);return l(v)&&(r.remove(),null===(o=v.lastElement)||void 0===o||o.append(r)),t}}return t}export function removeRedundancyStyle(t){var e;!l(t)||"li"===(null===(e=t.parent)||void 0===e?void 0:e.name)||"disc"!==t.style.get(n)&&"decimal"!==t.style.get(n)||t.style.set(n,null)}const getSymbol=e=>e.textBetween(t=>t.isComment&&/\[if.*supportLists.*]/.test(o(t)),t=>t.isComment&&/\[endif]/.test(o(t))).replace(/ /g,"").replace(t(),"");
|
|
1
|
+
var l=Object.defineProperty;var n=(t,e)=>l(t,"name",{value:e,configurable:!0});import{SPACE_REG_EXP as S}from"jodit/esm/core/constants.js";import{LEVEL_KEY as s,listStyleMap as E,STYLE_CSS_KEY as u,STYLE_KEY as p,STYLE_VALID_KEY as v,TYPE_KEY as L}from"../constants.js";import{html as y,isLeaf as f,isList as b,isPseudoLeaf as m,isSameType as c}from"../element/index.js";import{calcListLevels as _,calcStartBySymbol as Y}from"../helpers/index.js";function h(t){var e;if(m(t)){t.name="li",t.style.set("text-indent",null);const i=x(t),o=/[\da-np-zA-NP-Z].?/.test(i)?"ol":"ul",r=k(i,o);t.attributes[L]=o,t.attributes[p]=r,_(t),T(t);const{parent:a}=t;if(!b(a)||!c(t,a)){const d=K(t,o,i,r);return b(a)&&(d.remove(),(e=a.lastElement)===null||e===void 0||e.append(d)),t}}return t}n(h,"convertToList");function T(t){for(;t;){const e=t.previousElement;if(!(f(e)||b(e)))break;if(f(e)){if(t.attributes[s]<e.attributes[s]||t.attributes[s]===e.attributes[s]&&t.parent&&c(t,t.parent))break;e.append(t);continue}const i=e;if(t.attributes[s]<i.attributes[s]||t.attributes[s]===i.attributes[s]&&!c(t,i))break;i.append(t)}}n(T,"moveUp");function g(t){var e;b(t)&&((e=t.parent)===null||e===void 0?void 0:e.name)!=="li"&&(t.style.get(u)==="disc"||t.style.get(u)==="decimal")&&t.style.set(u,null)}n(g,"removeRedundancyStyle");function k(t,e){for(const i in E)if(RegExp(i).test(t))return E[i];return e==="ol"?"decimal":"disc"}n(k,"defineOrderedListStyle");const x=n(t=>t.textBetween(e=>e.isComment&&/\[if.*supportLists.*]/.test(y(e)),e=>e.isComment&&/\[endif]/.test(y(e))).replace(/ /g,"").replace(S(),""),"getSymbol");function K(t,e,i,o){const r=t.wrap(e);return r.attributes.start=Y(i),r.attributes[s]=t.attributes[s],r.attributes[p]=t.attributes[p],r.attributes[v]=t.attributes[p],r.style.set(u,o),g(r),r}n(K,"wrapInNewList");export{h as convertToList,g as removeRedundancyStyle};
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
import{cleanStyles as r}from"./clean-styles.js";import{clearAttributes as o}from"./clear-attributes.js";import{clearClassName as m}from"./clear-class-name.js";import{convertStyleUnitToPixels as s}from"./convert-style-unit-to-pixels.js";import{convertToList as t}from"./convert-to-list.js";import{markPageBreakElements as e}from"./mark-page-break.js";import{normalizeImageProps as i}from"./normalize-image-props.js";import{processImage as p}from"./process-image.js";import{processLinks as a}from"./process-links.js";import{removeExtraTags as f}from"./remove-extra-tags.js";import{removeInsideComment as j}from"./remove-inside-comment.js";import{replaceOldTags as l}from"./replace-old-tags.js";import{removeWidthFromTableCell as c}from"./table.js";export const cases=[p,e,f,l,o,t,a,j,s,m,i,c,r];
|
|
1
|
+
import{cleanStyles as r}from"./clean-styles.js";import{clearAttributes as o}from"./clear-attributes.js";import{clearClassName as m}from"./clear-class-name.js";import{convertStyleUnitToPixels as e}from"./convert-style-unit-to-pixels.js";import{convertToList as t}from"./convert-to-list.js";import{markPageBreakElements as i}from"./mark-page-break.js";import{normalizeImageProps as s}from"./normalize-image-props.js";import{processImage as p}from"./process-image.js";import{processLinks as a}from"./process-links.js";import{removeExtraTags as l}from"./remove-extra-tags.js";import{removeInsideComment as f}from"./remove-inside-comment.js";import{replaceOldTags as c}from"./replace-old-tags.js";import{removeWidthFromTableCell as n}from"./table.js";const S=[p,i,l,c,o,t,a,f,e,m,s,n,r];export{S as cases};
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
export const markPageBreakElements=e=>((e.isElement&&"always"===e.style.get("page-break-before")||"page"===e.style.get("break-before"))&&(e.attributes["jd-safe"]=!0,e.style.add("page-break-before","always"),e.isSingle&&(e.name="div")),e);
|
|
1
|
+
var r=Object.defineProperty;var a=(e,t)=>r(e,"name",{value:t,configurable:!0});const b=a(e=>((e.isElement&&e.style.get("page-break-before")==="always"||e.style.get("break-before")==="page")&&(e.attributes["jd-safe"]=!0,e.style.add("page-break-before","always"),e.isSingle&&(e.name="div")),e),"markPageBreakElements");export{b as markPageBreakElements};
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
export const normalizeImageProps=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;
|
|
1
|
+
var s=Object.defineProperty;var a=(t,i)=>s(t,"name",{value:i,configurable:!0});const n=a(t=>(t.isElement&&t.name==="img"&&(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),"normalizeImageProps");export{n as normalizeImageProps};
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
import{toArray as e}from"jodit/esm/core/helpers/index.js";export const processImage=(t,s)=>{var i,n;if(s.rtf&&"#comment"===t.name&&t.attributes.nodeValue&&-1!==t.attributes.nodeValue.indexOf("<v:shape")){s.shapes||(s.shapes={});const i=s.jodit.create.fromHTML(t.attributes.nodeValue);return e(i.getElementsByTagName("v:shape")).forEach(e=>{s.shapes[e.id]=e.getAttribute("o:spid")}),t}if("img"!==t.name)return t;if(s.rtf&&t.attributes["v:shapes"]){const e=null===(i=s.shapes)||void 0===i?void 0:i[t.attributes["v:shapes"]];if(e){const i=null!==(n=s.imageMap)&&void 0!==n?n:{};s.imageMap||(s.imageMap=i,parseImages(s.rtf,"i","\\shppict",s.imageMap),parseImages(s.rtf,"s","\\shp{",s.imageMap));const a=i[e.substring(7)];if(a){const e=[],s=a.hex.match(/[0-9a-f]{2}/gi);if(s){for(let t=0;t<s.length;t++){const i=parseInt(s[t],16);e.push(String.fromCharCode(i))}t.attributes.src="data:"+a.type+";base64,"+btoa(e.join(""))}}}}return t};function parseImages(e,t,s,i){const n=e.split(s);for(const e of n){const s=e.split("shplid");if(1<s.length){const e=s[1];let n="";for(let t=0;t<e.length&&!/[{ \r\n\\]/.test(e[t]);t++)n+=e[t];const a=e.split("bliptag");if(a&&a.length<2)continue;let o=null;if(a[0].indexOf("pngblip")?o="image/png":-1!==a[0].indexOf("jpegblip")&&(o="image/jpeg"),!o)continue;const p=a[1].split("}");if(p&&p.length<2)continue;let r;if(2<p.length&&p[0].includes("blipuid"))r=p[1].split(" ");else{if(r=p[0].split(" "),r&&r.length<2)continue;r.shift()}i[t+n]={hex:r.join(""),type:o}}}}
|
|
1
|
+
var m=Object.defineProperty;var d=(t,e)=>m(t,"name",{value:e,configurable:!0});import{toArray as c}from"jodit/esm/core/helpers/index.js";const j=d((t,e)=>{var l,h;if(e.rtf&&t.name==="#comment"&&t.attributes.nodeValue&&t.attributes.nodeValue.indexOf("<v:shape")!==-1){e.shapes||(e.shapes={});const n=e.jodit.create.fromHTML(t.attributes.nodeValue);return c(n.getElementsByTagName("v:shape")).forEach(s=>{e.shapes[s.id]=s.getAttribute("o:spid")}),t}if(t.name!=="img")return t;if(e.rtf&&t.attributes["v:shapes"]){const n=(l=e.shapes)===null||l===void 0?void 0:l[t.attributes["v:shapes"]];if(n){const s=(h=e.imageMap)!==null&&h!==void 0?h:{};e.imageMap||(e.imageMap=s,b(e.rtf,"i","\\shppict",e.imageMap),b(e.rtf,"s","\\shp{",e.imageMap));const p=s[n.substring(7)];if(p){const a=[],o=p.hex.match(/[0-9a-f]{2}/gi);if(o){for(let i=0;i<o.length;i++){const r=parseInt(o[i],16);a.push(String.fromCharCode(r))}t.attributes.src="data:"+p.type+";base64,"+btoa(a.join(""))}}}}return t},"processImage");function b(t,e,l,h){const n=t.split(l);for(const s of n){const p=s.split("shplid");if(1<p.length){const a=p[1];let o="";for(let u=0;u<a.length&&!/[{ \r\n\\]/.test(a[u]);u++)o+=a[u];const i=a.split("bliptag");if(i&&i.length<2)continue;let r=null;if(i[0].indexOf("pngblip")?r="image/png":i[0].indexOf("jpegblip")!==-1&&(r="image/jpeg"),!r)continue;const f=i[1].split("}");if(f&&f.length<2)continue;let g;if(2<f.length&&f[0].includes("blipuid"))g=f[1].split(" ");else{if(g=f[0].split(" "),g&&g.length<2)continue;g.shift()}h[e+o]={hex:g.join(""),type:r}}}}d(b,"parseImages");export{j as processImage};
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
export const processLinks=(t,e)=>{var r;const s=null!==(r=e.links)&&void 0!==r?r:{};if(t.attributes.href&&t.attributes.href.match(/#.+$/)&&(s[t.attributes.href.match(/#(.+)$/)[1]]=t),t.attributes.name&&s[t.attributes.name]){const e=s[t.attributes.name];e.attributes.href=e.attributes.href.replace(/.*#(.*)$/,"#$1")}return e.links=s,t};
|
|
1
|
+
var n=Object.defineProperty;var e=(t,r)=>n(t,"name",{value:r,configurable:!0});const b=e((t,r)=>{var i;const s=(i=r.links)!==null&&i!==void 0?i:{};if(t.attributes.href&&t.attributes.href.match(/#.+$/)){const a=t.attributes.href.match(/#(.+)$/)[1];s[a]=t}if(t.attributes.name&&s[t.attributes.name]){const a=s[t.attributes.name];a.attributes.href=a.attributes.href.replace(/.*#(.*)$/,"#$1")}return r.links=s,t},"processLinks");export{b as processLinks};
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
const e=new Set(["o:p","xml","script","meta","link","v:imagedata","style"]);export function removeExtraTags(n){return"none"===n.style.get("display")||0===n.length&&"span"===n.name||e.has(n.name)?(n.remove(),null):n}
|
|
1
|
+
var r=Object.defineProperty;var n=(e,t)=>r(e,"name",{value:t,configurable:!0});const a=new Set(["o:p","xml","script","meta","link","v:imagedata","style"]);function s(e){return e.style.get("display")==="none"||e.length===0&&e.name==="span"||a.has(e.name)?(e.remove(),null):e}n(s,"removeExtraTags");export{s as removeExtraTags};
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
import{html as e}from"../element/render.js";let t=0;export function removeInsideComment(m){return m.isComment&&/\[if.*(supportLists|gte vml).*]/.test(e(m))&&(t++,m.remove()),m.isComment&&t>0&&e(m).includes("[endif]")&&(t=t>0?t-1:0,m.remove()),t&&(m.isText||"img"===m.name&&(!m.attributes.src||/^file:/.test(m.attributes.src)))?(m.remove(),null):m}
|
|
1
|
+
var s=Object.defineProperty;var e=(t,n)=>s(t,"name",{value:n,configurable:!0});import{html as r}from"../element/render.js";let i=0;function u(t){return t.isComment&&/\[if.*(supportLists|gte vml).*]/.test(r(t))&&(i++,t.remove()),t.isComment&&i>0&&r(t).includes("[endif]")&&(i=i>0?i-1:0,t.remove()),i&&(t.isText||t.name==="img"&&(!t.attributes.src||/^file:/.test(t.attributes.src)))?(t.remove(),null):t}e(u,"removeInsideComment");export{u as removeInsideComment};
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
const n={i:"em",b:"strong"};export function replaceOldTags(e){const{name:t}=e;return t in n&&(e.name=n[t]),e}
|
|
1
|
+
var r=Object.defineProperty;var e=(n,t)=>r(n,"name",{value:t,configurable:!0});const o={i:"em",b:"strong"};function c(n){const{name:t}=n;return t in o&&(n.name=o[t]),n}e(c,"replaceOldTags");export{c as replaceOldTags};
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
export const removeWidthFromTableCell=t=>(!t.attributes.width||"th"!==t.name&&"td"!==t.name||(t.attributes.width=null),t);
|
|
1
|
+
var i=Object.defineProperty;var r=(t,e)=>i(t,"name",{value:e,configurable:!0});const n=r(t=>(t.attributes.width&&(t.name==="th"||t.name==="td")&&(t.attributes.width=null),t),"removeWidthFromTableCell");export{n as removeWidthFromTableCell};
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
import{Config as t}from"jodit/esm/config.js";t.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"]};
|
|
1
|
+
import{Config as t}from"jodit/esm/config.js";t.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"]};
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
export const LEVEL_KEY="jd-list-level";export const TYPE_KEY="jd-list-type";export const STYLE_KEY="jd-list-style-type";export const STYLE_VALID_KEY="data-list-style-type";export const STYLE_CSS_KEY="list-style-type";export const listStyleMap={"·":"disc",o:"circle","§":"square","[ivx]":"lower-roman","[IVX]":"upper-roman","[a-z]":"lower-alpha","[A-Z]":"upper-alpha","\\d":"decimal"};
|
|
1
|
+
const t="jd-list-level",e="jd-list-type",l="jd-list-style-type",o="data-list-style-type",p="list-style-type",s={"\xB7":"disc",o:"circle","\xA7":"square","[ivx]":"lower-roman","[IVX]":"upper-roman","[a-z]":"lower-alpha","[A-Z]":"upper-alpha","\\d":"decimal"};export{t as LEVEL_KEY,p as STYLE_CSS_KEY,l as STYLE_KEY,o as STYLE_VALID_KEY,e as TYPE_KEY,s as listStyleMap};
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
import{html as t}from"./render.js";import{LEVEL_KEY as e,STYLE_KEY as s,TYPE_KEY as i}from"../constants.js";export function isList(t){return Boolean(t&&("ol"===t.name||"ul"===t.name))}export function isLeaf(t){return Boolean(t&&"li"===t.name)}export function isPseudoLeaf(e){return"li"!==e.name&&/mso-list:\s*l\d+ level\d+ lfo\d+/i.test(e.attributes.style)||/msolistparagraph/i.test(e.attributes.class)&&Boolean(e.find(e=>e.isComment&&t(e).includes("supportLists")).length)}export function isSameType(t,n){const r=t.attributes[i],o=t.attributes[s];return!(n.name!==r||n.attributes[s]!==o||t.attributes[e]!==n.attributes[e])}
|
|
1
|
+
var a=Object.defineProperty;var s=(t,e)=>a(t,"name",{value:e,configurable:!0});import{html as u}from"./render.js";import{LEVEL_KEY as i,STYLE_KEY as o,TYPE_KEY as p}from"../constants.js";function b(t){return!!(t&&(t.name==="ol"||t.name==="ul"))}s(b,"isList");function c(t){return!!(t&&t.name==="li")}s(c,"isLeaf");function E(t){return t.name!=="li"&&/mso-list:\s*l\d+ level\d+ lfo\d+/i.test(t.attributes.style)||/msolistparagraph/i.test(t.attributes.class)&&!!t.find(e=>e.isComment&&u(e).includes("supportLists")).length}s(E,"isPseudoLeaf");function L(t,e){const n=t.attributes[p],r=t.attributes[o];return!(e.name!==n||e.attributes[o]!==r||t.attributes[i]!==e.attributes[i])}s(L,"isSameType");export{c as isLeaf,b as isList,E as isPseudoLeaf,L as isSameType};
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
import{html as t}from"./render.js";import{Style as e}from"./style.js";import{INSEPARABLE_TAGS as n}from"jodit/esm/core/constants.js";import{Dom as r}from"jodit/esm/core/dom/index.js";import{assert as i}from"jodit/esm/core/helpers/utils/assert.js";const s=new Set(n);export class JElement{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 s.has(this.name)}get length(){return this.children.length}constructor(t,n){this.parent=n,this.name=t.nodeName.toLowerCase(),this.type=t.nodeType,this.attributes=function readAttributes(t){const e={};if(r.isElement(t))for(let n=0,r=t.attributes;n<r.length;n+=1)e[r[n].name]=r[n].value;else e.nodeValue=t.nodeValue;return e}(t),this.style=new e(this.attributes.style),this.children=[],t.childNodes.forEach(t=>this.children.push(JElement.make(t,this)))}static make(t,e=null){return new JElement(t,e)}wrap(t){var e;i(null!=this.parent,"You can't wrap the root element");const n=JElement.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 i(t!==this,"Forbidden to add to yourself"),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(e,n){let r=!1;const i=[];return this.forEach(s=>{if(!r&&e(s)&&(r=!0),r&&s.isText&&i.push(t(s)),r&&n(s))return!1},!0),i.join("")}}
|
|
1
|
+
var o=Object.defineProperty;var h=(s,t)=>o(s,"name",{value:t,configurable:!0});import{html as p}from"./render.js";import{Style as d}from"./style.js";import{INSEPARABLE_TAGS as f}from"jodit/esm/core/constants.js";import{Dom as c}from"jodit/esm/core/dom/index.js";import{assert as u}from"jodit/esm/core/helpers/utils/assert.js";const m=new Set(f),n=class n{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 m.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=v(t),this.style=new d(this.attributes.style),this.children=[],t.childNodes.forEach(r=>this.children.push(n.make(r,this)))}static make(t,e=null){return new n(t,e)}wrap(t){var e;u(this.parent!=null,"You can't wrap the root element");const r=n.make(document.createElement(t),this.parent),i=(e=this.parent.children.indexOf(this))!==null&&e!==void 0?e:-1;return i===-1?this.parent.append(r):this.parent.children[i]=r,r.append(this),r}append(t){return u(t!==this,"Forbidden to add to yourself"),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(e!==-1){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(){var t,e,r;return(r=(t=this.sibling(!1))!==null&&t!==void 0?t:(e=this.parent)===null||e===void 0?void 0:e.previous)!==null&&r!==void 0?r:null}get next(){var t,e,r;return(r=(t=this.sibling(!0))!==null&&t!==void 0?t:(e=this.parent)===null||e===void 0?void 0:e.next)!==null&&r!==void 0?r:null}sibling(t){if(!this.parent)return null;const{children:e}=this.parent,r=e.indexOf(this);return r!==-1&&e[r+(t?1:-1)]?e[r+(t?1:-1)]:null}forEach(t,e=!1){const r=[...this.children];for(const i of r)if(t(i)===!1||e&&i.forEach(t,!0)===!1)return!1}find(t,e=!0){const r=[];return this.forEach(i=>{t(i)&&r.push(i)},e),r}map(t){return this.children.map(t)}remove(){var t,e;const r=(t=this.parent)===null||t===void 0?void 0:t.children.indexOf(this);return r!=null&&r!==-1&&((e=this.parent)===null||e===void 0||e.children.splice(r,1)),this}textBetween(t,e){let r=!1;const i=[];return this.forEach(l=>{if(!r&&t(l)&&(r=!0),r&&l.isText&&i.push(p(l)),r&&e(l))return!1},!0),i.join("")}};h(n,"JElement");let a=n;function v(s){const t={};if(c.isElement(s))for(let e=0,r=s.attributes;e<r.length;e+=1)t[r[e].name]=r[e].value;else t.nodeValue=s.nodeValue;return t}h(v,"readAttributes");export{a as JElement};
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
export*from"./checkers.js";export*from"./element.js";export*from"./render.js";
|
|
1
|
+
export*from"./checkers.js";export*from"./element.js";export*from"./render.js";
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
import{IS_PROD as e}from"jodit/esm/core/constants.js";import{isBoolean as t}from"jodit/esm/core/helpers/checker/is-boolean.js";import{trim as n}from"jodit/esm/core/helpers/string/trim.js";export function html(t,n=()=>!0,s=!0,i){switch(!0){case t.isComment:case t.isText:{if(!n(t))return"";const{nodeValue:e}=t.attributes;return t.isComment?`\x3c!--${e}--\x3e`:e}case t.isElement:{const{attributes:e}=t,r=innerHTML(t,n,s,i);if(!t.attributes["jd-safe"]&&s&&0===r.replace(/[\n\t]/g,"").length&&!t.isSingle)return"";const o=Object.keys(e).map(t=>"style"===t||null==e[t]||/^jd-/.test(t)?"":`${t}="${htmlEntity(e[t])}"`).filter(Boolean),{str:c}=t.style,a=htmlEntity(c(e=>keyInList(e,i)));if(a&&o.push(`style="${a}"`),s&&0===o.length&&["span","a"].includes(t.name))return r;const l=o.length?" "+o.join(" "):"";return n(t)?t.isSingle?`<${t.name}${l}/>`:`<${t.name}${l}>${r}</${t.name}>`:r}default:if(!e)throw Error("Need implementation for this type")}return""}function keyInList(e,n){var s;if(!n)return!0;if(keyInList.cache.has(n)){const i=null===(s=keyInList.cache.get(n))||void 0===s?void 0:s.get(e);if(t(i))return i}const i=n.some(t=>new RegExp(t).test(e)),r=keyInList.cache.get(n)||new Map;return r.set(e,i),keyInList.cache.set(n,r),i}keyInList.cache=new WeakMap;export function innerHTML(e,t=()=>!0,s=!0,i){let r=e.map(e=>html(e,t,s,i)).join("");return"p"===e.name&&0===n(r).length&&(r=" "),r}function htmlEntity(e){return e.toString().replace(/"/g,""")}
|
|
1
|
+
var $=Object.defineProperty;var u=(t,n)=>$(t,"name",{value:n,configurable:!0});import{IS_PROD as d}from"jodit/esm/core/constants.js";import{isBoolean as l}from"jodit/esm/core/helpers/checker/is-boolean.js";import{trim as w}from"jodit/esm/core/helpers/string/trim.js";function b(t,n=()=>!0,s=!0,i){switch(!0){case t.isComment:case t.isText:{if(!n(t))return"";const{nodeValue:e}=t.attributes;return t.isComment?`<!--${e}-->`:e}case t.isElement:{const{attributes:e}=t,r=j(t,n,s,i);if(!t.attributes["jd-safe"]&&s&&r.replace(/[\n\t]/g,"").length===0&&!t.isSingle)return"";const c=Object.keys(e).map(o=>o==="style"||e[o]==null||/^jd-/.test(o)?"":`${o}="${p(e[o])}"`).filter(Boolean),{str:g}=t.style,f=p(g(o=>a(o,i)));if(f&&c.push(`style="${f}"`),s&&c.length===0&&["span","a"].includes(t.name))return r;const h=c.length?" "+c.join(" "):"";return n(t)?t.isSingle?`<${t.name}${h}/>`:`<${t.name}${h}>${r}</${t.name}>`:r}default:if(!d)throw Error("Need implementation for this type")}return""}u(b,"html");function a(t,n){var s;if(!n)return!0;if(a.cache.has(n)){const r=(s=a.cache.get(n))===null||s===void 0?void 0:s.get(t);if(l(r))return r}const i=n.some(r=>new RegExp(r).test(t)),e=a.cache.get(n)||new Map;return e.set(t,i),a.cache.set(n,e),i}u(a,"keyInList"),a.cache=new WeakMap;function j(t,n=()=>!0,s=!0,i){let e=t.map(r=>b(r,n,s,i)).join("");return t.name==="p"&&w(e).length===0&&(e=" "),e}u(j,"innerHTML");function p(t){return t.toString().replace(/"/g,""")}u(p,"htmlEntity");export{b as html,j as innerHTML};
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
var t=this&&this.__decorate||function(t,e,r,o){var l,s=arguments.length,a=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,r,o);else for(var i=t.length-1;i>=0;i--)(l=t[i])&&(a=(s<3?l(a):s>3?l(e,r,a):l(e,r))||a);return s>3&&a&&Object.defineProperty(e,r,a),a};import{autobind as e}from"jodit/esm/core/decorators/index.js";import{isString as r,kebabCase as o,trim as l}from"jodit/esm/core/helpers/index.js";import{calcMarginParts as s}from"../helpers/index.js";export class Style{constructor(t){this._data=readStyles(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=readStyles(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=>r(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),o=s(this._data[t]);["top","right","bottom","left"].forEach((l,s)=>{const a=`${t}-${l}`,i=this._data[a];null!=i&&(e.indexOf(a)<r||n(o[s])===n(i))&&-1!==e.indexOf(a)&&e.splice(e.indexOf(a),1)})}}),e.length?e.map(t=>`${o(t)}:${this.get(t)}`).join(";"):""}}function readStyles(t){return function uniqueMax(t){const e={},r=[];for(let o=t.length-1;o>=0;o-=1){const l=t[o][0];e[l]||(e[l]=!0,r.unshift(t[o]))}return r}((null!=t?t:"").replace(/"/g,'"').split(";").filter(Boolean).map(t=>l(t).split(":").map(l))).reduce((t,[e,r])=>(e&&r&&(t[e]=r),t),{})}t([e],Style.prototype,"forEach",null),t([e],Style.prototype,"clear",null),t([e],Style.prototype,"set",null),t([e],Style.prototype,"get",null),t([e],Style.prototype,"has",null),t([e],Style.prototype,"add",null),t([e],Style.prototype,"str",null);
|
|
1
|
+
var b=Object.defineProperty;var c=(i,t)=>b(i,"name",{value:t,configurable:!0});var a=function(i,t,e,r){var n=arguments.length,o=n<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,u;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(i,t,e,r);else for(var f=i.length-1;f>=0;f--)(u=i[f])&&(o=(n<3?u(o):n>3?u(t,e,o):u(t,e))||o);return n>3&&o&&Object.defineProperty(t,e,o),o};import{autobind as l}from"jodit/esm/core/decorators/index.js";import{isString as O,kebabCase as x,trim as m}from"jodit/esm/core/helpers/index.js";import{calcMarginParts as $}from"../helpers/index.js";const h=class h{constructor(t){this._data=_(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(e=this._data[t])!==null&&e!==void 0?e:null}has(t){return this._data[t]!==void 0}add(t,e){return this._data=_(this.str()+`;${t}:${e}`),this}str(t=e=>!0){const e=Object.keys(this._data).filter(n=>n&&!/^mso-/.test(n)&&t(n)&&this.get(n)!=null),r=c(n=>O(n)?/^0[a-z]+$/i.test(n)?"0":n:n.toString(),"n");return["padding","margin"].forEach(n=>{if(this._data[n]){const o=e.indexOf(n),u=$(this._data[n]);["top","right","bottom","left"].forEach((f,g)=>{const p=`${n}-${f}`,d=this._data[p];d!=null&&(e.indexOf(p)<o||r(u[g])===r(d))&&e.indexOf(p)!==-1&&e.splice(e.indexOf(p),1)})}}),e.length?e.map(n=>`${x(n)}:${this.get(n)}`).join(";"):""}};c(h,"Style");let s=h;a([l],s.prototype,"forEach",null),a([l],s.prototype,"clear",null),a([l],s.prototype,"set",null),a([l],s.prototype,"get",null),a([l],s.prototype,"has",null),a([l],s.prototype,"add",null),a([l],s.prototype,"str",null);function _(i){return j((i??"").replace(/"/g,'"').split(";").filter(Boolean).map(t=>m(t).split(":").map(m))).reduce((t,[e,r])=>(e&&r&&(t[e]=r),t),{})}c(_,"readStyles");function j(i){const t={},e=[];for(let r=i.length-1;r>=0;r-=1){const n=i[r][0];t[n]||(t[n]=!0,e.unshift(i[r]))}return e}c(j,"uniqueMax");export{s as Style};
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
import{transformWordToHtml as e}from"./transform-word-to-html.js";import{Dom as t}from"jodit/esm/core/dom/dom.js";import{$$ as o,attr as s}from"jodit/esm/core/helpers/utils/index.js";import{JElement as l}from"../element/index.js";export function applyStylesPro(r,n,c,m=""){var d,y;const i=document.createElement("iframe");i.style.display="none",document.body.appendChild(i);try{const t=null!==(d=i.contentDocument)&&void 0!==d?d:null===(y=i.contentWindow)||void 0===y?void 0:y.document;if(!t)return n;t.open(),t.write(n),t.close();const f="jd-style";for(let e=0;e<t.styleSheets.length;e+=1)try{const l=t.styleSheets[e].cssRules;for(let e=0;e<l.length;e+=1)l[e].selectorText&&o(l[e].selectorText,t.body).forEach(t=>{s(t,f)||(s(t,f,s(t,"style")||""),s(t,"style","")),s(t,"style",`${s(t,"style")};${l[e].style.cssText}`)})}catch(e){}return o(`[${f}]`,t.body).forEach(e=>{s(e,"style",`${s(e,"style")};${s(e,f)}`)}),e(r,l.make(t.body),c,m)}finally{t.safeRemove(i)}return n}
|
|
1
|
+
var $=Object.defineProperty;var a=(y,n)=>$(y,"name",{value:n,configurable:!0});import{transformWordToHtml as h}from"./transform-word-to-html.js";import{Dom as b}from"jodit/esm/core/dom/dom.js";import{$$ as u,attr as e}from"jodit/esm/core/helpers/utils/index.js";import{JElement as v}from"../element/index.js";function g(y,n,m,p=""){var d,f;const s=document.createElement("iframe");s.style.display="none",document.body.appendChild(s);try{const t=(d=s.contentDocument)!==null&&d!==void 0?d:(f=s.contentWindow)===null||f===void 0?void 0:f.document;if(!t)return n;t.open(),t.write(n),t.close();const i="jd-style";for(let o=0;o<t.styleSheets.length;o+=1)try{const l=t.styleSheets[o].cssRules;for(let c=0;c<l.length;c+=1)l[c].selectorText&&u(l[c].selectorText,t.body).forEach(r=>{e(r,i)||(e(r,i,e(r,"style")||""),e(r,"style","")),e(r,"style",`${e(r,"style")};${l[c].style.cssText}`)})}catch{}return u(`[${i}]`,t.body).forEach(o=>{e(o,"style",`${e(o,"style")};${e(o,i)}`)}),h(y,v.make(t.body),m,p)}finally{b.safeRemove(s)}return n}a(g,"applyStylesPro");export{g as applyStylesPro};
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
import{realPixelIndent as t}from"./helpers.js";import{LEVEL_KEY as e}from"../constants.js";import{isPseudoLeaf as i,JElement as s}from"../element/index.js";export function calcListLevels(s){if(void 0!==s.attributes[e])return;const r=[t(s)],n=[s];let o=s.next;for(;o;){if(o.isElement&&!o.attributes[e]&&i(o)){const e=t(o);e&&(r.push(e),n.push(o))}o=o.next}const a=Math.min(...r.filter(t=>t>0));let m=r.map(t=>Math.ceil(t/10));-1!==m.indexOf(0)&&(m=m.map(t=>t+1)),n.forEach((i,s)=>{i.attributes[e]=m[s],i.style.add("margin-left",`${Math.max(t(i)-10*m[s]/a*40,0)}px`)})}
|
|
1
|
+
var d=Object.defineProperty;var o=(n,i)=>d(n,"name",{value:i,configurable:!0});import{realPixelIndent as a}from"./helpers.js";import{LEVEL_KEY as l}from"../constants.js";import{isPseudoLeaf as p}from"../element/index.js";function L(n){if(n.attributes[l]!==void 0)return;const i=[a(n)],f=[n];let e=n.next;for(;e;){if(e.isElement&&!e.attributes[l]&&p(e)){const t=a(e);t&&(i.push(t),f.push(e))}e=e.next}const m=Math.min(...i.filter(t=>t>0));let s=i.map(t=>Math.ceil(t/10));s.indexOf(0)!==-1&&(s=s.map(t=>t+1)),f.forEach((t,r)=>{t.attributes[l]=s[r],t.style.add("margin-left",`${Math.max(a(t)-s[r]*10/m*40,0)}px`)})}o(L,"calcListLevels");export{L as calcListLevels};
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
export function calcMarginParts(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 t;export function convertUnitToPx(e){if("number"==typeof e)return e;if(/%$/.test(e))return 0;t||(t=document.createElement("div"),Object.assign(t.style,{position:"absolute",left:"-9999px",top:"-9999px",margin:"0",padding:"0",border:"0"}),document.body.append(t),setTimeout(()=>{null==t||t.remove(),t=null}));const n=parseFloat(e)<0;n&&(e=e.replace("-","")),t.style.width=e;const r=t.clientWidth;return n?-r:r}export function realPixelIndent(t){const{style:e}=t;let n=[0,0,0,0];const r=e.keys.filter(t=>/margin/.test(t)),a=Math.max(r.indexOf("margin-left"),r.indexOf("margin")),i=a>0?r[a]:"margin-left";let o;return"margin"===i?(n=calcMarginParts(e.get("margin")),o=n[3]||0):o=e.get(i)||0,convertUnitToPx(o)}export function calcStartBySymbol(t){return/\d.\d/.test(t)?t.split(".").pop()||null:/^\d/.test(t)?(parseInt(t,10)||1).toString():null}
|
|
1
|
+
var f=Object.defineProperty;var a=(t,e)=>f(t,"name",{value:e,configurable:!0});function p(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(n=>e[n]);case 3:return[0,1,2,1].map(n=>e[n]);case 4:return[0,1,2,3].map(n=>e[n]);default:return[0,0,0,0].map(n=>e[n])}}a(p,"calcMarginParts");let r;function u(t){if(typeof t=="number")return t;if(/%$/.test(t))return 0;r||(r=document.createElement("div"),Object.assign(r.style,{position:"absolute",left:"-9999px",top:"-9999px",margin:"0",padding:"0",border:"0"}),document.body.append(r),setTimeout(()=>{r?.remove(),r=null}));const e=parseFloat(t)<0;e&&(t=t.replace("-","")),r.style.width=t;const n=r.clientWidth;return e?-n:n}a(u,"convertUnitToPx");function m(t){const{style:e}=t;let n=[0,0,0,0];const i=e.keys.filter(s=>/margin/.test(s)),l=Math.max(i.indexOf("margin-left"),i.indexOf("margin")),c=l>0?i[l]:"margin-left";let o;if(c==="margin"){const s=e.get("margin");n=p(s),o=n[3]||0}else o=e.get(c)||0;return u(o)}a(m,"realPixelIndent");function g(t){return/\d.\d/.test(t)?t.split(".").pop()||null:/^\d/.test(t)?(parseInt(t,10)||1).toString():null}a(g,"calcStartBySymbol");export{p as calcMarginParts,g as calcStartBySymbol,u as convertUnitToPx,m as realPixelIndent};
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
export*from"./apply-styles-pro.js";export*from"./calc-list-levels.js";export*from"./helpers.js";export*from"./transform-word-to-html.js";
|
|
1
|
+
export*from"./apply-styles-pro.js";export*from"./calc-list-levels.js";export*from"./helpers.js";export*from"./transform-word-to-html.js";
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
import{trim as o}from"jodit/esm/core/helpers/string/trim.js";import{cases as r}from"../cases/index.js";import{innerHTML as e}from"../element/index.js";export function transformWordToHtml(t,m,n,s){const f={jodit:t,rtf:s};return m.forEach(function eachElm(o){if(o){for(const e of r)if(null==(o=e(o,f)))break;null==o||o.forEach(eachElm)}}),n&&m.forEach(o=>{o.style.clear()},!0),o(e(m,o=>!o.isComment,!0,t.o.pasteFromWord.allowedStyleProps))}
|
|
1
|
+
var s=Object.defineProperty;var n=(f,o)=>s(f,"name",{value:o,configurable:!0});import{trim as u}from"jodit/esm/core/helpers/string/trim.js";import{cases as m}from"../cases/index.js";import{innerHTML as p}from"../element/index.js";function v(f,o,i,c){const a={jodit:f,rtf:c};return o.forEach(n(function t(r){if(r){for(const e of m)if(r=e(r,a),r==null)break;r?.forEach(t)}},"eachElm")),i&&o.forEach(t=>{t.style.clear()},!0),u(p(o,t=>!t.isComment,!0,f.o.pasteFromWord.allowedStyleProps))}n(v,"transformWordToHtml");export{v as transformWordToHtml};
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
import"./config.js";import{applyStylesPro as r}from"./helpers/index.js";import{INSERT_AS_HTML as o,INSERT_AS_TEXT as s}from"jodit/esm/core/constants.js";import{isString as e}from"jodit/esm/core/helpers/checker/is-string.js";import{pasteInsertHtml as t}from"jodit/esm/plugins/paste/helpers.js";import{pasteFromWord as i}from"jodit/esm/plugins/paste-from-word/paste-from-word.js";import{JoditPro as m}from"../../jodit-pro.js";export class PasteFromWordPro extends i{insertFromWordByType(i,m,p,d){var n;if(!this.j.o.pasteFromWord.enable||p!==o&&p!==s)return super.insertFromWordByType(i,m,p,d);if(m=r(this.j,m,p===s,d.rtf),this.j.o.beautifyHTML){const r=null===(n=this.j.events)||void 0===n?void 0:n.fire("beautifyHTML",m);e(r)&&(m=r)}t(i,this.j,m)}}PasteFromWordPro.requires=["license"],m.plugins.remove("pasteFromWord"),m.plugins.add("pasteFromWordPro",PasteFromWordPro);
|
|
1
|
+
var u=Object.defineProperty;var a=(n,o)=>u(n,"name",{value:o,configurable:!0});import"./config.js";import{applyStylesPro as l}from"./helpers/index.js";import{INSERT_AS_HTML as v,INSERT_AS_TEXT as f}from"jodit/esm/core/constants.js";import{isString as S}from"jodit/esm/core/helpers/checker/is-string.js";import{pasteInsertHtml as T}from"jodit/esm/plugins/paste/helpers.js";import{pasteFromWord as j}from"jodit/esm/plugins/paste-from-word/paste-from-word.js";import{JoditPro as d}from"../../jodit-pro.js";const s=class s extends j{insertFromWordByType(o,r,i,p){var e;if(this.j.o.pasteFromWord.enable&&(i===v||i===f)){if(r=l(this.j,r,i===f,p.rtf),this.j.o.beautifyHTML){const m=(e=this.j.events)===null||e===void 0?void 0:e.fire("beautifyHTML",r);S(m)&&(r=m)}T(o,this.j,r);return}return super.insertFromWordByType(o,r,i,p)}};a(s,"PasteFromWordPro");let t=s;t.requires=["license"],d.plugins.remove("pasteFromWord"),d.plugins.add("pasteFromWordPro",t);export{t as PasteFromWordPro};
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
import{Config as o}from"jodit/esm/config.js";o.prototype.showBlocks={enable:!1,color:"#ccc",tagList:["html","body","div","span","applet","object","iframe","h1","h2","h3","h4","h5","h6","p","blockquote","pre","a","abbr","acronym","address","big","cite","code","del","dfn","em","img","ins","kbd","q","s","samp","small","strike","strong","sub","sup","tt","var","b","u","i","center","dl","dt","dd","fieldset","form","label","legend","caption","th","td","li","ol","ul","article","aside","canvas","details","embed","figure","figcaption","footer","header","hgroup","menu","nav","output","ruby","section","summary","time","mark","audio","video"]},o.prototype.controls.showBlocks={isActive:o=>Boolean(o.e.fire("showBlocksEnabled")),tooltip:"Show Blocks",command:"toggleShowBlocks"};
|
|
1
|
+
import{Config as o}from"jodit/esm/config.js";o.prototype.showBlocks={enable:!1,color:"#ccc",tagList:["html","body","div","span","applet","object","iframe","h1","h2","h3","h4","h5","h6","p","blockquote","pre","a","abbr","acronym","address","big","cite","code","del","dfn","em","img","ins","kbd","q","s","samp","small","strike","strong","sub","sup","tt","var","b","u","i","center","dl","dt","dd","fieldset","form","label","legend","caption","th","td","li","ol","ul","article","aside","canvas","details","embed","figure","figcaption","footer","header","hgroup","menu","nav","output","ruby","section","summary","time","mark","audio","video"]},o.prototype.controls.showBlocks={isActive(e){return!!e.e.fire("showBlocksEnabled")},tooltip:"Show Blocks",command:"toggleShowBlocks"};
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
module.exports={"Show Blocks":"تظهر كتل"};
|
|
1
|
+
var c=(t,s)=>()=>(s||t((s={exports:{}}).exports,s),s.exports);var e=c((h,o)=>{o.exports={"Show Blocks":"\u062A\u0638\u0647\u0631 \u0643\u062A\u0644"}});export default e();
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
module.exports={"Show Blocks":"Ukázat Bloky"};
|
|
1
|
+
var k=(t,o)=>()=>(o||t((o={exports:{}}).exports,o),o.exports);var c=k((l,s)=>{s.exports={"Show Blocks":"Uk\xE1zat Bloky"}});export default c();
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
module.exports={"Show Blocks":"Zeigen Blöcke"};
|
|
1
|
+
var o=(c,e)=>()=>(e||c((e={exports:{}}).exports,e),e.exports);var t=o((k,s)=>{s.exports={"Show Blocks":"Zeigen Bl\xF6cke"}});export default t();
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
module.exports={"Show Blocks":"Mostrar Bloques"};
|
|
1
|
+
var t=(r,s)=>()=>(s||r((s={exports:{}}).exports,s),s.exports);var e=t((l,o)=>{o.exports={"Show Blocks":"Mostrar Bloques"}});export default e();
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
module.exports={"Show Blocks":"نشان می دهد بلوک"};
|
|
1
|
+
var c=(t,s)=>()=>(s||t((s={exports:{}}).exports,s),s.exports);var e=c((h,o)=>{o.exports={"Show Blocks":"\u0646\u0634\u0627\u0646 \u0645\u06CC \u062F\u0647\u062F \u0628\u0644\u0648\u06A9"}});export default e();
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
module.exports={"Show Blocks":"Afficher Les Blocs"};
|
|
1
|
+
var o=(e,s)=>()=>(s||e((s={exports:{}}).exports,s),s.exports);var r=o((f,c)=>{c.exports={"Show Blocks":"Afficher Les Blocs"}});export default r();
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
module.exports={"Show Blocks":"תראה רחובות"};
|
|
1
|
+
var c=(t,s)=>()=>(s||t((s={exports:{}}).exports,s),s.exports);var e=c((h,o)=>{o.exports={"Show Blocks":"\u05EA\u05E8\u05D0\u05D4 \u05E8\u05D7\u05D5\u05D1\u05D5\u05EA"}});export default e();
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
module.exports={"Show Blocks":"Mutasd Meg Blokkok"};
|
|
1
|
+
var t=(k,o)=>()=>(o||k((o={exports:{}}).exports,o),o.exports);var e=t((l,s)=>{s.exports={"Show Blocks":"Mutasd Meg Blokkok"}});export default e();
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
module.exports={"Show Blocks":"Menunjukkan Blok"};
|
|
1
|
+
var e=(s,k)=>()=>(k||s((k={exports:{}}).exports,k),k.exports);var n=e((u,o)=>{o.exports={"Show Blocks":"Menunjukkan Blok"}});export default n();
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
import r from"./ar.js";import o from"./cs_cz.js";import m from"./de.js";import t from"./es.js";import p from"./fa.js";import f from"./fr.js";import i from"./he.js";import s from"./hu.js";import j from"./id.js";import e from"./it.js";import h from"./ja.js";import _ from"./ko.js";import a from"./nl.js";import c from"./pl.js";import z from"./pt_br.js";import d from"./ru.js";import l from"./tr.js";import n from"./zh_cn.js";import u from"./zh_tw.js";export{r as ar,o as cs_cz,m as de,t as es,p as fa,f as fr,i as he,s as hu,j as id,e as it,h as ja,_ as ko,a as nl,c as pl,z as pt_br,d as ru,l as tr,n as zh_cn,u as zh_tw};
|
|
1
|
+
import r from"./ar.js";import o from"./cs_cz.js";import m from"./de.js";import t from"./es.js";import p from"./fa.js";import f from"./fr.js";import i from"./he.js";import e from"./hu.js";import h from"./id.js";import _ from"./it.js";import a from"./ja.js";import c from"./ko.js";import z from"./nl.js";import d from"./pl.js";import l from"./pt_br.js";import n from"./ru.js";import s from"./tr.js";import u from"./zh_cn.js";import b from"./zh_tw.js";export{r as ar,o as cs_cz,m as de,t as es,p as fa,f as fr,i as he,e as hu,h as id,_ as it,a as ja,c as ko,z as nl,d as pl,l as pt_br,n as ru,s as tr,u as zh_cn,b as zh_tw};
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
module.exports={"Show Blocks":"Visualizza Blocchi"};
|
|
1
|
+
var o=(i,s)=>()=>(s||i((s={exports:{}}).exports,s),s.exports);var l=o((a,c)=>{c.exports={"Show Blocks":"Visualizza Blocchi"}});export default l();
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
module.exports={"Show Blocks":"ショーのブロック"};
|
|
1
|
+
var c=(t,s)=>()=>(s||t((s={exports:{}}).exports,s),s.exports);var e=c((h,o)=>{o.exports={"Show Blocks":"\u30B7\u30E7\u30FC\u306E\u30D6\u30ED\u30C3\u30AF"}});export default e();
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
module.exports={"Show Blocks":"쇼 블록"};
|
|
1
|
+
var c=(t,s)=>()=>(s||t((s={exports:{}}).exports,s),s.exports);var e=c((h,o)=>{o.exports={"Show Blocks":"\uC1FC \uBE14\uB85D"}});export default e();
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
module.exports={"Show Blocks":"Toon Blokken"};
|
|
1
|
+
var k=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var t=k((l,s)=>{s.exports={"Show Blocks":"Toon Blokken"}});export default t();
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
module.exports={"Show Blocks":"Pokaż Bloki"};
|
|
1
|
+
var t=(k,o)=>()=>(o||k((o={exports:{}}).exports,o),o.exports);var c=t((i,s)=>{s.exports={"Show Blocks":"Poka\u017C Bloki"}});export default c();
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
module.exports={"Show Blocks":"Mostrar Blocos"};
|
|
1
|
+
var t=(r,o)=>()=>(o||r((o={exports:{}}).exports,o),o.exports);var c=t((l,s)=>{s.exports={"Show Blocks":"Mostrar Blocos"}});export default c();
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
module.exports={"Show Blocks":"Показать Блоки"};
|
|
1
|
+
var c=(t,s)=>()=>(s||t((s={exports:{}}).exports,s),s.exports);var e=c((h,o)=>{o.exports={"Show Blocks":"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0411\u043B\u043E\u043A\u0438"}});export default e();
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
module.exports={"Show Blocks":"Haritayı Blokları"};
|
|
1
|
+
var t=(s,o)=>()=>(o||s((o={exports:{}}).exports,o),o.exports);var a=t((c,r)=>{r.exports={"Show Blocks":"Haritay\u0131 Bloklar\u0131"}});export default a();
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
module.exports={"Show Blocks":"显示块"};
|
|
1
|
+
var c=(t,s)=>()=>(s||t((s={exports:{}}).exports,s),s.exports);var e=c((h,o)=>{o.exports={"Show Blocks":"\u663E\u793A\u5757"}});export default e();
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
3
|
-
* See LICENSE.md in the project root for license information.
|
|
4
|
-
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
5
|
-
*/
|
|
6
|
-
module.exports={"Show Blocks":"แสดงช่วงตึก"};
|
|
1
|
+
var c=(t,s)=>()=>(s||t((s={exports:{}}).exports,s),s.exports);var e=c((h,o)=>{o.exports={"Show Blocks":"\u0E41\u0E2A\u0E14\u0E07\u0E0A\u0E48\u0E27\u0E07\u0E15\u0E36\u0E01"}});export default e();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
var m=Object.defineProperty;var c=(s,e)=>m(s,"name",{value:e,configurable:!0});var a=function(s,e,i,n){var r=arguments.length,t=r<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,i):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(s,e,i,n);else for(var p=s.length-1;p>=0;p--)(l=s[p])&&(t=(r<3?l(t):r>3?l(e,i,t):l(e,i))||t);return r>3&&t&&Object.defineProperty(e,i,t),t};import"./config.js";import*as b from"./langs/index.js";import g from"./show-blocks.svg.js";import{autobind as d,cache as u,cached as f}from"jodit/esm/core/decorators/index.js";import{Dom as y}from"jodit/esm/core/dom/dom.js";import{extendLang as w,getContainer as x}from"jodit/esm/core/global.js";import{Plugin as j}from"jodit/esm/core/plugin/index.js";import{Icon as v}from"jodit/esm/core/ui/icon.js";import{JoditPro as k}from"../../jodit-pro.js";function B(s){return`data:image/svg+xml;utf8,${escape(s)}`}c(B,"svgToUrl");const h=class h extends j{get style(){return x(this.jodit,h,"style",!0)}enable(){this.isEnabled=!0;const e=this.j.o.iframe?"body":".jodit-wysiwyg",{tagList:i,color:n}=this.j.o.showBlocks;this.style.innerHTML=i.map(r=>`${e} ${r}{
|
|
2
|
+
outline: 1px dashed ${n};
|
|
3
|
+
background-image: url("${B('<svg xmlns="http://www.w3.org/2000/svg" width="50px"><text dominant-baseline="hanging" text-anchor="end" style="fill: '+n+';font: 10px sans-serif" x="50px" y="0">'+r+"</text></svg>")}");
|
|
4
|
+
background-position: top 2px ${this.j.o.direction==="rtl"?"left":"right"} 4px;
|
|
5
|
+
background-repeat: no-repeat;
|
|
6
|
+
position: relative;
|
|
7
|
+
}`).join("")}disable(){this.isEnabled=!1;const e=f(this,"style");e&&(e.innerHTML="")}toggle(){this.isEnabled?this.disable():this.enable(),this.j.e.fire("updateToolbar")}constructor(e){super(e),this.buttons=[{name:"showBlocks",group:"state"}],this.isEnabled=!1,w(b),v.set("showBlocks",g)}afterInit(e){e.e.on("showBlocksEnabled",()=>this.isEnabled),e.registerCommand("enableShowBlocks",this.enable).registerCommand("disableShowBlocks",this.disable).registerCommand("toggleShowBlocks",this.toggle),this.j.o.showBlocks.enable&&this.enable()}beforeDestruct(e){this.disable(),y.safeRemove(f(this,"style"))}};c(h,"showBlocks");let o=h;o.requires=["license"],a([u],o.prototype,"style",null),a([d],o.prototype,"enable",null),a([d],o.prototype,"disable",null),a([d],o.prototype,"toggle",null),k.plugins.add("show-blocks",o);export{o as showBlocks};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var t='<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> ';export{t as default};
|