jodit-pro 4.6.10 → 4.6.13
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 -1
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +1278 -1328
- package/es2015/jodit.min.js +2 -2
- package/es2015/plugins/autocomplete/autocomplete.js +1 -1
- package/es2015/plugins/autocomplete/autocomplete.min.js +2 -2
- package/es2015/plugins/backup/backup.css +1 -1
- package/es2015/plugins/backup/backup.js +65 -65
- package/es2015/plugins/backup/backup.min.js +2 -2
- package/es2015/plugins/button-generator/button-generator.css +1 -1
- package/es2015/plugins/button-generator/button-generator.js +110 -110
- package/es2015/plugins/button-generator/button-generator.min.js +2 -2
- package/es2015/plugins/change-case/change-case.js +7 -7
- package/es2015/plugins/change-case/change-case.min.js +2 -2
- package/es2015/plugins/color-picker/color-picker.css +1 -1
- package/es2015/plugins/color-picker/color-picker.js +37 -37
- package/es2015/plugins/color-picker/color-picker.min.js +2 -2
- package/es2015/plugins/emoji/emoji.css +1 -1
- package/es2015/plugins/emoji/emoji.js +47 -47
- package/es2015/plugins/emoji/emoji.min.js +2 -2
- package/es2015/plugins/export-docs/export-docs.js +18 -18
- package/es2015/plugins/export-docs/export-docs.min.js +2 -2
- package/es2015/plugins/finder/finder.css +1 -1
- package/es2015/plugins/finder/finder.js +452 -452
- package/es2015/plugins/finder/finder.min.js +2 -2
- package/es2015/plugins/google-maps/google-maps.css +1 -1
- package/es2015/plugins/google-maps/google-maps.js +265 -265
- package/es2015/plugins/google-maps/google-maps.min.js +2 -2
- package/es2015/plugins/google-search/google-search.js +1 -1
- package/es2015/plugins/google-search/google-search.min.js +2 -2
- package/es2015/plugins/highlight-signature/highlight-signature.js +23 -23
- package/es2015/plugins/highlight-signature/highlight-signature.min.js +2 -2
- package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.js +40 -40
- package/es2015/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es2015/plugins/keyboard/keyboard.css +1 -1
- package/es2015/plugins/keyboard/keyboard.js +60 -60
- package/es2015/plugins/keyboard/keyboard.min.js +2 -2
- package/es2015/plugins/mobile-view/mobile-view.js +26 -26
- package/es2015/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2015/plugins/page-break/page-break.js +27 -27
- package/es2015/plugins/page-break/page-break.min.js +2 -2
- package/es2015/plugins/paste-code/paste-code.css +1 -1
- package/es2015/plugins/paste-code/paste-code.js +51 -51
- package/es2015/plugins/paste-code/paste-code.min.js +2 -2
- package/es2015/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2015/plugins/paste-from-word/paste-from-word.min.js +2 -2
- package/es2015/plugins/show-blocks/show-blocks.js +27 -27
- package/es2015/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es2015/plugins/todo-list/todo-list.css +1 -1
- package/es2015/plugins/todo-list/todo-list.js +62 -62
- package/es2015/plugins/todo-list/todo-list.min.js +2 -2
- package/es2015/plugins/translate/translate.css +1 -1
- package/es2015/plugins/translate/translate.js +62 -62
- package/es2015/plugins/translate/translate.min.js +2 -2
- package/es2015/plugins/tune-block/tune-block.css +1 -1
- package/es2015/plugins/tune-block/tune-block.js +50 -50
- package/es2015/plugins/tune-block/tune-block.min.js +2 -2
- package/es2018/jodit.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +1123 -1118
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/autocomplete/autocomplete.js +1 -1
- package/es2018/plugins/autocomplete/autocomplete.min.js +2 -2
- package/es2018/plugins/backup/backup.css +1 -1
- package/es2018/plugins/backup/backup.js +64 -64
- package/es2018/plugins/backup/backup.min.js +2 -2
- package/es2018/plugins/button-generator/button-generator.css +1 -1
- package/es2018/plugins/button-generator/button-generator.js +110 -110
- package/es2018/plugins/button-generator/button-generator.min.js +2 -2
- package/es2018/plugins/change-case/change-case.js +7 -7
- package/es2018/plugins/change-case/change-case.min.js +2 -2
- package/es2018/plugins/color-picker/color-picker.css +1 -1
- package/es2018/plugins/color-picker/color-picker.js +37 -37
- package/es2018/plugins/color-picker/color-picker.min.js +2 -2
- package/es2018/plugins/emoji/emoji.css +1 -1
- package/es2018/plugins/emoji/emoji.js +45 -45
- package/es2018/plugins/emoji/emoji.min.js +2 -2
- package/es2018/plugins/export-docs/export-docs.js +1 -1
- package/es2018/plugins/export-docs/export-docs.min.js +2 -2
- package/es2018/plugins/finder/finder.css +1 -1
- package/es2018/plugins/finder/finder.js +446 -446
- package/es2018/plugins/finder/finder.min.js +2 -2
- package/es2018/plugins/google-maps/google-maps.css +1 -1
- package/es2018/plugins/google-maps/google-maps.js +262 -262
- package/es2018/plugins/google-maps/google-maps.min.js +2 -2
- package/es2018/plugins/google-search/google-search.js +1 -1
- package/es2018/plugins/google-search/google-search.min.js +2 -2
- package/es2018/plugins/highlight-signature/highlight-signature.js +23 -23
- package/es2018/plugins/highlight-signature/highlight-signature.min.js +2 -2
- package/es2018/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.js +40 -40
- package/es2018/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es2018/plugins/keyboard/keyboard.css +1 -1
- package/es2018/plugins/keyboard/keyboard.js +60 -60
- package/es2018/plugins/keyboard/keyboard.min.js +2 -2
- package/es2018/plugins/mobile-view/mobile-view.js +26 -26
- package/es2018/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2018/plugins/page-break/page-break.js +27 -27
- package/es2018/plugins/page-break/page-break.min.js +2 -2
- package/es2018/plugins/paste-code/paste-code.css +1 -1
- package/es2018/plugins/paste-code/paste-code.js +49 -49
- package/es2018/plugins/paste-code/paste-code.min.js +2 -2
- package/es2018/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2018/plugins/paste-from-word/paste-from-word.min.js +2 -2
- package/es2018/plugins/show-blocks/show-blocks.js +27 -27
- package/es2018/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es2018/plugins/todo-list/todo-list.css +1 -1
- package/es2018/plugins/todo-list/todo-list.js +62 -62
- package/es2018/plugins/todo-list/todo-list.min.js +2 -2
- package/es2018/plugins/translate/translate.css +1 -1
- package/es2018/plugins/translate/translate.js +61 -61
- package/es2018/plugins/translate/translate.min.js +2 -2
- package/es2018/plugins/tune-block/tune-block.css +1 -1
- package/es2018/plugins/tune-block/tune-block.js +50 -50
- package/es2018/plugins/tune-block/tune-block.min.js +2 -2
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +1123 -1118
- package/es2021/jodit.min.js +2 -2
- package/es2021/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021/plugins/autocomplete/autocomplete.min.js +2 -2
- package/es2021/plugins/backup/backup.css +1 -1
- package/es2021/plugins/backup/backup.js +64 -64
- package/es2021/plugins/backup/backup.min.js +2 -2
- package/es2021/plugins/button-generator/button-generator.css +1 -1
- package/es2021/plugins/button-generator/button-generator.js +110 -110
- package/es2021/plugins/button-generator/button-generator.min.js +2 -2
- package/es2021/plugins/change-case/change-case.js +7 -7
- package/es2021/plugins/change-case/change-case.min.js +2 -2
- package/es2021/plugins/color-picker/color-picker.css +1 -1
- package/es2021/plugins/color-picker/color-picker.js +37 -37
- package/es2021/plugins/color-picker/color-picker.min.js +2 -2
- package/es2021/plugins/emoji/emoji.css +1 -1
- package/es2021/plugins/emoji/emoji.js +45 -45
- package/es2021/plugins/emoji/emoji.min.js +2 -2
- package/es2021/plugins/export-docs/export-docs.js +1 -1
- package/es2021/plugins/export-docs/export-docs.min.js +2 -2
- package/es2021/plugins/finder/finder.css +1 -1
- package/es2021/plugins/finder/finder.js +446 -446
- package/es2021/plugins/finder/finder.min.js +2 -2
- package/es2021/plugins/google-maps/google-maps.css +1 -1
- package/es2021/plugins/google-maps/google-maps.js +262 -262
- package/es2021/plugins/google-maps/google-maps.min.js +2 -2
- package/es2021/plugins/google-search/google-search.js +1 -1
- package/es2021/plugins/google-search/google-search.min.js +2 -2
- package/es2021/plugins/highlight-signature/highlight-signature.js +23 -23
- package/es2021/plugins/highlight-signature/highlight-signature.min.js +2 -2
- package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.js +40 -40
- package/es2021/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es2021/plugins/keyboard/keyboard.css +1 -1
- package/es2021/plugins/keyboard/keyboard.js +60 -60
- package/es2021/plugins/keyboard/keyboard.min.js +2 -2
- package/es2021/plugins/mobile-view/mobile-view.js +26 -26
- package/es2021/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2021/plugins/page-break/page-break.js +27 -27
- package/es2021/plugins/page-break/page-break.min.js +2 -2
- package/es2021/plugins/paste-code/paste-code.css +1 -1
- package/es2021/plugins/paste-code/paste-code.js +49 -49
- package/es2021/plugins/paste-code/paste-code.min.js +2 -2
- package/es2021/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2021/plugins/paste-from-word/paste-from-word.min.js +2 -2
- package/es2021/plugins/show-blocks/show-blocks.js +27 -27
- package/es2021/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es2021/plugins/todo-list/todo-list.css +1 -1
- package/es2021/plugins/todo-list/todo-list.js +62 -62
- package/es2021/plugins/todo-list/todo-list.min.js +2 -2
- package/es2021/plugins/translate/translate.css +1 -1
- package/es2021/plugins/translate/translate.js +61 -61
- package/es2021/plugins/translate/translate.min.js +2 -2
- package/es2021/plugins/tune-block/tune-block.css +1 -1
- package/es2021/plugins/tune-block/tune-block.js +50 -50
- package/es2021/plugins/tune-block/tune-block.min.js +2 -2
- package/es2021.en/jodit.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +1123 -1118
- 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 +2 -2
- package/es2021.en/plugins/backup/backup.css +1 -1
- package/es2021.en/plugins/backup/backup.js +64 -64
- package/es2021.en/plugins/backup/backup.min.js +2 -2
- package/es2021.en/plugins/button-generator/button-generator.css +1 -1
- package/es2021.en/plugins/button-generator/button-generator.js +110 -110
- package/es2021.en/plugins/button-generator/button-generator.min.js +2 -2
- package/es2021.en/plugins/change-case/change-case.js +7 -7
- package/es2021.en/plugins/change-case/change-case.min.js +2 -2
- package/es2021.en/plugins/color-picker/color-picker.css +1 -1
- package/es2021.en/plugins/color-picker/color-picker.js +37 -37
- package/es2021.en/plugins/color-picker/color-picker.min.js +2 -2
- package/es2021.en/plugins/emoji/emoji.css +1 -1
- package/es2021.en/plugins/emoji/emoji.js +45 -45
- package/es2021.en/plugins/emoji/emoji.min.js +2 -2
- package/es2021.en/plugins/export-docs/export-docs.js +1 -1
- package/es2021.en/plugins/export-docs/export-docs.min.js +2 -2
- package/es2021.en/plugins/finder/finder.css +1 -1
- package/es2021.en/plugins/finder/finder.js +446 -446
- package/es2021.en/plugins/finder/finder.min.js +2 -2
- package/es2021.en/plugins/google-maps/google-maps.css +1 -1
- package/es2021.en/plugins/google-maps/google-maps.js +262 -262
- package/es2021.en/plugins/google-maps/google-maps.min.js +2 -2
- package/es2021.en/plugins/google-search/google-search.js +1 -1
- package/es2021.en/plugins/google-search/google-search.min.js +2 -2
- package/es2021.en/plugins/highlight-signature/highlight-signature.js +23 -23
- package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +2 -2
- package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.js +40 -40
- package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es2021.en/plugins/keyboard/keyboard.css +1 -1
- package/es2021.en/plugins/keyboard/keyboard.js +60 -60
- package/es2021.en/plugins/keyboard/keyboard.min.js +2 -2
- package/es2021.en/plugins/mobile-view/mobile-view.js +26 -26
- package/es2021.en/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2021.en/plugins/page-break/page-break.js +27 -27
- package/es2021.en/plugins/page-break/page-break.min.js +2 -2
- package/es2021.en/plugins/paste-code/paste-code.css +1 -1
- package/es2021.en/plugins/paste-code/paste-code.js +49 -49
- package/es2021.en/plugins/paste-code/paste-code.min.js +2 -2
- 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 +2 -2
- package/es2021.en/plugins/show-blocks/show-blocks.js +27 -27
- package/es2021.en/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es2021.en/plugins/todo-list/todo-list.css +1 -1
- package/es2021.en/plugins/todo-list/todo-list.js +62 -62
- package/es2021.en/plugins/todo-list/todo-list.min.js +2 -2
- package/es2021.en/plugins/translate/translate.css +1 -1
- package/es2021.en/plugins/translate/translate.js +61 -61
- package/es2021.en/plugins/translate/translate.min.js +2 -2
- package/es2021.en/plugins/tune-block/tune-block.css +1 -1
- package/es2021.en/plugins/tune-block/tune-block.js +50 -50
- package/es2021.en/plugins/tune-block/tune-block.min.js +2 -2
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +1461 -1568
- 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 +2 -2
- package/es5/plugins/backup/backup.css +1 -1
- package/es5/plugins/backup/backup.js +80 -80
- package/es5/plugins/backup/backup.min.js +2 -2
- package/es5/plugins/button-generator/button-generator.css +1 -1
- package/es5/plugins/button-generator/button-generator.js +137 -137
- package/es5/plugins/button-generator/button-generator.min.js +2 -2
- package/es5/plugins/change-case/change-case.js +17 -17
- package/es5/plugins/change-case/change-case.min.js +2 -2
- package/es5/plugins/color-picker/color-picker.css +1 -1
- package/es5/plugins/color-picker/color-picker.js +40 -40
- package/es5/plugins/color-picker/color-picker.min.js +2 -2
- package/es5/plugins/emoji/emoji.css +1 -1
- package/es5/plugins/emoji/emoji.js +54 -54
- package/es5/plugins/emoji/emoji.min.js +2 -2
- package/es5/plugins/export-docs/export-docs.js +21 -21
- package/es5/plugins/export-docs/export-docs.min.js +2 -2
- package/es5/plugins/finder/finder.css +1 -1
- package/es5/plugins/finder/finder.js +495 -495
- package/es5/plugins/finder/finder.min.js +2 -2
- package/es5/plugins/google-maps/google-maps.css +1 -1
- package/es5/plugins/google-maps/google-maps.js +299 -299
- package/es5/plugins/google-maps/google-maps.min.js +2 -2
- package/es5/plugins/google-search/google-search.js +17 -17
- package/es5/plugins/google-search/google-search.min.js +2 -2
- package/es5/plugins/highlight-signature/highlight-signature.js +26 -26
- package/es5/plugins/highlight-signature/highlight-signature.min.js +2 -2
- package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.js +43 -43
- package/es5/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es5/plugins/keyboard/keyboard.css +1 -1
- package/es5/plugins/keyboard/keyboard.js +62 -62
- package/es5/plugins/keyboard/keyboard.min.js +2 -2
- package/es5/plugins/mobile-view/mobile-view.js +28 -28
- package/es5/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es5/plugins/page-break/page-break.js +29 -29
- package/es5/plugins/page-break/page-break.min.js +2 -2
- package/es5/plugins/paste-code/paste-code.css +1 -1
- package/es5/plugins/paste-code/paste-code.js +55 -55
- package/es5/plugins/paste-code/paste-code.min.js +2 -2
- package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es5/plugins/paste-from-word/paste-from-word.min.js +2 -2
- package/es5/plugins/show-blocks/show-blocks.js +28 -28
- package/es5/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es5/plugins/todo-list/todo-list.css +1 -1
- package/es5/plugins/todo-list/todo-list.js +64 -64
- package/es5/plugins/todo-list/todo-list.min.js +2 -2
- package/es5/plugins/translate/translate.css +1 -1
- package/es5/plugins/translate/translate.js +77 -77
- package/es5/plugins/translate/translate.min.js +2 -2
- package/es5/plugins/tune-block/tune-block.css +1 -1
- package/es5/plugins/tune-block/tune-block.js +65 -65
- package/es5/plugins/tune-block/tune-block.min.js +2 -2
- package/esm/index.js +1 -1
- package/esm/jodit-pro.js +1 -1
- package/esm/plugins/autocomplete/autocomplete.js +1 -1
- package/esm/plugins/autocomplete/ui/autocomplete.js +1 -1
- package/esm/plugins/backup/backup.js +1 -1
- package/esm/plugins/backup/modules/store.js +1 -1
- package/esm/plugins/backup/ui/list.js +1 -1
- package/esm/plugins/button-generator/button-generator.js +1 -1
- package/esm/plugins/button-generator/ui/button/button.js +1 -1
- package/esm/plugins/button-generator/ui/form/form.js +1 -1
- package/esm/plugins/button-generator/ui/generator/button-generator.js +1 -1
- package/esm/plugins/button-generator/ui/preview/preview.js +1 -1
- package/esm/plugins/change-case/change-case.js +1 -1
- package/esm/plugins/color-picker/ui/input/color-input.js +1 -1
- package/esm/plugins/emoji/config.js +1 -1
- package/esm/plugins/emoji/emoji.js +1 -1
- package/esm/plugins/emoji/ui/emoji.js +1 -1
- package/esm/plugins/export-docs/export-docs.js +1 -1
- package/esm/plugins/finder/browser.js +1 -1
- package/esm/plugins/finder/finder.js +1 -1
- package/esm/plugins/finder/helpers/context-menu.js +1 -1
- package/esm/plugins/finder/helpers/helpers.js +1 -1
- package/esm/plugins/finder/helpers/loading-manager.js +1 -1
- package/esm/plugins/finder/helpers/persistent-store.js +1 -1
- package/esm/plugins/finder/helpers/state-manager.js +1 -1
- package/esm/plugins/finder/ui/folder/folder.js +1 -1
- package/esm/plugins/finder/ui/header/header.js +1 -1
- package/esm/plugins/finder/ui/item/item.js +1 -1
- package/esm/plugins/finder/ui/lightboox/lightbox.js +1 -1
- package/esm/plugins/finder/ui/panel/panel.js +1 -1
- package/esm/plugins/finder/ui/preview/preview.js +1 -1
- package/esm/plugins/finder/ui/progress/progress.js +1 -1
- package/esm/plugins/finder/ui/settings/settings.js +1 -1
- package/esm/plugins/finder/ui/source/source.js +1 -1
- package/esm/plugins/finder/ui/sources/sources.js +1 -1
- package/esm/plugins/finder/ui/tree/tree.js +1 -1
- package/esm/plugins/finder/ui/virtual-scroll/virtual-scroll.js +1 -1
- package/esm/plugins/google-maps/google-maps.js +1 -1
- package/esm/plugins/google-maps/helpers/generate-static-elements.js +1 -1
- package/esm/plugins/google-maps/helpers/helpers.js +1 -1
- package/esm/plugins/google-maps/ui/combo-box/combo-box.js +1 -1
- package/esm/plugins/google-maps/ui/editors/base.js +1 -1
- package/esm/plugins/google-maps/ui/editors/marker/marker.js +1 -1
- package/esm/plugins/google-maps/ui/map/map.js +1 -1
- package/esm/plugins/google-maps/ui/map/modules/init-or-update-element-from-state.js +1 -1
- package/esm/plugins/google-maps/ui/map/modules/open-props-dialog.js +1 -1
- package/esm/plugins/google-maps/ui/maps-controls/maps-controls.js +1 -1
- package/esm/plugins/google-maps/ui/wysiwyg/wysiwyg.js +1 -1
- package/esm/plugins/highlight-signature/highlight-signature.js +1 -1
- package/esm/plugins/iframe-editor/iframe-editor.js +1 -1
- package/esm/plugins/keyboard/keyboard.js +1 -1
- package/esm/plugins/keyboard/ui/keyboard/keyboard.js +1 -1
- package/esm/plugins/license/helpers/helpers.js +1 -1
- package/esm/plugins/license/license.js +1 -1
- package/esm/plugins/mobile-view/mobile-view.js +1 -1
- package/esm/plugins/page-break/page-break.js +1 -1
- package/esm/plugins/paste-code/paste-code.js +1 -1
- package/esm/plugins/paste-from-word/cases/clean-styles.js +1 -1
- package/esm/plugins/paste-from-word/cases/convert-style-unit-to-pixels.js +1 -1
- package/esm/plugins/paste-from-word/cases/convert-to-list.js +1 -1
- package/esm/plugins/paste-from-word/cases/process-image.js +1 -1
- package/esm/plugins/paste-from-word/element/checkers.js +1 -1
- package/esm/plugins/paste-from-word/element/element.js +1 -1
- package/esm/plugins/paste-from-word/element/render.js +1 -1
- package/esm/plugins/paste-from-word/element/style.js +1 -1
- package/esm/plugins/paste-from-word/helpers/apply-styles-pro.js +1 -1
- package/esm/plugins/paste-from-word/helpers/calc-list-levels.js +1 -1
- package/esm/plugins/paste-from-word/helpers/helpers.js +1 -1
- package/esm/plugins/paste-from-word/helpers/transform-word-to-html.js +1 -1
- package/esm/plugins/show-blocks/show-blocks.js +1 -1
- package/esm/plugins/todo-list/config.js +1 -1
- package/esm/plugins/todo-list/todo-list.js +1 -1
- package/esm/plugins/translate/providers/google/google.js +1 -1
- package/esm/plugins/translate/translate.js +1 -1
- package/esm/plugins/translate/ui/list/list.js +1 -1
- package/esm/plugins/tune-block/ui/tuner/tuner.js +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.6.
|
|
4
|
+
* Version: v4.6.13
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -26,13 +26,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
26
26
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
27
27
|
/* harmony export */ highlightSignature: function() { return /* binding */ highlightSignature; }
|
|
28
28
|
/* harmony export */ });
|
|
29
|
-
/* harmony import */ var
|
|
30
|
-
/* harmony import */ var
|
|
31
|
-
/* harmony import */ var
|
|
32
|
-
/* harmony import */ var
|
|
33
|
-
/* harmony import */ var
|
|
34
|
-
/* harmony import */ var
|
|
35
|
-
/* harmony import */ var
|
|
29
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
30
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(66628);
|
|
31
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65478);
|
|
32
|
+
/* harmony import */ var jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2748);
|
|
33
|
+
/* harmony import */ var jodit_esm_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(29960);
|
|
34
|
+
/* harmony import */ var jodit_esm_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(20356);
|
|
35
|
+
/* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(34013);
|
|
36
36
|
/*!
|
|
37
37
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
38
38
|
* See LICENSE.md in the project root for license information.
|
|
@@ -46,9 +46,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
var highlightSignature = /** @class */ (function (_super) {
|
|
49
|
-
(0,
|
|
49
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__extends */ .C6)(highlightSignature, _super);
|
|
50
50
|
function highlightSignature() {
|
|
51
|
-
var _this = _super.apply(this, (0,
|
|
51
|
+
var _this = _super.apply(this, (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__spreadArray */ .fX)([], (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__read */ .zs)(arguments), false)) || this;
|
|
52
52
|
_this.abortController = null;
|
|
53
53
|
return _this;
|
|
54
54
|
}
|
|
@@ -113,7 +113,7 @@ var highlightSignature = /** @class */ (function (_super) {
|
|
|
113
113
|
* if there are, normalizes the editor and starts the loop again
|
|
114
114
|
*/
|
|
115
115
|
highlightSignature.prototype.checkNormalizing = function (node) {
|
|
116
|
-
if (
|
|
116
|
+
if (jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_3__/* .Dom */ .J.isText(node.nextSibling)) {
|
|
117
117
|
this.j.editor.normalize();
|
|
118
118
|
this.walkNodes();
|
|
119
119
|
return true;
|
|
@@ -142,7 +142,7 @@ var highlightSignature = /** @class */ (function (_super) {
|
|
|
142
142
|
}
|
|
143
143
|
var elm = opts.schema[schemaKey](this.j, matched);
|
|
144
144
|
if (elm) {
|
|
145
|
-
|
|
145
|
+
jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_3__/* .Dom */ .J.markTemporary(elm, {
|
|
146
146
|
dataHighlightSchema: schemaKey
|
|
147
147
|
});
|
|
148
148
|
this.replaceMatchedTextToElm(node, value, matched, elm);
|
|
@@ -161,10 +161,10 @@ var highlightSignature = /** @class */ (function (_super) {
|
|
|
161
161
|
var rightPartText = value.substring(index + matched[0].length);
|
|
162
162
|
if (rightPartText.length) {
|
|
163
163
|
var rightPart = j.createInside.text(rightPartText);
|
|
164
|
-
|
|
164
|
+
jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_3__/* .Dom */ .J.after(node, rightPart);
|
|
165
165
|
}
|
|
166
166
|
elm.innerText = matched[0];
|
|
167
|
-
|
|
167
|
+
jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_3__/* .Dom */ .J.after(node, elm);
|
|
168
168
|
if (hasCursorInside) {
|
|
169
169
|
this.restoreCursorPosition(offset, node, elm.firstChild, elm.nextSibling);
|
|
170
170
|
}
|
|
@@ -173,13 +173,13 @@ var highlightSignature = /** @class */ (function (_super) {
|
|
|
173
173
|
* The text node already has a parent for highlighting
|
|
174
174
|
*/
|
|
175
175
|
highlightSignature.hasUtilWrapper = function (node) {
|
|
176
|
-
return
|
|
176
|
+
return jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_3__/* .Dom */ .J.isTemporary(node.parentElement);
|
|
177
177
|
};
|
|
178
178
|
/**
|
|
179
179
|
* Removes utility highlighting elements from HTML
|
|
180
180
|
*/
|
|
181
181
|
highlightSignature.removeUtilWrappers = function (data) {
|
|
182
|
-
data.value =
|
|
182
|
+
data.value = jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_3__/* .Dom */ .J.replaceTemporaryFromString(data.value);
|
|
183
183
|
};
|
|
184
184
|
/**
|
|
185
185
|
* Restores the cursor position to the place where it was before replacement
|
|
@@ -191,7 +191,7 @@ var highlightSignature = /** @class */ (function (_super) {
|
|
|
191
191
|
nodes[_i - 1] = arguments[_i];
|
|
192
192
|
}
|
|
193
193
|
try {
|
|
194
|
-
for (var nodes_1 = (0,
|
|
194
|
+
for (var nodes_1 = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__values */ .Ju)(nodes), nodes_1_1 = nodes_1.next(); !nodes_1_1.done; nodes_1_1 = nodes_1.next()) {
|
|
195
195
|
var node = nodes_1_1.value;
|
|
196
196
|
if (node && node.nodeValue) {
|
|
197
197
|
var value = node.nodeValue;
|
|
@@ -218,9 +218,9 @@ var highlightSignature = /** @class */ (function (_super) {
|
|
|
218
218
|
*/
|
|
219
219
|
highlightSignature.prototype.checkUtilsBoxToSchema = function () {
|
|
220
220
|
var _this = this;
|
|
221
|
-
|
|
221
|
+
jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_3__/* .Dom */ .J.temporaryList(this.j.editor).forEach(function (elm) {
|
|
222
222
|
var _a;
|
|
223
|
-
var schema = (0,
|
|
223
|
+
var schema = (0,jodit_esm_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_4__/* .attr */ .C)(elm, 'dataHighlightSchema');
|
|
224
224
|
if (!schema) {
|
|
225
225
|
return;
|
|
226
226
|
}
|
|
@@ -228,23 +228,23 @@ var highlightSignature = /** @class */ (function (_super) {
|
|
|
228
228
|
var text = (_a = elm.innerText) !== null && _a !== void 0 ? _a : '';
|
|
229
229
|
if (!reg.test(text) || text.replace(reg, '').length) {
|
|
230
230
|
_this.j.s.save();
|
|
231
|
-
|
|
231
|
+
jodit_esm_core_dom_dom__WEBPACK_IMPORTED_MODULE_3__/* .Dom */ .J.unwrap(elm);
|
|
232
232
|
_this.j.s.restore();
|
|
233
233
|
}
|
|
234
234
|
});
|
|
235
235
|
};
|
|
236
236
|
/** @override */
|
|
237
237
|
highlightSignature.requires = ['license'];
|
|
238
|
-
(0,
|
|
239
|
-
(0,
|
|
238
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
239
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.debounce)()
|
|
240
240
|
], highlightSignature.prototype, "walkNodes", null);
|
|
241
|
-
(0,
|
|
242
|
-
|
|
241
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
242
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
|
|
243
243
|
], highlightSignature.prototype, "runWorker", null);
|
|
244
244
|
return highlightSignature;
|
|
245
|
-
}(
|
|
245
|
+
}(jodit_esm_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_5__/* .Plugin */ .k));
|
|
246
246
|
|
|
247
|
-
|
|
247
|
+
jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_6__/* .JoditPro */ .A.plugins.add('highlight-signature', highlightSignature);
|
|
248
248
|
|
|
249
249
|
|
|
250
250
|
/***/ }),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.6.
|
|
4
|
+
* Version: v4.6.13
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
"use strict";!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(self,
|
|
10
|
+
"use strict";!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(self,function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[726],{29571:function(e,t,r){r.r(t),r.d(t,{highlightSignature:function(){return h}});var o=r(31635),i=(r(66628),r(65478)),n=r(2748),a=r(29960),s=r(20356),l=r(34013),h=function(e){function t(){var t=e.apply(this,(0,o.fX)([],(0,o.zs)(arguments),!1))||this;return t.abortController=null,t}return(0,o.C6)(t,e),t.prototype.afterInit=function(e){Object.keys(e.o.highlightSignature.schema).length&&(e.e.on("change afterSetMode",this.walkNodes).on("afterGetValueFromEditor",t.removeUtilWrappers),this.walkNodes())},t.prototype.beforeDestruct=function(e){e.e.off("change afterSetMode",this.walkNodes).off("afterGetValueFromEditor",t.removeUtilWrappers)},t.prototype.walkNodes=function(){var e;if(this.j.isEditorMode()){this.checkUtilsBoxToSchema();var t=this.j,r=t.ed.createNodeIterator(t.editor,NodeFilter.SHOW_TEXT);null===(e=this.abortController)||void 0===e||e.abort(),this.workLoop(r)}},t.prototype.runWorker=function(e){var t;this.j.e.mute();var r=0,o=this.j.o.highlightSignature.processInChunkCount;try{do{if(r+=1,!(t=e.nextNode()))return;if(this.checkNormalizing(t))return;this.checkReplaceSchemas(t)}while(t&&o>r)}finally{this.j.e.unmute()}this.workLoop(e)},t.prototype.workLoop=function(e){var t=this;this.abortController=new AbortController,this.j.async.schedulerPostTask(function(){return t.runWorker(e)},{delay:this.j.o.highlightSignature.processDelay}).catch(function(){return null})},t.prototype.checkNormalizing=function(e){return!!n.J.isText(e.nextSibling)&&(this.j.editor.normalize(),this.walkNodes(),!0)},t.prototype.checkReplaceSchemas=function(e){if(!t.hasUtilWrapper(e)){var r=e.nodeValue;if(null!=r){var o=this.j.o.highlightSignature;for(var i in o.schema){var a=RegExp(i);if(a.test(r)){var s=r.match(a);if(!s||void 0===s.index)continue;var l=o.schema[i](this.j,s);if(l)return n.J.markTemporary(l,{dataHighlightSchema:i}),void this.replaceMatchedTextToElm(e,r,s,l)}}}}},t.prototype.replaceMatchedTextToElm=function(e,t,r,o){var i,a=this.j,s=a.s.range,l=s.startContainer===e,h=s.startOffset,u=null!==(i=r.index)&&void 0!==i?i:0;e.nodeValue=t.substring(0,u);var c=t.substring(u+r[0].length);if(c.length){var p=a.createInside.text(c);n.J.after(e,p)}o.innerText=r[0],n.J.after(e,o),l&&this.restoreCursorPosition(h,e,o.firstChild,o.nextSibling)},t.hasUtilWrapper=function(e){return n.J.isTemporary(e.parentElement)},t.removeUtilWrappers=function(e){e.value=n.J.replaceTemporaryFromString(e.value)},t.prototype.restoreCursorPosition=function(e){for(var t,r,i=[],n=1;arguments.length>n;n++)i[n-1]=arguments[n];try{for(var a=(0,o.Ju)(i),s=a.next();!s.done;s=a.next()){var l=s.value;if(l&&l.nodeValue){var h=l.nodeValue;if(h.length>=e){var u=this.j.s.createRange();u.setStart(l,e),this.j.s.selectRange(u,!1);break}e-=h.length}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}},t.prototype.checkUtilsBoxToSchema=function(){var e=this;n.J.temporaryList(this.j.editor).forEach(function(t){var r,o=(0,a.C)(t,"dataHighlightSchema");if(o){var i=RegExp(o),s=null!==(r=t.innerText)&&void 0!==r?r:"";i.test(s)&&!s.replace(i,"").length||(e.j.s.save(),n.J.unwrap(t),e.j.s.restore())}})},t.requires=["license"],(0,o.Cg)([(0,i.debounce)()],t.prototype,"walkNodes",null),(0,o.Cg)([i.autobind],t.prototype,"runWorker",null),t}(s.k);l.A.plugins.add("highlight-signature",h)},66628:function(e,t,r){r(6441).T.prototype.highlightSignature={processDelay:0,processInChunkCount:300,schema:{},excludeTags:["pre"]}}},function(e){return e(e.s=29571)}])});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.6.
|
|
4
|
+
* Version: v4.6.13
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -25,9 +25,9 @@ return (self["webpackChunkjodit_pro"] = self["webpackChunkjodit_pro"] || []).pus
|
|
|
25
25
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
26
26
|
/* harmony export */ K: function() { return /* binding */ UIIframeEditor; }
|
|
27
27
|
/* harmony export */ });
|
|
28
|
-
/* harmony import */ var
|
|
29
|
-
/* harmony import */ var
|
|
30
|
-
/* harmony import */ var
|
|
28
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
29
|
+
/* harmony import */ var jodit_esm_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(87325);
|
|
30
|
+
/* harmony import */ var jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67510);
|
|
31
31
|
/*!
|
|
32
32
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
33
33
|
* See LICENSE.md in the project root for license information.
|
|
@@ -38,7 +38,7 @@ return (self["webpackChunkjodit_pro"] = self["webpackChunkjodit_pro"] || []).pus
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
var UIIframeEditor = /** @class */ (function (_super) {
|
|
41
|
-
(0,
|
|
41
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__extends */ .C6)(UIIframeEditor, _super);
|
|
42
42
|
function UIIframeEditor(jodit, opt) {
|
|
43
43
|
var _this = _super.call(this, jodit) || this;
|
|
44
44
|
_this.state = {
|
|
@@ -52,7 +52,7 @@ var UIIframeEditor = /** @class */ (function (_super) {
|
|
|
52
52
|
title: ''
|
|
53
53
|
};
|
|
54
54
|
Object.assign(_this.state, opt);
|
|
55
|
-
_this.srcField = new
|
|
55
|
+
_this.srcField = new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_2__/* .UIInput */ .tS(jodit, {
|
|
56
56
|
label: 'URL',
|
|
57
57
|
type: 'url',
|
|
58
58
|
required: true,
|
|
@@ -63,8 +63,8 @@ var UIIframeEditor = /** @class */ (function (_super) {
|
|
|
63
63
|
});
|
|
64
64
|
_this.append([
|
|
65
65
|
_this.srcField,
|
|
66
|
-
new
|
|
67
|
-
new
|
|
66
|
+
new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(jodit, [
|
|
67
|
+
new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_2__/* .UIInput */ .tS(jodit, {
|
|
68
68
|
label: 'Width',
|
|
69
69
|
type: 'number',
|
|
70
70
|
value: _this.state.width,
|
|
@@ -72,7 +72,7 @@ var UIIframeEditor = /** @class */ (function (_super) {
|
|
|
72
72
|
_this.state.width = parseInt(v, 10) || 0;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
new
|
|
75
|
+
new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_2__/* .UIInput */ .tS(jodit, {
|
|
76
76
|
label: 'Height',
|
|
77
77
|
type: 'number',
|
|
78
78
|
value: _this.state.height,
|
|
@@ -85,8 +85,8 @@ var UIIframeEditor = /** @class */ (function (_super) {
|
|
|
85
85
|
className: _this.getFullElName('block'),
|
|
86
86
|
align: 'center'
|
|
87
87
|
}),
|
|
88
|
-
new
|
|
89
|
-
new
|
|
88
|
+
new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(jodit, [
|
|
89
|
+
new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_2__/* .UICheckbox */ .cY(jodit, {
|
|
90
90
|
label: 'Show frame border',
|
|
91
91
|
checked: Boolean(opt.frameBorder),
|
|
92
92
|
onChange: function (value) {
|
|
@@ -94,7 +94,7 @@ var UIIframeEditor = /** @class */ (function (_super) {
|
|
|
94
94
|
}
|
|
95
95
|
})
|
|
96
96
|
]),
|
|
97
|
-
new
|
|
97
|
+
new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_2__/* .UIInput */ .tS(jodit, {
|
|
98
98
|
label: 'Name',
|
|
99
99
|
value: _this.state.name,
|
|
100
100
|
type: 'text',
|
|
@@ -102,7 +102,7 @@ var UIIframeEditor = /** @class */ (function (_super) {
|
|
|
102
102
|
_this.state.name = v;
|
|
103
103
|
}
|
|
104
104
|
}),
|
|
105
|
-
new
|
|
105
|
+
new jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_2__/* .UIInput */ .tS(jodit, {
|
|
106
106
|
label: 'Title',
|
|
107
107
|
value: _this.state.title,
|
|
108
108
|
type: 'text',
|
|
@@ -116,11 +116,11 @@ var UIIframeEditor = /** @class */ (function (_super) {
|
|
|
116
116
|
UIIframeEditor.prototype.className = function () {
|
|
117
117
|
return 'UIIframeEditor';
|
|
118
118
|
};
|
|
119
|
-
UIIframeEditor = (0,
|
|
120
|
-
|
|
119
|
+
UIIframeEditor = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
120
|
+
jodit_esm_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_1__/* .component */ .s
|
|
121
121
|
], UIIframeEditor);
|
|
122
122
|
return UIIframeEditor;
|
|
123
|
-
}(
|
|
123
|
+
}(jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_2__/* .UIGroup */ .Ue));
|
|
124
124
|
|
|
125
125
|
|
|
126
126
|
|
|
@@ -134,16 +134,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
134
134
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
135
135
|
/* harmony export */ IframeEditor: function() { return /* binding */ IframeEditor; }
|
|
136
136
|
/* harmony export */ });
|
|
137
|
-
/* harmony import */ var
|
|
138
|
-
/* harmony import */ var
|
|
139
|
-
/* harmony import */ var
|
|
140
|
-
/* harmony import */ var
|
|
141
|
-
/* harmony import */ var
|
|
142
|
-
/* harmony import */ var
|
|
143
|
-
/* harmony import */ var
|
|
144
|
-
/* harmony import */ var
|
|
145
|
-
/* harmony import */ var
|
|
146
|
-
/* harmony import */ var
|
|
137
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
|
|
138
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(86163);
|
|
139
|
+
/* harmony import */ var _ui_iframe_editor_iframe_editor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(44611);
|
|
140
|
+
/* harmony import */ var jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(65478);
|
|
141
|
+
/* harmony import */ var jodit_esm_core_dom__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22732);
|
|
142
|
+
/* harmony import */ var jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21537);
|
|
143
|
+
/* harmony import */ var jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(50911);
|
|
144
|
+
/* harmony import */ var jodit_esm_core_ui_button__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(62843);
|
|
145
|
+
/* harmony import */ var jodit_esm_modules__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(41409);
|
|
146
|
+
/* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(34013);
|
|
147
147
|
/*!
|
|
148
148
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
149
149
|
* See LICENSE.md in the project root for license information.
|
|
@@ -160,9 +160,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
160
160
|
|
|
161
161
|
|
|
162
162
|
var IframeEditor = /** @class */ (function (_super) {
|
|
163
|
-
(0,
|
|
163
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__extends */ .C6)(IframeEditor, _super);
|
|
164
164
|
function IframeEditor() {
|
|
165
|
-
var _this = _super.apply(this, (0,
|
|
165
|
+
var _this = _super.apply(this, (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__spreadArray */ .fX)([], (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__read */ .zs)(arguments), false)) || this;
|
|
166
166
|
/** @override */
|
|
167
167
|
_this.buttons = [
|
|
168
168
|
{
|
|
@@ -180,16 +180,16 @@ var IframeEditor = /** @class */ (function (_super) {
|
|
|
180
180
|
var _this = this;
|
|
181
181
|
var _a, _b, _c, _d, _e;
|
|
182
182
|
if (!this.__dialog) {
|
|
183
|
-
this.__dialog = new
|
|
183
|
+
this.__dialog = new jodit_esm_modules__WEBPACK_IMPORTED_MODULE_8__.Dialog({
|
|
184
184
|
language: this.j.o.language,
|
|
185
185
|
theme: this.j.o.theme
|
|
186
186
|
});
|
|
187
187
|
this.__dialog.setHeader('Iframe Properties').setSize(470, 400);
|
|
188
188
|
}
|
|
189
|
-
if (target && !
|
|
189
|
+
if (target && !jodit_esm_core_dom__WEBPACK_IMPORTED_MODULE_4__/* .Dom */ .J.isTag(target, 'iframe')) {
|
|
190
190
|
target = undefined;
|
|
191
191
|
}
|
|
192
|
-
var ui = new
|
|
192
|
+
var ui = new _ui_iframe_editor_iframe_editor__WEBPACK_IMPORTED_MODULE_2__/* .UIIframeEditor */ .K(this.__dialog, {
|
|
193
193
|
src: (_a = target === null || target === void 0 ? void 0 : target.src) !== null && _a !== void 0 ? _a : '',
|
|
194
194
|
name: (_b = target === null || target === void 0 ? void 0 : target.name) !== null && _b !== void 0 ? _b : '',
|
|
195
195
|
title: (_c = target === null || target === void 0 ? void 0 : target.title) !== null && _c !== void 0 ? _c : '',
|
|
@@ -204,10 +204,10 @@ var IframeEditor = /** @class */ (function (_super) {
|
|
|
204
204
|
}
|
|
205
205
|
else {
|
|
206
206
|
dlg.setFooter([
|
|
207
|
-
(0,
|
|
207
|
+
(0,jodit_esm_core_ui_button__WEBPACK_IMPORTED_MODULE_7__/* .Button */ .$n)(dlg, 'cancel', 'Cancel', 'default').onAction(function () {
|
|
208
208
|
return dlg.close();
|
|
209
209
|
}),
|
|
210
|
-
(0,
|
|
210
|
+
(0,jodit_esm_core_ui_button__WEBPACK_IMPORTED_MODULE_7__/* .Button */ .$n)(dlg, 'ok', target ? 'Update' : 'Insert', 'primary').onAction(function () {
|
|
211
211
|
if (!ui.srcField.value) {
|
|
212
212
|
ui.srcField.validate();
|
|
213
213
|
ui.srcField.focus();
|
|
@@ -218,7 +218,7 @@ var IframeEditor = /** @class */ (function (_super) {
|
|
|
218
218
|
_this.j.s.insertNode(target, true, false);
|
|
219
219
|
}
|
|
220
220
|
target.className = ui.state.className || '';
|
|
221
|
-
(0,
|
|
221
|
+
(0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_5__.attr)(target, {
|
|
222
222
|
src: ui.state.src,
|
|
223
223
|
title: ui.state.title,
|
|
224
224
|
name: ui.state.name,
|
|
@@ -226,8 +226,8 @@ var IframeEditor = /** @class */ (function (_super) {
|
|
|
226
226
|
width: ui.state.width,
|
|
227
227
|
height: ui.state.height
|
|
228
228
|
});
|
|
229
|
-
if (
|
|
230
|
-
(0,
|
|
229
|
+
if (jodit_esm_core_dom__WEBPACK_IMPORTED_MODULE_4__/* .Dom */ .J.isTag(target.parentElement, 'jodit')) {
|
|
230
|
+
(0,jodit_esm_core_helpers__WEBPACK_IMPORTED_MODULE_5__.css)(target.parentElement, {
|
|
231
231
|
width: ui.state.width,
|
|
232
232
|
height: ui.state.height
|
|
233
233
|
});
|
|
@@ -245,7 +245,7 @@ var IframeEditor = /** @class */ (function (_super) {
|
|
|
245
245
|
* DBLClick handler
|
|
246
246
|
*/
|
|
247
247
|
IframeEditor.prototype.onDblClick = function (e) {
|
|
248
|
-
if (
|
|
248
|
+
if (jodit_esm_core_dom__WEBPACK_IMPORTED_MODULE_4__/* .Dom */ .J.isTag(e.target, 'iframe')) {
|
|
249
249
|
this.toggleEditor(e.target);
|
|
250
250
|
}
|
|
251
251
|
};
|
|
@@ -255,16 +255,16 @@ var IframeEditor = /** @class */ (function (_super) {
|
|
|
255
255
|
};
|
|
256
256
|
/** @override */
|
|
257
257
|
IframeEditor.requires = ['license', 'color-picker'];
|
|
258
|
-
(0,
|
|
259
|
-
|
|
258
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
259
|
+
jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_3__.autobind
|
|
260
260
|
], IframeEditor.prototype, "toggleEditor", null);
|
|
261
|
-
(0,
|
|
262
|
-
(0,
|
|
261
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
|
|
262
|
+
(0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_3__.watch)(':dblclick')
|
|
263
263
|
], IframeEditor.prototype, "onDblClick", null);
|
|
264
264
|
return IframeEditor;
|
|
265
|
-
}(
|
|
265
|
+
}(jodit_esm_core_plugin__WEBPACK_IMPORTED_MODULE_6__/* .Plugin */ .k));
|
|
266
266
|
|
|
267
|
-
|
|
267
|
+
jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_9__/* .JoditPro */ .A.plugins.add('iframe-editor', IframeEditor);
|
|
268
268
|
|
|
269
269
|
|
|
270
270
|
/***/ }),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.6.
|
|
4
|
+
* Version: v4.6.13
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var i=t();for(var o in i)("object"==typeof exports?exports:e)[o]=i[o]}}(self,
|
|
10
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var i=t();for(var o in i)("object"==typeof exports?exports:e)[o]=i[o]}}(self,function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[122],{44611:function(e,t,i){"use strict";i.d(t,{K:function(){return a}});var o=i(31635),n=i(87325),r=i(67510),a=function(e){function t(t,i){var o=e.call(this,t)||this;return o.state={src:"",className:"",width:400,height:200,frameBorder:!1,enableScrollbars:!1,name:"",title:""},Object.assign(o.state,i),o.srcField=new r.tS(t,{label:"URL",type:"url",required:!0,value:o.state.src,onChange:function(e){o.state.src=e}}),o.append([o.srcField,new r.Yh(t,[new r.tS(t,{label:"Width",type:"number",value:o.state.width,onChange:function(e){o.state.width=parseInt(e,10)||0}}),new r.tS(t,{label:"Height",type:"number",value:o.state.height,onChange:function(e){o.state.height=parseInt(e,10)||0}})],{className:o.getFullElName("block"),align:"center"}),new r.Yh(t,[new r.cY(t,{label:"Show frame border",checked:Boolean(i.frameBorder),onChange:function(e){o.state.frameBorder="true"===e}})]),new r.tS(t,{label:"Name",value:o.state.name,type:"text",onChange:function(e){o.state.name=e}}),new r.tS(t,{label:"Title",value:o.state.title,type:"text",onChange:function(e){o.state.title=e}})]),o}return(0,o.C6)(t,e),t.prototype.className=function(){return"UIIframeEditor"},(0,o.Cg)([n.s],t)}(r.Ue)},65239:function(e,t,i){"use strict";i.r(t),i.d(t,{IframeEditor:function(){return f}});var o=i(31635),n=(i(86163),i(44611)),r=i(65478),a=i(22732),l=i(21537),s=i(50911),c=i(62843),d=i(41409),u=i(34013),f=function(e){function t(){var t=e.apply(this,(0,o.fX)([],(0,o.zs)(arguments),!1))||this;return t.buttons=[{group:"form",name:"iframeEditor"}],t}return(0,o.C6)(t,e),t.prototype.afterInit=function(e){e.e.on("toggleIframeEditor",this.toggleEditor)},t.prototype.toggleEditor=function(e){var t,i,o,r,s,u=this;this.__dialog||(this.__dialog=new d.Dialog({language:this.j.o.language,theme:this.j.o.theme}),this.__dialog.setHeader("Iframe Properties").setSize(470,400)),e&&!a.J.isTag(e,"iframe")&&(e=void 0);var f=new n.K(this.__dialog,{src:null!==(t=null==e?void 0:e.src)&&void 0!==t?t:"",name:null!==(i=null==e?void 0:e.name)&&void 0!==i?i:"",title:null!==(o=null==e?void 0:e.title)&&void 0!==o?o:"",frameBorder:"1"===(null==e?void 0:e.frameBorder)||"yes"===(null==e?void 0:e.frameBorder),width:null!==(r=null==e?void 0:e.offsetWidth)&&void 0!==r?r:700,height:null!==(s=null==e?void 0:e.offsetHeight)&&void 0!==s?s:400});this.__dialog.setContent(f);var h=this.__dialog;h.isOpened?h.close():(h.setFooter([(0,c.$n)(h,"cancel","Cancel","default").onAction(function(){return h.close()}),(0,c.$n)(h,"ok",e?"Update":"Insert","primary").onAction(function(){if(!f.srcField.value)return f.srcField.validate(),void f.srcField.focus();e||(e=u.j.createInside.element("iframe"),u.j.s.insertNode(e,!0,!1)),e.className=f.state.className||"",(0,l.attr)(e,{src:f.state.src,title:f.state.title,name:f.state.name,frameborder:f.state.frameBorder?"1":"0",width:f.state.width,height:f.state.height}),a.J.isTag(e.parentElement,"jodit")&&(0,l.css)(e.parentElement,{width:f.state.width,height:f.state.height}),u.jodit.e.fire("synchro"),h.close()})]).open(),this.jodit.async.requestIdleCallback(function(){f.srcField.focus()}))},t.prototype.onDblClick=function(e){a.J.isTag(e.target,"iframe")&&this.toggleEditor(e.target)},t.prototype.beforeDestruct=function(e){var t;null===(t=this.__dialog)||void 0===t||t.destruct()},t.requires=["license","color-picker"],(0,o.Cg)([r.autobind],t.prototype,"toggleEditor",null),(0,o.Cg)([(0,r.watch)(":dblclick")],t.prototype,"onDblClick",null),t}(s.k);u.A.plugins.add("iframe-editor",f)},67008:function(e){e.exports='<svg viewBox="0 0 32 32" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <rect fill="none" height="32" width="32"/> <path d="M28,14H18v2h10V14z M28,18H18v2h10V18z M24,22h-6v2h6V22z M14,14H4v10h10V14z M0,6v26h32V6H0z M30,30H2l0.08-20H30V30z"/> </svg>'},86163:function(e,t,i){"use strict";var o=i(67008),n=i.n(o),r=i(6441),a=i(2748),l=i(68345);r.T.prototype.controls.iframeEditor={icon:n(),tooltip:"Iframe Editor",exec:function(e,t){a.J.isTag(t,"jodit")&&a.J.isTag(t.firstElementChild,"iframe")&&(t=t.firstElementChild),e.e.fire("toggleIframeEditor",a.J.isTag(t,"iframe")?t:null)}},(0,l.c)(r.T.prototype.popup.iframe)&&r.T.prototype.popup.iframe.push("iframeEditor")}},function(e){return e(e.s=65239)}])});
|