jodit 4.4.2 → 4.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +2 -2
- package/es2015/jodit.min.js +2 -2
- package/es2015/plugins/debug/debug.css +1 -1
- 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 +2 -2
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/debug/debug.css +1 -1
- 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 +2 -2
- package/es2021/jodit.min.js +2 -2
- package/es2021/plugins/debug/debug.css +1 -1
- 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 +2 -2
- package/es2021.en/jodit.min.js +2 -2
- package/es2021.en/plugins/debug/debug.css +1 -1
- 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/5.fat.min.js +1 -1
- package/es5/5.min.js +1 -1
- package/es5/975.fat.min.js +1 -1
- package/es5/975.min.js +1 -1
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +2 -2
- package/es5/jodit.min.css +2 -2
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/debug/debug.css +1 -1
- 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.d.ts +1382 -1468
- package/esm/core/async/async.d.ts +1 -1
- package/esm/core/async/index.d.ts +1 -1
- package/esm/core/component/component.d.ts +1 -1
- package/esm/core/component/index.d.ts +3 -3
- package/esm/core/component/view-component.d.ts +2 -2
- package/esm/core/constants.d.ts +2 -2
- package/esm/core/constants.js +1 -1
- package/esm/core/create/create.d.ts +1 -1
- package/esm/core/create/index.d.ts +1 -1
- package/esm/core/decorators/autobind/autobind.d.ts +1 -1
- package/esm/core/decorators/cache/cache.d.ts +3 -3
- package/esm/core/decorators/debounce/debounce.d.ts +1 -1
- package/esm/core/decorators/hook/hook.d.ts +2 -2
- package/esm/core/decorators/idle/idle.d.ts +1 -1
- package/esm/core/decorators/index.d.ts +11 -11
- package/esm/core/decorators/persistent/persistent.d.ts +1 -1
- package/esm/core/decorators/wait/wait.d.ts +1 -1
- package/esm/core/decorators/watch/watch.d.ts +1 -1
- package/esm/core/dom/dom.d.ts +1 -1
- package/esm/core/dom/index.d.ts +2 -2
- package/esm/core/dom/lazy-walker.d.ts +2 -2
- package/esm/core/event-emitter/event-emitter.d.ts +1 -1
- package/esm/core/event-emitter/eventify.d.ts +1 -1
- package/esm/core/event-emitter/index.d.ts +4 -4
- package/esm/core/event-emitter/observable.d.ts +1 -1
- package/esm/core/event-emitter/store.d.ts +1 -1
- package/esm/core/global.d.ts +3 -3
- package/esm/core/helpers/array/index.d.ts +3 -3
- package/esm/core/helpers/async/index.d.ts +1 -1
- package/esm/core/helpers/checker/index.d.ts +25 -25
- package/esm/core/helpers/checker/is-imp-interface.d.ts +1 -1
- package/esm/core/helpers/checker/is-jodit-object.d.ts +1 -1
- package/esm/core/helpers/checker/is-marker.d.ts +1 -1
- package/esm/core/helpers/checker/is-plain-object.d.ts +1 -1
- package/esm/core/helpers/checker/is-view-object.d.ts +1 -1
- package/esm/core/helpers/color/index.d.ts +1 -1
- package/esm/core/helpers/html/index.d.ts +6 -6
- package/esm/core/helpers/html/strip-tags.d.ts +1 -1
- package/esm/core/helpers/index.d.ts +9 -9
- package/esm/core/helpers/normalize/index.d.ts +8 -8
- package/esm/core/helpers/size/get-scroll-parent.d.ts +1 -1
- package/esm/core/helpers/size/index.d.ts +6 -6
- package/esm/core/helpers/size/object-size.d.ts +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/string/i18n.d.ts +1 -1
- package/esm/core/helpers/string/index.d.ts +7 -7
- package/esm/core/helpers/utils/align.d.ts +1 -1
- package/esm/core/helpers/utils/append-script.d.ts +1 -1
- package/esm/core/helpers/utils/attr.d.ts +1 -1
- package/esm/core/helpers/utils/build-query.d.ts +1 -1
- package/esm/core/helpers/utils/config-proto.d.ts +1 -1
- package/esm/core/helpers/utils/css.d.ts +1 -1
- package/esm/core/helpers/utils/data-bind.d.ts +1 -1
- package/esm/core/helpers/utils/error/errors/abort-error.d.ts +1 -1
- package/esm/core/helpers/utils/error/errors/index.d.ts +3 -3
- package/esm/core/helpers/utils/error/index.d.ts +2 -2
- package/esm/core/helpers/utils/get-class-name.d.ts +1 -1
- package/esm/core/helpers/utils/get.d.ts +1 -1
- package/esm/core/helpers/utils/index.d.ts +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/reset.d.ts +1 -1
- package/esm/core/helpers/utils/scroll-into-view.d.ts +1 -1
- package/esm/core/helpers/utils/selector.d.ts +1 -1
- package/esm/core/helpers/utils/set.d.ts +1 -1
- package/esm/core/helpers/utils/stack.d.ts +1 -1
- package/esm/core/helpers/utils/utils.d.ts +1 -1
- package/esm/core/plugin/helpers/init-instance.d.ts +1 -1
- package/esm/core/plugin/helpers/load.d.ts +1 -1
- package/esm/core/plugin/helpers/make-instance.d.ts +1 -1
- package/esm/core/plugin/index.d.ts +2 -2
- package/esm/core/plugin/plugin-system.d.ts +1 -1
- package/esm/core/plugin/plugin.d.ts +2 -2
- package/esm/core/request/ajax.d.ts +1 -1
- package/esm/core/request/config.d.ts +1 -1
- package/esm/core/request/index.d.ts +2 -2
- package/esm/core/request/response.d.ts +1 -1
- package/esm/core/selection/helpers/index.d.ts +2 -2
- package/esm/core/selection/helpers/move-node-inside-start.d.ts +1 -1
- package/esm/core/selection/index.d.ts +3 -3
- package/esm/core/selection/interface.d.ts +1 -1
- package/esm/core/selection/selection.d.ts +1 -1
- package/esm/core/selection/style/api/extract.d.ts +1 -1
- package/esm/core/selection/style/api/finite-state-machine.d.ts +1 -1
- package/esm/core/selection/style/api/get-suit-child.d.ts +1 -1
- package/esm/core/selection/style/api/get-suit-parent.d.ts +1 -1
- package/esm/core/selection/style/api/has-same-style.d.ts +1 -1
- package/esm/core/selection/style/api/index.d.ts +15 -15
- package/esm/core/selection/style/api/is-normal-node.d.ts +1 -1
- package/esm/core/selection/style/api/is-same-attributes.d.ts +1 -1
- package/esm/core/selection/style/api/is-suit-element.d.ts +1 -1
- package/esm/core/selection/style/api/list/toggle-ordered-list.d.ts +1 -1
- package/esm/core/selection/style/api/list/wrap-list.d.ts +1 -1
- package/esm/core/selection/style/api/toggle-attributes.d.ts +1 -1
- package/esm/core/selection/style/api/unwrap-children.d.ts +1 -1
- package/esm/core/selection/style/api/wrap-unwrapped-text.d.ts +1 -1
- package/esm/core/selection/style/api/wrap.d.ts +1 -1
- package/esm/core/selection/style/apply-style.d.ts +1 -1
- package/esm/core/selection/style/commit-style.d.ts +1 -1
- package/esm/core/selection/style/transactions.d.ts +1 -1
- 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.d.ts +3 -3
- package/esm/core/storage/storage.d.ts +1 -1
- package/esm/core/traits/dlgs.d.ts +1 -1
- package/esm/core/traits/elms.d.ts +1 -1
- package/esm/core/traits/mods.d.ts +1 -1
- package/esm/core/ui/button/button/button.d.ts +2 -2
- package/esm/core/ui/button/group/group.d.ts +2 -2
- package/esm/core/ui/button/index.d.ts +3 -3
- package/esm/core/ui/button/tooltip/tooltip.d.ts +2 -2
- package/esm/core/ui/element.d.ts +4 -4
- package/esm/core/ui/form/block/block.d.ts +2 -2
- package/esm/core/ui/form/form.d.ts +2 -2
- package/esm/core/ui/form/index.d.ts +3 -3
- package/esm/core/ui/form/inputs/area/area.d.ts +2 -2
- package/esm/core/ui/form/inputs/checkbox/checkbox.d.ts +2 -2
- package/esm/core/ui/form/inputs/file/file.d.ts +2 -2
- package/esm/core/ui/form/inputs/index.d.ts +5 -5
- package/esm/core/ui/form/inputs/input/input.d.ts +2 -2
- package/esm/core/ui/form/inputs/select/select.d.ts +2 -2
- package/esm/core/ui/form/validators/input.d.ts +1 -1
- package/esm/core/ui/form/validators/select.d.ts +1 -1
- package/esm/core/ui/group/group.d.ts +2 -2
- package/esm/core/ui/group/index.d.ts +4 -4
- package/esm/core/ui/group/list.d.ts +2 -2
- package/esm/core/ui/group/separator.d.ts +1 -1
- package/esm/core/ui/group/spacer.d.ts +1 -1
- package/esm/core/ui/helpers/buttons.d.ts +1 -1
- package/esm/core/ui/helpers/get-control-type.d.ts +1 -1
- package/esm/core/ui/helpers/get-strong-control-types.d.ts +1 -1
- package/esm/core/ui/icon.d.ts +1 -1
- package/esm/core/ui/index.d.ts +7 -7
- package/esm/core/ui/popup/index.d.ts +1 -1
- package/esm/core/ui/popup/popup.d.ts +2 -2
- package/esm/core/ui/progress-bar/progress-bar.d.ts +2 -2
- package/esm/core/view/view-with-toolbar.d.ts +2 -2
- package/esm/core/view/view.d.ts +4 -4
- package/esm/index.d.ts +1 -1
- package/esm/jodit.d.ts +6 -6
- package/esm/languages.d.ts +1 -1
- package/esm/modules/context-menu/context-menu.d.ts +2 -2
- package/esm/modules/dialog/alert.d.ts +1 -1
- package/esm/modules/dialog/confirm.d.ts +1 -1
- package/esm/modules/dialog/dialog.d.ts +2 -2
- package/esm/modules/dialog/index.d.ts +4 -4
- package/esm/modules/dialog/prompt.d.ts +1 -1
- package/esm/modules/file-browser/builders/context-menu.d.ts +1 -1
- 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/config.d.ts +1 -1
- package/esm/modules/file-browser/data-provider.d.ts +1 -1
- package/esm/modules/file-browser/factories.d.ts +1 -1
- 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/file-browser.d.ts +5 -5
- package/esm/modules/file-browser/index.d.ts +1 -1
- package/esm/modules/file-browser/listeners/native-listeners.d.ts +1 -1
- package/esm/modules/file-browser/listeners/self-listeners.d.ts +1 -1
- package/esm/modules/file-browser/listeners/state-listeners.d.ts +1 -1
- package/esm/modules/file-browser/ui/files/files.d.ts +1 -1
- package/esm/modules/file-browser/ui/index.d.ts +2 -2
- package/esm/modules/file-browser/ui/tree/tree.d.ts +1 -1
- package/esm/modules/history/command.d.ts +1 -1
- package/esm/modules/history/history.d.ts +4 -4
- package/esm/modules/history/snapshot.d.ts +2 -2
- package/esm/modules/history/stack.d.ts +1 -1
- package/esm/modules/image-editor/config.d.ts +1 -1
- package/esm/modules/image-editor/image-editor.d.ts +2 -2
- package/esm/modules/image-editor/templates/form.d.ts +1 -1
- package/esm/modules/index.d.ts +26 -26
- package/esm/modules/messages/message.d.ts +2 -2
- package/esm/modules/messages/messages.d.ts +2 -2
- package/esm/modules/status-bar/status-bar.d.ts +4 -4
- package/esm/modules/table/table.d.ts +2 -2
- package/esm/modules/toolbar/button/button.d.ts +5 -5
- package/esm/modules/toolbar/button/content.d.ts +2 -2
- package/esm/modules/toolbar/button/index.d.ts +3 -3
- package/esm/modules/toolbar/button/select/select.d.ts +2 -2
- package/esm/modules/toolbar/collection/collection.d.ts +2 -2
- package/esm/modules/toolbar/collection/editor-collection.d.ts +2 -2
- package/esm/modules/toolbar/factory.d.ts +1 -1
- package/esm/modules/uploader/config.d.ts +1 -1
- package/esm/modules/uploader/helpers/build-data.d.ts +1 -1
- package/esm/modules/uploader/helpers/index.d.ts +6 -6
- package/esm/modules/uploader/helpers/process-old-browser-drag.d.ts +1 -1
- package/esm/modules/uploader/helpers/send-files.d.ts +1 -1
- package/esm/modules/uploader/helpers/send.d.ts +2 -2
- package/esm/modules/uploader/uploader.d.ts +2 -2
- package/esm/modules/widget/color-picker/color-picker.d.ts +1 -1
- package/esm/modules/widget/file-selector/file-selector.d.ts +1 -1
- package/esm/modules/widget/index.d.ts +3 -3
- package/esm/modules/widget/tabs/tabs.d.ts +2 -2
- package/esm/plugins/add-new-line/add-new-line.d.ts +2 -2
- package/esm/plugins/add-new-line/config.d.ts +1 -1
- package/esm/plugins/ai-assistant/ai-assistant.d.ts +2 -2
- package/esm/plugins/ai-assistant/langs/index.d.ts +2 -2
- package/esm/plugins/ai-assistant/ui/ui-ai-assistant.d.ts +3 -3
- package/esm/plugins/backspace/backspace.d.ts +2 -2
- package/esm/plugins/backspace/cases/check-join-neighbors.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-join-two-lists.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-not-collapsed.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-remove-char.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-remove-content-not-editable.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-remove-empty-neighbor.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-remove-empty-parent.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-remove-unbreakable-element.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-table-cell.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-unwrap-first-list-item.d.ts +1 -1
- package/esm/plugins/backspace/cases/index.d.ts +2 -2
- package/esm/plugins/backspace/helpers.d.ts +1 -1
- package/esm/plugins/bold/bold.d.ts +1 -1
- package/esm/plugins/class-span/class-span.d.ts +2 -2
- package/esm/plugins/clean-html/clean-html.d.ts +2 -2
- package/esm/plugins/clean-html/config.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/get-hash.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/index.d.ts +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-selection.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/allow-attributes.d.ts +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/index.d.ts +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-inv-text-nodes.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/replace-old-tags.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/sanitize-attributes.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/try-remove-node.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/visitor/visit-node-walker.d.ts +1 -1
- package/esm/plugins/clipboard/clipboard.d.ts +2 -2
- package/esm/plugins/color/color.d.ts +1 -1
- package/esm/plugins/copy-format/copy-format.d.ts +1 -1
- package/esm/plugins/copy-format/langs/index.d.ts +21 -21
- package/esm/plugins/debug/debug.d.ts +2 -2
- package/esm/plugins/delete/delete.d.ts +2 -2
- package/esm/plugins/drag-and-drop/drag-and-drop.d.ts +1 -1
- package/esm/plugins/drag-and-drop-element/drag-and-drop-element.d.ts +1 -1
- package/esm/plugins/dtd/after-insert/index.d.ts +1 -1
- package/esm/plugins/dtd/after-insert/remove-extra-br.d.ts +1 -1
- package/esm/plugins/dtd/before-insert/check-block-nesting.d.ts +1 -1
- package/esm/plugins/dtd/before-insert/index.d.ts +1 -1
- package/esm/plugins/dtd/config.d.ts +1 -1
- package/esm/plugins/enter/enter.d.ts +2 -2
- package/esm/plugins/enter/helpers/check-br.d.ts +1 -1
- package/esm/plugins/enter/helpers/check-unsplittable-box.d.ts +1 -1
- package/esm/plugins/enter/helpers/get-block-wrapper.d.ts +1 -1
- package/esm/plugins/enter/helpers/has-previous-block.d.ts +1 -1
- package/esm/plugins/enter/helpers/index.d.ts +9 -9
- package/esm/plugins/enter/helpers/insert-paragraph.d.ts +1 -1
- package/esm/plugins/enter/helpers/move-cursor-out-from-specal-tags.d.ts +1 -1
- package/esm/plugins/enter/helpers/process-empty-li-leaf.d.ts +1 -1
- package/esm/plugins/enter/helpers/split-fragment.d.ts +1 -1
- package/esm/plugins/enter/helpers/wrap-text.d.ts +1 -1
- package/esm/plugins/file/file.d.ts +1 -1
- package/esm/plugins/focus/focus.d.ts +1 -1
- package/esm/plugins/font/font.d.ts +1 -1
- package/esm/plugins/format-block/format-block.d.ts +1 -1
- package/esm/plugins/fullsize/fullsize.d.ts +1 -1
- package/esm/plugins/hotkeys/config.d.ts +1 -1
- package/esm/plugins/hotkeys/hotkeys.d.ts +2 -2
- package/esm/plugins/hr/hr.d.ts +1 -1
- package/esm/plugins/iframe/iframe.d.ts +1 -1
- package/esm/plugins/image/image.d.ts +1 -1
- package/esm/plugins/image-processor/image-processor.d.ts +2 -2
- package/esm/plugins/image-properties/image-properties.d.ts +2 -2
- package/esm/plugins/image-properties/interface.d.ts +1 -1
- package/esm/plugins/image-properties/readers/index.d.ts +1 -1
- package/esm/plugins/image-properties/readers/link.d.ts +1 -1
- package/esm/plugins/image-properties/ui/ui-image-form.d.ts +2 -2
- package/esm/plugins/image-properties/ui/ui-image-main-tab.d.ts +2 -2
- package/esm/plugins/image-properties/ui/ui-image-position-tab.d.ts +2 -2
- package/esm/plugins/image-properties/utils/open-image-editor.d.ts +1 -1
- package/esm/plugins/image-properties/utils/open-image-popup.d.ts +1 -1
- package/esm/plugins/image-properties/writers/index.d.ts +1 -1
- package/esm/plugins/image-properties/writers/link.d.ts +1 -1
- package/esm/plugins/image-properties/writers/margin.d.ts +1 -1
- package/esm/plugins/indent/indent.d.ts +1 -1
- package/esm/plugins/inline-popup/config/config.d.ts +1 -1
- package/esm/plugins/inline-popup/config/items/a.d.ts +1 -1
- package/esm/plugins/inline-popup/config/items/cells.d.ts +1 -1
- package/esm/plugins/inline-popup/config/items/iframe.d.ts +2 -2
- package/esm/plugins/inline-popup/config/items/img.d.ts +1 -1
- package/esm/plugins/inline-popup/inline-popup.d.ts +2 -2
- package/esm/plugins/justify/justify.d.ts +1 -1
- package/esm/plugins/key-arrow-outside/key-arrow-outside.d.ts +2 -2
- package/esm/plugins/limit/limit.d.ts +2 -2
- package/esm/plugins/line-height/langs/index.d.ts +22 -22
- package/esm/plugins/line-height/line-height.d.ts +2 -2
- package/esm/plugins/link/config.d.ts +1 -1
- package/esm/plugins/link/link.d.ts +2 -2
- package/esm/plugins/link/template.d.ts +1 -1
- package/esm/plugins/media/media.d.ts +1 -1
- package/esm/plugins/mobile/config.d.ts +1 -1
- package/esm/plugins/mobile/mobile.d.ts +1 -1
- package/esm/plugins/ordered-list/ordered-list.d.ts +2 -2
- package/esm/plugins/paste/config.d.ts +1 -1
- package/esm/plugins/paste/helpers.d.ts +1 -1
- package/esm/plugins/paste/interface.d.ts +1 -1
- package/esm/plugins/paste/paste.d.ts +2 -2
- package/esm/plugins/paste-from-word/config.d.ts +1 -1
- package/esm/plugins/paste-from-word/paste-from-word.d.ts +2 -2
- package/esm/plugins/paste-storage/paste-storage.d.ts +1 -1
- package/esm/plugins/placeholder/placeholder.d.ts +2 -2
- package/esm/plugins/powered-by-jodit/powered-by-jodit.d.ts +1 -1
- package/esm/plugins/preview/preview.d.ts +1 -1
- package/esm/plugins/print/lib/generate-critical-css.d.ts +1 -1
- package/esm/plugins/print/print.d.ts +1 -1
- package/esm/plugins/redo-undo/redo-undo.d.ts +2 -2
- package/esm/plugins/resize-cells/resize-cells.d.ts +2 -2
- package/esm/plugins/resize-handler/resize-handler.d.ts +2 -2
- package/esm/plugins/resizer/config.d.ts +1 -1
- package/esm/plugins/resizer/resizer.d.ts +2 -2
- package/esm/plugins/search/config.d.ts +1 -1
- package/esm/plugins/search/helpers/highlight-text-ranges.d.ts +1 -1
- package/esm/plugins/search/helpers/index.d.ts +2 -2
- package/esm/plugins/search/helpers/sentence-finder.d.ts +1 -1
- package/esm/plugins/search/search.d.ts +3 -3
- package/esm/plugins/search/ui/search.d.ts +2 -2
- package/esm/plugins/select/select.d.ts +2 -2
- package/esm/plugins/select-cells/select-cells.d.ts +2 -2
- package/esm/plugins/size/size.d.ts +2 -2
- package/esm/plugins/source/config.d.ts +1 -1
- package/esm/plugins/source/editor/engines/ace.d.ts +2 -2
- package/esm/plugins/source/editor/engines/area.d.ts +2 -2
- package/esm/plugins/source/editor/engines/index.d.ts +2 -2
- package/esm/plugins/source/editor/factory.d.ts +1 -1
- package/esm/plugins/source/editor/sourceEditor.d.ts +1 -1
- package/esm/plugins/source/source.d.ts +2 -2
- package/esm/plugins/speech-recognize/config.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 +2 -2
- package/esm/plugins/speech-recognize/langs/index.d.ts +22 -22
- package/esm/plugins/speech-recognize/speech-recognize.d.ts +2 -2
- package/esm/plugins/spellcheck/langs/index.d.ts +22 -22
- package/esm/plugins/spellcheck/spellcheck.d.ts +2 -2
- package/esm/plugins/stat/stat.d.ts +1 -1
- package/esm/plugins/sticky/sticky.d.ts +2 -2
- package/esm/plugins/symbols/langs/index.d.ts +22 -22
- package/esm/plugins/symbols/symbols.d.ts +2 -2
- package/esm/plugins/tab/cases/index.d.ts +1 -1
- package/esm/plugins/tab/cases/on-tab-inside-li.d.ts +1 -1
- package/esm/plugins/table/table.d.ts +1 -1
- package/esm/plugins/table-keyboard-navigation/table-keyboard-navigation.d.ts +1 -1
- package/esm/plugins/wrap-nodes/config.d.ts +1 -1
- package/esm/types/async.d.ts +1 -1
- package/esm/types/index.d.ts +23 -23
- package/esm/types/jodit.d.ts +2 -2
- package/esm/types/style.d.ts +1 -1
- package/package.json +1 -1
- package/types/config.d.ts +853 -7
- package/types/core/async/async.d.ts +1 -1
- package/types/core/async/index.d.ts +1 -1
- package/types/core/component/component.d.ts +1 -1
- package/types/core/component/index.d.ts +3 -3
- package/types/core/component/view-component.d.ts +2 -2
- package/types/core/constants.d.ts +2 -2
- package/types/core/create/create.d.ts +1 -1
- package/types/core/create/index.d.ts +1 -1
- package/types/core/decorators/autobind/autobind.d.ts +1 -1
- package/types/core/decorators/cache/cache.d.ts +3 -3
- 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/index.d.ts +11 -11
- 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/index.d.ts +2 -2
- 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/index.d.ts +4 -4
- 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 +3 -3
- package/types/core/helpers/array/index.d.ts +3 -3
- package/types/core/helpers/async/index.d.ts +1 -1
- package/types/core/helpers/checker/index.d.ts +25 -25
- 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/color/index.d.ts +1 -1
- package/types/core/helpers/html/index.d.ts +6 -6
- package/types/core/helpers/html/strip-tags.d.ts +1 -1
- package/types/core/helpers/index.d.ts +9 -9
- package/types/core/helpers/normalize/index.d.ts +8 -8
- package/types/core/helpers/size/get-scroll-parent.d.ts +1 -1
- package/types/core/helpers/size/index.d.ts +6 -6
- 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/string/index.d.ts +7 -7
- 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/error/errors/index.d.ts +3 -3
- package/types/core/helpers/utils/error/index.d.ts +2 -2
- 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/index.d.ts +27 -27
- 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/index.d.ts +2 -2
- 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/index.d.ts +2 -2
- package/types/core/request/response.d.ts +1 -1
- package/types/core/selection/helpers/index.d.ts +2 -2
- package/types/core/selection/helpers/move-node-inside-start.d.ts +1 -1
- package/types/core/selection/index.d.ts +3 -3
- 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/index.d.ts +15 -15
- 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 -1
- 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/index.d.ts +3 -3
- 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/index.d.ts +3 -3
- 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/index.d.ts +3 -3
- 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/index.d.ts +5 -5
- 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 +1 -1
- package/types/core/ui/group/group.d.ts +2 -2
- package/types/core/ui/group/index.d.ts +4 -4
- 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/index.d.ts +7 -7
- package/types/core/ui/popup/index.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/index.d.ts +4 -4
- 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 +1 -1
- 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 +5 -5
- package/types/modules/file-browser/index.d.ts +1 -1
- 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/index.d.ts +2 -2
- 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 +4 -4
- 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 +26 -26
- 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/index.d.ts +3 -3
- package/types/modules/toolbar/button/select/select.d.ts +2 -2
- package/types/modules/toolbar/collection/collection.d.ts +2 -2
- package/types/modules/toolbar/collection/editor-collection.d.ts +2 -2
- 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 +6 -6
- 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/index.d.ts +3 -3
- 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/langs/index.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 +1 -1
- 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/cases/index.d.ts +2 -2
- 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/index.d.ts +4 -4
- 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/index.d.ts +7 -7
- 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/copy-format/langs/index.d.ts +21 -21
- 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/index.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/before-insert/index.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/index.d.ts +9 -9
- 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/interface.d.ts +1 -1
- 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/inline-popup/config/config.d.ts +1 -1
- package/types/plugins/inline-popup/config/items/a.d.ts +1 -1
- package/types/plugins/inline-popup/config/items/cells.d.ts +1 -1
- package/types/plugins/inline-popup/config/items/iframe.d.ts +2 -2
- package/types/plugins/inline-popup/config/items/img.d.ts +1 -1
- 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/langs/index.d.ts +22 -22
- 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 +2 -2
- 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/index.d.ts +2 -2
- 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/engines/index.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/exec-spell-command.d.ts +1 -1
- package/types/plugins/speech-recognize/helpers/recognize-manager.d.ts +2 -2
- package/types/plugins/speech-recognize/langs/index.d.ts +22 -22
- package/types/plugins/speech-recognize/speech-recognize.d.ts +2 -2
- package/types/plugins/spellcheck/langs/index.d.ts +22 -22
- 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/langs/index.d.ts +22 -22
- package/types/plugins/symbols/symbols.d.ts +2 -2
- package/types/plugins/tab/cases/index.d.ts +1 -1
- 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/async.d.ts +1 -1
- package/types/types/index.d.ts +23 -23
- package/types/types/jodit.d.ts +2 -2
- package/types/types/style.d.ts +1 -1
package/types/config.d.ts
CHANGED
|
@@ -1,9 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import type {
|
|
1
|
+
import type { AjaxOptions } from "./types/index.d.ts";
|
|
2
|
+
import type { IDialogOptions } from "./types/index.d.ts";
|
|
3
|
+
import type { IFileBrowserOptions } from "./types/index.d.ts";
|
|
4
|
+
import type { ImageEditorOptions } from "./types/index.d.ts";
|
|
5
|
+
import type { IUploaderOptions } from "./types/index.d.ts";
|
|
6
|
+
import type { IUploader } from "./types/index.d.ts";
|
|
7
|
+
import type { HTMLTagNames } from "./types/index.d.ts";
|
|
8
|
+
import type { AiAssistantSettings } from "./plugins/ai-assistant/interface.d.ts";
|
|
9
|
+
import type { IDictionary } from "./types/index.d.ts";
|
|
10
|
+
import type { Nullable } from "./types/index.d.ts";
|
|
11
|
+
import type { ImagePropertiesOptions } from "./plugins/image-properties/interface.d.ts";
|
|
12
|
+
import type { IControlType } from "./types/index.d.ts";
|
|
13
|
+
import type { IJodit } from "./types/index.d.ts";
|
|
14
|
+
import type { formTemplate } from "./plugins/link/template.d.ts";
|
|
15
|
+
import type { IUIForm } from "./types/index.d.ts";
|
|
16
|
+
import type { IUIOption } from "./types/index.d.ts";
|
|
17
|
+
import type { ButtonsOption } from "./types/index.d.ts";
|
|
18
|
+
import type { InsertMode } from "./types/index.d.ts";
|
|
19
|
+
import type { FuzzySearch } from "./types/index.d.ts";
|
|
20
|
+
import type { ISourceEditor } from "./types/index.d.ts";
|
|
21
|
+
import type { ISpeechRecognizeConstructor } from "./plugins/speech-recognize/interface.d.ts";
|
|
22
|
+
import type { Attributes } from "./types/index.d.ts";
|
|
23
|
+
import type { Controls } from "./types/index.d.ts";
|
|
24
|
+
import type { IExtraPlugin } from "./types/index.d.ts";
|
|
25
|
+
import type { IUIButtonState } from "./types/index.d.ts";
|
|
26
|
+
import type { IViewOptions } from "./types/index.d.ts";
|
|
27
|
+
import type { NodeFunction } from "./types/index.d.ts";
|
|
7
28
|
/**
|
|
8
29
|
* Default Editor's Configuration
|
|
9
30
|
*/
|
|
@@ -563,7 +584,7 @@ declare class Config implements IViewOptions {
|
|
|
563
584
|
* @example
|
|
564
585
|
* ```jsx
|
|
565
586
|
* import React, {useState, useRef} from 'react';
|
|
566
|
-
* import JoditEditor from "jodit-react";
|
|
587
|
+
* import type JoditEditor from "jodit-react";
|
|
567
588
|
*
|
|
568
589
|
* const config = {
|
|
569
590
|
* createAttributes: {
|
|
@@ -698,3 +719,828 @@ declare class Config implements IViewOptions {
|
|
|
698
719
|
static get defaultOptions(): Config;
|
|
699
720
|
}
|
|
700
721
|
export { Config };
|
|
722
|
+
interface Config {
|
|
723
|
+
/**
|
|
724
|
+
* A set of key/value pairs that configure the Ajax request. All settings are optional
|
|
725
|
+
*/
|
|
726
|
+
defaultAjaxOptions: AjaxOptions;
|
|
727
|
+
}
|
|
728
|
+
interface Config {
|
|
729
|
+
dialog: IDialogOptions;
|
|
730
|
+
}
|
|
731
|
+
interface Config {
|
|
732
|
+
filebrowser: IFileBrowserOptions;
|
|
733
|
+
}
|
|
734
|
+
interface Config {
|
|
735
|
+
history: {
|
|
736
|
+
enable: boolean;
|
|
737
|
+
/**
|
|
738
|
+
* Limit of history length
|
|
739
|
+
*/
|
|
740
|
+
maxHistoryLength: number;
|
|
741
|
+
/**
|
|
742
|
+
* Delay on every change
|
|
743
|
+
*/
|
|
744
|
+
timeout: number;
|
|
745
|
+
};
|
|
746
|
+
}
|
|
747
|
+
interface Config {
|
|
748
|
+
imageeditor: ImageEditorOptions;
|
|
749
|
+
}
|
|
750
|
+
interface Config {
|
|
751
|
+
/**
|
|
752
|
+
* Enable drag and drop file editor
|
|
753
|
+
*/
|
|
754
|
+
enableDragAndDropFileToEditor: boolean;
|
|
755
|
+
uploader: IUploaderOptions<IUploader>;
|
|
756
|
+
}
|
|
757
|
+
interface Config {
|
|
758
|
+
/**
|
|
759
|
+
* Create helper
|
|
760
|
+
*/
|
|
761
|
+
addNewLine: boolean;
|
|
762
|
+
/**
|
|
763
|
+
* What kind of tags it will be impact
|
|
764
|
+
*/
|
|
765
|
+
addNewLineTagsTriggers: HTMLTagNames[];
|
|
766
|
+
/**
|
|
767
|
+
* On dbl click on empty space of editor it add new P element
|
|
768
|
+
* @example
|
|
769
|
+
* ```js
|
|
770
|
+
* Jodit.make('#editor', {
|
|
771
|
+
* addNewLineOnDBLClick: false // disable
|
|
772
|
+
* })
|
|
773
|
+
* ```
|
|
774
|
+
*/
|
|
775
|
+
addNewLineOnDBLClick: boolean;
|
|
776
|
+
/**
|
|
777
|
+
* Absolute delta between cursor position and edge(top or bottom)
|
|
778
|
+
* of element when show line
|
|
779
|
+
*/
|
|
780
|
+
addNewLineDeltaShow: number;
|
|
781
|
+
}
|
|
782
|
+
interface Config {
|
|
783
|
+
aiAssistant: AiAssistantSettings;
|
|
784
|
+
}
|
|
785
|
+
interface Config {
|
|
786
|
+
delete: {
|
|
787
|
+
hotkeys: {
|
|
788
|
+
delete: string[];
|
|
789
|
+
deleteWord: string[];
|
|
790
|
+
deleteSentence: string[];
|
|
791
|
+
backspace: string[];
|
|
792
|
+
backspaceWord: string[];
|
|
793
|
+
backspaceSentence: string[];
|
|
794
|
+
};
|
|
795
|
+
};
|
|
796
|
+
}
|
|
797
|
+
interface Config {
|
|
798
|
+
cleanHTML: {
|
|
799
|
+
timeout: number;
|
|
800
|
+
/**
|
|
801
|
+
* Replace &nbsp; to plain space
|
|
802
|
+
*/
|
|
803
|
+
replaceNBSP: boolean;
|
|
804
|
+
/**
|
|
805
|
+
* Remove empty P tags, if they are not in the beginning of the text
|
|
806
|
+
*/
|
|
807
|
+
fillEmptyParagraph: boolean;
|
|
808
|
+
/**
|
|
809
|
+
* Remove empty elements
|
|
810
|
+
*/
|
|
811
|
+
removeEmptyElements: boolean;
|
|
812
|
+
/**
|
|
813
|
+
* Replace old tags to new eg. <i> to <em>, <b> to <strong>
|
|
814
|
+
*/
|
|
815
|
+
replaceOldTags: IDictionary<HTMLTagNames> | false;
|
|
816
|
+
/**
|
|
817
|
+
* You can use an iframe with the sandbox attribute to safely paste and test HTML code.
|
|
818
|
+
* It prevents scripts and handlers from running, but it does slow things down.
|
|
819
|
+
*
|
|
820
|
+
* ```javascript
|
|
821
|
+
* Jodit.make('#editor', {
|
|
822
|
+
* cleanHTML: {
|
|
823
|
+
* useIframeSandbox: true
|
|
824
|
+
* }
|
|
825
|
+
* });
|
|
826
|
+
* ```
|
|
827
|
+
*/
|
|
828
|
+
useIframeSandbox: boolean;
|
|
829
|
+
/**
|
|
830
|
+
* Remove onError attributes
|
|
831
|
+
*/
|
|
832
|
+
removeOnError: boolean;
|
|
833
|
+
/**
|
|
834
|
+
* Safe href="javascript:" links
|
|
835
|
+
*/
|
|
836
|
+
safeJavaScriptLink: boolean;
|
|
837
|
+
/**
|
|
838
|
+
* The allowTags option defines which elements will remain in the
|
|
839
|
+
* edited text when the editor saves. You can use this limit the returned HTML.
|
|
840
|
+
* @example
|
|
841
|
+
* ```javascript
|
|
842
|
+
* const jodit = new Jodit.make('#editor', {
|
|
843
|
+
* cleanHTML: {
|
|
844
|
+
* cleanOnPaste: false
|
|
845
|
+
* }
|
|
846
|
+
* });
|
|
847
|
+
* ```
|
|
848
|
+
* @example
|
|
849
|
+
* ```javascript
|
|
850
|
+
* const editor = Jodit.make('#editor', {
|
|
851
|
+
* cleanHTML: {
|
|
852
|
+
* allowTags: 'p,a[href],table,tr,td, img[src=1.png]' // allow only <p>,<a>,<table>,<tr>,<td>,<img> tags and
|
|
853
|
+
* for <a> allow only `href` attribute and <img> allow only `src` attribute == '1.png'
|
|
854
|
+
* }
|
|
855
|
+
* });
|
|
856
|
+
* editor.value = 'Sorry! <strong>Goodby</strong>\
|
|
857
|
+
* <span>mr.</span> <a style="color:red" href="https://xdsoft.net">Freeman</a>';
|
|
858
|
+
* console.log(editor.value); //Sorry! <a href="https://xdsoft.net">Freeman</a>
|
|
859
|
+
* ```
|
|
860
|
+
*
|
|
861
|
+
* @example
|
|
862
|
+
* ```javascript
|
|
863
|
+
* const editor = Jodit.make('#editor', {
|
|
864
|
+
* cleanHTML: {
|
|
865
|
+
* allowTags: {
|
|
866
|
+
* p: true,
|
|
867
|
+
* a: {
|
|
868
|
+
* href: true
|
|
869
|
+
* },
|
|
870
|
+
* table: true,
|
|
871
|
+
* tr: true,
|
|
872
|
+
* td: true,
|
|
873
|
+
* img: {
|
|
874
|
+
* src: '1.png'
|
|
875
|
+
* }
|
|
876
|
+
* }
|
|
877
|
+
* }
|
|
878
|
+
* });
|
|
879
|
+
* ```
|
|
880
|
+
*/
|
|
881
|
+
allowTags: false | string | IDictionary<string>;
|
|
882
|
+
denyTags: false | string | IDictionary<string>;
|
|
883
|
+
/**
|
|
884
|
+
* Node filtering rules that do not need to be applied to content
|
|
885
|
+
* The full list of rules is generated dynamically from the folder
|
|
886
|
+
* https://github.com/xdan/jodit/tree/main/src/plugins/clean-html/helpers/visitor/filters
|
|
887
|
+
*/
|
|
888
|
+
disableCleanFilter: Nullable<Set<string>>;
|
|
889
|
+
};
|
|
890
|
+
}
|
|
891
|
+
interface Config {
|
|
892
|
+
/**
|
|
893
|
+
* Draggable elements
|
|
894
|
+
*/
|
|
895
|
+
draggableTags: string | string[];
|
|
896
|
+
}
|
|
897
|
+
interface Config {
|
|
898
|
+
dtd: {
|
|
899
|
+
/**
|
|
900
|
+
* Remove extra br element inside block element after pasting
|
|
901
|
+
*/
|
|
902
|
+
removeExtraBr: boolean;
|
|
903
|
+
/**
|
|
904
|
+
* Check when inserting a block element if it can be inside another block element (according `blockLimits`)
|
|
905
|
+
*/
|
|
906
|
+
checkBlockNesting: boolean;
|
|
907
|
+
/**
|
|
908
|
+
* List of elements that contain other blocks
|
|
909
|
+
*/
|
|
910
|
+
blockLimits: IDictionary<1>;
|
|
911
|
+
};
|
|
912
|
+
}
|
|
913
|
+
interface Config {
|
|
914
|
+
autofocus: boolean;
|
|
915
|
+
cursorAfterAutofocus: 'start' | 'end';
|
|
916
|
+
saveSelectionOnBlur: boolean;
|
|
917
|
+
}
|
|
918
|
+
interface Config {
|
|
919
|
+
defaultFontSizePoints: 'px' | 'pt';
|
|
920
|
+
}
|
|
921
|
+
interface Config {
|
|
922
|
+
/**
|
|
923
|
+
* Open WYSIWYG in full screen
|
|
924
|
+
* @example
|
|
925
|
+
* ```javascript
|
|
926
|
+
* var editor = Jodit.make({
|
|
927
|
+
* fullsize: true // fullsize editor
|
|
928
|
+
* });
|
|
929
|
+
* ```
|
|
930
|
+
* @example
|
|
931
|
+
* ```javascript
|
|
932
|
+
* var editor = Jodit.make();
|
|
933
|
+
* editor.e.fire('toggleFullSize');
|
|
934
|
+
* editor.e.fire('toggleFullSize', true); // fullsize
|
|
935
|
+
* editor.e.fire('toggleFullSize', false); // usual mode
|
|
936
|
+
* ```
|
|
937
|
+
*/
|
|
938
|
+
fullsize: boolean;
|
|
939
|
+
/**
|
|
940
|
+
* True, after `fullsize` - all editors elements above jodit will get `jodit_fullsize-box_true` class (z-index: 100000 !important;)
|
|
941
|
+
*/
|
|
942
|
+
globalFullSize: boolean;
|
|
943
|
+
}
|
|
944
|
+
interface Config {
|
|
945
|
+
/**
|
|
946
|
+
* You can redefine hotkeys for some command
|
|
947
|
+
*
|
|
948
|
+
* @example
|
|
949
|
+
* ```js
|
|
950
|
+
* const jodit = Jodit.make('#editor', {
|
|
951
|
+
* commandToHotkeys: {
|
|
952
|
+
* bold: 'ctrl+shift+b',
|
|
953
|
+
* italic: ['ctrl+i', 'ctrl+b'],
|
|
954
|
+
* }
|
|
955
|
+
* })
|
|
956
|
+
* ```
|
|
957
|
+
*/
|
|
958
|
+
commandToHotkeys: IDictionary<string | string[]>;
|
|
959
|
+
}
|
|
960
|
+
interface Config {
|
|
961
|
+
/**
|
|
962
|
+
* You can redefine default page
|
|
963
|
+
*
|
|
964
|
+
* @example
|
|
965
|
+
* ```javascript
|
|
966
|
+
* Jodit.make('#editor', {
|
|
967
|
+
* iframe: true,
|
|
968
|
+
* iframeDefaultSrc: 'https://xdsoft.net/jodit/docs/',
|
|
969
|
+
* });
|
|
970
|
+
* ```
|
|
971
|
+
*/
|
|
972
|
+
iframeDefaultSrc: string;
|
|
973
|
+
/**
|
|
974
|
+
* Base URL where the root directory for [[Config.iframe]] mode
|
|
975
|
+
*
|
|
976
|
+
* @example
|
|
977
|
+
* ```javascript
|
|
978
|
+
* Jodit.make('#editor', {
|
|
979
|
+
* iframe: true,
|
|
980
|
+
* iframeBaseUrl: 'https://xdsoft.net/jodit/docs/',
|
|
981
|
+
* });
|
|
982
|
+
* ```
|
|
983
|
+
*/
|
|
984
|
+
iframeBaseUrl: string;
|
|
985
|
+
/**
|
|
986
|
+
* Iframe title's content
|
|
987
|
+
*/
|
|
988
|
+
iframeTitle: string;
|
|
989
|
+
/**
|
|
990
|
+
* Iframe's DOCTYPE
|
|
991
|
+
*/
|
|
992
|
+
iframeDoctype: string;
|
|
993
|
+
/**
|
|
994
|
+
* Custom style to be used inside the iframe to display content.
|
|
995
|
+
* @example
|
|
996
|
+
* ```javascript
|
|
997
|
+
* Jodit.make('#editor', {
|
|
998
|
+
* iframe: true,
|
|
999
|
+
* iframeStyle: 'html{margin: 0px;}',
|
|
1000
|
+
* })
|
|
1001
|
+
* ```
|
|
1002
|
+
*/
|
|
1003
|
+
iframeStyle: string;
|
|
1004
|
+
/**
|
|
1005
|
+
* Custom stylesheet files to be used inside the iframe to display content.
|
|
1006
|
+
*
|
|
1007
|
+
* @example
|
|
1008
|
+
* ```javascript
|
|
1009
|
+
* Jodit.make('#editor', {
|
|
1010
|
+
* iframe: true,
|
|
1011
|
+
* iframeCSSLinks: ['styles/default.css'],
|
|
1012
|
+
* })
|
|
1013
|
+
* ```
|
|
1014
|
+
*/
|
|
1015
|
+
iframeCSSLinks: string[];
|
|
1016
|
+
/**
|
|
1017
|
+
* Custom sandbox attribute for the iframe.
|
|
1018
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#sandbox
|
|
1019
|
+
* ```javascript
|
|
1020
|
+
* Jodit.make('#editor', {
|
|
1021
|
+
* iframe: true,
|
|
1022
|
+
* iframeSandbox: 'allow-same-origin allow-scripts'
|
|
1023
|
+
* });
|
|
1024
|
+
* ```
|
|
1025
|
+
* Empty string value means that all restrictions are enabled.
|
|
1026
|
+
*/
|
|
1027
|
+
iframeSandbox: string | null;
|
|
1028
|
+
}
|
|
1029
|
+
interface Config {
|
|
1030
|
+
imageProcessor: {
|
|
1031
|
+
replaceDataURIToBlobIdInView: boolean;
|
|
1032
|
+
};
|
|
1033
|
+
}
|
|
1034
|
+
interface Config {
|
|
1035
|
+
image: ImagePropertiesOptions;
|
|
1036
|
+
}
|
|
1037
|
+
interface Config {
|
|
1038
|
+
/**
|
|
1039
|
+
* The number of pixels to use for indenting the current line.
|
|
1040
|
+
*/
|
|
1041
|
+
indentMargin: number;
|
|
1042
|
+
}
|
|
1043
|
+
interface Config {
|
|
1044
|
+
popup: IDictionary<Array<IControlType | string> | ((editor: IJodit, target: HTMLElement | undefined, close: () => void) => Array<IControlType | string> | HTMLElement | string)>;
|
|
1045
|
+
toolbarInlineDisabledButtons: string[];
|
|
1046
|
+
toolbarInline: boolean;
|
|
1047
|
+
toolbarInlineForSelection: boolean;
|
|
1048
|
+
toolbarInlineDisableFor: string | string[];
|
|
1049
|
+
}
|
|
1050
|
+
interface Config {
|
|
1051
|
+
/**
|
|
1052
|
+
* limit words count
|
|
1053
|
+
*/
|
|
1054
|
+
limitWords: false | number;
|
|
1055
|
+
/**
|
|
1056
|
+
* limit chars count
|
|
1057
|
+
*/
|
|
1058
|
+
limitChars: false | number;
|
|
1059
|
+
/**
|
|
1060
|
+
* limit html chars count
|
|
1061
|
+
*/
|
|
1062
|
+
limitHTML: false;
|
|
1063
|
+
}
|
|
1064
|
+
interface Config {
|
|
1065
|
+
/**
|
|
1066
|
+
* Default line spacing for the entire editor
|
|
1067
|
+
*
|
|
1068
|
+
* ```js
|
|
1069
|
+
* Jodit.make('#editor', {
|
|
1070
|
+
* defaultLineHeight: 1.2
|
|
1071
|
+
* })
|
|
1072
|
+
* ```
|
|
1073
|
+
*/
|
|
1074
|
+
defaultLineHeight: number | null;
|
|
1075
|
+
}
|
|
1076
|
+
interface Config {
|
|
1077
|
+
link: {
|
|
1078
|
+
/**
|
|
1079
|
+
* Template for the link dialog form
|
|
1080
|
+
*/
|
|
1081
|
+
formTemplate: (editor: IJodit) => string | HTMLElement | IUIForm;
|
|
1082
|
+
formClassName?: string;
|
|
1083
|
+
/**
|
|
1084
|
+
* Follow link address after dblclick
|
|
1085
|
+
*/
|
|
1086
|
+
followOnDblClick: boolean;
|
|
1087
|
+
/**
|
|
1088
|
+
* Replace inserted youtube/vimeo link to `iframe`
|
|
1089
|
+
*/
|
|
1090
|
+
processVideoLink: boolean;
|
|
1091
|
+
/**
|
|
1092
|
+
* Wrap inserted link
|
|
1093
|
+
*/
|
|
1094
|
+
processPastedLink: boolean;
|
|
1095
|
+
/**
|
|
1096
|
+
* Show `no follow` checkbox in link dialog.
|
|
1097
|
+
*/
|
|
1098
|
+
noFollowCheckbox: boolean;
|
|
1099
|
+
/**
|
|
1100
|
+
* Show `Open in new tab` checkbox in link dialog.
|
|
1101
|
+
*/
|
|
1102
|
+
openInNewTabCheckbox: boolean;
|
|
1103
|
+
/**
|
|
1104
|
+
* Use an input text to ask the classname or a select or not ask
|
|
1105
|
+
*/
|
|
1106
|
+
modeClassName: 'input' | 'select';
|
|
1107
|
+
/**
|
|
1108
|
+
* Allow multiple choises (to use with modeClassName="select")
|
|
1109
|
+
*/
|
|
1110
|
+
selectMultipleClassName: boolean;
|
|
1111
|
+
/**
|
|
1112
|
+
* The size of the select (to use with modeClassName="select")
|
|
1113
|
+
*/
|
|
1114
|
+
selectSizeClassName?: number;
|
|
1115
|
+
/**
|
|
1116
|
+
* The list of the option for the select (to use with modeClassName="select")
|
|
1117
|
+
*/
|
|
1118
|
+
selectOptionsClassName: IUIOption[];
|
|
1119
|
+
hotkeys: string[];
|
|
1120
|
+
};
|
|
1121
|
+
}
|
|
1122
|
+
interface Config {
|
|
1123
|
+
/**
|
|
1124
|
+
* Decorate media elements
|
|
1125
|
+
*/
|
|
1126
|
+
mediaInFakeBlock: boolean;
|
|
1127
|
+
/**
|
|
1128
|
+
* Decorate media element with tag
|
|
1129
|
+
*/
|
|
1130
|
+
mediaFakeTag: string;
|
|
1131
|
+
/**
|
|
1132
|
+
* Media tags
|
|
1133
|
+
*/
|
|
1134
|
+
mediaBlocks: string[];
|
|
1135
|
+
}
|
|
1136
|
+
interface Config {
|
|
1137
|
+
/**
|
|
1138
|
+
* Mobile timeout for CLICK emulation
|
|
1139
|
+
*/
|
|
1140
|
+
mobileTapTimeout: number;
|
|
1141
|
+
/**
|
|
1142
|
+
* After resizing, the set of buttons will change to accommodate different sizes.
|
|
1143
|
+
*/
|
|
1144
|
+
toolbarAdaptive: boolean;
|
|
1145
|
+
/**
|
|
1146
|
+
* The list of buttons that appear in the editor's toolbar for medium-sized spaces (≥ options.sizeMD).
|
|
1147
|
+
*/
|
|
1148
|
+
buttonsMD: ButtonsOption;
|
|
1149
|
+
/**
|
|
1150
|
+
* The list of buttons that appear in the editor's toolbar for small-sized spaces (≥ options.sizeSM).
|
|
1151
|
+
*/
|
|
1152
|
+
buttonsSM: ButtonsOption;
|
|
1153
|
+
/**
|
|
1154
|
+
* The list of buttons that appear in the editor's toolbar for extra-small spaces (less than options.sizeSM).
|
|
1155
|
+
*/
|
|
1156
|
+
buttonsXS: ButtonsOption;
|
|
1157
|
+
}
|
|
1158
|
+
interface Config {
|
|
1159
|
+
/**
|
|
1160
|
+
* Ask before paste HTML in WYSIWYG mode
|
|
1161
|
+
*/
|
|
1162
|
+
askBeforePasteHTML: boolean;
|
|
1163
|
+
/**
|
|
1164
|
+
* When the user inserts a snippet of HTML, the plugin will prompt for the insertion method.
|
|
1165
|
+
* If the user inserts the same fragment again, the previously selected option will be used without prompting for confirmation.
|
|
1166
|
+
*/
|
|
1167
|
+
memorizeChoiceWhenPasteFragment: boolean;
|
|
1168
|
+
/**
|
|
1169
|
+
* Handle pasted text - similar to HTML
|
|
1170
|
+
*/
|
|
1171
|
+
processPasteHTML: boolean;
|
|
1172
|
+
/**
|
|
1173
|
+
* Inserts HTML line breaks before all newlines in a string
|
|
1174
|
+
*/
|
|
1175
|
+
nl2brInPlainText: boolean;
|
|
1176
|
+
/**
|
|
1177
|
+
* List of tags that will not be removed from the pasted HTML with INSERT_AS_TEXT mode
|
|
1178
|
+
*/
|
|
1179
|
+
pasteExcludeStripTags: HTMLTagNames[];
|
|
1180
|
+
/**
|
|
1181
|
+
* Options when inserting HTML string
|
|
1182
|
+
*/
|
|
1183
|
+
pasteHTMLActionList: IUIOption[];
|
|
1184
|
+
/**
|
|
1185
|
+
* Scroll the editor to the pasted fragment
|
|
1186
|
+
*/
|
|
1187
|
+
scrollToPastedContent: boolean;
|
|
1188
|
+
}
|
|
1189
|
+
interface Config {
|
|
1190
|
+
/**
|
|
1191
|
+
* Show the paste dialog if the html is similar to what MSWord gives when copying.
|
|
1192
|
+
*/
|
|
1193
|
+
askBeforePasteFromWord: boolean;
|
|
1194
|
+
/**
|
|
1195
|
+
* Handle pasting of HTML - similar to a fragment copied from MSWord
|
|
1196
|
+
*/
|
|
1197
|
+
processPasteFromWord: boolean;
|
|
1198
|
+
/**
|
|
1199
|
+
* Default insert method from word, if not define, it will use defaultActionOnPaste instead
|
|
1200
|
+
*
|
|
1201
|
+
* ```js
|
|
1202
|
+
* Jodit.make('#editor', {
|
|
1203
|
+
* defaultActionOnPasteFromWord: 'insert_clear_html'
|
|
1204
|
+
* })
|
|
1205
|
+
* ```
|
|
1206
|
+
*/
|
|
1207
|
+
defaultActionOnPasteFromWord: InsertMode | null;
|
|
1208
|
+
/**
|
|
1209
|
+
* Options when inserting data from Word
|
|
1210
|
+
*/
|
|
1211
|
+
pasteFromWordActionList: IUIOption[];
|
|
1212
|
+
}
|
|
1213
|
+
interface Config {
|
|
1214
|
+
/**
|
|
1215
|
+
* Show placeholder
|
|
1216
|
+
* @example
|
|
1217
|
+
* ```javascript
|
|
1218
|
+
* const editor = Jodit.make('#editor', {
|
|
1219
|
+
* showPlaceholder: false
|
|
1220
|
+
* });
|
|
1221
|
+
* ```
|
|
1222
|
+
*/
|
|
1223
|
+
showPlaceholder: boolean;
|
|
1224
|
+
/**
|
|
1225
|
+
* Use a placeholder from original input field, if it was set
|
|
1226
|
+
* @example
|
|
1227
|
+
* ```javascript
|
|
1228
|
+
* //<textarea id="editor" placeholder="start typing text ..." cols="30" rows="10"></textarea>
|
|
1229
|
+
* const editor = Jodit.make('#editor', {
|
|
1230
|
+
* useInputsPlaceholder: true
|
|
1231
|
+
* });
|
|
1232
|
+
* ```
|
|
1233
|
+
*/
|
|
1234
|
+
useInputsPlaceholder: boolean;
|
|
1235
|
+
/**
|
|
1236
|
+
* Default placeholder
|
|
1237
|
+
* @example
|
|
1238
|
+
* ```javascript
|
|
1239
|
+
* const editor = Jodit.make('#editor', {
|
|
1240
|
+
* placeholder: 'start typing text ...'
|
|
1241
|
+
* });
|
|
1242
|
+
* ```
|
|
1243
|
+
*/
|
|
1244
|
+
placeholder: string;
|
|
1245
|
+
}
|
|
1246
|
+
interface Config {
|
|
1247
|
+
/**
|
|
1248
|
+
* Hide the link to the Jodit site at the bottom of the editor
|
|
1249
|
+
*/
|
|
1250
|
+
hidePoweredByJodit: boolean;
|
|
1251
|
+
}
|
|
1252
|
+
interface Config {
|
|
1253
|
+
tableAllowCellResize: boolean;
|
|
1254
|
+
}
|
|
1255
|
+
interface Config {
|
|
1256
|
+
allowResizeX: boolean;
|
|
1257
|
+
allowResizeY: boolean;
|
|
1258
|
+
}
|
|
1259
|
+
interface Config {
|
|
1260
|
+
/**
|
|
1261
|
+
* Use true frame for editing iframe size
|
|
1262
|
+
*/
|
|
1263
|
+
allowResizeTags: Set<HTMLTagNames>;
|
|
1264
|
+
resizer: {
|
|
1265
|
+
/**
|
|
1266
|
+
* Show size
|
|
1267
|
+
*/
|
|
1268
|
+
showSize: boolean;
|
|
1269
|
+
hideSizeTimeout: number;
|
|
1270
|
+
/**
|
|
1271
|
+
* Save width and height proportions when resizing
|
|
1272
|
+
* ```js
|
|
1273
|
+
* Jodit.make('#editor', {
|
|
1274
|
+
* allowResizeTags: ['img', 'iframe', 'table', 'jodit'],
|
|
1275
|
+
* resizer: {
|
|
1276
|
+
* useAspectRatio: false, // don't save,
|
|
1277
|
+
* useAspectRatio: ['img'], // save only for images (default value)
|
|
1278
|
+
* useAspectRatio: true // save for all
|
|
1279
|
+
* }
|
|
1280
|
+
* });
|
|
1281
|
+
* ```
|
|
1282
|
+
*/
|
|
1283
|
+
useAspectRatio: boolean | Set<HTMLTagNames>;
|
|
1284
|
+
/**
|
|
1285
|
+
* When resizing images, change not the styles but the width and height attributes
|
|
1286
|
+
*/
|
|
1287
|
+
forImageChangeAttributes: boolean;
|
|
1288
|
+
/**
|
|
1289
|
+
* The minimum width for the editable element
|
|
1290
|
+
*/
|
|
1291
|
+
min_width: number;
|
|
1292
|
+
/**
|
|
1293
|
+
* The minimum height for the item being edited
|
|
1294
|
+
*/
|
|
1295
|
+
min_height: number;
|
|
1296
|
+
};
|
|
1297
|
+
}
|
|
1298
|
+
interface Config {
|
|
1299
|
+
/**
|
|
1300
|
+
* Enable custom search plugin
|
|
1301
|
+
* 
|
|
1302
|
+
*/
|
|
1303
|
+
useSearch: boolean;
|
|
1304
|
+
search: {
|
|
1305
|
+
lazyIdleTimeout: number;
|
|
1306
|
+
/**
|
|
1307
|
+
* Use custom highlight API https://developer.mozilla.org/en-US/docs/Web/API/CSS_Custom_Highlight_API
|
|
1308
|
+
* or use default implementation (wrap text in span and attribute jd-tmp-selection)
|
|
1309
|
+
*/
|
|
1310
|
+
useCustomHighlightAPI: boolean;
|
|
1311
|
+
/**
|
|
1312
|
+
* Function to search for a string within a substring. The default implementation is [[fuzzySearchIndex]]
|
|
1313
|
+
* But you can write your own. It must implement the [[FuzzySearch]] interface.
|
|
1314
|
+
*
|
|
1315
|
+
* ```ts
|
|
1316
|
+
* Jodit.make('#editor', {
|
|
1317
|
+
* search: {
|
|
1318
|
+
* fuzzySearch: (needle, haystack, offset) => {
|
|
1319
|
+
* return [haystack.toLowerCase().indexOf(needle.toLowerCase(), offset), needle.length];
|
|
1320
|
+
* }
|
|
1321
|
+
* }
|
|
1322
|
+
* })
|
|
1323
|
+
* ```
|
|
1324
|
+
*/
|
|
1325
|
+
fuzzySearch?: FuzzySearch;
|
|
1326
|
+
};
|
|
1327
|
+
}
|
|
1328
|
+
interface Config {
|
|
1329
|
+
select: {
|
|
1330
|
+
/**
|
|
1331
|
+
* When the user selects the elements of the list - from the beginning to
|
|
1332
|
+
* the end from the inside - when copying, we change the selection
|
|
1333
|
+
* to cover the entire selected container
|
|
1334
|
+
*
|
|
1335
|
+
* `<ul><li>|test|</li></ul>` will be `|<ul><li>test</li></ul>|`
|
|
1336
|
+
* `<ul><li>|test|</li><li>|test</li></ul>` will be `<ul>|<li>test</li><li>|test</li></ul>`
|
|
1337
|
+
*/
|
|
1338
|
+
normalizeSelectionBeforeCutAndCopy: boolean;
|
|
1339
|
+
/**
|
|
1340
|
+
* Normalize selection after triple click
|
|
1341
|
+
* @example
|
|
1342
|
+
*
|
|
1343
|
+
* `<ul><li>|test</li><li>|pop</li></ul>` will be `<ul><li>|test|</li><li>pop</li</ul>|`
|
|
1344
|
+
*/
|
|
1345
|
+
normalizeTripleClick: boolean;
|
|
1346
|
+
};
|
|
1347
|
+
}
|
|
1348
|
+
interface Config {
|
|
1349
|
+
tableAllowCellSelection: boolean;
|
|
1350
|
+
}
|
|
1351
|
+
interface Config {
|
|
1352
|
+
saveHeightInStorage: boolean;
|
|
1353
|
+
minWidth: number | string;
|
|
1354
|
+
minHeight: number | string;
|
|
1355
|
+
maxWidth: number | string;
|
|
1356
|
+
maxHeight: number | string;
|
|
1357
|
+
}
|
|
1358
|
+
interface Config {
|
|
1359
|
+
sourceEditor: 'area' | 'ace' | ((jodit: IJodit) => ISourceEditor);
|
|
1360
|
+
/**
|
|
1361
|
+
* Options for [ace](https://ace.c9.io/#config) editor
|
|
1362
|
+
* @example
|
|
1363
|
+
* ```js
|
|
1364
|
+
* Jodit.make('#editor', {
|
|
1365
|
+
* showGutter: true,
|
|
1366
|
+
* theme: 'ace/theme/idle_fingers',
|
|
1367
|
+
* mode: 'ace/mode/html',
|
|
1368
|
+
* wrap: true,
|
|
1369
|
+
§ * highlightActiveLine: true
|
|
1370
|
+
* })
|
|
1371
|
+
* ```
|
|
1372
|
+
*/
|
|
1373
|
+
sourceEditorNativeOptions: {
|
|
1374
|
+
showGutter: boolean;
|
|
1375
|
+
theme: string;
|
|
1376
|
+
mode: string;
|
|
1377
|
+
wrap: string | boolean | number;
|
|
1378
|
+
highlightActiveLine: boolean;
|
|
1379
|
+
};
|
|
1380
|
+
/**
|
|
1381
|
+
* Beautify HTML then it possible
|
|
1382
|
+
*/
|
|
1383
|
+
beautifyHTML: boolean;
|
|
1384
|
+
/**
|
|
1385
|
+
* CDN URLs for HTML Beautifier
|
|
1386
|
+
*/
|
|
1387
|
+
beautifyHTMLCDNUrlsJS: string[];
|
|
1388
|
+
/**
|
|
1389
|
+
* CDN URLs for ACE editor
|
|
1390
|
+
*/
|
|
1391
|
+
sourceEditorCDNUrlsJS: string[];
|
|
1392
|
+
}
|
|
1393
|
+
interface Config {
|
|
1394
|
+
speechRecognize: {
|
|
1395
|
+
readonly api: ISpeechRecognizeConstructor | null;
|
|
1396
|
+
/**
|
|
1397
|
+
* Returns and sets the language of the current SpeechRecognition.
|
|
1398
|
+
* If not specified, this defaults to the HTML lang attribute value, or
|
|
1399
|
+
* the user agent's language setting if that isn't set either.
|
|
1400
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/lang
|
|
1401
|
+
*/
|
|
1402
|
+
readonly lang?: string;
|
|
1403
|
+
/**
|
|
1404
|
+
* Controls whether continuous results are returned for each recognition,
|
|
1405
|
+
* or only a single result.
|
|
1406
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/continuous
|
|
1407
|
+
*/
|
|
1408
|
+
readonly continuous: boolean;
|
|
1409
|
+
/**
|
|
1410
|
+
* Controls whether interim results should be returned (true) or not (false.)
|
|
1411
|
+
* Interim results are results that are not yet final (e.g. the isFinal property is false.)
|
|
1412
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/interimResults
|
|
1413
|
+
*/
|
|
1414
|
+
readonly interimResults: boolean;
|
|
1415
|
+
/**
|
|
1416
|
+
* On recognition error - make an error sound
|
|
1417
|
+
*/
|
|
1418
|
+
readonly sound: boolean;
|
|
1419
|
+
/**
|
|
1420
|
+
* You can specify any commands in your language by listing them with the `|` sign.
|
|
1421
|
+
* In the value, write down any commands for
|
|
1422
|
+
* [execCommand](https://developer.mozilla.org/en-US/docs/Web/API/Document/execCommand#parameters)
|
|
1423
|
+
* and value (separated by ::)
|
|
1424
|
+
* You can also use [custom Jodit commands](#need-article)
|
|
1425
|
+
* For example
|
|
1426
|
+
* ```js
|
|
1427
|
+
* Jodit.make('#editor', {
|
|
1428
|
+
* speechRecognize: {
|
|
1429
|
+
* commands: {
|
|
1430
|
+
* 'remove line|remove paragraph': 'backspaceSentenceButton',
|
|
1431
|
+
* 'start bold': 'bold',
|
|
1432
|
+
* 'insert table|create table': 'insertHTML::<table><tr><td>test</td></tr></table>',
|
|
1433
|
+
* }
|
|
1434
|
+
* }
|
|
1435
|
+
* });
|
|
1436
|
+
* ```
|
|
1437
|
+
*/
|
|
1438
|
+
readonly commands: IDictionary<string>;
|
|
1439
|
+
};
|
|
1440
|
+
}
|
|
1441
|
+
interface Config {
|
|
1442
|
+
/**
|
|
1443
|
+
* Options specifies whether the editor is to have its spelling and grammar checked or not
|
|
1444
|
+
* @see http://www.w3schools.com/tags/att_global_spellcheck.asp
|
|
1445
|
+
*/
|
|
1446
|
+
spellcheck: boolean;
|
|
1447
|
+
}
|
|
1448
|
+
interface Config {
|
|
1449
|
+
showCharsCounter: boolean;
|
|
1450
|
+
countHTMLChars: boolean;
|
|
1451
|
+
countTextSpaces: boolean;
|
|
1452
|
+
showWordsCounter: boolean;
|
|
1453
|
+
}
|
|
1454
|
+
interface Config {
|
|
1455
|
+
/**
|
|
1456
|
+
* @example
|
|
1457
|
+
* ```javascript
|
|
1458
|
+
* var editor = Jodit.make('#someid', {
|
|
1459
|
+
* toolbarSticky: false
|
|
1460
|
+
* })
|
|
1461
|
+
* ```
|
|
1462
|
+
*/
|
|
1463
|
+
toolbarSticky: boolean;
|
|
1464
|
+
toolbarDisableStickyForMobile: boolean;
|
|
1465
|
+
/**
|
|
1466
|
+
* For example, in Joomla, the top menu bar closes Jodit toolbar when scrolling. Therefore, it is necessary to
|
|
1467
|
+
* move the toolbar Jodit by this amount [more](https://xdsoft.net/jodit/docs/#2.5.57)
|
|
1468
|
+
*
|
|
1469
|
+
* @example
|
|
1470
|
+
* ```javascript
|
|
1471
|
+
* var editor = Jodit.make('#someid', {
|
|
1472
|
+
* toolbarStickyOffset: 100
|
|
1473
|
+
* })
|
|
1474
|
+
* ```
|
|
1475
|
+
*/
|
|
1476
|
+
toolbarStickyOffset: number;
|
|
1477
|
+
}
|
|
1478
|
+
interface Config {
|
|
1479
|
+
specialCharacters: string[];
|
|
1480
|
+
usePopupForSpecialCharacters: boolean;
|
|
1481
|
+
}
|
|
1482
|
+
interface Config {
|
|
1483
|
+
tab: {
|
|
1484
|
+
/**
|
|
1485
|
+
* Pressing Tab inside LI will add an internal list
|
|
1486
|
+
*/
|
|
1487
|
+
tabInsideLiInsertNewList: boolean;
|
|
1488
|
+
};
|
|
1489
|
+
}
|
|
1490
|
+
interface Config {
|
|
1491
|
+
table: {
|
|
1492
|
+
selectionCellStyle: string;
|
|
1493
|
+
useExtraClassesOptions: boolean;
|
|
1494
|
+
};
|
|
1495
|
+
}
|
|
1496
|
+
interface Config {
|
|
1497
|
+
video: {
|
|
1498
|
+
/**
|
|
1499
|
+
* Custom function for parsing video URL to embed code
|
|
1500
|
+
* ```javascript
|
|
1501
|
+
* Jodit.make('#editor', {
|
|
1502
|
+
* video: {
|
|
1503
|
+
* // Defaul behavior
|
|
1504
|
+
* parseUrlToVideoEmbed: (url, size) => Jodit.modules.Helpers.convertMediaUrlToVideoEmbed(url, size)
|
|
1505
|
+
* }
|
|
1506
|
+
* });
|
|
1507
|
+
* ```
|
|
1508
|
+
*/
|
|
1509
|
+
parseUrlToVideoEmbed?: (url: string, { width, height }?: {
|
|
1510
|
+
width?: number;
|
|
1511
|
+
height?: number;
|
|
1512
|
+
}) => string;
|
|
1513
|
+
/**
|
|
1514
|
+
* Default width for video iframe. Default: 400
|
|
1515
|
+
*/
|
|
1516
|
+
defaultWidth?: number;
|
|
1517
|
+
/**
|
|
1518
|
+
* Default height for video iframe. Default: 345
|
|
1519
|
+
*/
|
|
1520
|
+
defaultHeight?: number;
|
|
1521
|
+
};
|
|
1522
|
+
}
|
|
1523
|
+
interface Config {
|
|
1524
|
+
wrapNodes: {
|
|
1525
|
+
/**
|
|
1526
|
+
* List of tags that should not be wrapped
|
|
1527
|
+
* Default: `new Set(['hr', 'style', 'br'])`
|
|
1528
|
+
*/
|
|
1529
|
+
exclude: Set<HTMLTagNames>;
|
|
1530
|
+
/**
|
|
1531
|
+
* If the editor is empty, then insert an empty paragraph into it
|
|
1532
|
+
* ```javascript
|
|
1533
|
+
* Jodit.make('#editor', {
|
|
1534
|
+
* wrapNodes: {
|
|
1535
|
+
* emptyBlockAfterInit: true
|
|
1536
|
+
* }
|
|
1537
|
+
* });
|
|
1538
|
+
* ```
|
|
1539
|
+
* Default: `true`
|
|
1540
|
+
*/
|
|
1541
|
+
emptyBlockAfterInit: boolean;
|
|
1542
|
+
};
|
|
1543
|
+
}
|
|
1544
|
+
interface Config {
|
|
1545
|
+
showXPathInStatusbar: boolean;
|
|
1546
|
+
}
|