jodit 4.2.10 → 4.2.11
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 +115 -96
- package/es2015/jodit.min.js +2 -2
- package/es2015/plugins/debug/debug.js +1 -1
- package/es2015/plugins/debug/debug.min.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2018/jodit.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +115 -96
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/debug/debug.js +1 -1
- package/es2018/plugins/debug/debug.min.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +115 -96
- package/es2021/jodit.min.js +2 -2
- package/es2021/plugins/debug/debug.js +1 -1
- package/es2021/plugins/debug/debug.min.js +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.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 +115 -96
- package/es2021.en/jodit.min.js +2 -2
- package/es2021.en/plugins/debug/debug.js +1 -1
- package/es2021.en/plugins/debug/debug.min.js +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +115 -96
- package/es5/jodit.min.css +2 -2
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/debug/debug.js +1 -1
- package/es5/plugins/debug/debug.min.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/esm/config.js +2 -2
- package/esm/core/async/async.d.ts +1 -1
- package/esm/core/async/async.js +11 -11
- package/esm/core/async/index.js +1 -1
- package/esm/core/component/component.d.ts +1 -1
- package/esm/core/component/component.js +4 -4
- package/esm/core/component/index.js +3 -3
- package/esm/core/component/view-component.d.ts +1 -1
- package/esm/core/component/view-component.js +1 -1
- package/esm/core/constants.d.ts +1 -1
- package/esm/core/constants.js +1 -1
- package/esm/core/create/create.d.ts +1 -1
- package/esm/core/create/create.js +4 -4
- package/esm/core/create/index.js +1 -1
- package/esm/core/decorators/cache/cache.d.ts +1 -1
- package/esm/core/decorators/cache/cache.js +4 -4
- package/esm/core/decorators/debounce/debounce.d.ts +1 -1
- package/esm/core/decorators/debounce/debounce.js +4 -4
- package/esm/core/decorators/derive/derive.js +1 -1
- package/esm/core/decorators/hook/hook.d.ts +2 -2
- package/esm/core/decorators/hook/hook.js +2 -2
- package/esm/core/decorators/idle/idle.d.ts +1 -1
- package/esm/core/decorators/idle/idle.js +3 -3
- package/esm/core/decorators/index.js +11 -11
- package/esm/core/decorators/persistent/persistent.d.ts +1 -1
- package/esm/core/decorators/persistent/persistent.js +2 -2
- package/esm/core/decorators/wait/wait.d.ts +1 -1
- package/esm/core/decorators/wait/wait.js +3 -3
- package/esm/core/decorators/watch/watch.d.ts +1 -1
- package/esm/core/decorators/watch/watch.js +7 -7
- package/esm/core/dom/dom.d.ts +1 -1
- package/esm/core/dom/dom.js +6 -6
- package/esm/core/dom/index.js +2 -2
- package/esm/core/dom/lazy-walker.d.ts +2 -2
- package/esm/core/dom/lazy-walker.js +3 -3
- package/esm/core/event-emitter/event-emitter.d.ts +1 -1
- package/esm/core/event-emitter/event-emitter.js +7 -7
- package/esm/core/event-emitter/eventify.d.ts +1 -1
- package/esm/core/event-emitter/index.js +4 -4
- package/esm/core/event-emitter/observable.d.ts +1 -1
- package/esm/core/event-emitter/observable.js +4 -4
- package/esm/core/event-emitter/store.d.ts +1 -1
- package/esm/core/event-emitter/store.js +2 -2
- package/esm/core/global.d.ts +2 -2
- package/esm/core/global.js +9 -9
- package/esm/core/helpers/array/as-array.js +1 -1
- package/esm/core/helpers/array/index.js +3 -3
- package/esm/core/helpers/array/to-array.js +2 -2
- package/esm/core/helpers/async/index.js +1 -1
- package/esm/core/helpers/checker/index.js +25 -25
- package/esm/core/helpers/checker/is-equal.js +1 -1
- package/esm/core/helpers/checker/is-html.js +1 -1
- package/esm/core/helpers/checker/is-imp-interface.d.ts +1 -1
- package/esm/core/helpers/checker/is-imp-interface.js +3 -3
- package/esm/core/helpers/checker/is-int.js +2 -2
- package/esm/core/helpers/checker/is-jodit-object.d.ts +1 -1
- package/esm/core/helpers/checker/is-jodit-object.js +1 -1
- package/esm/core/helpers/checker/is-license.js +1 -1
- package/esm/core/helpers/checker/is-marker.d.ts +1 -1
- package/esm/core/helpers/checker/is-marker.js +2 -2
- package/esm/core/helpers/checker/is-numeric.js +1 -1
- package/esm/core/helpers/checker/is-plain-object.d.ts +1 -1
- package/esm/core/helpers/checker/is-plain-object.js +1 -1
- package/esm/core/helpers/checker/is-set.js +1 -1
- package/esm/core/helpers/checker/is-string.js +1 -1
- package/esm/core/helpers/checker/is-view-object.d.ts +1 -1
- package/esm/core/helpers/checker/is-view-object.js +1 -1
- package/esm/core/helpers/color/index.js +1 -1
- package/esm/core/helpers/html/apply-styles.js +4 -4
- package/esm/core/helpers/html/clean-from-word.js +3 -3
- package/esm/core/helpers/html/index.js +6 -6
- package/esm/core/helpers/html/safe-html.js +2 -2
- package/esm/core/helpers/html/strip-tags.d.ts +1 -1
- package/esm/core/helpers/html/strip-tags.js +4 -4
- package/esm/core/helpers/index.js +9 -9
- package/esm/core/helpers/normalize/index.js +8 -8
- package/esm/core/helpers/normalize/normalize-color.js +2 -2
- package/esm/core/helpers/normalize/normalize-css-value.js +4 -4
- package/esm/core/helpers/normalize/normalize-key-aliases.js +2 -2
- package/esm/core/helpers/normalize/normalize-path.js +1 -1
- package/esm/core/helpers/size/get-scroll-parent.d.ts +1 -1
- package/esm/core/helpers/size/get-scroll-parent.js +2 -2
- package/esm/core/helpers/size/index.js +6 -6
- package/esm/core/helpers/size/object-size.d.ts +1 -1
- package/esm/core/helpers/size/object-size.js +1 -1
- package/esm/core/helpers/size/offset.d.ts +1 -1
- package/esm/core/helpers/size/position.d.ts +1 -1
- package/esm/core/helpers/size/position.js +1 -1
- package/esm/core/helpers/string/fuzzy-search-index.js +1 -1
- package/esm/core/helpers/string/i18n.d.ts +1 -1
- package/esm/core/helpers/string/i18n.js +5 -5
- package/esm/core/helpers/string/index.js +7 -7
- package/esm/core/helpers/string/trim.js +1 -1
- package/esm/core/helpers/utils/align.d.ts +1 -1
- package/esm/core/helpers/utils/align.js +2 -2
- package/esm/core/helpers/utils/append-script.d.ts +1 -1
- package/esm/core/helpers/utils/append-script.js +2 -2
- package/esm/core/helpers/utils/attr.d.ts +1 -1
- package/esm/core/helpers/utils/attr.js +3 -3
- package/esm/core/helpers/utils/build-query.d.ts +1 -1
- package/esm/core/helpers/utils/build-query.js +1 -1
- package/esm/core/helpers/utils/config-proto.d.ts +1 -1
- package/esm/core/helpers/utils/config-proto.js +7 -7
- package/esm/core/helpers/utils/convert-media-url-to-video-embed.js +2 -2
- package/esm/core/helpers/utils/css.d.ts +1 -1
- package/esm/core/helpers/utils/css.js +5 -5
- package/esm/core/helpers/utils/data-bind.d.ts +1 -1
- package/esm/core/helpers/utils/data-bind.js +1 -1
- package/esm/core/helpers/utils/default-language.js +1 -1
- package/esm/core/helpers/utils/error/error.js +1 -1
- package/esm/core/helpers/utils/error/errors/abort-error.d.ts +1 -1
- package/esm/core/helpers/utils/error/errors/abort-error.js +1 -1
- package/esm/core/helpers/utils/error/errors/index.js +3 -3
- package/esm/core/helpers/utils/error/index.js +2 -2
- package/esm/core/helpers/utils/extend.js +1 -1
- package/esm/core/helpers/utils/get-class-name.d.ts +1 -1
- package/esm/core/helpers/utils/get-class-name.js +1 -1
- package/esm/core/helpers/utils/get.d.ts +1 -1
- package/esm/core/helpers/utils/get.js +2 -2
- package/esm/core/helpers/utils/index.js +27 -27
- package/esm/core/helpers/utils/parse-query.d.ts +1 -1
- package/esm/core/helpers/utils/print.d.ts +1 -1
- package/esm/core/helpers/utils/print.js +5 -5
- package/esm/core/helpers/utils/reset.d.ts +1 -1
- package/esm/core/helpers/utils/reset.js +3 -3
- package/esm/core/helpers/utils/scroll-into-view.d.ts +1 -1
- package/esm/core/helpers/utils/scroll-into-view.js +1 -1
- package/esm/core/helpers/utils/selector.d.ts +1 -1
- package/esm/core/helpers/utils/selector.js +6 -6
- package/esm/core/helpers/utils/set.d.ts +1 -1
- package/esm/core/helpers/utils/set.js +4 -4
- package/esm/core/helpers/utils/stack.d.ts +1 -1
- package/esm/core/helpers/utils/utils.d.ts +1 -1
- package/esm/core/helpers/utils/utils.js +4 -4
- package/esm/core/plugin/helpers/init-instance.d.ts +1 -1
- package/esm/core/plugin/helpers/init-instance.js +4 -4
- package/esm/core/plugin/helpers/load.d.ts +1 -1
- package/esm/core/plugin/helpers/load.js +4 -4
- package/esm/core/plugin/helpers/make-instance.d.ts +1 -1
- package/esm/core/plugin/helpers/make-instance.js +2 -2
- package/esm/core/plugin/helpers/utils.js +1 -1
- package/esm/core/plugin/index.js +2 -2
- package/esm/core/plugin/plugin-system.d.ts +1 -1
- package/esm/core/plugin/plugin-system.js +9 -9
- package/esm/core/plugin/plugin.d.ts +2 -2
- package/esm/core/plugin/plugin.js +3 -3
- package/esm/core/request/ajax.d.ts +1 -1
- package/esm/core/request/ajax.js +7 -7
- package/esm/core/request/config.d.ts +1 -1
- package/esm/core/request/config.js +1 -1
- package/esm/core/request/index.js +2 -2
- package/esm/core/request/response.d.ts +1 -1
- package/esm/core/selection/helpers/index.js +2 -2
- package/esm/core/selection/helpers/move-node-inside-start.d.ts +1 -1
- package/esm/core/selection/helpers/move-node-inside-start.js +2 -2
- package/esm/core/selection/helpers/move-the-node-along-the-edge-outward.js +1 -1
- package/esm/core/selection/index.d.ts +1 -0
- package/esm/core/selection/index.js +3 -2
- package/esm/core/selection/interface.d.ts +1 -1
- package/esm/core/selection/selection.d.ts +1 -1
- package/esm/core/selection/selection.js +10 -10
- package/esm/core/selection/style/api/extract.d.ts +1 -1
- package/esm/core/selection/style/api/extract.js +4 -4
- package/esm/core/selection/style/api/finite-state-machine.d.ts +1 -1
- package/esm/core/selection/style/api/finite-state-machine.js +3 -3
- package/esm/core/selection/style/api/get-suit-child.d.ts +1 -1
- package/esm/core/selection/style/api/get-suit-child.js +3 -3
- package/esm/core/selection/style/api/get-suit-parent.d.ts +1 -1
- package/esm/core/selection/style/api/get-suit-parent.js +3 -3
- package/esm/core/selection/style/api/has-same-style.d.ts +1 -1
- package/esm/core/selection/style/api/has-same-style.js +5 -5
- package/esm/core/selection/style/api/index.js +15 -15
- package/esm/core/selection/style/api/is-inside-invisible-element.js +1 -1
- package/esm/core/selection/style/api/is-normal-node.d.ts +1 -1
- package/esm/core/selection/style/api/is-normal-node.js +2 -2
- package/esm/core/selection/style/api/is-same-attributes.d.ts +1 -1
- package/esm/core/selection/style/api/is-same-attributes.js +4 -4
- package/esm/core/selection/style/api/is-suit-element.d.ts +1 -1
- package/esm/core/selection/style/api/is-suit-element.js +3 -3
- package/esm/core/selection/style/api/list/toggle-ordered-list.d.ts +1 -1
- package/esm/core/selection/style/api/list/toggle-ordered-list.js +6 -6
- package/esm/core/selection/style/api/list/wrap-list.d.ts +1 -1
- package/esm/core/selection/style/api/list/wrap-list.js +3 -3
- package/esm/core/selection/style/api/toggle-attributes.d.ts +1 -1
- package/esm/core/selection/style/api/toggle-attributes.js +10 -10
- package/esm/core/selection/style/api/unwrap-children.d.ts +1 -1
- package/esm/core/selection/style/api/unwrap-children.js +4 -4
- package/esm/core/selection/style/api/wrap-unwrapped-text.d.ts +1 -1
- package/esm/core/selection/style/api/wrap-unwrapped-text.js +2 -2
- package/esm/core/selection/style/api/wrap.d.ts +1 -1
- package/esm/core/selection/style/api/wrap.js +4 -4
- package/esm/core/selection/style/apply-style.d.ts +1 -1
- package/esm/core/selection/style/apply-style.js +3 -3
- package/esm/core/selection/style/commit-style.d.ts +1 -15
- package/esm/core/selection/style/commit-style.js +11 -27
- package/esm/core/selection/style/constants.d.ts +22 -0
- package/esm/core/selection/style/constants.js +22 -0
- package/esm/core/selection/style/transactions.d.ts +1 -1
- package/esm/core/selection/style/transactions.js +5 -5
- package/esm/core/storage/engines/local-storage-provider.d.ts +1 -1
- package/esm/core/storage/engines/memory-storage-provider.d.ts +1 -1
- package/esm/core/storage/index.js +3 -3
- package/esm/core/storage/storage.d.ts +1 -1
- package/esm/core/storage/storage.js +3 -3
- package/esm/core/traits/dlgs.d.ts +1 -1
- package/esm/core/traits/dlgs.js +3 -3
- package/esm/core/traits/elms.d.ts +1 -1
- package/esm/core/traits/elms.js +1 -1
- package/esm/core/traits/mods.d.ts +1 -1
- package/esm/core/traits/mods.js +1 -1
- package/esm/core/ui/button/button/button.d.ts +2 -2
- package/esm/core/ui/button/button/button.js +9 -9
- package/esm/core/ui/button/group/group.d.ts +2 -2
- package/esm/core/ui/button/group/group.js +4 -4
- package/esm/core/ui/button/index.js +3 -3
- package/esm/core/ui/button/tooltip/tooltip.d.ts +2 -2
- package/esm/core/ui/button/tooltip/tooltip.js +7 -7
- package/esm/core/ui/element.d.ts +4 -4
- package/esm/core/ui/element.js +7 -7
- package/esm/core/ui/form/block/block.d.ts +2 -2
- package/esm/core/ui/form/block/block.js +3 -3
- package/esm/core/ui/form/form.d.ts +2 -2
- package/esm/core/ui/form/form.js +6 -6
- package/esm/core/ui/form/index.js +3 -3
- package/esm/core/ui/form/inputs/area/area.d.ts +2 -2
- package/esm/core/ui/form/inputs/area/area.js +3 -3
- package/esm/core/ui/form/inputs/checkbox/checkbox.d.ts +2 -2
- package/esm/core/ui/form/inputs/checkbox/checkbox.js +3 -3
- package/esm/core/ui/form/inputs/file/file.d.ts +2 -2
- package/esm/core/ui/form/inputs/file/file.js +3 -3
- package/esm/core/ui/form/inputs/index.js +5 -5
- package/esm/core/ui/form/inputs/input/input.d.ts +2 -2
- package/esm/core/ui/form/inputs/input/input.js +7 -7
- package/esm/core/ui/form/inputs/select/select.d.ts +2 -2
- package/esm/core/ui/form/inputs/select/select.js +4 -4
- package/esm/core/ui/form/validators/index.js +2 -2
- package/esm/core/ui/form/validators/input.d.ts +1 -1
- package/esm/core/ui/form/validators/input.js +2 -2
- package/esm/core/ui/form/validators/select.d.ts +2 -2
- package/esm/core/ui/form/validators/select.js +1 -1
- package/esm/core/ui/group/group.d.ts +2 -2
- package/esm/core/ui/group/group.js +6 -6
- package/esm/core/ui/group/index.js +4 -4
- package/esm/core/ui/group/list.d.ts +2 -2
- package/esm/core/ui/group/list.js +10 -10
- package/esm/core/ui/group/separator.d.ts +1 -1
- package/esm/core/ui/group/separator.js +2 -2
- package/esm/core/ui/group/spacer.d.ts +1 -1
- package/esm/core/ui/group/spacer.js +2 -2
- package/esm/core/ui/helpers/buttons.d.ts +1 -1
- package/esm/core/ui/helpers/buttons.js +1 -1
- package/esm/core/ui/helpers/get-control-type.d.ts +1 -1
- package/esm/core/ui/helpers/get-control-type.js +2 -2
- package/esm/core/ui/helpers/get-strong-control-types.d.ts +1 -1
- package/esm/core/ui/helpers/get-strong-control-types.js +4 -4
- package/esm/core/ui/icon.d.ts +1 -1
- package/esm/core/ui/icon.js +3 -3
- package/esm/core/ui/index.js +7 -7
- package/esm/core/ui/popup/index.js +1 -1
- package/esm/core/ui/popup/popup.d.ts +2 -2
- package/esm/core/ui/popup/popup.js +8 -8
- package/esm/core/ui/progress-bar/progress-bar.d.ts +2 -2
- package/esm/core/ui/progress-bar/progress-bar.js +2 -2
- package/esm/core/view/view-with-toolbar.d.ts +2 -2
- package/esm/core/view/view-with-toolbar.js +10 -10
- package/esm/core/view/view.d.ts +4 -4
- package/esm/core/view/view.js +17 -17
- package/esm/index.d.ts +1 -1
- package/esm/index.js +8 -8
- package/esm/jodit.d.ts +6 -6
- package/esm/jodit.js +9 -9
- package/esm/languages.d.ts +1 -1
- package/esm/languages.js +23 -23
- package/esm/modules/context-menu/context-menu.d.ts +2 -2
- package/esm/modules/context-menu/context-menu.js +4 -4
- package/esm/modules/dialog/alert.d.ts +1 -1
- package/esm/modules/dialog/alert.js +5 -5
- package/esm/modules/dialog/confirm.d.ts +1 -1
- package/esm/modules/dialog/confirm.js +3 -3
- package/esm/modules/dialog/dialog.d.ts +2 -2
- package/esm/modules/dialog/dialog.js +13 -13
- package/esm/modules/dialog/index.js +4 -4
- package/esm/modules/dialog/prompt.d.ts +1 -1
- package/esm/modules/dialog/prompt.js +4 -4
- package/esm/modules/file-browser/builders/context-menu.d.ts +1 -1
- package/esm/modules/file-browser/builders/context-menu.js +9 -9
- package/esm/modules/file-browser/builders/elements-map.d.ts +1 -1
- package/esm/modules/file-browser/builders/item.d.ts +1 -1
- package/esm/modules/file-browser/builders/item.js +1 -1
- package/esm/modules/file-browser/config.d.ts +2 -2
- package/esm/modules/file-browser/config.js +5 -5
- package/esm/modules/file-browser/data-provider.d.ts +1 -1
- package/esm/modules/file-browser/data-provider.js +5 -5
- package/esm/modules/file-browser/factories.d.ts +1 -1
- package/esm/modules/file-browser/factories.js +2 -2
- package/esm/modules/file-browser/fetch/delete-file.d.ts +1 -1
- package/esm/modules/file-browser/fetch/load-items.d.ts +1 -1
- package/esm/modules/file-browser/fetch/load-tree.d.ts +1 -1
- package/esm/modules/file-browser/fetch/load-tree.js +2 -2
- package/esm/modules/file-browser/file-browser.d.ts +4 -4
- package/esm/modules/file-browser/file-browser.js +20 -20
- package/esm/modules/file-browser/index.js +1 -1
- package/esm/modules/file-browser/listeners/native-listeners.d.ts +1 -1
- package/esm/modules/file-browser/listeners/native-listeners.js +5 -5
- package/esm/modules/file-browser/listeners/self-listeners.d.ts +1 -1
- package/esm/modules/file-browser/listeners/self-listeners.js +7 -7
- package/esm/modules/file-browser/listeners/state-listeners.d.ts +1 -1
- package/esm/modules/file-browser/listeners/state-listeners.js +5 -5
- package/esm/modules/file-browser/ui/files/files.d.ts +1 -1
- package/esm/modules/file-browser/ui/files/files.js +1 -1
- package/esm/modules/file-browser/ui/index.js +2 -2
- package/esm/modules/file-browser/ui/tree/tree.d.ts +1 -1
- package/esm/modules/file-browser/ui/tree/tree.js +1 -1
- package/esm/modules/history/command.d.ts +1 -1
- package/esm/modules/history/history.d.ts +2 -2
- package/esm/modules/history/history.js +6 -6
- package/esm/modules/history/snapshot.d.ts +2 -2
- package/esm/modules/history/snapshot.js +3 -3
- package/esm/modules/history/stack.d.ts +1 -1
- package/esm/modules/image-editor/config.d.ts +1 -1
- package/esm/modules/image-editor/config.js +2 -2
- package/esm/modules/image-editor/image-editor.d.ts +2 -2
- package/esm/modules/image-editor/image-editor.js +8 -8
- package/esm/modules/image-editor/templates/form.d.ts +1 -1
- package/esm/modules/image-editor/templates/form.js +1 -1
- package/esm/modules/index.d.ts +13 -13
- package/esm/modules/index.js +26 -26
- package/esm/modules/messages/message.d.ts +2 -2
- package/esm/modules/messages/message.js +2 -2
- package/esm/modules/messages/messages.d.ts +2 -2
- package/esm/modules/messages/messages.js +4 -4
- package/esm/modules/status-bar/status-bar.d.ts +4 -4
- package/esm/modules/status-bar/status-bar.js +5 -5
- package/esm/modules/table/table.d.ts +2 -2
- package/esm/modules/table/table.js +6 -6
- package/esm/modules/toolbar/button/button.d.ts +5 -5
- package/esm/modules/toolbar/button/button.js +10 -10
- package/esm/modules/toolbar/button/content.d.ts +2 -2
- package/esm/modules/toolbar/button/content.js +4 -4
- package/esm/modules/toolbar/button/index.js +3 -3
- package/esm/modules/toolbar/button/select/select.d.ts +1 -1
- package/esm/modules/toolbar/button/select/select.js +3 -3
- package/esm/modules/toolbar/collection/collection.d.ts +2 -2
- package/esm/modules/toolbar/collection/collection.js +4 -4
- package/esm/modules/toolbar/collection/editor-collection.d.ts +1 -1
- package/esm/modules/toolbar/collection/editor-collection.js +5 -5
- package/esm/modules/toolbar/factory.d.ts +1 -1
- package/esm/modules/toolbar/factory.js +6 -6
- package/esm/modules/uploader/config.d.ts +1 -1
- package/esm/modules/uploader/config.js +3 -3
- package/esm/modules/uploader/helpers/build-data.d.ts +1 -1
- package/esm/modules/uploader/helpers/build-data.js +1 -1
- package/esm/modules/uploader/helpers/index.d.ts +1 -1
- package/esm/modules/uploader/helpers/index.js +5 -5
- package/esm/modules/uploader/helpers/process-old-browser-drag.d.ts +1 -1
- package/esm/modules/uploader/helpers/process-old-browser-drag.js +6 -5
- package/esm/modules/uploader/helpers/send-files.d.ts +1 -1
- package/esm/modules/uploader/helpers/send-files.js +2 -2
- package/esm/modules/uploader/helpers/send.d.ts +2 -2
- package/esm/modules/uploader/helpers/send.js +3 -3
- package/esm/modules/uploader/uploader.d.ts +2 -2
- package/esm/modules/uploader/uploader.js +6 -6
- package/esm/modules/widget/color-picker/color-picker.d.ts +1 -1
- package/esm/modules/widget/color-picker/color-picker.js +3 -3
- package/esm/modules/widget/file-selector/file-selector.d.ts +1 -1
- package/esm/modules/widget/file-selector/file-selector.js +4 -4
- package/esm/modules/widget/index.js +3 -3
- package/esm/modules/widget/tabs/tabs.d.ts +2 -2
- package/esm/modules/widget/tabs/tabs.js +5 -5
- package/esm/plugins/about/about.js +6 -6
- package/esm/plugins/add-new-line/add-new-line.d.ts +2 -2
- package/esm/plugins/add-new-line/add-new-line.js +5 -5
- package/esm/plugins/add-new-line/config.d.ts +1 -1
- package/esm/plugins/add-new-line/config.js +2 -2
- package/esm/plugins/ai-assistant/ai-assistant.d.ts +2 -2
- package/esm/plugins/ai-assistant/ai-assistant.js +8 -8
- package/esm/plugins/ai-assistant/config.js +2 -2
- package/esm/plugins/ai-assistant/ui/ui-ai-assistant.d.ts +3 -3
- package/esm/plugins/ai-assistant/ui/ui-ai-assistant.js +6 -6
- package/esm/plugins/backspace/backspace.d.ts +2 -2
- package/esm/plugins/backspace/backspace.js +9 -9
- package/esm/plugins/backspace/cases/check-join-neighbors.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-join-neighbors.js +3 -3
- package/esm/plugins/backspace/cases/check-join-two-lists.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-join-two-lists.js +3 -3
- package/esm/plugins/backspace/cases/check-not-collapsed.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-remove-char.d.ts +2 -2
- package/esm/plugins/backspace/cases/check-remove-char.js +4 -4
- package/esm/plugins/backspace/cases/check-remove-content-not-editable.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-remove-content-not-editable.js +3 -3
- package/esm/plugins/backspace/cases/check-remove-empty-neighbor.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-remove-empty-neighbor.js +1 -1
- package/esm/plugins/backspace/cases/check-remove-empty-parent.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-remove-empty-parent.js +3 -3
- package/esm/plugins/backspace/cases/check-remove-unbreakable-element.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-remove-unbreakable-element.js +3 -3
- package/esm/plugins/backspace/cases/check-table-cell.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-table-cell.js +1 -1
- package/esm/plugins/backspace/cases/check-unwrap-first-list-item.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-unwrap-first-list-item.js +2 -2
- package/esm/plugins/backspace/cases/index.js +9 -9
- package/esm/plugins/backspace/config.js +1 -1
- package/esm/plugins/backspace/helpers.d.ts +1 -1
- package/esm/plugins/backspace/helpers.js +1 -1
- package/esm/plugins/bold/bold.d.ts +1 -1
- package/esm/plugins/bold/bold.js +6 -6
- package/esm/plugins/bold/config.js +1 -1
- package/esm/plugins/class-span/class-span.d.ts +2 -2
- package/esm/plugins/class-span/class-span.js +6 -6
- package/esm/plugins/clean-html/clean-html.d.ts +2 -2
- package/esm/plugins/clean-html/clean-html.js +8 -8
- package/esm/plugins/clean-html/config.d.ts +1 -1
- package/esm/plugins/clean-html/config.js +2 -2
- package/esm/plugins/clean-html/helpers/get-hash.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/get-hash.js +2 -2
- package/esm/plugins/clean-html/helpers/index.js +4 -4
- package/esm/plugins/clean-html/helpers/remove-format/remove-format-for-collapsed-selection.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/remove-format/remove-format-for-collapsed-selection.js +2 -2
- package/esm/plugins/clean-html/helpers/remove-format/remove-format-for-selection.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/remove-format/remove-format-for-selection.js +3 -3
- package/esm/plugins/clean-html/helpers/visitor/filters/allow-attributes.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/allow-attributes.js +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/fill-empty-paragraph.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/fill-empty-paragraph.js +2 -2
- package/esm/plugins/clean-html/helpers/visitor/filters/index.js +7 -7
- package/esm/plugins/clean-html/helpers/visitor/filters/remove-empty-text-node.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/remove-empty-text-node.js +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/remove-inv-text-nodes.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/remove-inv-text-nodes.js +2 -2
- package/esm/plugins/clean-html/helpers/visitor/filters/replace-old-tags.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/replace-old-tags.js +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/sanitize-attributes.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/sanitize-attributes.js +2 -2
- package/esm/plugins/clean-html/helpers/visitor/filters/try-remove-node.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/try-remove-node.js +3 -3
- package/esm/plugins/clean-html/helpers/visitor/visit-node-walker.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/visitor/visit-node-walker.js +2 -2
- package/esm/plugins/clipboard/clipboard.d.ts +2 -2
- package/esm/plugins/clipboard/clipboard.js +4 -4
- package/esm/plugins/clipboard/config.js +2 -2
- package/esm/plugins/color/color.d.ts +1 -1
- package/esm/plugins/color/color.js +3 -3
- package/esm/plugins/color/config.js +5 -5
- package/esm/plugins/copy-format/copy-format.d.ts +1 -1
- package/esm/plugins/copy-format/copy-format.js +6 -6
- package/esm/plugins/debug/debug.d.ts +2 -2
- package/esm/plugins/delete/delete.d.ts +2 -2
- package/esm/plugins/delete/delete.js +6 -6
- package/esm/plugins/drag-and-drop/drag-and-drop.d.ts +1 -1
- package/esm/plugins/drag-and-drop/drag-and-drop.js +7 -7
- package/esm/plugins/drag-and-drop-element/config.js +1 -1
- package/esm/plugins/drag-and-drop-element/drag-and-drop-element.d.ts +1 -1
- package/esm/plugins/drag-and-drop-element/drag-and-drop-element.js +6 -6
- package/esm/plugins/dtd/after-insert/index.js +1 -1
- package/esm/plugins/dtd/after-insert/remove-extra-br.d.ts +1 -1
- package/esm/plugins/dtd/after-insert/remove-extra-br.js +1 -1
- package/esm/plugins/dtd/before-insert/check-block-nesting.d.ts +1 -1
- package/esm/plugins/dtd/before-insert/check-block-nesting.js +1 -1
- package/esm/plugins/dtd/before-insert/index.js +1 -1
- package/esm/plugins/dtd/config.d.ts +1 -1
- package/esm/plugins/dtd/config.js +1 -1
- package/esm/plugins/dtd/dtd.js +6 -6
- package/esm/plugins/enter/enter.d.ts +2 -2
- package/esm/plugins/enter/enter.js +8 -8
- package/esm/plugins/enter/helpers/check-br.d.ts +1 -1
- package/esm/plugins/enter/helpers/check-br.js +3 -3
- package/esm/plugins/enter/helpers/check-unsplittable-box.d.ts +1 -1
- package/esm/plugins/enter/helpers/check-unsplittable-box.js +1 -1
- package/esm/plugins/enter/helpers/get-block-wrapper.d.ts +1 -1
- package/esm/plugins/enter/helpers/get-block-wrapper.js +2 -2
- package/esm/plugins/enter/helpers/has-previous-block.d.ts +1 -1
- package/esm/plugins/enter/helpers/has-previous-block.js +1 -1
- package/esm/plugins/enter/helpers/index.js +9 -9
- package/esm/plugins/enter/helpers/insert-paragraph.d.ts +1 -1
- package/esm/plugins/enter/helpers/insert-paragraph.js +2 -2
- package/esm/plugins/enter/helpers/move-cursor-out-from-specal-tags.d.ts +1 -1
- package/esm/plugins/enter/helpers/move-cursor-out-from-specal-tags.js +1 -1
- package/esm/plugins/enter/helpers/process-empty-li-leaf.d.ts +1 -1
- package/esm/plugins/enter/helpers/process-empty-li-leaf.js +3 -3
- package/esm/plugins/enter/helpers/split-fragment.d.ts +1 -1
- package/esm/plugins/enter/helpers/split-fragment.js +3 -3
- package/esm/plugins/enter/helpers/wrap-text.d.ts +1 -1
- package/esm/plugins/enter/helpers/wrap-text.js +1 -1
- package/esm/plugins/file/file.d.ts +1 -1
- package/esm/plugins/file/file.js +4 -4
- package/esm/plugins/focus/focus.d.ts +1 -1
- package/esm/plugins/focus/focus.js +3 -3
- package/esm/plugins/font/config.js +5 -5
- package/esm/plugins/font/font.d.ts +1 -1
- package/esm/plugins/font/font.js +3 -3
- package/esm/plugins/format-block/config.js +3 -3
- package/esm/plugins/format-block/format-block.d.ts +1 -1
- package/esm/plugins/format-block/format-block.js +2 -2
- package/esm/plugins/fullsize/config.js +3 -3
- package/esm/plugins/fullsize/fullsize.d.ts +1 -1
- package/esm/plugins/fullsize/fullsize.js +4 -4
- package/esm/plugins/hotkeys/config.d.ts +1 -1
- package/esm/plugins/hotkeys/config.js +1 -1
- package/esm/plugins/hotkeys/hotkeys.d.ts +2 -2
- package/esm/plugins/hotkeys/hotkeys.js +5 -5
- package/esm/plugins/hr/hr.d.ts +1 -1
- package/esm/plugins/hr/hr.js +4 -4
- package/esm/plugins/iframe/config.js +1 -1
- package/esm/plugins/iframe/iframe.d.ts +1 -1
- package/esm/plugins/iframe/iframe.js +5 -5
- package/esm/plugins/image/image.d.ts +1 -1
- package/esm/plugins/image/image.js +6 -6
- package/esm/plugins/image-processor/config.js +1 -1
- package/esm/plugins/image-processor/image-processor.d.ts +2 -2
- package/esm/plugins/image-processor/image-processor.js +6 -6
- package/esm/plugins/image-properties/config.js +1 -1
- package/esm/plugins/image-properties/image-properties.d.ts +2 -2
- package/esm/plugins/image-properties/image-properties.js +12 -12
- package/esm/plugins/image-properties/readers/align.js +1 -1
- package/esm/plugins/image-properties/readers/index.d.ts +1 -1
- package/esm/plugins/image-properties/readers/index.js +5 -5
- package/esm/plugins/image-properties/readers/link.d.ts +1 -1
- package/esm/plugins/image-properties/readers/link.js +2 -2
- package/esm/plugins/image-properties/readers/margin.js +1 -1
- package/esm/plugins/image-properties/readers/size.js +4 -4
- package/esm/plugins/image-properties/ui/ui-image-form.d.ts +2 -2
- package/esm/plugins/image-properties/ui/ui-image-form.js +8 -8
- package/esm/plugins/image-properties/ui/ui-image-main-tab.d.ts +2 -2
- package/esm/plugins/image-properties/ui/ui-image-main-tab.js +5 -5
- package/esm/plugins/image-properties/ui/ui-image-position-tab.d.ts +2 -2
- package/esm/plugins/image-properties/ui/ui-image-position-tab.js +9 -9
- package/esm/plugins/image-properties/utils/open-image-editor.d.ts +1 -1
- package/esm/plugins/image-properties/utils/open-image-editor.js +3 -3
- package/esm/plugins/image-properties/utils/open-image-popup.d.ts +1 -1
- package/esm/plugins/image-properties/utils/open-image-popup.js +4 -4
- package/esm/plugins/image-properties/utils/utils.js +2 -2
- package/esm/plugins/image-properties/writers/index.d.ts +1 -1
- package/esm/plugins/image-properties/writers/index.js +5 -5
- package/esm/plugins/image-properties/writers/link.d.ts +1 -1
- package/esm/plugins/image-properties/writers/link.js +2 -2
- package/esm/plugins/image-properties/writers/margin.d.ts +1 -1
- package/esm/plugins/image-properties/writers/margin.js +2 -2
- package/esm/plugins/image-properties/writers/size.js +4 -4
- package/esm/plugins/indent/config.js +4 -4
- package/esm/plugins/indent/helpers.js +1 -1
- package/esm/plugins/indent/indent.d.ts +1 -1
- package/esm/plugins/indent/indent.js +6 -6
- package/esm/plugins/index.d.ts +62 -62
- package/esm/plugins/index.js +22 -22
- package/esm/plugins/inline-popup/config/config.d.ts +1 -1
- package/esm/plugins/inline-popup/config/config.js +14 -14
- package/esm/plugins/inline-popup/config/items/a.d.ts +2 -2
- package/esm/plugins/inline-popup/config/items/a.js +1 -1
- package/esm/plugins/inline-popup/config/items/cells.d.ts +2 -2
- package/esm/plugins/inline-popup/config/items/cells.js +2 -2
- package/esm/plugins/inline-popup/config/items/iframe.d.ts +2 -2
- package/esm/plugins/inline-popup/config/items/iframe.js +1 -1
- package/esm/plugins/inline-popup/config/items/img.d.ts +2 -2
- package/esm/plugins/inline-popup/config/items/img.js +4 -4
- package/esm/plugins/inline-popup/inline-popup.d.ts +2 -2
- package/esm/plugins/inline-popup/inline-popup.js +9 -9
- package/esm/plugins/justify/justify.d.ts +1 -1
- package/esm/plugins/justify/justify.js +6 -6
- package/esm/plugins/key-arrow-outside/key-arrow-outside.d.ts +2 -2
- package/esm/plugins/key-arrow-outside/key-arrow-outside.js +5 -5
- package/esm/plugins/limit/config.js +1 -1
- package/esm/plugins/limit/limit.d.ts +2 -2
- package/esm/plugins/limit/limit.js +5 -5
- package/esm/plugins/line-height/config.js +3 -3
- package/esm/plugins/line-height/line-height.d.ts +2 -2
- package/esm/plugins/line-height/line-height.js +7 -7
- package/esm/plugins/link/config.d.ts +1 -1
- package/esm/plugins/link/config.js +4 -4
- package/esm/plugins/link/link.d.ts +2 -2
- package/esm/plugins/link/link.js +6 -6
- package/esm/plugins/link/template.d.ts +1 -1
- package/esm/plugins/link/template.js +2 -2
- package/esm/plugins/media/config.js +1 -1
- package/esm/plugins/media/media.d.ts +1 -1
- package/esm/plugins/media/media.js +4 -4
- package/esm/plugins/mobile/config.d.ts +1 -1
- package/esm/plugins/mobile/config.js +5 -5
- package/esm/plugins/mobile/mobile.d.ts +1 -1
- package/esm/plugins/mobile/mobile.js +4 -4
- package/esm/plugins/ordered-list/config.js +3 -3
- package/esm/plugins/ordered-list/ordered-list.d.ts +2 -2
- package/esm/plugins/ordered-list/ordered-list.js +4 -4
- package/esm/plugins/paste/config.d.ts +1 -1
- package/esm/plugins/paste/config.js +3 -3
- package/esm/plugins/paste/helpers.d.ts +1 -1
- package/esm/plugins/paste/helpers.js +4 -4
- package/esm/plugins/paste/interface.d.ts +1 -1
- package/esm/plugins/paste/paste.d.ts +2 -2
- package/esm/plugins/paste/paste.js +8 -8
- package/esm/plugins/paste-from-word/config.d.ts +1 -1
- package/esm/plugins/paste-from-word/config.js +2 -2
- package/esm/plugins/paste-from-word/paste-from-word.d.ts +3 -3
- package/esm/plugins/paste-from-word/paste-from-word.js +7 -7
- package/esm/plugins/paste-storage/paste-storage.d.ts +1 -1
- package/esm/plugins/paste-storage/paste-storage.js +6 -6
- package/esm/plugins/placeholder/config.js +1 -1
- package/esm/plugins/placeholder/placeholder.d.ts +2 -2
- package/esm/plugins/placeholder/placeholder.js +10 -10
- package/esm/plugins/powered-by-jodit/powered-by-jodit.d.ts +1 -1
- package/esm/plugins/powered-by-jodit/powered-by-jodit.js +1 -1
- package/esm/plugins/preview/preview.d.ts +1 -1
- package/esm/plugins/preview/preview.js +4 -4
- package/esm/plugins/print/lib/generate-critical-css.d.ts +1 -1
- package/esm/plugins/print/lib/generate-critical-css.js +1 -1
- package/esm/plugins/print/print.d.ts +1 -1
- package/esm/plugins/print/print.js +8 -8
- package/esm/plugins/redo-undo/redo-undo.d.ts +2 -2
- package/esm/plugins/redo-undo/redo-undo.js +5 -5
- package/esm/plugins/resize-cells/config.js +1 -1
- package/esm/plugins/resize-cells/resize-cells.d.ts +2 -2
- package/esm/plugins/resize-cells/resize-cells.js +7 -7
- package/esm/plugins/resize-handler/config.js +1 -1
- package/esm/plugins/resize-handler/resize-handler.d.ts +2 -2
- package/esm/plugins/resize-handler/resize-handler.js +6 -6
- package/esm/plugins/resizer/config.d.ts +1 -1
- package/esm/plugins/resizer/config.js +1 -1
- package/esm/plugins/resizer/resizer.d.ts +2 -2
- package/esm/plugins/resizer/resizer.js +8 -8
- package/esm/plugins/search/config.d.ts +1 -1
- package/esm/plugins/search/config.js +3 -3
- package/esm/plugins/search/helpers/highlight-text-ranges.d.ts +1 -1
- package/esm/plugins/search/helpers/highlight-text-ranges.js +2 -2
- package/esm/plugins/search/helpers/index.js +2 -2
- package/esm/plugins/search/helpers/sentence-finder.d.ts +1 -1
- package/esm/plugins/search/helpers/sentence-finder.js +1 -1
- package/esm/plugins/search/search.d.ts +3 -3
- package/esm/plugins/search/search.js +9 -9
- package/esm/plugins/search/ui/search.d.ts +2 -2
- package/esm/plugins/search/ui/search.js +6 -6
- package/esm/plugins/select/config.js +1 -1
- package/esm/plugins/select/select.d.ts +2 -2
- package/esm/plugins/select/select.js +7 -7
- package/esm/plugins/select-cells/config.js +1 -1
- package/esm/plugins/select-cells/select-cells.d.ts +2 -2
- package/esm/plugins/select-cells/select-cells.js +8 -8
- package/esm/plugins/size/config.js +1 -1
- package/esm/plugins/size/size.d.ts +2 -2
- package/esm/plugins/size/size.js +6 -6
- package/esm/plugins/source/config.d.ts +1 -1
- package/esm/plugins/source/config.js +3 -3
- package/esm/plugins/source/editor/engines/ace.d.ts +2 -2
- package/esm/plugins/source/editor/engines/ace.js +3 -3
- package/esm/plugins/source/editor/engines/area.d.ts +2 -2
- package/esm/plugins/source/editor/engines/area.js +3 -3
- package/esm/plugins/source/editor/engines/index.js +2 -2
- package/esm/plugins/source/editor/factory.d.ts +1 -1
- package/esm/plugins/source/editor/factory.js +2 -2
- package/esm/plugins/source/editor/sourceEditor.d.ts +1 -1
- package/esm/plugins/source/source.d.ts +2 -2
- package/esm/plugins/source/source.js +9 -9
- package/esm/plugins/speech-recognize/config.d.ts +1 -1
- package/esm/plugins/speech-recognize/config.js +6 -6
- package/esm/plugins/speech-recognize/helpers/api.d.ts +1 -1
- package/esm/plugins/speech-recognize/helpers/exec-spell-command.d.ts +1 -1
- package/esm/plugins/speech-recognize/helpers/recognize-manager.d.ts +3 -3
- package/esm/plugins/speech-recognize/helpers/recognize-manager.js +4 -4
- package/esm/plugins/speech-recognize/helpers/sound.js +1 -1
- package/esm/plugins/speech-recognize/speech-recognize.d.ts +2 -2
- package/esm/plugins/speech-recognize/speech-recognize.js +10 -10
- package/esm/plugins/spellcheck/config.js +2 -2
- package/esm/plugins/spellcheck/spellcheck.d.ts +2 -2
- package/esm/plugins/spellcheck/spellcheck.js +6 -6
- package/esm/plugins/stat/config.js +1 -1
- package/esm/plugins/stat/stat.d.ts +1 -1
- package/esm/plugins/stat/stat.js +5 -5
- package/esm/plugins/sticky/config.js +1 -1
- package/esm/plugins/sticky/sticky.d.ts +2 -2
- package/esm/plugins/sticky/sticky.js +7 -7
- package/esm/plugins/symbols/config.js +2 -2
- package/esm/plugins/symbols/symbols.d.ts +2 -2
- package/esm/plugins/symbols/symbols.js +7 -7
- package/esm/plugins/tab/cases/index.js +1 -1
- package/esm/plugins/tab/cases/on-tab-inside-li.d.ts +1 -1
- package/esm/plugins/tab/cases/on-tab-inside-li.js +2 -2
- package/esm/plugins/tab/config.js +1 -1
- package/esm/plugins/tab/tab.js +6 -6
- package/esm/plugins/table/config.js +5 -5
- package/esm/plugins/table/table.d.ts +1 -1
- package/esm/plugins/table/table.js +2 -2
- package/esm/plugins/table-keyboard-navigation/table-keyboard-navigation.d.ts +1 -1
- package/esm/plugins/table-keyboard-navigation/table-keyboard-navigation.js +5 -5
- package/esm/plugins/video/config.js +6 -6
- package/esm/plugins/video/video.js +2 -2
- package/esm/plugins/wrap-nodes/config.d.ts +1 -1
- package/esm/plugins/wrap-nodes/config.js +1 -1
- package/esm/plugins/wrap-nodes/wrap-nodes.js +6 -6
- package/esm/plugins/xpath/config.js +1 -1
- package/esm/plugins/xpath/xpath.js +8 -8
- package/esm/types/jodit.d.ts +1 -1
- package/package.json +1 -1
- package/types/core/async/async.d.ts +1 -1
- package/types/core/component/component.d.ts +1 -1
- package/types/core/component/view-component.d.ts +1 -1
- package/types/core/constants.d.ts +1 -1
- package/types/core/create/create.d.ts +1 -1
- package/types/core/decorators/cache/cache.d.ts +1 -1
- package/types/core/decorators/debounce/debounce.d.ts +1 -1
- package/types/core/decorators/hook/hook.d.ts +2 -2
- package/types/core/decorators/idle/idle.d.ts +1 -1
- package/types/core/decorators/persistent/persistent.d.ts +1 -1
- package/types/core/decorators/wait/wait.d.ts +1 -1
- package/types/core/decorators/watch/watch.d.ts +1 -1
- package/types/core/dom/dom.d.ts +1 -1
- package/types/core/dom/lazy-walker.d.ts +2 -2
- package/types/core/event-emitter/event-emitter.d.ts +1 -1
- package/types/core/event-emitter/eventify.d.ts +1 -1
- package/types/core/event-emitter/observable.d.ts +1 -1
- package/types/core/event-emitter/store.d.ts +1 -1
- package/types/core/global.d.ts +2 -2
- package/types/core/helpers/checker/is-imp-interface.d.ts +1 -1
- package/types/core/helpers/checker/is-jodit-object.d.ts +1 -1
- package/types/core/helpers/checker/is-marker.d.ts +1 -1
- package/types/core/helpers/checker/is-plain-object.d.ts +1 -1
- package/types/core/helpers/checker/is-view-object.d.ts +1 -1
- package/types/core/helpers/html/strip-tags.d.ts +1 -1
- package/types/core/helpers/size/get-scroll-parent.d.ts +1 -1
- package/types/core/helpers/size/object-size.d.ts +1 -1
- package/types/core/helpers/size/offset.d.ts +1 -1
- package/types/core/helpers/size/position.d.ts +1 -1
- package/types/core/helpers/string/i18n.d.ts +1 -1
- package/types/core/helpers/utils/align.d.ts +1 -1
- package/types/core/helpers/utils/append-script.d.ts +1 -1
- package/types/core/helpers/utils/attr.d.ts +1 -1
- package/types/core/helpers/utils/build-query.d.ts +1 -1
- package/types/core/helpers/utils/config-proto.d.ts +1 -1
- package/types/core/helpers/utils/css.d.ts +1 -1
- package/types/core/helpers/utils/data-bind.d.ts +1 -1
- package/types/core/helpers/utils/error/errors/abort-error.d.ts +1 -1
- package/types/core/helpers/utils/get-class-name.d.ts +1 -1
- package/types/core/helpers/utils/get.d.ts +1 -1
- package/types/core/helpers/utils/parse-query.d.ts +1 -1
- package/types/core/helpers/utils/print.d.ts +1 -1
- package/types/core/helpers/utils/reset.d.ts +1 -1
- package/types/core/helpers/utils/scroll-into-view.d.ts +1 -1
- package/types/core/helpers/utils/selector.d.ts +1 -1
- package/types/core/helpers/utils/set.d.ts +1 -1
- package/types/core/helpers/utils/stack.d.ts +1 -1
- package/types/core/helpers/utils/utils.d.ts +1 -1
- package/types/core/plugin/helpers/init-instance.d.ts +1 -1
- package/types/core/plugin/helpers/load.d.ts +1 -1
- package/types/core/plugin/helpers/make-instance.d.ts +1 -1
- package/types/core/plugin/plugin-system.d.ts +1 -1
- package/types/core/plugin/plugin.d.ts +2 -2
- package/types/core/request/ajax.d.ts +1 -1
- package/types/core/request/config.d.ts +1 -1
- package/types/core/request/response.d.ts +1 -1
- package/types/core/selection/helpers/move-node-inside-start.d.ts +1 -1
- package/types/core/selection/index.d.ts +1 -0
- package/types/core/selection/interface.d.ts +1 -1
- package/types/core/selection/selection.d.ts +1 -1
- package/types/core/selection/style/api/extract.d.ts +1 -1
- package/types/core/selection/style/api/finite-state-machine.d.ts +1 -1
- package/types/core/selection/style/api/get-suit-child.d.ts +1 -1
- package/types/core/selection/style/api/get-suit-parent.d.ts +1 -1
- package/types/core/selection/style/api/has-same-style.d.ts +1 -1
- package/types/core/selection/style/api/is-normal-node.d.ts +1 -1
- package/types/core/selection/style/api/is-same-attributes.d.ts +1 -1
- package/types/core/selection/style/api/is-suit-element.d.ts +1 -1
- package/types/core/selection/style/api/list/toggle-ordered-list.d.ts +1 -1
- package/types/core/selection/style/api/list/wrap-list.d.ts +1 -1
- package/types/core/selection/style/api/toggle-attributes.d.ts +1 -1
- package/types/core/selection/style/api/unwrap-children.d.ts +1 -1
- package/types/core/selection/style/api/wrap-unwrapped-text.d.ts +1 -1
- package/types/core/selection/style/api/wrap.d.ts +1 -1
- package/types/core/selection/style/apply-style.d.ts +1 -1
- package/types/core/selection/style/commit-style.d.ts +1 -15
- package/types/core/selection/style/constants.d.ts +22 -0
- package/types/core/selection/style/transactions.d.ts +1 -1
- package/types/core/storage/engines/local-storage-provider.d.ts +1 -1
- package/types/core/storage/engines/memory-storage-provider.d.ts +1 -1
- package/types/core/storage/storage.d.ts +1 -1
- package/types/core/traits/dlgs.d.ts +1 -1
- package/types/core/traits/elms.d.ts +1 -1
- package/types/core/traits/mods.d.ts +1 -1
- package/types/core/ui/button/button/button.d.ts +2 -2
- package/types/core/ui/button/group/group.d.ts +2 -2
- package/types/core/ui/button/tooltip/tooltip.d.ts +2 -2
- package/types/core/ui/element.d.ts +4 -4
- package/types/core/ui/form/block/block.d.ts +2 -2
- package/types/core/ui/form/form.d.ts +2 -2
- package/types/core/ui/form/inputs/area/area.d.ts +2 -2
- package/types/core/ui/form/inputs/checkbox/checkbox.d.ts +2 -2
- package/types/core/ui/form/inputs/file/file.d.ts +2 -2
- package/types/core/ui/form/inputs/input/input.d.ts +2 -2
- package/types/core/ui/form/inputs/select/select.d.ts +2 -2
- package/types/core/ui/form/validators/input.d.ts +1 -1
- package/types/core/ui/form/validators/select.d.ts +2 -2
- package/types/core/ui/group/group.d.ts +2 -2
- package/types/core/ui/group/list.d.ts +2 -2
- package/types/core/ui/group/separator.d.ts +1 -1
- package/types/core/ui/group/spacer.d.ts +1 -1
- package/types/core/ui/helpers/buttons.d.ts +1 -1
- package/types/core/ui/helpers/get-control-type.d.ts +1 -1
- package/types/core/ui/helpers/get-strong-control-types.d.ts +1 -1
- package/types/core/ui/icon.d.ts +1 -1
- package/types/core/ui/popup/popup.d.ts +2 -2
- package/types/core/ui/progress-bar/progress-bar.d.ts +2 -2
- package/types/core/view/view-with-toolbar.d.ts +2 -2
- package/types/core/view/view.d.ts +4 -4
- package/types/index.d.ts +1 -1
- package/types/jodit.d.ts +6 -6
- package/types/languages.d.ts +1 -1
- package/types/modules/context-menu/context-menu.d.ts +2 -2
- package/types/modules/dialog/alert.d.ts +1 -1
- package/types/modules/dialog/confirm.d.ts +1 -1
- package/types/modules/dialog/dialog.d.ts +2 -2
- package/types/modules/dialog/prompt.d.ts +1 -1
- package/types/modules/file-browser/builders/context-menu.d.ts +1 -1
- package/types/modules/file-browser/builders/elements-map.d.ts +1 -1
- package/types/modules/file-browser/builders/item.d.ts +1 -1
- package/types/modules/file-browser/config.d.ts +2 -2
- package/types/modules/file-browser/data-provider.d.ts +1 -1
- package/types/modules/file-browser/factories.d.ts +1 -1
- package/types/modules/file-browser/fetch/delete-file.d.ts +1 -1
- package/types/modules/file-browser/fetch/load-items.d.ts +1 -1
- package/types/modules/file-browser/fetch/load-tree.d.ts +1 -1
- package/types/modules/file-browser/file-browser.d.ts +4 -4
- package/types/modules/file-browser/listeners/native-listeners.d.ts +1 -1
- package/types/modules/file-browser/listeners/self-listeners.d.ts +1 -1
- package/types/modules/file-browser/listeners/state-listeners.d.ts +1 -1
- package/types/modules/file-browser/ui/files/files.d.ts +1 -1
- package/types/modules/file-browser/ui/tree/tree.d.ts +1 -1
- package/types/modules/history/command.d.ts +1 -1
- package/types/modules/history/history.d.ts +2 -2
- package/types/modules/history/snapshot.d.ts +2 -2
- package/types/modules/history/stack.d.ts +1 -1
- package/types/modules/image-editor/config.d.ts +1 -1
- package/types/modules/image-editor/image-editor.d.ts +2 -2
- package/types/modules/image-editor/templates/form.d.ts +1 -1
- package/types/modules/index.d.ts +13 -13
- package/types/modules/messages/message.d.ts +2 -2
- package/types/modules/messages/messages.d.ts +2 -2
- package/types/modules/status-bar/status-bar.d.ts +4 -4
- package/types/modules/table/table.d.ts +2 -2
- package/types/modules/toolbar/button/button.d.ts +5 -5
- package/types/modules/toolbar/button/content.d.ts +2 -2
- package/types/modules/toolbar/button/select/select.d.ts +1 -1
- package/types/modules/toolbar/collection/collection.d.ts +2 -2
- package/types/modules/toolbar/collection/editor-collection.d.ts +1 -1
- package/types/modules/toolbar/factory.d.ts +1 -1
- package/types/modules/uploader/config.d.ts +1 -1
- package/types/modules/uploader/helpers/build-data.d.ts +1 -1
- package/types/modules/uploader/helpers/index.d.ts +1 -1
- package/types/modules/uploader/helpers/process-old-browser-drag.d.ts +1 -1
- package/types/modules/uploader/helpers/send-files.d.ts +1 -1
- package/types/modules/uploader/helpers/send.d.ts +2 -2
- package/types/modules/uploader/uploader.d.ts +2 -2
- package/types/modules/widget/color-picker/color-picker.d.ts +1 -1
- package/types/modules/widget/file-selector/file-selector.d.ts +1 -1
- package/types/modules/widget/tabs/tabs.d.ts +2 -2
- package/types/plugins/add-new-line/add-new-line.d.ts +2 -2
- package/types/plugins/add-new-line/config.d.ts +1 -1
- package/types/plugins/ai-assistant/ai-assistant.d.ts +2 -2
- package/types/plugins/ai-assistant/ui/ui-ai-assistant.d.ts +3 -3
- package/types/plugins/backspace/backspace.d.ts +2 -2
- package/types/plugins/backspace/cases/check-join-neighbors.d.ts +1 -1
- package/types/plugins/backspace/cases/check-join-two-lists.d.ts +1 -1
- package/types/plugins/backspace/cases/check-not-collapsed.d.ts +1 -1
- package/types/plugins/backspace/cases/check-remove-char.d.ts +2 -2
- package/types/plugins/backspace/cases/check-remove-content-not-editable.d.ts +1 -1
- package/types/plugins/backspace/cases/check-remove-empty-neighbor.d.ts +1 -1
- package/types/plugins/backspace/cases/check-remove-empty-parent.d.ts +1 -1
- package/types/plugins/backspace/cases/check-remove-unbreakable-element.d.ts +1 -1
- package/types/plugins/backspace/cases/check-table-cell.d.ts +1 -1
- package/types/plugins/backspace/cases/check-unwrap-first-list-item.d.ts +1 -1
- package/types/plugins/backspace/helpers.d.ts +1 -1
- package/types/plugins/bold/bold.d.ts +1 -1
- package/types/plugins/class-span/class-span.d.ts +2 -2
- package/types/plugins/clean-html/clean-html.d.ts +2 -2
- package/types/plugins/clean-html/config.d.ts +1 -1
- package/types/plugins/clean-html/helpers/get-hash.d.ts +1 -1
- package/types/plugins/clean-html/helpers/remove-format/remove-format-for-collapsed-selection.d.ts +1 -1
- package/types/plugins/clean-html/helpers/remove-format/remove-format-for-selection.d.ts +1 -1
- package/types/plugins/clean-html/helpers/visitor/filters/allow-attributes.d.ts +1 -1
- package/types/plugins/clean-html/helpers/visitor/filters/fill-empty-paragraph.d.ts +1 -1
- package/types/plugins/clean-html/helpers/visitor/filters/remove-empty-text-node.d.ts +1 -1
- package/types/plugins/clean-html/helpers/visitor/filters/remove-inv-text-nodes.d.ts +1 -1
- package/types/plugins/clean-html/helpers/visitor/filters/replace-old-tags.d.ts +1 -1
- package/types/plugins/clean-html/helpers/visitor/filters/sanitize-attributes.d.ts +1 -1
- package/types/plugins/clean-html/helpers/visitor/filters/try-remove-node.d.ts +1 -1
- package/types/plugins/clean-html/helpers/visitor/visit-node-walker.d.ts +1 -1
- package/types/plugins/clipboard/clipboard.d.ts +2 -2
- package/types/plugins/color/color.d.ts +1 -1
- package/types/plugins/copy-format/copy-format.d.ts +1 -1
- package/types/plugins/debug/debug.d.ts +2 -2
- package/types/plugins/delete/delete.d.ts +2 -2
- package/types/plugins/drag-and-drop/drag-and-drop.d.ts +1 -1
- package/types/plugins/drag-and-drop-element/drag-and-drop-element.d.ts +1 -1
- package/types/plugins/dtd/after-insert/remove-extra-br.d.ts +1 -1
- package/types/plugins/dtd/before-insert/check-block-nesting.d.ts +1 -1
- package/types/plugins/dtd/config.d.ts +1 -1
- package/types/plugins/enter/enter.d.ts +2 -2
- package/types/plugins/enter/helpers/check-br.d.ts +1 -1
- package/types/plugins/enter/helpers/check-unsplittable-box.d.ts +1 -1
- package/types/plugins/enter/helpers/get-block-wrapper.d.ts +1 -1
- package/types/plugins/enter/helpers/has-previous-block.d.ts +1 -1
- package/types/plugins/enter/helpers/insert-paragraph.d.ts +1 -1
- package/types/plugins/enter/helpers/move-cursor-out-from-specal-tags.d.ts +1 -1
- package/types/plugins/enter/helpers/process-empty-li-leaf.d.ts +1 -1
- package/types/plugins/enter/helpers/split-fragment.d.ts +1 -1
- package/types/plugins/enter/helpers/wrap-text.d.ts +1 -1
- package/types/plugins/file/file.d.ts +1 -1
- package/types/plugins/focus/focus.d.ts +1 -1
- package/types/plugins/font/font.d.ts +1 -1
- package/types/plugins/format-block/format-block.d.ts +1 -1
- package/types/plugins/fullsize/fullsize.d.ts +1 -1
- package/types/plugins/hotkeys/config.d.ts +1 -1
- package/types/plugins/hotkeys/hotkeys.d.ts +2 -2
- package/types/plugins/hr/hr.d.ts +1 -1
- package/types/plugins/iframe/iframe.d.ts +1 -1
- package/types/plugins/image/image.d.ts +1 -1
- package/types/plugins/image-processor/image-processor.d.ts +2 -2
- package/types/plugins/image-properties/image-properties.d.ts +2 -2
- package/types/plugins/image-properties/readers/index.d.ts +1 -1
- package/types/plugins/image-properties/readers/link.d.ts +1 -1
- package/types/plugins/image-properties/ui/ui-image-form.d.ts +2 -2
- package/types/plugins/image-properties/ui/ui-image-main-tab.d.ts +2 -2
- package/types/plugins/image-properties/ui/ui-image-position-tab.d.ts +2 -2
- package/types/plugins/image-properties/utils/open-image-editor.d.ts +1 -1
- package/types/plugins/image-properties/utils/open-image-popup.d.ts +1 -1
- package/types/plugins/image-properties/writers/index.d.ts +1 -1
- package/types/plugins/image-properties/writers/link.d.ts +1 -1
- package/types/plugins/image-properties/writers/margin.d.ts +1 -1
- package/types/plugins/indent/indent.d.ts +1 -1
- package/types/plugins/index.d.ts +62 -62
- package/types/plugins/inline-popup/config/config.d.ts +1 -1
- package/types/plugins/inline-popup/config/items/a.d.ts +2 -2
- package/types/plugins/inline-popup/config/items/cells.d.ts +2 -2
- package/types/plugins/inline-popup/config/items/iframe.d.ts +2 -2
- package/types/plugins/inline-popup/config/items/img.d.ts +2 -2
- package/types/plugins/inline-popup/inline-popup.d.ts +2 -2
- package/types/plugins/justify/justify.d.ts +1 -1
- package/types/plugins/key-arrow-outside/key-arrow-outside.d.ts +2 -2
- package/types/plugins/limit/limit.d.ts +2 -2
- package/types/plugins/line-height/line-height.d.ts +2 -2
- package/types/plugins/link/config.d.ts +1 -1
- package/types/plugins/link/link.d.ts +2 -2
- package/types/plugins/link/template.d.ts +1 -1
- package/types/plugins/media/media.d.ts +1 -1
- package/types/plugins/mobile/config.d.ts +1 -1
- package/types/plugins/mobile/mobile.d.ts +1 -1
- package/types/plugins/ordered-list/ordered-list.d.ts +2 -2
- package/types/plugins/paste/config.d.ts +1 -1
- package/types/plugins/paste/helpers.d.ts +1 -1
- package/types/plugins/paste/interface.d.ts +1 -1
- package/types/plugins/paste/paste.d.ts +2 -2
- package/types/plugins/paste-from-word/config.d.ts +1 -1
- package/types/plugins/paste-from-word/paste-from-word.d.ts +3 -3
- package/types/plugins/paste-storage/paste-storage.d.ts +1 -1
- package/types/plugins/placeholder/placeholder.d.ts +2 -2
- package/types/plugins/powered-by-jodit/powered-by-jodit.d.ts +1 -1
- package/types/plugins/preview/preview.d.ts +1 -1
- package/types/plugins/print/lib/generate-critical-css.d.ts +1 -1
- package/types/plugins/print/print.d.ts +1 -1
- package/types/plugins/redo-undo/redo-undo.d.ts +2 -2
- package/types/plugins/resize-cells/resize-cells.d.ts +2 -2
- package/types/plugins/resize-handler/resize-handler.d.ts +2 -2
- package/types/plugins/resizer/config.d.ts +1 -1
- package/types/plugins/resizer/resizer.d.ts +2 -2
- package/types/plugins/search/config.d.ts +1 -1
- package/types/plugins/search/helpers/highlight-text-ranges.d.ts +1 -1
- package/types/plugins/search/helpers/sentence-finder.d.ts +1 -1
- package/types/plugins/search/search.d.ts +3 -3
- package/types/plugins/search/ui/search.d.ts +2 -2
- package/types/plugins/select/select.d.ts +2 -2
- package/types/plugins/select-cells/select-cells.d.ts +2 -2
- package/types/plugins/size/size.d.ts +2 -2
- package/types/plugins/source/config.d.ts +1 -1
- package/types/plugins/source/editor/engines/ace.d.ts +2 -2
- package/types/plugins/source/editor/engines/area.d.ts +2 -2
- package/types/plugins/source/editor/factory.d.ts +1 -1
- package/types/plugins/source/editor/sourceEditor.d.ts +1 -1
- package/types/plugins/source/source.d.ts +2 -2
- package/types/plugins/speech-recognize/config.d.ts +1 -1
- package/types/plugins/speech-recognize/helpers/api.d.ts +1 -1
- package/types/plugins/speech-recognize/helpers/exec-spell-command.d.ts +1 -1
- package/types/plugins/speech-recognize/helpers/recognize-manager.d.ts +3 -3
- package/types/plugins/speech-recognize/speech-recognize.d.ts +2 -2
- package/types/plugins/spellcheck/spellcheck.d.ts +2 -2
- package/types/plugins/stat/stat.d.ts +1 -1
- package/types/plugins/sticky/sticky.d.ts +2 -2
- package/types/plugins/symbols/symbols.d.ts +2 -2
- package/types/plugins/tab/cases/on-tab-inside-li.d.ts +1 -1
- package/types/plugins/table/table.d.ts +1 -1
- package/types/plugins/table-keyboard-navigation/table-keyboard-navigation.d.ts +1 -1
- package/types/plugins/wrap-nodes/config.d.ts +1 -1
- package/types/types/jodit.d.ts +1 -1
|
@@ -13,9 +13,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
13
13
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
14
14
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15
15
|
};
|
|
16
|
-
import { component } from "
|
|
17
|
-
import { isString } from "
|
|
18
|
-
import { ToolbarButton } from "../button";
|
|
16
|
+
import { component } from "../../../../core/decorators/index.js";
|
|
17
|
+
import { isString } from "../../../../core/helpers/checker/is-string.js";
|
|
18
|
+
import { ToolbarButton } from "../button.js";
|
|
19
19
|
let ToolbarSelect = class ToolbarSelect extends ToolbarButton {
|
|
20
20
|
className() {
|
|
21
21
|
return 'ToolbarSelect';
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module modules/toolbar/collection
|
|
10
10
|
*/
|
|
11
|
-
import type { ButtonsGroups, IBound, IControlTypeStrong, IToolbarButton, IToolbarCollection, IUIButton, IViewBased, IViewWithToolbar, Nullable } from "
|
|
12
|
-
import { UIList } from "
|
|
11
|
+
import type { ButtonsGroups, IBound, IControlTypeStrong, IToolbarButton, IToolbarCollection, IUIButton, IViewBased, IViewWithToolbar, Nullable } from "../../../types";
|
|
12
|
+
import { UIList } from "../../../core/ui";
|
|
13
13
|
|
|
14
14
|
export declare class ToolbarCollection<T extends IViewWithToolbar = IViewWithToolbar> extends UIList<T> implements IToolbarCollection {
|
|
15
15
|
/** @override */
|
|
@@ -13,10 +13,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
13
13
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
14
14
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15
15
|
};
|
|
16
|
-
import { autobind, component, debounce, hook } from "
|
|
17
|
-
import { error } from "
|
|
18
|
-
import { UIList, UITooltip } from "
|
|
19
|
-
import { makeButton, makeSelect } from "
|
|
16
|
+
import { autobind, component, debounce, hook } from "../../../core/decorators/index.js";
|
|
17
|
+
import { error } from "../../../core/helpers/utils/error/error.js";
|
|
18
|
+
import { UIList, UITooltip } from "../../../core/ui/index.js";
|
|
19
|
+
import { makeButton, makeSelect } from "../factory.js";
|
|
20
20
|
let ToolbarCollection = class ToolbarCollection extends UIList {
|
|
21
21
|
/** @override */
|
|
22
22
|
className() {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module modules/toolbar/collection
|
|
8
8
|
*/
|
|
9
|
-
import type { IBound, IJodit, IToolbarButton } from "
|
|
9
|
+
import type { IBound, IJodit, IToolbarButton } from "../../../types";
|
|
10
10
|
import { ToolbarCollection } from "./collection";
|
|
11
11
|
export declare class ToolbarEditorCollection extends ToolbarCollection<IJodit> {
|
|
12
12
|
/** @override */
|
|
@@ -13,11 +13,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
13
13
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
14
14
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15
15
|
};
|
|
16
|
-
import * as consts from "
|
|
17
|
-
import { component } from "
|
|
18
|
-
import { Dom } from "
|
|
19
|
-
import { css, isFunction } from "
|
|
20
|
-
import { ToolbarCollection } from "./collection";
|
|
16
|
+
import * as consts from "../../../core/constants.js";
|
|
17
|
+
import { component } from "../../../core/decorators/index.js";
|
|
18
|
+
import { Dom } from "../../../core/dom/index.js";
|
|
19
|
+
import { css, isFunction } from "../../../core/helpers/index.js";
|
|
20
|
+
import { ToolbarCollection } from "./collection.js";
|
|
21
21
|
let ToolbarEditorCollection = class ToolbarEditorCollection extends ToolbarCollection {
|
|
22
22
|
/** @override */
|
|
23
23
|
className() {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module modules/toolbar
|
|
10
10
|
*/
|
|
11
|
-
import type { IControlTypeStrong, IToolbarButton, IToolbarCollection, IUIElement, IViewBased, Nullable } from "
|
|
11
|
+
import type { IControlTypeStrong, IToolbarButton, IToolbarCollection, IUIElement, IViewBased, Nullable } from "../../types";
|
|
12
12
|
/**
|
|
13
13
|
* Collection factory
|
|
14
14
|
*/
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { isFunction, isJoditObject } from "
|
|
7
|
-
import { ToolbarButton } from "./button/button";
|
|
8
|
-
import { ToolbarContent } from "./button/content";
|
|
9
|
-
import { ToolbarSelect } from "./button/select/select";
|
|
10
|
-
import { ToolbarCollection } from "./collection/collection";
|
|
11
|
-
import { ToolbarEditorCollection } from "./collection/editor-collection";
|
|
6
|
+
import { isFunction, isJoditObject } from "../../core/helpers/index.js";
|
|
7
|
+
import { ToolbarButton } from "./button/button.js";
|
|
8
|
+
import { ToolbarContent } from "./button/content.js";
|
|
9
|
+
import { ToolbarSelect } from "./button/select/select.js";
|
|
10
|
+
import { ToolbarCollection } from "./collection/collection.js";
|
|
11
|
+
import { ToolbarEditorCollection } from "./collection/editor-collection.js";
|
|
12
12
|
/**
|
|
13
13
|
* Collection factory
|
|
14
14
|
*/
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { isArray } from "
|
|
7
|
-
import { isJoditObject } from "
|
|
8
|
-
import { Config } from "
|
|
6
|
+
import { isArray } from "../../core/helpers/checker/is-array.js";
|
|
7
|
+
import { isJoditObject } from "../../core/helpers/checker/is-jodit-object.js";
|
|
8
|
+
import { Config } from "../../config.js";
|
|
9
9
|
/**
|
|
10
10
|
* Module for processing download documents and images by Drag and Drop
|
|
11
11
|
* Drag and Drop files
|
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module modules/uploader
|
|
8
8
|
*/
|
|
9
|
-
import type { BuildDataResult, IDictionary, IUploader } from "
|
|
9
|
+
import type { BuildDataResult, IDictionary, IUploader } from "../../../types";
|
|
10
10
|
export declare function buildData(uploader: IUploader, data: FormData | IDictionary<string> | string): BuildDataResult;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { isFunction, isString } from "
|
|
6
|
+
import { isFunction, isString } from "../../../core/helpers/index.js";
|
|
7
7
|
export function buildData(uploader, data) {
|
|
8
8
|
if (isFunction(uploader.o.buildData)) {
|
|
9
9
|
return uploader.o.buildData.call(uploader, data);
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
export * from "./build-data";
|
|
7
|
-
export * from "./data-uri-to-blob";
|
|
8
|
-
export * from "./process-old-browser-drag";
|
|
9
|
-
export * from "./send";
|
|
10
|
-
export * from "./send-files";
|
|
6
|
+
export * from "./build-data.js";
|
|
7
|
+
export * from "./data-uri-to-blob.js";
|
|
8
|
+
export * from "./process-old-browser-drag.js";
|
|
9
|
+
export * from "./send.js";
|
|
10
|
+
export * from "./send-files.js";
|
|
11
11
|
export function hasFiles(data) {
|
|
12
12
|
return Boolean(data && data.files && data.files.length > 0);
|
|
13
13
|
}
|
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module modules/uploader
|
|
8
8
|
*/
|
|
9
|
-
import type { HandlerError, HandlerSuccess, IUploader } from "
|
|
9
|
+
import type { HandlerError, HandlerSuccess, IUploader } from "../../../types";
|
|
10
10
|
export declare function processOldBrowserDrag(self: IUploader, cData: DataTransfer | null, handlerSuccess?: HandlerSuccess, handlerError?: HandlerError, onFinally?: () => void): void;
|
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { TEXT_PLAIN } from "
|
|
7
|
-
import { Dom } from "
|
|
8
|
-
import { getContainer } from "
|
|
9
|
-
import { attr, isJoditObject } from "
|
|
10
|
-
import { dataURItoBlob
|
|
6
|
+
import { TEXT_PLAIN } from "../../../core/constants.js";
|
|
7
|
+
import { Dom } from "../../../core/dom/index.js";
|
|
8
|
+
import { getContainer } from "../../../core/global.js";
|
|
9
|
+
import { attr, isJoditObject } from "../../../core/helpers/index.js";
|
|
10
|
+
import { dataURItoBlob } from "./data-uri-to-blob.js";
|
|
11
|
+
import { sendFiles } from "./send-files.js";
|
|
11
12
|
export function processOldBrowserDrag(self, cData, handlerSuccess, handlerError, onFinally) {
|
|
12
13
|
if (cData && (!cData.types.length || cData.types[0] !== TEXT_PLAIN)) {
|
|
13
14
|
const div = self.j.c.div('', {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { error, isFunction, isPlainObject, toArray } from "
|
|
7
|
-
import { send } from "
|
|
6
|
+
import { error, isFunction, isPlainObject, toArray } from "../../../core/helpers/index.js";
|
|
7
|
+
import { send } from "./send.js";
|
|
8
8
|
/**
|
|
9
9
|
* Send files to server
|
|
10
10
|
*/
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module modules/uploader
|
|
8
8
|
*/
|
|
9
|
-
import type { IDictionary, IUploader, IUploaderAnswer } from "
|
|
10
|
-
import { Ajax } from "
|
|
9
|
+
import type { IDictionary, IUploader, IUploaderAnswer } from "../../../types";
|
|
10
|
+
import { Ajax } from "../../../core/request";
|
|
11
11
|
export declare const ajaxInstances: WeakMap<IUploader, Set<Ajax>>;
|
|
12
12
|
export declare function send(uploader: IUploader, data: FormData | IDictionary<string>): Promise<IUploaderAnswer>;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { isFunction, isPromise } from "
|
|
7
|
-
import { Ajax } from "
|
|
8
|
-
import { buildData } from "
|
|
6
|
+
import { isFunction, isPromise } from "../../../core/helpers/index.js";
|
|
7
|
+
import { Ajax } from "../../../core/request/index.js";
|
|
8
|
+
import { buildData } from "./build-data.js";
|
|
9
9
|
export const ajaxInstances = new WeakMap();
|
|
10
10
|
export function send(uploader, data) {
|
|
11
11
|
const requestData = buildData(uploader, data);
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module modules/uploader
|
|
10
10
|
*/
|
|
11
|
-
import type { HandlerError, HandlerSuccess, IUploader, IUploaderOptions, IViewBased } from "
|
|
12
|
-
import { ViewComponent } from "
|
|
11
|
+
import type { HandlerError, HandlerSuccess, IUploader, IUploaderOptions, IViewBased } from "../../types";
|
|
12
|
+
import { ViewComponent } from "../../core/component";
|
|
13
13
|
import "./config";
|
|
14
14
|
|
|
15
15
|
export declare class Uploader extends ViewComponent implements IUploader {
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { STATUSES, ViewComponent } from "
|
|
7
|
-
import { IS_ES_NEXT, IS_IE } from "
|
|
8
|
-
import { ConfigProto, error, isFunction, isJoditObject } from "
|
|
9
|
-
import { ajaxInstances, hasFiles, hasItems, processOldBrowserDrag, send, sendFiles } from "
|
|
10
|
-
import "./config";
|
|
11
|
-
import { Config } from "
|
|
6
|
+
import { STATUSES, ViewComponent } from "../../core/component/index.js";
|
|
7
|
+
import { IS_ES_NEXT, IS_IE } from "../../core/constants.js";
|
|
8
|
+
import { ConfigProto, error, isFunction, isJoditObject } from "../../core/helpers/index.js";
|
|
9
|
+
import { ajaxInstances, hasFiles, hasItems, processOldBrowserDrag, send, sendFiles } from "./helpers/index.js";
|
|
10
|
+
import "./config.js";
|
|
11
|
+
import { Config } from "../../config.js";
|
|
12
12
|
export class Uploader extends ViewComponent {
|
|
13
13
|
get j() {
|
|
14
14
|
return this.jodit;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { Dom } from "
|
|
7
|
-
import { attr, hasBrowserColorPicker, isArray, isFunction, isPlainObject, normalizeColor, refs } from "
|
|
8
|
-
import { Icon } from "
|
|
6
|
+
import { Dom } from "../../../core/dom/index.js";
|
|
7
|
+
import { attr, hasBrowserColorPicker, isArray, isFunction, isPlainObject, normalizeColor, refs } from "../../../core/helpers/index.js";
|
|
8
|
+
import { Icon } from "../../../core/ui/index.js";
|
|
9
9
|
import paletteIcon from "./palette.svg.js";
|
|
10
10
|
Icon.set('palette', paletteIcon);
|
|
11
11
|
/**
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module modules/widget/file-selector
|
|
10
10
|
*/
|
|
11
|
-
import type { IFileBrowserCallBackData, IJodit } from "
|
|
11
|
+
import type { IFileBrowserCallBackData, IJodit } from "../../../types";
|
|
12
12
|
interface ImageSelectorCallbacks {
|
|
13
13
|
/**
|
|
14
14
|
* Function that will be called when the user enters the URL of the tab image and alternative text for images
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { Dom } from "
|
|
7
|
-
import { $$, attr, isFunction } from "
|
|
8
|
-
import { UIBlock, UIButton, UIForm, UIInput } from "
|
|
9
|
-
import { TabsWidget } from "
|
|
6
|
+
import { Dom } from "../../../core/dom/dom.js";
|
|
7
|
+
import { $$, attr, isFunction } from "../../../core/helpers/index.js";
|
|
8
|
+
import { UIBlock, UIButton, UIForm, UIInput } from "../../../core/ui/index.js";
|
|
9
|
+
import { TabsWidget } from "../tabs/tabs.js";
|
|
10
10
|
/**
|
|
11
11
|
* Generate 3 tabs
|
|
12
12
|
* upload - Use Drag and Drop
|
|
@@ -8,6 +8,6 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module modules/widget
|
|
10
10
|
*/
|
|
11
|
-
export * from "./color-picker/color-picker";
|
|
12
|
-
export * from "./file-selector/file-selector";
|
|
13
|
-
export * from "./tabs/tabs";
|
|
11
|
+
export * from "./color-picker/color-picker.js";
|
|
12
|
+
export * from "./file-selector/file-selector.js";
|
|
13
|
+
export * from "./tabs/tabs.js";
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module modules/widget/tabs
|
|
10
10
|
*/
|
|
11
|
-
import type { IViewBased } from "
|
|
12
|
-
import { UIElement } from "
|
|
11
|
+
import type { IViewBased } from "../../../types";
|
|
12
|
+
import { UIElement } from "../../../core/ui";
|
|
13
13
|
|
|
14
14
|
export interface TabOption {
|
|
15
15
|
icon?: string;
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { Component } from "
|
|
7
|
-
import { Dom } from "
|
|
8
|
-
import { $$ } from "
|
|
9
|
-
import { isFunction } from "
|
|
10
|
-
import { Button, UIElement } from "
|
|
6
|
+
import { Component } from "../../../core/component/index.js";
|
|
7
|
+
import { Dom } from "../../../core/dom/dom.js";
|
|
8
|
+
import { $$ } from "../../../core/helpers/index.js";
|
|
9
|
+
import { isFunction } from "../../../core/helpers/checker/is-function.js";
|
|
10
|
+
import { Button, UIElement } from "../../../core/ui/index.js";
|
|
11
11
|
/**
|
|
12
12
|
* Build tabs system
|
|
13
13
|
*
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import * as constants from "
|
|
7
|
-
import { HOMEPAGE } from "
|
|
8
|
-
import { pluginSystem } from "
|
|
9
|
-
import { css, isLicense, normalizeLicense } from "
|
|
10
|
-
import { Icon } from "
|
|
6
|
+
import * as constants from "../../core/constants.js";
|
|
7
|
+
import { HOMEPAGE } from "../../core/constants.js";
|
|
8
|
+
import { pluginSystem } from "../../core/global.js";
|
|
9
|
+
import { css, isLicense, normalizeLicense } from "../../core/helpers/index.js";
|
|
10
|
+
import { Icon } from "../../core/ui/icon.js";
|
|
11
11
|
import aboutIcon from "./about.svg.js";
|
|
12
|
-
import { Config } from "
|
|
12
|
+
import { Config } from "../../config.js";
|
|
13
13
|
Config.prototype.controls.about = {
|
|
14
14
|
exec: (editor) => {
|
|
15
15
|
const dialog = editor.dlg({ closeOnClickOverlay: true }), i = editor.i18n.bind(editor);
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module plugins/add-new-line
|
|
10
10
|
*/
|
|
11
|
-
import type { IJodit } from "
|
|
12
|
-
import { Plugin } from "
|
|
11
|
+
import type { IJodit } from "../../types";
|
|
12
|
+
import { Plugin } from "../../modules";
|
|
13
13
|
import "./config";
|
|
14
14
|
|
|
15
15
|
/**
|
|
@@ -13,11 +13,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
13
13
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
14
14
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15
15
|
};
|
|
16
|
-
import { autobind, throttle, watch } from "
|
|
17
|
-
import { pluginSystem } from "
|
|
18
|
-
import { call, offset, position, scrollIntoViewIfNeeded } from "
|
|
19
|
-
import { Dom, Icon, Plugin } from "
|
|
20
|
-
import "./config";
|
|
16
|
+
import { autobind, throttle, watch } from "../../core/decorators/index.js";
|
|
17
|
+
import { pluginSystem } from "../../core/global.js";
|
|
18
|
+
import { call, offset, position, scrollIntoViewIfNeeded } from "../../core/helpers/index.js";
|
|
19
|
+
import { Dom, Icon, Plugin } from "../../modules/index.js";
|
|
20
|
+
import "./config.js";
|
|
21
21
|
const ns = 'addnewline';
|
|
22
22
|
/**
|
|
23
23
|
* Create helper for adding new paragraph(Jodit.defaultOptions.enter tag) before iframe, table or image
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { Icon } from "
|
|
6
|
+
import { Icon } from "../../core/ui/icon.js";
|
|
7
7
|
import enterIcon from "./enter.svg.js";
|
|
8
|
-
import { Config } from "
|
|
8
|
+
import { Config } from "../../config.js";
|
|
9
9
|
Config.prototype.addNewLine = true;
|
|
10
10
|
Config.prototype.addNewLineOnDBLClick = true;
|
|
11
11
|
Config.prototype.addNewLineTagsTriggers = [
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module plugins/ai-assistant
|
|
10
10
|
*/
|
|
11
|
-
import type { IJodit } from "
|
|
12
|
-
import { Plugin } from "
|
|
11
|
+
import type { IJodit } from "../../types";
|
|
12
|
+
import { Plugin } from "../../core/plugin/plugin";
|
|
13
13
|
import "./config";
|
|
14
14
|
/**
|
|
15
15
|
* The plugin inserts content generated by AI into the editor.
|
|
@@ -13,14 +13,14 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
13
13
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
14
14
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15
15
|
};
|
|
16
|
-
import { cache, cached } from "
|
|
17
|
-
import { watch } from "
|
|
18
|
-
import { extendLang, pluginSystem } from "
|
|
19
|
-
import { isAbortError } from "
|
|
20
|
-
import { Plugin } from "
|
|
21
|
-
import "./config";
|
|
22
|
-
import { UiAiAssistant } from "./ui/ui-ai-assistant";
|
|
23
|
-
import * as lang from "./langs";
|
|
16
|
+
import { cache, cached } from "../../core/decorators/cache/cache.js";
|
|
17
|
+
import { watch } from "../../core/decorators/watch/watch.js";
|
|
18
|
+
import { extendLang, pluginSystem } from "../../core/global.js";
|
|
19
|
+
import { isAbortError } from "../../core/helpers/checker/is-abort-error.js";
|
|
20
|
+
import { Plugin } from "../../core/plugin/plugin.js";
|
|
21
|
+
import "./config.js";
|
|
22
|
+
import { UiAiAssistant } from "./ui/ui-ai-assistant.js";
|
|
23
|
+
import * as lang from "./langs/index.js";
|
|
24
24
|
/**
|
|
25
25
|
* The plugin inserts content generated by AI into the editor.
|
|
26
26
|
*/
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { Icon } from "
|
|
6
|
+
import { Icon } from "../../core/ui/icon.js";
|
|
7
7
|
import magicWandIcon from "./ai-assistant.svg.js";
|
|
8
8
|
import chatBotIcon from "./chat-bot.svg.js";
|
|
9
|
-
import { Config } from "
|
|
9
|
+
import { Config } from "../../config.js";
|
|
10
10
|
const aiAssistantDefaults = {
|
|
11
11
|
aiCommonPrefixPrompt: '',
|
|
12
12
|
aiCommonSuffixPrompt: '',
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module plugins/ai-assistant
|
|
8
8
|
*/
|
|
9
|
-
import type { IJodit } from "
|
|
10
|
-
import { UITextArea } from "
|
|
11
|
-
import { UIElement } from "
|
|
9
|
+
import type { IJodit } from "../../../types";
|
|
10
|
+
import { UITextArea } from "../../../core/ui";
|
|
11
|
+
import { UIElement } from "../../../core/ui/element";
|
|
12
12
|
|
|
13
13
|
export declare class UiAiAssistant extends UIElement<IJodit> {
|
|
14
14
|
private __body;
|
|
@@ -13,12 +13,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
13
13
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
14
14
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15
15
|
};
|
|
16
|
-
import { component } from "
|
|
17
|
-
import { watch } from "
|
|
18
|
-
import { Dom } from "
|
|
19
|
-
import { isString } from "
|
|
20
|
-
import { Button, UIBlock, UIForm, UITextArea } from "
|
|
21
|
-
import { UIElement } from "
|
|
16
|
+
import { component } from "../../../core/decorators/component/component.js";
|
|
17
|
+
import { watch } from "../../../core/decorators/watch/watch.js";
|
|
18
|
+
import { Dom } from "../../../core/dom/dom.js";
|
|
19
|
+
import { isString } from "../../../core/helpers/checker/is-string.js";
|
|
20
|
+
import { Button, UIBlock, UIForm, UITextArea } from "../../../core/ui/index.js";
|
|
21
|
+
import { UIElement } from "../../../core/ui/element.js";
|
|
22
22
|
let UiAiAssistant = class UiAiAssistant extends UIElement {
|
|
23
23
|
className() {
|
|
24
24
|
return 'UIAiAssistant';
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module plugins/backspace
|
|
10
10
|
*/
|
|
11
|
-
import type { IJodit } from "
|
|
12
|
-
import { Plugin } from "
|
|
11
|
+
import type { IJodit } from "../../types";
|
|
12
|
+
import { Plugin } from "../../core/plugin";
|
|
13
13
|
import "./config";
|
|
14
14
|
export declare class backspace extends Plugin {
|
|
15
15
|
static requires: string[];
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { INVISIBLE_SPACE, IS_PROD } from "
|
|
7
|
-
import { Dom } from "
|
|
8
|
-
import { pluginSystem } from "
|
|
9
|
-
import { isFunction } from "
|
|
10
|
-
import { Plugin } from "
|
|
11
|
-
import { moveNodeInsideStart } from "
|
|
12
|
-
import "./config";
|
|
13
|
-
import { checkNotCollapsed } from "./cases/check-not-collapsed";
|
|
14
|
-
import { cases } from "./cases";
|
|
6
|
+
import { INVISIBLE_SPACE, IS_PROD } from "../../core/constants.js";
|
|
7
|
+
import { Dom } from "../../core/dom/index.js";
|
|
8
|
+
import { pluginSystem } from "../../core/global.js";
|
|
9
|
+
import { isFunction } from "../../core/helpers/checker/is-function.js";
|
|
10
|
+
import { Plugin } from "../../core/plugin/index.js";
|
|
11
|
+
import { moveNodeInsideStart } from "../../core/selection/helpers/index.js";
|
|
12
|
+
import "./config.js";
|
|
13
|
+
import { checkNotCollapsed } from "./cases/check-not-collapsed.js";
|
|
14
|
+
import { cases } from "./cases/index.js";
|
|
15
15
|
export class backspace extends Plugin {
|
|
16
16
|
afterInit(jodit) {
|
|
17
17
|
jodit
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { LIST_TAGS } from "
|
|
7
|
-
import { Dom } from "
|
|
8
|
-
import { getMoveFilter } from "
|
|
6
|
+
import { LIST_TAGS } from "../../../core/constants.js";
|
|
7
|
+
import { Dom } from "../../../core/dom/dom.js";
|
|
8
|
+
import { getMoveFilter } from "../helpers.js";
|
|
9
9
|
/**
|
|
10
10
|
* Check if two separate elements can be connected
|
|
11
11
|
* @private
|