jodit 4.4.1 → 4.4.3
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 +852 -6
- package/esm/core/async/async.d.ts +1 -1
- package/esm/core/component/component.d.ts +1 -1
- package/esm/core/component/view-component.d.ts +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/decorators/cache/cache.d.ts +1 -1
- 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/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/lazy-walker.d.ts +1 -1
- 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/observable.d.ts +1 -1
- package/esm/core/event-emitter/store.d.ts +1 -1
- package/esm/core/global.d.ts +2 -2
- 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/html/strip-tags.d.ts +1 -1
- package/esm/core/helpers/index.d.ts +9 -9
- package/esm/core/helpers/size/get-scroll-parent.d.ts +1 -1
- 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/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/index.d.ts +1 -1
- 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 +1 -1
- 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/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/response.d.ts +1 -1
- package/esm/core/selection/helpers/move-node-inside-start.d.ts +1 -1
- 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/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/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 +1 -1
- package/esm/core/ui/button/group/group.d.ts +1 -1
- package/esm/core/ui/button/tooltip/tooltip.d.ts +1 -1
- package/esm/core/ui/element.d.ts +2 -2
- package/esm/core/ui/form/block/block.d.ts +1 -1
- package/esm/core/ui/form/form.d.ts +1 -1
- package/esm/core/ui/form/index.d.ts +1 -1
- package/esm/core/ui/form/inputs/area/area.d.ts +1 -1
- package/esm/core/ui/form/inputs/checkbox/checkbox.d.ts +1 -1
- package/esm/core/ui/form/inputs/file/file.d.ts +1 -1
- package/esm/core/ui/form/inputs/input/input.d.ts +1 -1
- package/esm/core/ui/form/inputs/select/select.d.ts +1 -1
- 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 +1 -1
- package/esm/core/ui/group/list.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 +4 -4
- package/esm/core/ui/popup/popup.d.ts +1 -1
- package/esm/core/ui/progress-bar/progress-bar.d.ts +1 -1
- package/esm/core/view/view-with-toolbar.d.ts +1 -1
- package/esm/core/view/view.d.ts +1 -1
- package/esm/jodit.d.ts +3 -3
- package/esm/languages.d.ts +1 -1
- package/esm/modules/context-menu/context-menu.d.ts +1 -1
- 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 +1 -1
- 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 +3 -3
- 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/tree/tree.d.ts +1 -1
- package/esm/modules/history/command.d.ts +1 -1
- package/esm/modules/history/history.d.ts +2 -2
- 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 +13 -13
- package/esm/modules/messages/message.d.ts +2 -2
- package/esm/modules/messages/messages.d.ts +1 -1
- package/esm/modules/status-bar/status-bar.d.ts +2 -2
- 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/select/select.d.ts +1 -1
- package/esm/modules/toolbar/collection/collection.d.ts +2 -2
- package/esm/modules/toolbar/collection/editor-collection.d.ts +1 -1
- 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 +1 -1
- 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/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 +1 -1
- package/esm/plugins/ai-assistant/ui/ui-ai-assistant.d.ts +2 -2
- 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/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 +1 -1
- 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/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/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/debug/debug.d.ts +1 -1
- 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/remove-extra-br.d.ts +1 -1
- package/esm/plugins/dtd/before-insert/check-block-nesting.d.ts +1 -1
- package/esm/plugins/dtd/config.d.ts +1 -1
- package/esm/plugins/enter/enter.d.ts +1 -1
- 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/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 +1 -1
- 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 +1 -1
- package/esm/plugins/image-properties/ui/ui-image-main-tab.d.ts +1 -1
- package/esm/plugins/image-properties/ui/ui-image-position-tab.d.ts +1 -1
- 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/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 +1 -1
- 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/placeholder/placeholder.d.ts +1 -1
- 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 +1 -1
- 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 +1 -1
- 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/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 +1 -1
- package/esm/plugins/source/config.d.ts +1 -1
- package/esm/plugins/source/editor/engines/ace.d.ts +1 -1
- package/esm/plugins/source/editor/engines/area.d.ts +1 -1
- 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 +1 -1
- package/esm/plugins/speech-recognize/speech-recognize.d.ts +2 -2
- package/esm/plugins/spellcheck/spellcheck.d.ts +2 -2
- package/esm/plugins/sticky/sticky.d.ts +1 -1
- package/esm/plugins/symbols/symbols.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/jodit.d.ts +1 -1
- package/package.json +1 -1
- package/types/config.d.ts +852 -6
- 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 +1 -1
- 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/index.d.ts +9 -9
- 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/index.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/index.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/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 -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/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 +1 -1
- package/types/core/ui/button/group/group.d.ts +1 -1
- package/types/core/ui/button/tooltip/tooltip.d.ts +1 -1
- package/types/core/ui/element.d.ts +2 -2
- package/types/core/ui/form/block/block.d.ts +1 -1
- package/types/core/ui/form/form.d.ts +1 -1
- package/types/core/ui/form/index.d.ts +1 -1
- package/types/core/ui/form/inputs/area/area.d.ts +1 -1
- package/types/core/ui/form/inputs/checkbox/checkbox.d.ts +1 -1
- package/types/core/ui/form/inputs/file/file.d.ts +1 -1
- package/types/core/ui/form/inputs/input/input.d.ts +1 -1
- package/types/core/ui/form/inputs/select/select.d.ts +1 -1
- 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 +1 -1
- package/types/core/ui/group/list.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 +4 -4
- package/types/core/ui/popup/popup.d.ts +1 -1
- package/types/core/ui/progress-bar/progress-bar.d.ts +1 -1
- package/types/core/view/view-with-toolbar.d.ts +1 -1
- package/types/core/view/view.d.ts +1 -1
- package/types/jodit.d.ts +3 -3
- package/types/languages.d.ts +1 -1
- package/types/modules/context-menu/context-menu.d.ts +1 -1
- 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 +1 -1
- 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 +3 -3
- 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 +1 -1
- package/types/modules/status-bar/status-bar.d.ts +2 -2
- 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 +1 -1
- package/types/plugins/ai-assistant/ui/ui-ai-assistant.d.ts +2 -2
- 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/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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/types/plugins/image-properties/ui/ui-image-main-tab.d.ts +1 -1
- package/types/plugins/image-properties/ui/ui-image-position-tab.d.ts +1 -1
- 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/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 +1 -1
- 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/placeholder/placeholder.d.ts +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/types/plugins/source/config.d.ts +1 -1
- package/types/plugins/source/editor/engines/ace.d.ts +1 -1
- package/types/plugins/source/editor/engines/area.d.ts +1 -1
- 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 +1 -1
- package/types/plugins/speech-recognize/speech-recognize.d.ts +2 -2
- package/types/plugins/spellcheck/spellcheck.d.ts +2 -2
- package/types/plugins/sticky/sticky.d.ts +1 -1
- package/types/plugins/symbols/symbols.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/jodit.d.ts +1 -1
- package/esm/config2.d.ts +0 -1632
package/esm/config2.d.ts
DELETED
|
@@ -1,1632 +0,0 @@
|
|
|
1
|
-
import type { AjaxOptions } from 'jodit/types';
|
|
2
|
-
import type { IDialogOptions } from 'jodit/types';
|
|
3
|
-
import type { IFileBrowserOptions } from 'jodit/types';
|
|
4
|
-
import type { ImageEditorOptions } from 'jodit/types';
|
|
5
|
-
import type { IUploaderOptions } from 'jodit/types';
|
|
6
|
-
import type { IUploader } from 'jodit/types';
|
|
7
|
-
import type { HTMLTagNames } from 'jodit/types';
|
|
8
|
-
import type { AiAssistantSettings } from 'jodit/plugins/ai-assistant/interface';
|
|
9
|
-
import type { IDictionary } from './types';
|
|
10
|
-
import type { Nullable } from './types';
|
|
11
|
-
import type { ImagePropertiesOptions } from 'jodit/plugins/image-properties/interface';
|
|
12
|
-
import type { IControlType } from './types';
|
|
13
|
-
import type { IJodit } from 'jodit/types';
|
|
14
|
-
import type { formTemplate } from 'jodit/plugins/link/template';
|
|
15
|
-
import type { IUIForm } from 'jodit/types';
|
|
16
|
-
import type { IUIOption } from 'jodit/types';
|
|
17
|
-
import type { ButtonsOption } from './types';
|
|
18
|
-
import type { InsertMode } from './types';
|
|
19
|
-
import type { FuzzySearch } from 'jodit/types';
|
|
20
|
-
import type { ISourceEditor } from 'jodit/types';
|
|
21
|
-
import type { ISpeechRecognizeConstructor } from 'jodit/plugins/speech-recognize/interface';
|
|
22
|
-
import type { Attributes } from './types';
|
|
23
|
-
import type { Controls } from './types';
|
|
24
|
-
import type { IExtraPlugin } from './types';
|
|
25
|
-
import type { IUIButtonState } from './types';
|
|
26
|
-
import type { IViewOptions } from './types';
|
|
27
|
-
import type { NodeFunction } from './types';
|
|
28
|
-
/**
|
|
29
|
-
* Default Editor's Configuration
|
|
30
|
-
*/
|
|
31
|
-
declare class Config implements IViewOptions {
|
|
32
|
-
private constructor();
|
|
33
|
-
/**
|
|
34
|
-
* Use cache for heavy methods
|
|
35
|
-
*/
|
|
36
|
-
cache: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Timeout of all asynchronous methods
|
|
39
|
-
*/
|
|
40
|
-
defaultTimeout: number;
|
|
41
|
-
namespace: string;
|
|
42
|
-
/**
|
|
43
|
-
* Editor loads completely without plugins. Useful when debugging your own plugin.
|
|
44
|
-
*/
|
|
45
|
-
safeMode: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* Editor's width
|
|
48
|
-
*
|
|
49
|
-
* @example
|
|
50
|
-
* ```javascript
|
|
51
|
-
* Jodit.make('.editor', {
|
|
52
|
-
* width: '100%',
|
|
53
|
-
* })
|
|
54
|
-
* ```
|
|
55
|
-
* @example
|
|
56
|
-
* ```javascript
|
|
57
|
-
* Jodit.make('.editor', {
|
|
58
|
-
* width: 600, // equivalent for '600px'
|
|
59
|
-
* })
|
|
60
|
-
* ```
|
|
61
|
-
* @example
|
|
62
|
-
* ```javascript
|
|
63
|
-
* Jodit.make('.editor', {
|
|
64
|
-
* width: 'auto', // autosize
|
|
65
|
-
* })
|
|
66
|
-
* ```
|
|
67
|
-
*/
|
|
68
|
-
width: number | string;
|
|
69
|
-
/**
|
|
70
|
-
* Editor's height
|
|
71
|
-
*
|
|
72
|
-
* @example
|
|
73
|
-
* ```javascript
|
|
74
|
-
* Jodit.make('.editor', {
|
|
75
|
-
* height: '100%',
|
|
76
|
-
* })
|
|
77
|
-
* ```
|
|
78
|
-
* @example
|
|
79
|
-
* ```javascript
|
|
80
|
-
* Jodit.make('.editor', {
|
|
81
|
-
* height: 600, // equivalent for '600px'
|
|
82
|
-
* })
|
|
83
|
-
* ```
|
|
84
|
-
* @example
|
|
85
|
-
* ```javascript
|
|
86
|
-
* Jodit.make('.editor', {
|
|
87
|
-
* height: 'auto', // default - autosize
|
|
88
|
-
* })
|
|
89
|
-
* ```
|
|
90
|
-
*/
|
|
91
|
-
height: number | string;
|
|
92
|
-
/**
|
|
93
|
-
* List of plugins that will be initialized in safe mode.
|
|
94
|
-
*
|
|
95
|
-
* ```js
|
|
96
|
-
* Jodit.make('#editor', {
|
|
97
|
-
* safeMode: true,
|
|
98
|
-
* safePluginsList: ['about'],
|
|
99
|
-
* extraPlugins: ['yourPluginDev']
|
|
100
|
-
* });
|
|
101
|
-
* ```
|
|
102
|
-
*/
|
|
103
|
-
safePluginsList: string[];
|
|
104
|
-
commandToHotkeys: IDictionary<string | string[]>;
|
|
105
|
-
/**
|
|
106
|
-
* Reserved for the paid version of the editor
|
|
107
|
-
*/
|
|
108
|
-
license: string;
|
|
109
|
-
/**
|
|
110
|
-
* The name of the preset that will be used to initialize the editor.
|
|
111
|
-
* The list of available presets can be found here Jodit.defaultOptions.presets
|
|
112
|
-
* ```javascript
|
|
113
|
-
* Jodit.make('.editor', {
|
|
114
|
-
* preset: 'inline'
|
|
115
|
-
* });
|
|
116
|
-
* ```
|
|
117
|
-
*/
|
|
118
|
-
preset: string;
|
|
119
|
-
presets: IDictionary;
|
|
120
|
-
ownerDocument: Document;
|
|
121
|
-
/**
|
|
122
|
-
* Allows you to specify the window in which the editor will be created. Default - window
|
|
123
|
-
* This is necessary if you are creating the editor inside an iframe but the code is running in the parent window
|
|
124
|
-
*/
|
|
125
|
-
ownerWindow: Window;
|
|
126
|
-
/**
|
|
127
|
-
* Shadow root if Jodit was created in it
|
|
128
|
-
*
|
|
129
|
-
* ```html
|
|
130
|
-
* <div id="editor"></div>
|
|
131
|
-
* ```
|
|
132
|
-
*
|
|
133
|
-
* ```js
|
|
134
|
-
* const app = document.getElementById('editor');
|
|
135
|
-
* app.attachShadow({ mode: 'open' });
|
|
136
|
-
* const root = app.shadowRoot;
|
|
137
|
-
*
|
|
138
|
-
* root.innerHTML = `
|
|
139
|
-
* <link rel="stylesheet" href="./build/jodit.css"/>
|
|
140
|
-
* <h1>Jodit example in Shadow DOM</h1>
|
|
141
|
-
* <div id="edit"></div>
|
|
142
|
-
* `;
|
|
143
|
-
*
|
|
144
|
-
* const editor = Jodit.make(root.getElementById('edit'), {
|
|
145
|
-
* globalFullSize: false,
|
|
146
|
-
* shadowRoot: root
|
|
147
|
-
* });
|
|
148
|
-
* editor.value = '<p>start</p>';
|
|
149
|
-
* ```
|
|
150
|
-
*/
|
|
151
|
-
shadowRoot: Nullable<ShadowRoot>;
|
|
152
|
-
/**
|
|
153
|
-
* z-index For editor
|
|
154
|
-
*/
|
|
155
|
-
zIndex: number;
|
|
156
|
-
/**
|
|
157
|
-
* Change the read-only state of the editor
|
|
158
|
-
*/
|
|
159
|
-
readonly: boolean;
|
|
160
|
-
/**
|
|
161
|
-
* Change the disabled state of the editor
|
|
162
|
-
*/
|
|
163
|
-
disabled: boolean;
|
|
164
|
-
/**
|
|
165
|
-
* In readOnly mode, some buttons can still be useful, for example, the button to view source code or print
|
|
166
|
-
*/
|
|
167
|
-
activeButtonsInReadOnly: string[];
|
|
168
|
-
/**
|
|
169
|
-
* When the editor is in read-only mode, some commands can still be executed:
|
|
170
|
-
* ```javascript
|
|
171
|
-
* const editor = Jodit.make('.editor', {
|
|
172
|
-
* allowCommandsInReadOnly: ['selectall', 'preview', 'print']
|
|
173
|
-
* readonly: true
|
|
174
|
-
* });
|
|
175
|
-
* editor.execCommand('selectall');// will be selected all content
|
|
176
|
-
* editor.execCommand('delete');// but content will not be deleted
|
|
177
|
-
* ```
|
|
178
|
-
*/
|
|
179
|
-
allowCommandsInReadOnly: string[];
|
|
180
|
-
/**
|
|
181
|
-
* Size of icons in the toolbar (can be "small", "middle", "large")
|
|
182
|
-
*
|
|
183
|
-
* @example
|
|
184
|
-
* ```javascript
|
|
185
|
-
* const editor = Jodit.make(".dark_editor", {
|
|
186
|
-
* toolbarButtonSize: "small"
|
|
187
|
-
* });
|
|
188
|
-
* ```
|
|
189
|
-
*/
|
|
190
|
-
toolbarButtonSize: IUIButtonState['size'];
|
|
191
|
-
/**
|
|
192
|
-
* Allow navigation in the toolbar of the editor by Tab key
|
|
193
|
-
*/
|
|
194
|
-
allowTabNavigation: boolean;
|
|
195
|
-
/**
|
|
196
|
-
* Inline editing mode
|
|
197
|
-
*/
|
|
198
|
-
inline: boolean;
|
|
199
|
-
/**
|
|
200
|
-
* Theme (can be "dark")
|
|
201
|
-
* @example
|
|
202
|
-
* ```javascript
|
|
203
|
-
* const editor = Jodit.make(".dark_editor", {
|
|
204
|
-
* theme: "dark"
|
|
205
|
-
* });
|
|
206
|
-
* ```
|
|
207
|
-
*/
|
|
208
|
-
theme: string;
|
|
209
|
-
/**
|
|
210
|
-
* if set true, then the current mode is saved in a cookie, and is restored after a reload of the page
|
|
211
|
-
*/
|
|
212
|
-
saveModeInStorage: boolean;
|
|
213
|
-
/**
|
|
214
|
-
* Class name that can be appended to the editable area
|
|
215
|
-
*
|
|
216
|
-
* @see [[Config.iframeCSSLinks]]
|
|
217
|
-
* @see [[Config.iframeStyle]]
|
|
218
|
-
*
|
|
219
|
-
* @example
|
|
220
|
-
* ```javascript
|
|
221
|
-
* Jodit.make('#editor', {
|
|
222
|
-
* editorClassName: 'some_my_class'
|
|
223
|
-
* });
|
|
224
|
-
* ```
|
|
225
|
-
* ```html
|
|
226
|
-
* <style>
|
|
227
|
-
* .some_my_class p{
|
|
228
|
-
* line-height: 16px;
|
|
229
|
-
* }
|
|
230
|
-
* </style>
|
|
231
|
-
* ```
|
|
232
|
-
*/
|
|
233
|
-
editorClassName: false | string;
|
|
234
|
-
/**
|
|
235
|
-
* Class name that can be appended to the main editor container
|
|
236
|
-
* @example
|
|
237
|
-
* ```javascript
|
|
238
|
-
* const jodit = Jodit.make('#editor', {
|
|
239
|
-
* className: 'some_my_class'
|
|
240
|
-
* });
|
|
241
|
-
*
|
|
242
|
-
* console.log(jodit.container.classList.contains('some_my_class')); // true
|
|
243
|
-
* ```
|
|
244
|
-
* ```html
|
|
245
|
-
* <style>
|
|
246
|
-
* .some_my_class {
|
|
247
|
-
* max-width: 600px;
|
|
248
|
-
* margin: 0 auto;
|
|
249
|
-
* }
|
|
250
|
-
* </style>
|
|
251
|
-
* ```
|
|
252
|
-
*/
|
|
253
|
-
className: false | string;
|
|
254
|
-
/**
|
|
255
|
-
* The internal styles of the editable area. They are intended to change
|
|
256
|
-
* not the appearance of the editor, but to change the appearance of the content.
|
|
257
|
-
* @example
|
|
258
|
-
* ```javascript
|
|
259
|
-
* Jodit.make('#editor', {
|
|
260
|
-
* style: {
|
|
261
|
-
* font: '12px Arial',
|
|
262
|
-
* color: '#0c0c0c'
|
|
263
|
-
* }
|
|
264
|
-
* });
|
|
265
|
-
* ```
|
|
266
|
-
*/
|
|
267
|
-
style: false | IDictionary;
|
|
268
|
-
/**
|
|
269
|
-
*
|
|
270
|
-
* @example
|
|
271
|
-
* ```javascript
|
|
272
|
-
* Jodit.make('#editor', {
|
|
273
|
-
* editorStyle: {
|
|
274
|
-
* font: '12px Arial',
|
|
275
|
-
* color: '#0c0c0c'
|
|
276
|
-
* }
|
|
277
|
-
* });
|
|
278
|
-
* ```
|
|
279
|
-
*/
|
|
280
|
-
containerStyle: false | IDictionary;
|
|
281
|
-
/**
|
|
282
|
-
* Dictionary of variable values in css, a complete list can be found here
|
|
283
|
-
* https://github.com/xdan/jodit/blob/main/src/styles/variables.less#L25
|
|
284
|
-
*
|
|
285
|
-
* @example
|
|
286
|
-
* ```js
|
|
287
|
-
* const editor = Jodit.make('#editor', {
|
|
288
|
-
* styleValues: {
|
|
289
|
-
* 'color-text': 'red',
|
|
290
|
-
* colorBorder: 'black',
|
|
291
|
-
* 'color-panel': 'blue'
|
|
292
|
-
* }
|
|
293
|
-
* });
|
|
294
|
-
* ```
|
|
295
|
-
*/
|
|
296
|
-
styleValues: IDictionary;
|
|
297
|
-
/**
|
|
298
|
-
* After all, changes in editors for textarea will call change trigger
|
|
299
|
-
*
|
|
300
|
-
* @example
|
|
301
|
-
* ```javascript
|
|
302
|
-
* const editor = Jodit.make('#editor');
|
|
303
|
-
* document.getElementById('editor').addEventListener('change', function () {
|
|
304
|
-
* console.log(this.value);
|
|
305
|
-
* })
|
|
306
|
-
* ```
|
|
307
|
-
*/
|
|
308
|
-
triggerChangeEvent: boolean;
|
|
309
|
-
/**
|
|
310
|
-
* The writing direction of the language which is used to create editor content. Allowed values are: ''
|
|
311
|
-
* (an empty string) – Indicates that content direction will be the same as either the editor UI direction or
|
|
312
|
-
* the page element direction. 'ltr' – Indicates a Left-To-Right text direction (like in English).
|
|
313
|
-
* 'rtl' – Indicates a Right-To-Left text direction (like in Arabic).
|
|
314
|
-
*
|
|
315
|
-
* @example
|
|
316
|
-
* ```javascript
|
|
317
|
-
* Jodit.make('.editor', {
|
|
318
|
-
* direction: 'rtl'
|
|
319
|
-
* })
|
|
320
|
-
* ```
|
|
321
|
-
*/
|
|
322
|
-
direction: 'rtl' | 'ltr' | '';
|
|
323
|
-
/**
|
|
324
|
-
* Language by default. if `auto` language set by document.documentElement.lang ||
|
|
325
|
-
* (navigator.language && navigator.language.substr(0, 2)) ||
|
|
326
|
-
* (navigator.browserLanguage && navigator.browserLanguage.substr(0, 2)) || 'en'
|
|
327
|
-
*
|
|
328
|
-
* @example
|
|
329
|
-
* ```html
|
|
330
|
-
* <!-- include in you page lang file -->
|
|
331
|
-
* <script src="jodit/lang/de.js"></script>
|
|
332
|
-
* <script>
|
|
333
|
-
* var editor = Jodit.make('.editor', {
|
|
334
|
-
* language: 'de'
|
|
335
|
-
* });
|
|
336
|
-
* </script>
|
|
337
|
-
* ```
|
|
338
|
-
*/
|
|
339
|
-
language: string;
|
|
340
|
-
/**
|
|
341
|
-
* if true all Lang.i18n(key) return `{key}`
|
|
342
|
-
*
|
|
343
|
-
* @example
|
|
344
|
-
* ```html
|
|
345
|
-
* <script>
|
|
346
|
-
* var editor = Jodit.make('.editor', {
|
|
347
|
-
* debugLanguage: true
|
|
348
|
-
* });
|
|
349
|
-
*
|
|
350
|
-
* console.log(editor.i18n("Test")); // {Test}
|
|
351
|
-
* </script>
|
|
352
|
-
* ```
|
|
353
|
-
*/
|
|
354
|
-
debugLanguage: boolean;
|
|
355
|
-
/**
|
|
356
|
-
* Collection of language pack data `{en: {'Type something': 'Type something', ...}}`
|
|
357
|
-
*
|
|
358
|
-
* @example
|
|
359
|
-
* ```javascript
|
|
360
|
-
* const editor = Jodit.make('#editor', {
|
|
361
|
-
* language: 'ru',
|
|
362
|
-
* i18n: {
|
|
363
|
-
* ru: {
|
|
364
|
-
* 'Type something': 'Начните что-либо вводить'
|
|
365
|
-
* }
|
|
366
|
-
* }
|
|
367
|
-
* });
|
|
368
|
-
* console.log(editor.i18n('Type something')) //Начните что-либо вводить
|
|
369
|
-
* ```
|
|
370
|
-
*/
|
|
371
|
-
i18n: IDictionary<IDictionary<string>> | false;
|
|
372
|
-
/**
|
|
373
|
-
* The tabindex global attribute is an integer indicating if the element can take
|
|
374
|
-
* input focus (is focusable), if it should participate to sequential keyboard navigation,
|
|
375
|
-
* and if so, at what position. It can take several values
|
|
376
|
-
*/
|
|
377
|
-
tabIndex: number;
|
|
378
|
-
/**
|
|
379
|
-
* Boolean, whether the toolbar should be shown.
|
|
380
|
-
* Alternatively, a valid css-selector-string to use an element as toolbar container.
|
|
381
|
-
*/
|
|
382
|
-
toolbar: boolean | string | HTMLElement;
|
|
383
|
-
/**
|
|
384
|
-
* Boolean, whether the statusbar should be shown.
|
|
385
|
-
*/
|
|
386
|
-
statusbar: boolean;
|
|
387
|
-
/**
|
|
388
|
-
* Show tooltip after mouse enter on the button
|
|
389
|
-
*/
|
|
390
|
-
showTooltip: boolean;
|
|
391
|
-
/**
|
|
392
|
-
* Delay before show tooltip
|
|
393
|
-
*/
|
|
394
|
-
showTooltipDelay: number;
|
|
395
|
-
/**
|
|
396
|
-
* Instead of create custop tooltip - use native title tooltips
|
|
397
|
-
*/
|
|
398
|
-
useNativeTooltip: boolean;
|
|
399
|
-
/**
|
|
400
|
-
* Default insert method
|
|
401
|
-
* @default insert_as_html
|
|
402
|
-
*/
|
|
403
|
-
defaultActionOnPaste: InsertMode;
|
|
404
|
-
/**
|
|
405
|
-
* Element that will be created when you press Enter
|
|
406
|
-
*/
|
|
407
|
-
enter: 'p' | 'div' | 'br';
|
|
408
|
-
/**
|
|
409
|
-
* When this option is enabled, the editor's content will be placed in an iframe and isolated from the rest of the page.
|
|
410
|
-
*
|
|
411
|
-
* @example
|
|
412
|
-
* ```javascript
|
|
413
|
-
* Jodit.make('#editor', {
|
|
414
|
-
* iframe: true,
|
|
415
|
-
* iframeStyle: 'html{margin: 0px;}body{padding:10px;background:transparent;color:#000;position:relative;z-index:2;\
|
|
416
|
-
* user-select:auto;margin:0px;overflow:hidden;}body:after{content:"";clear:both;display:block}';
|
|
417
|
-
* });
|
|
418
|
-
* ```
|
|
419
|
-
*/
|
|
420
|
-
iframe: boolean;
|
|
421
|
-
/**
|
|
422
|
-
* Allow editing the entire HTML document(html, head)
|
|
423
|
-
* \> Works together with the iframe option.
|
|
424
|
-
* @example
|
|
425
|
-
* ```js
|
|
426
|
-
* const editor = Jodit.make('#editor', {
|
|
427
|
-
* iframe: true,
|
|
428
|
-
* editHTMLDocumentMode: true
|
|
429
|
-
* });
|
|
430
|
-
* editor.value = '<!DOCTYPE html><html lang="en" style="overflow-y:hidden">' +
|
|
431
|
-
* '<head><title>Jodit Editor</title></head>' +
|
|
432
|
-
* '<body spellcheck="false"><p>Some text</p><p> a </p></body>' +
|
|
433
|
-
* '</html>';
|
|
434
|
-
* ```
|
|
435
|
-
*/
|
|
436
|
-
editHTMLDocumentMode: boolean;
|
|
437
|
-
/**
|
|
438
|
-
* Use when you need to insert new block element
|
|
439
|
-
* use enter option if not set
|
|
440
|
-
*/
|
|
441
|
-
enterBlock: 'p' | 'div';
|
|
442
|
-
/**
|
|
443
|
-
* Jodit.MODE_WYSIWYG The HTML editor allows you to write like MSWord,
|
|
444
|
-
* Jodit.MODE_SOURCE syntax highlighting source editor
|
|
445
|
-
* @example
|
|
446
|
-
* ```javascript
|
|
447
|
-
* var editor = Jodit.make('#editor', {
|
|
448
|
-
* defaultMode: Jodit.MODE_SPLIT
|
|
449
|
-
* });
|
|
450
|
-
* console.log(editor.getRealMode())
|
|
451
|
-
* ```
|
|
452
|
-
*/
|
|
453
|
-
defaultMode: number;
|
|
454
|
-
/**
|
|
455
|
-
* Use split mode
|
|
456
|
-
*/
|
|
457
|
-
useSplitMode: boolean;
|
|
458
|
-
/**
|
|
459
|
-
* The colors in HEX representation to select a color for the background and for the text in colorpicker
|
|
460
|
-
* @example
|
|
461
|
-
* ```javascript
|
|
462
|
-
* Jodit.make('#editor', {
|
|
463
|
-
* colors: ['#ff0000', '#00ff00', '#0000ff']
|
|
464
|
-
* })
|
|
465
|
-
* ```
|
|
466
|
-
*/
|
|
467
|
-
colors: IDictionary<string[]> | string[];
|
|
468
|
-
/**
|
|
469
|
-
* The default tab color picker
|
|
470
|
-
* @example
|
|
471
|
-
* ```javascript
|
|
472
|
-
* Jodit.make('#editor2', {
|
|
473
|
-
* colorPickerDefaultTab: 'color'
|
|
474
|
-
* })
|
|
475
|
-
* ```
|
|
476
|
-
*/
|
|
477
|
-
colorPickerDefaultTab: 'background' | 'color';
|
|
478
|
-
/**
|
|
479
|
-
* Image size defaults to a larger image
|
|
480
|
-
*/
|
|
481
|
-
imageDefaultWidth: number;
|
|
482
|
-
/**
|
|
483
|
-
* Do not display these buttons that are on the list
|
|
484
|
-
* @example
|
|
485
|
-
* ```javascript
|
|
486
|
-
* Jodit.make('#editor2', {
|
|
487
|
-
* removeButtons: ['hr', 'source']
|
|
488
|
-
* });
|
|
489
|
-
* ```
|
|
490
|
-
*/
|
|
491
|
-
removeButtons: string[];
|
|
492
|
-
/**
|
|
493
|
-
* Do not init these plugins
|
|
494
|
-
* @example
|
|
495
|
-
* ```typescript
|
|
496
|
-
* var editor = Jodit.make('.editor', {
|
|
497
|
-
* disablePlugins: 'table,iframe'
|
|
498
|
-
* });
|
|
499
|
-
* //or
|
|
500
|
-
* var editor = Jodit.make('.editor', {
|
|
501
|
-
* disablePlugins: ['table', 'iframe']
|
|
502
|
-
* });
|
|
503
|
-
* ```
|
|
504
|
-
*/
|
|
505
|
-
disablePlugins: string[] | string;
|
|
506
|
-
/**
|
|
507
|
-
* Init and download extra plugins
|
|
508
|
-
* @example
|
|
509
|
-
* ```typescript
|
|
510
|
-
* var editor = Jodit.make('.editor', {
|
|
511
|
-
* extraPlugins: ['emoji']
|
|
512
|
-
* });
|
|
513
|
-
* ```
|
|
514
|
-
* It will try load %SCRIPT_PATH%/plugins/emoji/emoji.js and after load will try init it
|
|
515
|
-
*/
|
|
516
|
-
extraPlugins: Array<string | IExtraPlugin>;
|
|
517
|
-
/**
|
|
518
|
-
* Base path for download extra plugins
|
|
519
|
-
*/
|
|
520
|
-
basePath?: string;
|
|
521
|
-
/**
|
|
522
|
-
* These buttons list will be added to the option. Buttons
|
|
523
|
-
*/
|
|
524
|
-
extraButtons: Array<string | IControlType>;
|
|
525
|
-
/**
|
|
526
|
-
* By default, you can only install an icon from the Jodit suite.
|
|
527
|
-
* You can add your icon to the set using the `Jodit.modules.Icon.set (name, svg Code)` method.
|
|
528
|
-
* But for a declarative declaration, you can use this option.
|
|
529
|
-
*
|
|
530
|
-
* @example
|
|
531
|
-
* ```js
|
|
532
|
-
* Jodit.modules.Icon.set('someIcon', '<svg><path.../></svg>');
|
|
533
|
-
* const editor = Jodit.make({
|
|
534
|
-
* extraButtons: [{
|
|
535
|
-
* name: 'someButton',
|
|
536
|
-
* icon: 'someIcon'
|
|
537
|
-
* }]
|
|
538
|
-
* });
|
|
539
|
-
*
|
|
540
|
-
* @example
|
|
541
|
-
* const editor = Jodit.make({
|
|
542
|
-
* extraIcons: {
|
|
543
|
-
* someIcon: '<svg><path.../></svg>'
|
|
544
|
-
* },
|
|
545
|
-
* extraButtons: [{
|
|
546
|
-
* name: 'someButton',
|
|
547
|
-
* icon: 'someIcon'
|
|
548
|
-
* }]
|
|
549
|
-
* });
|
|
550
|
-
* ```
|
|
551
|
-
* @example
|
|
552
|
-
* ```js
|
|
553
|
-
* const editor = Jodit.make({
|
|
554
|
-
* extraButtons: [{
|
|
555
|
-
* name: 'someButton',
|
|
556
|
-
* icon: '<svg><path.../></svg>'
|
|
557
|
-
* }]
|
|
558
|
-
* });
|
|
559
|
-
* ```
|
|
560
|
-
*/
|
|
561
|
-
extraIcons: IDictionary<string>;
|
|
562
|
-
/**
|
|
563
|
-
* Default attributes for created inside editor elements
|
|
564
|
-
* @example
|
|
565
|
-
* ```js
|
|
566
|
-
* const editor2 = Jodit.make('#editor', {
|
|
567
|
-
* createAttributes: {
|
|
568
|
-
* div: {
|
|
569
|
-
* class: 'test'
|
|
570
|
-
* },
|
|
571
|
-
* ul: function (ul) {
|
|
572
|
-
* ul.classList.add('ui-test');
|
|
573
|
-
* }
|
|
574
|
-
* }
|
|
575
|
-
* });
|
|
576
|
-
*
|
|
577
|
-
* const div2 = editor2.createInside.div();
|
|
578
|
-
* expect(div2.className).equals('test');
|
|
579
|
-
*
|
|
580
|
-
* const ul = editor2.createInside.element('ul');
|
|
581
|
-
* expect(ul.className).equals('ui-test');
|
|
582
|
-
* ```
|
|
583
|
-
* Or JSX in React
|
|
584
|
-
* @example
|
|
585
|
-
* ```jsx
|
|
586
|
-
* import React, {useState, useRef} from 'react';
|
|
587
|
-
* import JoditEditor from "jodit-react";
|
|
588
|
-
*
|
|
589
|
-
* const config = {
|
|
590
|
-
* createAttributes: {
|
|
591
|
-
* div: {
|
|
592
|
-
* class: 'align-center'
|
|
593
|
-
* }
|
|
594
|
-
* }
|
|
595
|
-
* };
|
|
596
|
-
*
|
|
597
|
-
* <JoditEditor config={config}/>
|
|
598
|
-
* ```
|
|
599
|
-
*/
|
|
600
|
-
createAttributes: IDictionary<Attributes | NodeFunction>;
|
|
601
|
-
/**
|
|
602
|
-
* The width of the editor, accepted as the biggest. Used to the responsive version of the editor
|
|
603
|
-
*/
|
|
604
|
-
sizeLG: number;
|
|
605
|
-
/**
|
|
606
|
-
* The width of the editor, accepted as the medium. Used to the responsive version of the editor
|
|
607
|
-
*/
|
|
608
|
-
sizeMD: number;
|
|
609
|
-
/**
|
|
610
|
-
* The width of the editor, accepted as the small. Used to the responsive version of the editor
|
|
611
|
-
*/
|
|
612
|
-
sizeSM: number;
|
|
613
|
-
/**
|
|
614
|
-
* The list of buttons that appear in the editor's toolbar on large places (≥ options.sizeLG).
|
|
615
|
-
* Note - this is not the width of the device, the width of the editor
|
|
616
|
-
* @example
|
|
617
|
-
* ```javascript
|
|
618
|
-
* Jodit.make('#editor', {
|
|
619
|
-
* buttons: ['bold', 'italic', 'source'],
|
|
620
|
-
* buttonsMD: ['bold', 'italic'],
|
|
621
|
-
* buttonsXS: ['bold', 'fullsize'],
|
|
622
|
-
* });
|
|
623
|
-
* ```
|
|
624
|
-
* @example
|
|
625
|
-
* ```javascript
|
|
626
|
-
* Jodit.make('#editor2', {
|
|
627
|
-
* buttons: [{
|
|
628
|
-
* name: 'empty',
|
|
629
|
-
* icon: 'source',
|
|
630
|
-
* exec: function (editor) {
|
|
631
|
-
* const dialog = new Jodit.modules.Dialog({}),
|
|
632
|
-
* text = editor.c.element('textarea');
|
|
633
|
-
*
|
|
634
|
-
* dialog.setHeader('Source code');
|
|
635
|
-
* dialog.setContent(text);
|
|
636
|
-
* dialog.setSize(400, 300);
|
|
637
|
-
*
|
|
638
|
-
* Jodit.modules.Helpers.css(elm, {
|
|
639
|
-
* width: '100%',
|
|
640
|
-
* height: '100%'
|
|
641
|
-
* })
|
|
642
|
-
|
|
643
|
-
* dialog.open();
|
|
644
|
-
* }
|
|
645
|
-
* }]
|
|
646
|
-
* });
|
|
647
|
-
* ```
|
|
648
|
-
* @example
|
|
649
|
-
* ```javascript
|
|
650
|
-
* Jodit.make('#editor2', {
|
|
651
|
-
* buttons: Jodit.defaultOptions.buttons.concat([{
|
|
652
|
-
* name: 'listsss',
|
|
653
|
-
* iconURL: 'stuf/dummy.png',
|
|
654
|
-
* list: {
|
|
655
|
-
* h1: 'insert Header 1',
|
|
656
|
-
* h2: 'insert Header 2',
|
|
657
|
-
* clear: 'Empty editor',
|
|
658
|
-
* },
|
|
659
|
-
* exec: ({originalEvent, control, btn}) => {
|
|
660
|
-
* var key = control.args[0],
|
|
661
|
-
* value = control.args[1];
|
|
662
|
-
* if (key === 'clear') {
|
|
663
|
-
* this.val('');
|
|
664
|
-
* return;
|
|
665
|
-
* }
|
|
666
|
-
* this.s.insertNode(this.c.element(key, ''));
|
|
667
|
-
* this.message.info('Was inserted ' + value);
|
|
668
|
-
* },
|
|
669
|
-
* template: function (key, value) {
|
|
670
|
-
* return '<div>' + value + '</div>';
|
|
671
|
-
* }
|
|
672
|
-
* });
|
|
673
|
-
* ```
|
|
674
|
-
*/
|
|
675
|
-
buttons: ButtonsOption;
|
|
676
|
-
/**
|
|
677
|
-
* Behavior for buttons
|
|
678
|
-
*/
|
|
679
|
-
controls: Controls;
|
|
680
|
-
/**
|
|
681
|
-
* Some events are called when the editor is initialized, for example, the `afterInit` event.
|
|
682
|
-
* So this code won't work:
|
|
683
|
-
* ```javascript
|
|
684
|
-
* const editor = Jodit.make('#editor');
|
|
685
|
-
* editor.events.on('afterInit', () => console.log('afterInit'));
|
|
686
|
-
* ```
|
|
687
|
-
* You need to do this:
|
|
688
|
-
* ```javascript
|
|
689
|
-
* Jodit.make('#editor', {
|
|
690
|
-
* events: {
|
|
691
|
-
* afterInit: () => console.log('afterInit')
|
|
692
|
-
* }
|
|
693
|
-
* });
|
|
694
|
-
* ```
|
|
695
|
-
* The option can use any Jodit events, for example:
|
|
696
|
-
* ```javascript
|
|
697
|
-
* const editor = Jodit.make('#editor', {
|
|
698
|
-
* events: {
|
|
699
|
-
* hello: (name) => console.log('Hello', name)
|
|
700
|
-
* }
|
|
701
|
-
* });
|
|
702
|
-
* editor.e.fire('hello', 'Mike');
|
|
703
|
-
* ```
|
|
704
|
-
*/
|
|
705
|
-
events: IDictionary<(...args: any[]) => any>;
|
|
706
|
-
/**
|
|
707
|
-
* Buttons in toolbat without SVG - only texts
|
|
708
|
-
*/
|
|
709
|
-
textIcons: boolean;
|
|
710
|
-
/**
|
|
711
|
-
* Element for dialog container
|
|
712
|
-
*/
|
|
713
|
-
popupRoot: Nullable<HTMLElement>;
|
|
714
|
-
/**
|
|
715
|
-
* shows a INPUT[type=color] to open the browser color picker, on the right bottom of widget color picker
|
|
716
|
-
*/
|
|
717
|
-
showBrowserColorPicker: boolean;
|
|
718
|
-
private static __defaultOptions;
|
|
719
|
-
static get defaultOptions(): Config;
|
|
720
|
-
}
|
|
721
|
-
export { Config };
|
|
722
|
-
|
|
723
|
-
interface Config {
|
|
724
|
-
/**
|
|
725
|
-
* A set of key/value pairs that configure the Ajax request. All settings are optional
|
|
726
|
-
*/
|
|
727
|
-
defaultAjaxOptions: AjaxOptions;
|
|
728
|
-
}
|
|
729
|
-
interface Config {
|
|
730
|
-
dialog: IDialogOptions;
|
|
731
|
-
}
|
|
732
|
-
interface Config {
|
|
733
|
-
filebrowser: IFileBrowserOptions;
|
|
734
|
-
}
|
|
735
|
-
interface Config {
|
|
736
|
-
history: {
|
|
737
|
-
enable: boolean;
|
|
738
|
-
|
|
739
|
-
/**
|
|
740
|
-
* Limit of history length
|
|
741
|
-
*/
|
|
742
|
-
maxHistoryLength: number;
|
|
743
|
-
|
|
744
|
-
/**
|
|
745
|
-
* Delay on every change
|
|
746
|
-
*/
|
|
747
|
-
timeout: number;
|
|
748
|
-
};
|
|
749
|
-
}
|
|
750
|
-
interface Config {
|
|
751
|
-
imageeditor: ImageEditorOptions;
|
|
752
|
-
}
|
|
753
|
-
interface Config {
|
|
754
|
-
/**
|
|
755
|
-
* Enable drag and drop file editor
|
|
756
|
-
*/
|
|
757
|
-
enableDragAndDropFileToEditor: boolean;
|
|
758
|
-
uploader: IUploaderOptions<IUploader>;
|
|
759
|
-
}
|
|
760
|
-
interface Config {
|
|
761
|
-
/**
|
|
762
|
-
* Create helper
|
|
763
|
-
*/
|
|
764
|
-
addNewLine: boolean;
|
|
765
|
-
|
|
766
|
-
/**
|
|
767
|
-
* What kind of tags it will be impact
|
|
768
|
-
*/
|
|
769
|
-
addNewLineTagsTriggers: HTMLTagNames[];
|
|
770
|
-
|
|
771
|
-
/**
|
|
772
|
-
* On dbl click on empty space of editor it add new P element
|
|
773
|
-
* @example
|
|
774
|
-
* ```js
|
|
775
|
-
* Jodit.make('#editor', {
|
|
776
|
-
* addNewLineOnDBLClick: false // disable
|
|
777
|
-
* })
|
|
778
|
-
* ```
|
|
779
|
-
*/
|
|
780
|
-
addNewLineOnDBLClick: boolean;
|
|
781
|
-
|
|
782
|
-
/**
|
|
783
|
-
* Absolute delta between cursor position and edge(top or bottom)
|
|
784
|
-
* of element when show line
|
|
785
|
-
*/
|
|
786
|
-
addNewLineDeltaShow: number;
|
|
787
|
-
}
|
|
788
|
-
interface Config {
|
|
789
|
-
aiAssistant: AiAssistantSettings;
|
|
790
|
-
}
|
|
791
|
-
interface Config {
|
|
792
|
-
delete: {
|
|
793
|
-
hotkeys: {
|
|
794
|
-
delete: string[];
|
|
795
|
-
deleteWord: string[];
|
|
796
|
-
deleteSentence: string[];
|
|
797
|
-
backspace: string[];
|
|
798
|
-
backspaceWord: string[];
|
|
799
|
-
backspaceSentence: string[];
|
|
800
|
-
};
|
|
801
|
-
};
|
|
802
|
-
}
|
|
803
|
-
interface Config {
|
|
804
|
-
cleanHTML: {
|
|
805
|
-
timeout: number;
|
|
806
|
-
|
|
807
|
-
/**
|
|
808
|
-
* Replace &nbsp; to plain space
|
|
809
|
-
*/
|
|
810
|
-
replaceNBSP: boolean;
|
|
811
|
-
/**
|
|
812
|
-
* Remove empty P tags, if they are not in the beginning of the text
|
|
813
|
-
*/
|
|
814
|
-
fillEmptyParagraph: boolean;
|
|
815
|
-
/**
|
|
816
|
-
* Remove empty elements
|
|
817
|
-
*/
|
|
818
|
-
removeEmptyElements: boolean;
|
|
819
|
-
/**
|
|
820
|
-
* Replace old tags to new eg. <i> to <em>, <b> to <strong>
|
|
821
|
-
*/
|
|
822
|
-
replaceOldTags: IDictionary<HTMLTagNames> | false;
|
|
823
|
-
|
|
824
|
-
/**
|
|
825
|
-
* You can use an iframe with the sandbox attribute to safely paste and test HTML code.
|
|
826
|
-
* It prevents scripts and handlers from running, but it does slow things down.
|
|
827
|
-
*
|
|
828
|
-
* ```javascript
|
|
829
|
-
* Jodit.make('#editor', {
|
|
830
|
-
* cleanHTML: {
|
|
831
|
-
* useIframeSandbox: true
|
|
832
|
-
* }
|
|
833
|
-
* });
|
|
834
|
-
* ```
|
|
835
|
-
*/
|
|
836
|
-
useIframeSandbox: boolean;
|
|
837
|
-
|
|
838
|
-
/**
|
|
839
|
-
* Remove onError attributes
|
|
840
|
-
*/
|
|
841
|
-
removeOnError: boolean;
|
|
842
|
-
|
|
843
|
-
/**
|
|
844
|
-
* Safe href="javascript:" links
|
|
845
|
-
*/
|
|
846
|
-
safeJavaScriptLink: boolean;
|
|
847
|
-
|
|
848
|
-
/**
|
|
849
|
-
* The allowTags option defines which elements will remain in the
|
|
850
|
-
* edited text when the editor saves. You can use this limit the returned HTML.
|
|
851
|
-
* @example
|
|
852
|
-
* ```javascript
|
|
853
|
-
* const jodit = new Jodit.make('#editor', {
|
|
854
|
-
* cleanHTML: {
|
|
855
|
-
* cleanOnPaste: false
|
|
856
|
-
* }
|
|
857
|
-
* });
|
|
858
|
-
* ```
|
|
859
|
-
* @example
|
|
860
|
-
* ```javascript
|
|
861
|
-
* const editor = Jodit.make('#editor', {
|
|
862
|
-
* cleanHTML: {
|
|
863
|
-
* allowTags: 'p,a[href],table,tr,td, img[src=1.png]' // allow only <p>,<a>,<table>,<tr>,<td>,<img> tags and
|
|
864
|
-
* for <a> allow only `href` attribute and <img> allow only `src` attribute == '1.png'
|
|
865
|
-
* }
|
|
866
|
-
* });
|
|
867
|
-
* editor.value = 'Sorry! <strong>Goodby</strong>\
|
|
868
|
-
* <span>mr.</span> <a style="color:red" href="https://xdsoft.net">Freeman</a>';
|
|
869
|
-
* console.log(editor.value); //Sorry! <a href="https://xdsoft.net">Freeman</a>
|
|
870
|
-
* ```
|
|
871
|
-
*
|
|
872
|
-
* @example
|
|
873
|
-
* ```javascript
|
|
874
|
-
* const editor = Jodit.make('#editor', {
|
|
875
|
-
* cleanHTML: {
|
|
876
|
-
* allowTags: {
|
|
877
|
-
* p: true,
|
|
878
|
-
* a: {
|
|
879
|
-
* href: true
|
|
880
|
-
* },
|
|
881
|
-
* table: true,
|
|
882
|
-
* tr: true,
|
|
883
|
-
* td: true,
|
|
884
|
-
* img: {
|
|
885
|
-
* src: '1.png'
|
|
886
|
-
* }
|
|
887
|
-
* }
|
|
888
|
-
* }
|
|
889
|
-
* });
|
|
890
|
-
* ```
|
|
891
|
-
*/
|
|
892
|
-
allowTags: false | string | IDictionary<string>;
|
|
893
|
-
denyTags: false | string | IDictionary<string>;
|
|
894
|
-
|
|
895
|
-
/**
|
|
896
|
-
* Node filtering rules that do not need to be applied to content
|
|
897
|
-
* The full list of rules is generated dynamically from the folder
|
|
898
|
-
* https://github.com/xdan/jodit/tree/main/src/plugins/clean-html/helpers/visitor/filters
|
|
899
|
-
*/
|
|
900
|
-
disableCleanFilter: Nullable<Set<string>>;
|
|
901
|
-
};
|
|
902
|
-
}
|
|
903
|
-
interface Config {
|
|
904
|
-
/**
|
|
905
|
-
* Draggable elements
|
|
906
|
-
*/
|
|
907
|
-
draggableTags: string | string[];
|
|
908
|
-
}
|
|
909
|
-
interface Config {
|
|
910
|
-
dtd: {
|
|
911
|
-
/**
|
|
912
|
-
* Remove extra br element inside block element after pasting
|
|
913
|
-
*/
|
|
914
|
-
removeExtraBr: boolean;
|
|
915
|
-
|
|
916
|
-
/**
|
|
917
|
-
* Check when inserting a block element if it can be inside another block element (according `blockLimits`)
|
|
918
|
-
*/
|
|
919
|
-
checkBlockNesting: boolean;
|
|
920
|
-
|
|
921
|
-
/**
|
|
922
|
-
* List of elements that contain other blocks
|
|
923
|
-
*/
|
|
924
|
-
blockLimits: IDictionary<1>;
|
|
925
|
-
};
|
|
926
|
-
}
|
|
927
|
-
interface Config {
|
|
928
|
-
autofocus: boolean;
|
|
929
|
-
cursorAfterAutofocus: 'start' | 'end';
|
|
930
|
-
saveSelectionOnBlur: boolean;
|
|
931
|
-
}
|
|
932
|
-
interface Config {
|
|
933
|
-
defaultFontSizePoints: 'px' | 'pt';
|
|
934
|
-
}
|
|
935
|
-
interface Config {
|
|
936
|
-
/**
|
|
937
|
-
* Open WYSIWYG in full screen
|
|
938
|
-
* @example
|
|
939
|
-
* ```javascript
|
|
940
|
-
* var editor = Jodit.make({
|
|
941
|
-
* fullsize: true // fullsize editor
|
|
942
|
-
* });
|
|
943
|
-
* ```
|
|
944
|
-
* @example
|
|
945
|
-
* ```javascript
|
|
946
|
-
* var editor = Jodit.make();
|
|
947
|
-
* editor.e.fire('toggleFullSize');
|
|
948
|
-
* editor.e.fire('toggleFullSize', true); // fullsize
|
|
949
|
-
* editor.e.fire('toggleFullSize', false); // usual mode
|
|
950
|
-
* ```
|
|
951
|
-
*/
|
|
952
|
-
fullsize: boolean;
|
|
953
|
-
|
|
954
|
-
/**
|
|
955
|
-
* True, after `fullsize` - all editors elements above jodit will get `jodit_fullsize-box_true` class (z-index: 100000 !important;)
|
|
956
|
-
*/
|
|
957
|
-
globalFullSize: boolean;
|
|
958
|
-
}
|
|
959
|
-
interface Config {
|
|
960
|
-
/**
|
|
961
|
-
* You can redefine hotkeys for some command
|
|
962
|
-
*
|
|
963
|
-
* @example
|
|
964
|
-
* ```js
|
|
965
|
-
* const jodit = Jodit.make('#editor', {
|
|
966
|
-
* commandToHotkeys: {
|
|
967
|
-
* bold: 'ctrl+shift+b',
|
|
968
|
-
* italic: ['ctrl+i', 'ctrl+b'],
|
|
969
|
-
* }
|
|
970
|
-
* })
|
|
971
|
-
* ```
|
|
972
|
-
*/
|
|
973
|
-
commandToHotkeys: IDictionary<string | string[]>;
|
|
974
|
-
}
|
|
975
|
-
interface Config {
|
|
976
|
-
/**
|
|
977
|
-
* You can redefine default page
|
|
978
|
-
*
|
|
979
|
-
* @example
|
|
980
|
-
* ```javascript
|
|
981
|
-
* Jodit.make('#editor', {
|
|
982
|
-
* iframe: true,
|
|
983
|
-
* iframeDefaultSrc: 'https://xdsoft.net/jodit/docs/',
|
|
984
|
-
* });
|
|
985
|
-
* ```
|
|
986
|
-
*/
|
|
987
|
-
iframeDefaultSrc: string;
|
|
988
|
-
|
|
989
|
-
/**
|
|
990
|
-
* Base URL where the root directory for [[Config.iframe]] mode
|
|
991
|
-
*
|
|
992
|
-
* @example
|
|
993
|
-
* ```javascript
|
|
994
|
-
* Jodit.make('#editor', {
|
|
995
|
-
* iframe: true,
|
|
996
|
-
* iframeBaseUrl: 'https://xdsoft.net/jodit/docs/',
|
|
997
|
-
* });
|
|
998
|
-
* ```
|
|
999
|
-
*/
|
|
1000
|
-
iframeBaseUrl: string;
|
|
1001
|
-
|
|
1002
|
-
/**
|
|
1003
|
-
* Iframe title's content
|
|
1004
|
-
*/
|
|
1005
|
-
iframeTitle: string;
|
|
1006
|
-
|
|
1007
|
-
/**
|
|
1008
|
-
* Iframe's DOCTYPE
|
|
1009
|
-
*/
|
|
1010
|
-
iframeDoctype: string;
|
|
1011
|
-
|
|
1012
|
-
/**
|
|
1013
|
-
* Custom style to be used inside the iframe to display content.
|
|
1014
|
-
* @example
|
|
1015
|
-
* ```javascript
|
|
1016
|
-
* Jodit.make('#editor', {
|
|
1017
|
-
* iframe: true,
|
|
1018
|
-
* iframeStyle: 'html{margin: 0px;}',
|
|
1019
|
-
* })
|
|
1020
|
-
* ```
|
|
1021
|
-
*/
|
|
1022
|
-
iframeStyle: string;
|
|
1023
|
-
|
|
1024
|
-
/**
|
|
1025
|
-
* Custom stylesheet files to be used inside the iframe to display content.
|
|
1026
|
-
*
|
|
1027
|
-
* @example
|
|
1028
|
-
* ```javascript
|
|
1029
|
-
* Jodit.make('#editor', {
|
|
1030
|
-
* iframe: true,
|
|
1031
|
-
* iframeCSSLinks: ['styles/default.css'],
|
|
1032
|
-
* })
|
|
1033
|
-
* ```
|
|
1034
|
-
*/
|
|
1035
|
-
iframeCSSLinks: string[];
|
|
1036
|
-
|
|
1037
|
-
/**
|
|
1038
|
-
* Custom sandbox attribute for the iframe.
|
|
1039
|
-
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#sandbox
|
|
1040
|
-
* ```javascript
|
|
1041
|
-
* Jodit.make('#editor', {
|
|
1042
|
-
* iframe: true,
|
|
1043
|
-
* iframeSandbox: 'allow-same-origin allow-scripts'
|
|
1044
|
-
* });
|
|
1045
|
-
* ```
|
|
1046
|
-
* Empty string value means that all restrictions are enabled.
|
|
1047
|
-
*/
|
|
1048
|
-
iframeSandbox: string | null;
|
|
1049
|
-
}
|
|
1050
|
-
interface Config {
|
|
1051
|
-
imageProcessor: {
|
|
1052
|
-
replaceDataURIToBlobIdInView: boolean;
|
|
1053
|
-
};
|
|
1054
|
-
}
|
|
1055
|
-
interface Config {
|
|
1056
|
-
image: ImagePropertiesOptions;
|
|
1057
|
-
}
|
|
1058
|
-
interface Config {
|
|
1059
|
-
/**
|
|
1060
|
-
* The number of pixels to use for indenting the current line.
|
|
1061
|
-
*/
|
|
1062
|
-
indentMargin: number;
|
|
1063
|
-
}
|
|
1064
|
-
interface Config {
|
|
1065
|
-
popup: IDictionary<
|
|
1066
|
-
| Array<IControlType | string>
|
|
1067
|
-
| ((
|
|
1068
|
-
editor: IJodit,
|
|
1069
|
-
target: HTMLElement | undefined,
|
|
1070
|
-
close: () => void
|
|
1071
|
-
) => Array<IControlType | string> | HTMLElement | string)
|
|
1072
|
-
>;
|
|
1073
|
-
|
|
1074
|
-
toolbarInlineDisabledButtons: string[];
|
|
1075
|
-
toolbarInline: boolean;
|
|
1076
|
-
toolbarInlineForSelection: boolean;
|
|
1077
|
-
toolbarInlineDisableFor: string | string[];
|
|
1078
|
-
}
|
|
1079
|
-
interface Config {
|
|
1080
|
-
/**
|
|
1081
|
-
* limit words count
|
|
1082
|
-
*/
|
|
1083
|
-
limitWords: false | number;
|
|
1084
|
-
|
|
1085
|
-
/**
|
|
1086
|
-
* limit chars count
|
|
1087
|
-
*/
|
|
1088
|
-
limitChars: false | number;
|
|
1089
|
-
|
|
1090
|
-
/**
|
|
1091
|
-
* limit html chars count
|
|
1092
|
-
*/
|
|
1093
|
-
limitHTML: false;
|
|
1094
|
-
}
|
|
1095
|
-
interface Config {
|
|
1096
|
-
/**
|
|
1097
|
-
* Default line spacing for the entire editor
|
|
1098
|
-
*
|
|
1099
|
-
* ```js
|
|
1100
|
-
* Jodit.make('#editor', {
|
|
1101
|
-
* defaultLineHeight: 1.2
|
|
1102
|
-
* })
|
|
1103
|
-
* ```
|
|
1104
|
-
*/
|
|
1105
|
-
defaultLineHeight: number | null;
|
|
1106
|
-
}
|
|
1107
|
-
interface Config {
|
|
1108
|
-
link: {
|
|
1109
|
-
/**
|
|
1110
|
-
* Template for the link dialog form
|
|
1111
|
-
*/
|
|
1112
|
-
formTemplate: (editor: IJodit) => string | HTMLElement | IUIForm;
|
|
1113
|
-
formClassName?: string;
|
|
1114
|
-
|
|
1115
|
-
/**
|
|
1116
|
-
* Follow link address after dblclick
|
|
1117
|
-
*/
|
|
1118
|
-
followOnDblClick: boolean;
|
|
1119
|
-
|
|
1120
|
-
/**
|
|
1121
|
-
* Replace inserted youtube/vimeo link to `iframe`
|
|
1122
|
-
*/
|
|
1123
|
-
processVideoLink: boolean;
|
|
1124
|
-
|
|
1125
|
-
/**
|
|
1126
|
-
* Wrap inserted link
|
|
1127
|
-
*/
|
|
1128
|
-
processPastedLink: boolean;
|
|
1129
|
-
|
|
1130
|
-
/**
|
|
1131
|
-
* Show `no follow` checkbox in link dialog.
|
|
1132
|
-
*/
|
|
1133
|
-
noFollowCheckbox: boolean;
|
|
1134
|
-
|
|
1135
|
-
/**
|
|
1136
|
-
* Show `Open in new tab` checkbox in link dialog.
|
|
1137
|
-
*/
|
|
1138
|
-
openInNewTabCheckbox: boolean;
|
|
1139
|
-
|
|
1140
|
-
/**
|
|
1141
|
-
* Use an input text to ask the classname or a select or not ask
|
|
1142
|
-
*/
|
|
1143
|
-
modeClassName: 'input' | 'select';
|
|
1144
|
-
|
|
1145
|
-
/**
|
|
1146
|
-
* Allow multiple choises (to use with modeClassName="select")
|
|
1147
|
-
*/
|
|
1148
|
-
selectMultipleClassName: boolean;
|
|
1149
|
-
|
|
1150
|
-
/**
|
|
1151
|
-
* The size of the select (to use with modeClassName="select")
|
|
1152
|
-
*/
|
|
1153
|
-
selectSizeClassName?: number;
|
|
1154
|
-
|
|
1155
|
-
/**
|
|
1156
|
-
* The list of the option for the select (to use with modeClassName="select")
|
|
1157
|
-
*/
|
|
1158
|
-
selectOptionsClassName: IUIOption[];
|
|
1159
|
-
|
|
1160
|
-
hotkeys: string[];
|
|
1161
|
-
};
|
|
1162
|
-
}
|
|
1163
|
-
interface Config {
|
|
1164
|
-
/**
|
|
1165
|
-
* Decorate media elements
|
|
1166
|
-
*/
|
|
1167
|
-
mediaInFakeBlock: boolean;
|
|
1168
|
-
|
|
1169
|
-
/**
|
|
1170
|
-
* Decorate media element with tag
|
|
1171
|
-
*/
|
|
1172
|
-
mediaFakeTag: string;
|
|
1173
|
-
|
|
1174
|
-
/**
|
|
1175
|
-
* Media tags
|
|
1176
|
-
*/
|
|
1177
|
-
mediaBlocks: string[];
|
|
1178
|
-
}
|
|
1179
|
-
interface Config {
|
|
1180
|
-
/**
|
|
1181
|
-
* Mobile timeout for CLICK emulation
|
|
1182
|
-
*/
|
|
1183
|
-
mobileTapTimeout: number;
|
|
1184
|
-
|
|
1185
|
-
/**
|
|
1186
|
-
* After resizing, the set of buttons will change to accommodate different sizes.
|
|
1187
|
-
*/
|
|
1188
|
-
toolbarAdaptive: boolean;
|
|
1189
|
-
|
|
1190
|
-
/**
|
|
1191
|
-
* The list of buttons that appear in the editor's toolbar for medium-sized spaces (≥ options.sizeMD).
|
|
1192
|
-
*/
|
|
1193
|
-
buttonsMD: ButtonsOption;
|
|
1194
|
-
|
|
1195
|
-
/**
|
|
1196
|
-
* The list of buttons that appear in the editor's toolbar for small-sized spaces (≥ options.sizeSM).
|
|
1197
|
-
*/
|
|
1198
|
-
buttonsSM: ButtonsOption;
|
|
1199
|
-
|
|
1200
|
-
/**
|
|
1201
|
-
* The list of buttons that appear in the editor's toolbar for extra-small spaces (less than options.sizeSM).
|
|
1202
|
-
*/
|
|
1203
|
-
buttonsXS: ButtonsOption;
|
|
1204
|
-
}
|
|
1205
|
-
interface Config {
|
|
1206
|
-
/**
|
|
1207
|
-
* Ask before paste HTML in WYSIWYG mode
|
|
1208
|
-
*/
|
|
1209
|
-
askBeforePasteHTML: boolean;
|
|
1210
|
-
|
|
1211
|
-
/**
|
|
1212
|
-
* When the user inserts a snippet of HTML, the plugin will prompt for the insertion method.
|
|
1213
|
-
* If the user inserts the same fragment again, the previously selected option will be used without prompting for confirmation.
|
|
1214
|
-
*/
|
|
1215
|
-
memorizeChoiceWhenPasteFragment: boolean;
|
|
1216
|
-
|
|
1217
|
-
/**
|
|
1218
|
-
* Handle pasted text - similar to HTML
|
|
1219
|
-
*/
|
|
1220
|
-
processPasteHTML: boolean;
|
|
1221
|
-
|
|
1222
|
-
/**
|
|
1223
|
-
* Inserts HTML line breaks before all newlines in a string
|
|
1224
|
-
*/
|
|
1225
|
-
nl2brInPlainText: boolean;
|
|
1226
|
-
|
|
1227
|
-
/**
|
|
1228
|
-
* List of tags that will not be removed from the pasted HTML with INSERT_AS_TEXT mode
|
|
1229
|
-
*/
|
|
1230
|
-
pasteExcludeStripTags: HTMLTagNames[];
|
|
1231
|
-
|
|
1232
|
-
/**
|
|
1233
|
-
* Options when inserting HTML string
|
|
1234
|
-
*/
|
|
1235
|
-
pasteHTMLActionList: IUIOption[];
|
|
1236
|
-
|
|
1237
|
-
/**
|
|
1238
|
-
* Scroll the editor to the pasted fragment
|
|
1239
|
-
*/
|
|
1240
|
-
scrollToPastedContent: boolean;
|
|
1241
|
-
}
|
|
1242
|
-
interface Config {
|
|
1243
|
-
/**
|
|
1244
|
-
* Show the paste dialog if the html is similar to what MSWord gives when copying.
|
|
1245
|
-
*/
|
|
1246
|
-
askBeforePasteFromWord: boolean;
|
|
1247
|
-
|
|
1248
|
-
/**
|
|
1249
|
-
* Handle pasting of HTML - similar to a fragment copied from MSWord
|
|
1250
|
-
*/
|
|
1251
|
-
processPasteFromWord: boolean;
|
|
1252
|
-
|
|
1253
|
-
/**
|
|
1254
|
-
* Default insert method from word, if not define, it will use defaultActionOnPaste instead
|
|
1255
|
-
*
|
|
1256
|
-
* ```js
|
|
1257
|
-
* Jodit.make('#editor', {
|
|
1258
|
-
* defaultActionOnPasteFromWord: 'insert_clear_html'
|
|
1259
|
-
* })
|
|
1260
|
-
* ```
|
|
1261
|
-
*/
|
|
1262
|
-
defaultActionOnPasteFromWord: InsertMode | null;
|
|
1263
|
-
|
|
1264
|
-
/**
|
|
1265
|
-
* Options when inserting data from Word
|
|
1266
|
-
*/
|
|
1267
|
-
pasteFromWordActionList: IUIOption[];
|
|
1268
|
-
}
|
|
1269
|
-
interface Config {
|
|
1270
|
-
/**
|
|
1271
|
-
* Show placeholder
|
|
1272
|
-
* @example
|
|
1273
|
-
* ```javascript
|
|
1274
|
-
* const editor = Jodit.make('#editor', {
|
|
1275
|
-
* showPlaceholder: false
|
|
1276
|
-
* });
|
|
1277
|
-
* ```
|
|
1278
|
-
*/
|
|
1279
|
-
showPlaceholder: boolean;
|
|
1280
|
-
|
|
1281
|
-
/**
|
|
1282
|
-
* Use a placeholder from original input field, if it was set
|
|
1283
|
-
* @example
|
|
1284
|
-
* ```javascript
|
|
1285
|
-
* //<textarea id="editor" placeholder="start typing text ..." cols="30" rows="10"></textarea>
|
|
1286
|
-
* const editor = Jodit.make('#editor', {
|
|
1287
|
-
* useInputsPlaceholder: true
|
|
1288
|
-
* });
|
|
1289
|
-
* ```
|
|
1290
|
-
*/
|
|
1291
|
-
useInputsPlaceholder: boolean;
|
|
1292
|
-
|
|
1293
|
-
/**
|
|
1294
|
-
* Default placeholder
|
|
1295
|
-
* @example
|
|
1296
|
-
* ```javascript
|
|
1297
|
-
* const editor = Jodit.make('#editor', {
|
|
1298
|
-
* placeholder: 'start typing text ...'
|
|
1299
|
-
* });
|
|
1300
|
-
* ```
|
|
1301
|
-
*/
|
|
1302
|
-
placeholder: string;
|
|
1303
|
-
}
|
|
1304
|
-
interface Config {
|
|
1305
|
-
/**
|
|
1306
|
-
* Hide the link to the Jodit site at the bottom of the editor
|
|
1307
|
-
*/
|
|
1308
|
-
hidePoweredByJodit: boolean;
|
|
1309
|
-
}
|
|
1310
|
-
interface Config {
|
|
1311
|
-
tableAllowCellResize: boolean;
|
|
1312
|
-
}
|
|
1313
|
-
interface Config {
|
|
1314
|
-
allowResizeX: boolean;
|
|
1315
|
-
allowResizeY: boolean;
|
|
1316
|
-
}
|
|
1317
|
-
interface Config {
|
|
1318
|
-
/**
|
|
1319
|
-
* Use true frame for editing iframe size
|
|
1320
|
-
*/
|
|
1321
|
-
allowResizeTags: Set<HTMLTagNames>;
|
|
1322
|
-
|
|
1323
|
-
resizer: {
|
|
1324
|
-
/**
|
|
1325
|
-
* Show size
|
|
1326
|
-
*/
|
|
1327
|
-
showSize: boolean;
|
|
1328
|
-
hideSizeTimeout: number;
|
|
1329
|
-
|
|
1330
|
-
/**
|
|
1331
|
-
* Save width and height proportions when resizing
|
|
1332
|
-
* ```js
|
|
1333
|
-
* Jodit.make('#editor', {
|
|
1334
|
-
* allowResizeTags: ['img', 'iframe', 'table', 'jodit'],
|
|
1335
|
-
* resizer: {
|
|
1336
|
-
* useAspectRatio: false, // don't save,
|
|
1337
|
-
* useAspectRatio: ['img'], // save only for images (default value)
|
|
1338
|
-
* useAspectRatio: true // save for all
|
|
1339
|
-
* }
|
|
1340
|
-
* });
|
|
1341
|
-
* ```
|
|
1342
|
-
*/
|
|
1343
|
-
useAspectRatio: boolean | Set<HTMLTagNames>;
|
|
1344
|
-
|
|
1345
|
-
/**
|
|
1346
|
-
* When resizing images, change not the styles but the width and height attributes
|
|
1347
|
-
*/
|
|
1348
|
-
forImageChangeAttributes: boolean;
|
|
1349
|
-
|
|
1350
|
-
/**
|
|
1351
|
-
* The minimum width for the editable element
|
|
1352
|
-
*/
|
|
1353
|
-
min_width: number;
|
|
1354
|
-
|
|
1355
|
-
/**
|
|
1356
|
-
* The minimum height for the item being edited
|
|
1357
|
-
*/
|
|
1358
|
-
min_height: number;
|
|
1359
|
-
};
|
|
1360
|
-
}
|
|
1361
|
-
interface Config {
|
|
1362
|
-
/**
|
|
1363
|
-
* Enable custom search plugin
|
|
1364
|
-
* 
|
|
1365
|
-
*/
|
|
1366
|
-
useSearch: boolean;
|
|
1367
|
-
|
|
1368
|
-
search: {
|
|
1369
|
-
lazyIdleTimeout: number;
|
|
1370
|
-
|
|
1371
|
-
/**
|
|
1372
|
-
* Use custom highlight API https://developer.mozilla.org/en-US/docs/Web/API/CSS_Custom_Highlight_API
|
|
1373
|
-
* or use default implementation (wrap text in span and attribute jd-tmp-selection)
|
|
1374
|
-
*/
|
|
1375
|
-
useCustomHighlightAPI: boolean;
|
|
1376
|
-
|
|
1377
|
-
/**
|
|
1378
|
-
* Function to search for a string within a substring. The default implementation is [[fuzzySearchIndex]]
|
|
1379
|
-
* But you can write your own. It must implement the [[FuzzySearch]] interface.
|
|
1380
|
-
*
|
|
1381
|
-
* ```ts
|
|
1382
|
-
* Jodit.make('#editor', {
|
|
1383
|
-
* search: {
|
|
1384
|
-
* fuzzySearch: (needle, haystack, offset) => {
|
|
1385
|
-
* return [haystack.toLowerCase().indexOf(needle.toLowerCase(), offset), needle.length];
|
|
1386
|
-
* }
|
|
1387
|
-
* }
|
|
1388
|
-
* })
|
|
1389
|
-
* ```
|
|
1390
|
-
*/
|
|
1391
|
-
fuzzySearch?: FuzzySearch;
|
|
1392
|
-
};
|
|
1393
|
-
}
|
|
1394
|
-
interface Config {
|
|
1395
|
-
select: {
|
|
1396
|
-
/**
|
|
1397
|
-
* When the user selects the elements of the list - from the beginning to
|
|
1398
|
-
* the end from the inside - when copying, we change the selection
|
|
1399
|
-
* to cover the entire selected container
|
|
1400
|
-
*
|
|
1401
|
-
* `<ul><li>|test|</li></ul>` will be `|<ul><li>test</li></ul>|`
|
|
1402
|
-
* `<ul><li>|test|</li><li>|test</li></ul>` will be `<ul>|<li>test</li><li>|test</li></ul>`
|
|
1403
|
-
*/
|
|
1404
|
-
normalizeSelectionBeforeCutAndCopy: boolean;
|
|
1405
|
-
|
|
1406
|
-
/**
|
|
1407
|
-
* Normalize selection after triple click
|
|
1408
|
-
* @example
|
|
1409
|
-
*
|
|
1410
|
-
* `<ul><li>|test</li><li>|pop</li></ul>` will be `<ul><li>|test|</li><li>pop</li</ul>|`
|
|
1411
|
-
*/
|
|
1412
|
-
normalizeTripleClick: boolean;
|
|
1413
|
-
};
|
|
1414
|
-
}
|
|
1415
|
-
interface Config {
|
|
1416
|
-
tableAllowCellSelection: boolean;
|
|
1417
|
-
}
|
|
1418
|
-
interface Config {
|
|
1419
|
-
saveHeightInStorage: boolean;
|
|
1420
|
-
|
|
1421
|
-
minWidth: number | string;
|
|
1422
|
-
minHeight: number | string;
|
|
1423
|
-
maxWidth: number | string;
|
|
1424
|
-
maxHeight: number | string;
|
|
1425
|
-
}
|
|
1426
|
-
interface Config {
|
|
1427
|
-
sourceEditor: 'area' | 'ace' | ((jodit: IJodit) => ISourceEditor);
|
|
1428
|
-
|
|
1429
|
-
/**
|
|
1430
|
-
* Options for [ace](https://ace.c9.io/#config) editor
|
|
1431
|
-
* @example
|
|
1432
|
-
* ```js
|
|
1433
|
-
* Jodit.make('#editor', {
|
|
1434
|
-
* showGutter: true,
|
|
1435
|
-
* theme: 'ace/theme/idle_fingers',
|
|
1436
|
-
* mode: 'ace/mode/html',
|
|
1437
|
-
* wrap: true,
|
|
1438
|
-
§ * highlightActiveLine: true
|
|
1439
|
-
* })
|
|
1440
|
-
* ```
|
|
1441
|
-
*/
|
|
1442
|
-
sourceEditorNativeOptions: {
|
|
1443
|
-
showGutter: boolean;
|
|
1444
|
-
theme: string;
|
|
1445
|
-
mode: string;
|
|
1446
|
-
wrap: string | boolean | number;
|
|
1447
|
-
highlightActiveLine: boolean;
|
|
1448
|
-
};
|
|
1449
|
-
|
|
1450
|
-
/**
|
|
1451
|
-
* Beautify HTML then it possible
|
|
1452
|
-
*/
|
|
1453
|
-
beautifyHTML: boolean;
|
|
1454
|
-
|
|
1455
|
-
/**
|
|
1456
|
-
* CDN URLs for HTML Beautifier
|
|
1457
|
-
*/
|
|
1458
|
-
beautifyHTMLCDNUrlsJS: string[];
|
|
1459
|
-
|
|
1460
|
-
/**
|
|
1461
|
-
* CDN URLs for ACE editor
|
|
1462
|
-
*/
|
|
1463
|
-
sourceEditorCDNUrlsJS: string[];
|
|
1464
|
-
}
|
|
1465
|
-
interface Config {
|
|
1466
|
-
speechRecognize: {
|
|
1467
|
-
readonly api: ISpeechRecognizeConstructor | null;
|
|
1468
|
-
|
|
1469
|
-
/**
|
|
1470
|
-
* Returns and sets the language of the current SpeechRecognition.
|
|
1471
|
-
* If not specified, this defaults to the HTML lang attribute value, or
|
|
1472
|
-
* the user agent's language setting if that isn't set either.
|
|
1473
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/lang
|
|
1474
|
-
*/
|
|
1475
|
-
readonly lang?: string;
|
|
1476
|
-
|
|
1477
|
-
/**
|
|
1478
|
-
* Controls whether continuous results are returned for each recognition,
|
|
1479
|
-
* or only a single result.
|
|
1480
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/continuous
|
|
1481
|
-
*/
|
|
1482
|
-
readonly continuous: boolean;
|
|
1483
|
-
|
|
1484
|
-
/**
|
|
1485
|
-
* Controls whether interim results should be returned (true) or not (false.)
|
|
1486
|
-
* Interim results are results that are not yet final (e.g. the isFinal property is false.)
|
|
1487
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/interimResults
|
|
1488
|
-
*/
|
|
1489
|
-
readonly interimResults: boolean;
|
|
1490
|
-
|
|
1491
|
-
/**
|
|
1492
|
-
* On recognition error - make an error sound
|
|
1493
|
-
*/
|
|
1494
|
-
readonly sound: boolean;
|
|
1495
|
-
|
|
1496
|
-
/**
|
|
1497
|
-
* You can specify any commands in your language by listing them with the `|` sign.
|
|
1498
|
-
* In the value, write down any commands for
|
|
1499
|
-
* [execCommand](https://developer.mozilla.org/en-US/docs/Web/API/Document/execCommand#parameters)
|
|
1500
|
-
* and value (separated by ::)
|
|
1501
|
-
* You can also use [custom Jodit commands](#need-article)
|
|
1502
|
-
* For example
|
|
1503
|
-
* ```js
|
|
1504
|
-
* Jodit.make('#editor', {
|
|
1505
|
-
* speechRecognize: {
|
|
1506
|
-
* commands: {
|
|
1507
|
-
* 'remove line|remove paragraph': 'backspaceSentenceButton',
|
|
1508
|
-
* 'start bold': 'bold',
|
|
1509
|
-
* 'insert table|create table': 'insertHTML::<table><tr><td>test</td></tr></table>',
|
|
1510
|
-
* }
|
|
1511
|
-
* }
|
|
1512
|
-
* });
|
|
1513
|
-
* ```
|
|
1514
|
-
*/
|
|
1515
|
-
readonly commands: IDictionary<string>;
|
|
1516
|
-
};
|
|
1517
|
-
}
|
|
1518
|
-
interface Config {
|
|
1519
|
-
/**
|
|
1520
|
-
* Options specifies whether the editor is to have its spelling and grammar checked or not
|
|
1521
|
-
* @see http://www.w3schools.com/tags/att_global_spellcheck.asp
|
|
1522
|
-
*/
|
|
1523
|
-
spellcheck: boolean;
|
|
1524
|
-
}
|
|
1525
|
-
interface Config {
|
|
1526
|
-
showCharsCounter: boolean;
|
|
1527
|
-
countHTMLChars: boolean;
|
|
1528
|
-
countTextSpaces: boolean;
|
|
1529
|
-
showWordsCounter: boolean;
|
|
1530
|
-
}
|
|
1531
|
-
interface Config {
|
|
1532
|
-
/**
|
|
1533
|
-
* @example
|
|
1534
|
-
* ```javascript
|
|
1535
|
-
* var editor = Jodit.make('#someid', {
|
|
1536
|
-
* toolbarSticky: false
|
|
1537
|
-
* })
|
|
1538
|
-
* ```
|
|
1539
|
-
*/
|
|
1540
|
-
toolbarSticky: boolean;
|
|
1541
|
-
|
|
1542
|
-
toolbarDisableStickyForMobile: boolean;
|
|
1543
|
-
|
|
1544
|
-
/**
|
|
1545
|
-
* For example, in Joomla, the top menu bar closes Jodit toolbar when scrolling. Therefore, it is necessary to
|
|
1546
|
-
* move the toolbar Jodit by this amount [more](https://xdsoft.net/jodit/docs/#2.5.57)
|
|
1547
|
-
*
|
|
1548
|
-
* @example
|
|
1549
|
-
* ```javascript
|
|
1550
|
-
* var editor = Jodit.make('#someid', {
|
|
1551
|
-
* toolbarStickyOffset: 100
|
|
1552
|
-
* })
|
|
1553
|
-
* ```
|
|
1554
|
-
*/
|
|
1555
|
-
toolbarStickyOffset: number;
|
|
1556
|
-
}
|
|
1557
|
-
interface Config {
|
|
1558
|
-
specialCharacters: string[];
|
|
1559
|
-
usePopupForSpecialCharacters: boolean;
|
|
1560
|
-
}
|
|
1561
|
-
interface Config {
|
|
1562
|
-
tab: {
|
|
1563
|
-
/**
|
|
1564
|
-
* Pressing Tab inside LI will add an internal list
|
|
1565
|
-
*/
|
|
1566
|
-
tabInsideLiInsertNewList: boolean;
|
|
1567
|
-
};
|
|
1568
|
-
}
|
|
1569
|
-
interface Config {
|
|
1570
|
-
table: {
|
|
1571
|
-
selectionCellStyle: string;
|
|
1572
|
-
useExtraClassesOptions: boolean;
|
|
1573
|
-
};
|
|
1574
|
-
}
|
|
1575
|
-
interface Config {
|
|
1576
|
-
video: {
|
|
1577
|
-
/**
|
|
1578
|
-
* Custom function for parsing video URL to embed code
|
|
1579
|
-
* ```javascript
|
|
1580
|
-
* Jodit.make('#editor', {
|
|
1581
|
-
* video: {
|
|
1582
|
-
* // Defaul behavior
|
|
1583
|
-
* parseUrlToVideoEmbed: (url, size) => Jodit.modules.Helpers.convertMediaUrlToVideoEmbed(url, size)
|
|
1584
|
-
* }
|
|
1585
|
-
* });
|
|
1586
|
-
* ```
|
|
1587
|
-
*/
|
|
1588
|
-
parseUrlToVideoEmbed?: (
|
|
1589
|
-
url: string,
|
|
1590
|
-
{
|
|
1591
|
-
width,
|
|
1592
|
-
height
|
|
1593
|
-
}?: {
|
|
1594
|
-
width?: number;
|
|
1595
|
-
height?: number;
|
|
1596
|
-
}
|
|
1597
|
-
) => string;
|
|
1598
|
-
/**
|
|
1599
|
-
* Default width for video iframe. Default: 400
|
|
1600
|
-
*/
|
|
1601
|
-
defaultWidth?: number;
|
|
1602
|
-
/**
|
|
1603
|
-
* Default height for video iframe. Default: 345
|
|
1604
|
-
*/
|
|
1605
|
-
defaultHeight?: number;
|
|
1606
|
-
};
|
|
1607
|
-
}
|
|
1608
|
-
interface Config {
|
|
1609
|
-
wrapNodes: {
|
|
1610
|
-
/**
|
|
1611
|
-
* List of tags that should not be wrapped
|
|
1612
|
-
* Default: `new Set(['hr', 'style', 'br'])`
|
|
1613
|
-
*/
|
|
1614
|
-
exclude: Set<HTMLTagNames>;
|
|
1615
|
-
|
|
1616
|
-
/**
|
|
1617
|
-
* If the editor is empty, then insert an empty paragraph into it
|
|
1618
|
-
* ```javascript
|
|
1619
|
-
* Jodit.make('#editor', {
|
|
1620
|
-
* wrapNodes: {
|
|
1621
|
-
* emptyBlockAfterInit: true
|
|
1622
|
-
* }
|
|
1623
|
-
* });
|
|
1624
|
-
* ```
|
|
1625
|
-
* Default: `true`
|
|
1626
|
-
*/
|
|
1627
|
-
emptyBlockAfterInit: boolean;
|
|
1628
|
-
};
|
|
1629
|
-
}
|
|
1630
|
-
interface Config {
|
|
1631
|
-
showXPathInStatusbar: boolean;
|
|
1632
|
-
}
|