jodit 4.4.3 → 4.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +2 -2
- package/es2015/jodit.min.js +2 -2
- package/es2015/plugins/debug/debug.css +1 -1
- package/es2015/plugins/debug/debug.js +1 -1
- package/es2015/plugins/debug/debug.min.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2018/jodit.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +2 -2
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/debug/debug.css +1 -1
- package/es2018/plugins/debug/debug.js +1 -1
- package/es2018/plugins/debug/debug.min.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +2 -2
- package/es2021/jodit.min.js +2 -2
- package/es2021/plugins/debug/debug.css +1 -1
- package/es2021/plugins/debug/debug.js +1 -1
- package/es2021/plugins/debug/debug.min.js +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021.en/jodit.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +2 -2
- package/es2021.en/jodit.min.js +2 -2
- package/es2021.en/plugins/debug/debug.css +1 -1
- package/es2021.en/plugins/debug/debug.js +1 -1
- package/es2021.en/plugins/debug/debug.min.js +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es5/5.fat.min.js +1 -1
- package/es5/5.min.js +1 -1
- package/es5/975.fat.min.js +1 -1
- package/es5/975.min.js +1 -1
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +2 -2
- package/es5/jodit.min.css +2 -2
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/debug/debug.css +1 -1
- package/es5/plugins/debug/debug.js +1 -1
- package/es5/plugins/debug/debug.min.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/esm/config.d.ts +1 -1
- package/esm/core/async/index.d.ts +1 -1
- package/esm/core/component/index.d.ts +3 -3
- 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/index.d.ts +1 -1
- package/esm/core/decorators/autobind/autobind.d.ts +1 -1
- package/esm/core/decorators/cache/cache.d.ts +2 -2
- package/esm/core/decorators/index.d.ts +11 -11
- package/esm/core/dom/index.d.ts +2 -2
- package/esm/core/dom/lazy-walker.d.ts +1 -1
- package/esm/core/event-emitter/index.d.ts +4 -4
- package/esm/core/global.d.ts +2 -2
- package/esm/core/helpers/array/index.d.ts +3 -3
- package/esm/core/helpers/async/index.d.ts +1 -1
- package/esm/core/helpers/checker/index.d.ts +25 -25
- package/esm/core/helpers/color/index.d.ts +1 -1
- package/esm/core/helpers/html/index.d.ts +6 -6
- package/esm/core/helpers/index.d.ts +9 -9
- package/esm/core/helpers/normalize/index.d.ts +8 -8
- package/esm/core/helpers/size/index.d.ts +6 -6
- package/esm/core/helpers/string/index.d.ts +7 -7
- package/esm/core/helpers/utils/error/errors/abort-error.d.ts +1 -1
- package/esm/core/helpers/utils/error/errors/index.d.ts +3 -3
- package/esm/core/helpers/utils/error/index.d.ts +2 -2
- package/esm/core/helpers/utils/index.d.ts +27 -27
- package/esm/core/plugin/index.d.ts +2 -2
- package/esm/core/plugin/plugin.d.ts +1 -1
- package/esm/core/request/index.d.ts +2 -2
- package/esm/core/selection/helpers/index.d.ts +2 -2
- package/esm/core/selection/index.d.ts +3 -3
- package/esm/core/selection/style/api/index.d.ts +15 -15
- package/esm/core/storage/index.d.ts +3 -3
- 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/index.d.ts +3 -3
- package/esm/core/ui/button/tooltip/tooltip.d.ts +1 -1
- package/esm/core/ui/element.d.ts +3 -3
- 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 +3 -3
- 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/index.d.ts +5 -5
- 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/group/group.d.ts +1 -1
- package/esm/core/ui/group/index.d.ts +4 -4
- package/esm/core/ui/group/list.d.ts +1 -1
- package/esm/core/ui/group/separator.d.ts +1 -1
- package/esm/core/ui/group/spacer.d.ts +1 -1
- package/esm/core/ui/index.d.ts +7 -7
- package/esm/core/ui/popup/index.d.ts +1 -1
- package/esm/core/ui/popup/popup.d.ts +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 +3 -3
- package/esm/index.d.ts +1 -1
- package/esm/jodit.d.ts +4 -4
- package/esm/modules/context-menu/context-menu.d.ts +1 -1
- package/esm/modules/dialog/dialog.d.ts +1 -1
- package/esm/modules/dialog/index.d.ts +4 -4
- package/esm/modules/file-browser/file-browser.d.ts +3 -3
- package/esm/modules/file-browser/index.d.ts +1 -1
- package/esm/modules/file-browser/ui/files/files.d.ts +1 -1
- package/esm/modules/file-browser/ui/index.d.ts +2 -2
- package/esm/modules/file-browser/ui/tree/tree.d.ts +1 -1
- package/esm/modules/history/history.d.ts +3 -3
- package/esm/modules/history/snapshot.d.ts +1 -1
- package/esm/modules/image-editor/image-editor.d.ts +1 -1
- package/esm/modules/index.d.ts +26 -26
- package/esm/modules/messages/message.d.ts +1 -1
- package/esm/modules/messages/messages.d.ts +1 -1
- package/esm/modules/status-bar/status-bar.d.ts +3 -3
- package/esm/modules/table/table.d.ts +1 -1
- package/esm/modules/toolbar/button/button.d.ts +1 -1
- package/esm/modules/toolbar/button/content.d.ts +1 -1
- package/esm/modules/toolbar/button/index.d.ts +3 -3
- package/esm/modules/toolbar/button/select/select.d.ts +1 -1
- package/esm/modules/toolbar/collection/collection.d.ts +1 -1
- package/esm/modules/toolbar/collection/editor-collection.d.ts +1 -1
- package/esm/modules/uploader/helpers/index.d.ts +5 -5
- package/esm/modules/uploader/helpers/send.d.ts +1 -1
- package/esm/modules/uploader/uploader.d.ts +1 -1
- package/esm/modules/widget/index.d.ts +3 -3
- package/esm/modules/widget/tabs/tabs.d.ts +1 -1
- package/esm/plugins/add-new-line/add-new-line.d.ts +1 -1
- package/esm/plugins/ai-assistant/ai-assistant.d.ts +1 -1
- package/esm/plugins/ai-assistant/langs/index.d.ts +2 -2
- package/esm/plugins/ai-assistant/ui/ui-ai-assistant.d.ts +2 -2
- package/esm/plugins/backspace/backspace.d.ts +1 -1
- package/esm/plugins/backspace/cases/index.d.ts +2 -2
- package/esm/plugins/class-span/class-span.d.ts +1 -1
- package/esm/plugins/clean-html/clean-html.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/index.d.ts +4 -4
- package/esm/plugins/clean-html/helpers/visitor/filters/index.d.ts +7 -7
- package/esm/plugins/copy-format/langs/index.d.ts +21 -21
- package/esm/plugins/debug/debug.d.ts +1 -1
- package/esm/plugins/delete/delete.d.ts +1 -1
- package/esm/plugins/drag-and-drop/drag-and-drop.d.ts +1 -1
- package/esm/plugins/drag-and-drop-element/drag-and-drop-element.d.ts +1 -1
- package/esm/plugins/dtd/after-insert/index.d.ts +1 -1
- package/esm/plugins/dtd/before-insert/index.d.ts +1 -1
- package/esm/plugins/enter/enter.d.ts +1 -1
- package/esm/plugins/enter/helpers/index.d.ts +9 -9
- package/esm/plugins/hotkeys/hotkeys.d.ts +1 -1
- package/esm/plugins/image-processor/image-processor.d.ts +1 -1
- package/esm/plugins/image-properties/image-properties.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/inline-popup/inline-popup.d.ts +1 -1
- package/esm/plugins/key-arrow-outside/key-arrow-outside.d.ts +1 -1
- package/esm/plugins/limit/limit.d.ts +1 -1
- package/esm/plugins/line-height/langs/index.d.ts +22 -22
- package/esm/plugins/line-height/line-height.d.ts +1 -1
- package/esm/plugins/link/link.d.ts +1 -1
- package/esm/plugins/ordered-list/ordered-list.d.ts +1 -1
- package/esm/plugins/paste/paste.d.ts +1 -1
- package/esm/plugins/paste-from-word/paste-from-word.d.ts +1 -1
- package/esm/plugins/paste-storage/paste-storage.d.ts +1 -1
- package/esm/plugins/placeholder/placeholder.d.ts +1 -1
- package/esm/plugins/redo-undo/redo-undo.d.ts +1 -1
- package/esm/plugins/resize-cells/resize-cells.d.ts +1 -1
- package/esm/plugins/resize-handler/resize-handler.d.ts +1 -1
- package/esm/plugins/resizer/resizer.d.ts +1 -1
- package/esm/plugins/search/helpers/index.d.ts +2 -2
- package/esm/plugins/search/search.d.ts +2 -2
- package/esm/plugins/search/ui/search.d.ts +1 -1
- package/esm/plugins/select/select.d.ts +1 -1
- package/esm/plugins/select-cells/select-cells.d.ts +1 -1
- package/esm/plugins/size/size.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/engines/index.d.ts +2 -2
- package/esm/plugins/source/source.d.ts +1 -1
- package/esm/plugins/speech-recognize/helpers/recognize-manager.d.ts +1 -1
- package/esm/plugins/speech-recognize/langs/index.d.ts +22 -22
- package/esm/plugins/speech-recognize/speech-recognize.d.ts +1 -1
- package/esm/plugins/spellcheck/langs/index.d.ts +22 -22
- package/esm/plugins/spellcheck/spellcheck.d.ts +1 -1
- package/esm/plugins/stat/stat.d.ts +1 -1
- package/esm/plugins/sticky/sticky.d.ts +1 -1
- package/esm/plugins/symbols/langs/index.d.ts +22 -22
- package/esm/plugins/symbols/symbols.d.ts +1 -1
- package/esm/plugins/tab/cases/index.d.ts +1 -1
- package/esm/types/async.d.ts +1 -1
- package/esm/types/index.d.ts +23 -23
- package/esm/types/jodit.d.ts +1 -1
- package/esm/types/style.d.ts +1 -1
- package/package.json +1 -1
- package/types/config.d.ts +1 -1
- package/types/core/async/index.d.ts +1 -1
- package/types/core/component/index.d.ts +3 -3
- package/types/core/component/view-component.d.ts +1 -1
- package/types/core/constants.d.ts +1 -1
- package/types/core/create/index.d.ts +1 -1
- package/types/core/decorators/autobind/autobind.d.ts +1 -1
- package/types/core/decorators/cache/cache.d.ts +2 -2
- package/types/core/decorators/index.d.ts +11 -11
- package/types/core/dom/index.d.ts +2 -2
- package/types/core/dom/lazy-walker.d.ts +1 -1
- package/types/core/event-emitter/index.d.ts +4 -4
- package/types/core/global.d.ts +2 -2
- package/types/core/helpers/array/index.d.ts +3 -3
- package/types/core/helpers/async/index.d.ts +1 -1
- package/types/core/helpers/checker/index.d.ts +25 -25
- package/types/core/helpers/color/index.d.ts +1 -1
- package/types/core/helpers/html/index.d.ts +6 -6
- package/types/core/helpers/index.d.ts +9 -9
- package/types/core/helpers/normalize/index.d.ts +8 -8
- package/types/core/helpers/size/index.d.ts +6 -6
- package/types/core/helpers/string/index.d.ts +7 -7
- package/types/core/helpers/utils/error/errors/abort-error.d.ts +1 -1
- package/types/core/helpers/utils/error/errors/index.d.ts +3 -3
- package/types/core/helpers/utils/error/index.d.ts +2 -2
- package/types/core/helpers/utils/index.d.ts +27 -27
- package/types/core/plugin/index.d.ts +2 -2
- package/types/core/plugin/plugin.d.ts +1 -1
- package/types/core/request/index.d.ts +2 -2
- package/types/core/selection/helpers/index.d.ts +2 -2
- package/types/core/selection/index.d.ts +3 -3
- package/types/core/selection/style/api/index.d.ts +15 -15
- package/types/core/storage/index.d.ts +3 -3
- 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/index.d.ts +3 -3
- package/types/core/ui/button/tooltip/tooltip.d.ts +1 -1
- package/types/core/ui/element.d.ts +3 -3
- 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 +3 -3
- 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/index.d.ts +5 -5
- 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/group/group.d.ts +1 -1
- package/types/core/ui/group/index.d.ts +4 -4
- package/types/core/ui/group/list.d.ts +1 -1
- package/types/core/ui/group/separator.d.ts +1 -1
- package/types/core/ui/group/spacer.d.ts +1 -1
- package/types/core/ui/index.d.ts +7 -7
- package/types/core/ui/popup/index.d.ts +1 -1
- package/types/core/ui/popup/popup.d.ts +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 +3 -3
- package/types/index.d.ts +1 -1
- package/types/jodit.d.ts +4 -4
- package/types/modules/context-menu/context-menu.d.ts +1 -1
- package/types/modules/dialog/dialog.d.ts +1 -1
- package/types/modules/dialog/index.d.ts +4 -4
- package/types/modules/file-browser/file-browser.d.ts +3 -3
- package/types/modules/file-browser/index.d.ts +1 -1
- package/types/modules/file-browser/ui/files/files.d.ts +1 -1
- package/types/modules/file-browser/ui/index.d.ts +2 -2
- package/types/modules/file-browser/ui/tree/tree.d.ts +1 -1
- package/types/modules/history/history.d.ts +3 -3
- package/types/modules/history/snapshot.d.ts +1 -1
- package/types/modules/image-editor/image-editor.d.ts +1 -1
- package/types/modules/index.d.ts +26 -26
- package/types/modules/messages/message.d.ts +1 -1
- package/types/modules/messages/messages.d.ts +1 -1
- package/types/modules/status-bar/status-bar.d.ts +3 -3
- package/types/modules/table/table.d.ts +1 -1
- package/types/modules/toolbar/button/button.d.ts +1 -1
- package/types/modules/toolbar/button/content.d.ts +1 -1
- package/types/modules/toolbar/button/index.d.ts +3 -3
- package/types/modules/toolbar/button/select/select.d.ts +1 -1
- package/types/modules/toolbar/collection/collection.d.ts +1 -1
- package/types/modules/toolbar/collection/editor-collection.d.ts +1 -1
- package/types/modules/uploader/helpers/index.d.ts +5 -5
- package/types/modules/uploader/helpers/send.d.ts +1 -1
- package/types/modules/uploader/uploader.d.ts +1 -1
- package/types/modules/widget/index.d.ts +3 -3
- package/types/modules/widget/tabs/tabs.d.ts +1 -1
- package/types/plugins/add-new-line/add-new-line.d.ts +1 -1
- package/types/plugins/ai-assistant/ai-assistant.d.ts +1 -1
- package/types/plugins/ai-assistant/langs/index.d.ts +2 -2
- package/types/plugins/ai-assistant/ui/ui-ai-assistant.d.ts +2 -2
- package/types/plugins/backspace/backspace.d.ts +1 -1
- package/types/plugins/backspace/cases/index.d.ts +2 -2
- package/types/plugins/class-span/class-span.d.ts +1 -1
- package/types/plugins/clean-html/clean-html.d.ts +1 -1
- package/types/plugins/clean-html/helpers/index.d.ts +4 -4
- package/types/plugins/clean-html/helpers/visitor/filters/index.d.ts +7 -7
- package/types/plugins/copy-format/langs/index.d.ts +21 -21
- package/types/plugins/debug/debug.d.ts +1 -1
- package/types/plugins/delete/delete.d.ts +1 -1
- package/types/plugins/drag-and-drop/drag-and-drop.d.ts +1 -1
- package/types/plugins/drag-and-drop-element/drag-and-drop-element.d.ts +1 -1
- package/types/plugins/dtd/after-insert/index.d.ts +1 -1
- package/types/plugins/dtd/before-insert/index.d.ts +1 -1
- package/types/plugins/enter/enter.d.ts +1 -1
- package/types/plugins/enter/helpers/index.d.ts +9 -9
- package/types/plugins/hotkeys/hotkeys.d.ts +1 -1
- package/types/plugins/image-processor/image-processor.d.ts +1 -1
- package/types/plugins/image-properties/image-properties.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/inline-popup/inline-popup.d.ts +1 -1
- package/types/plugins/key-arrow-outside/key-arrow-outside.d.ts +1 -1
- package/types/plugins/limit/limit.d.ts +1 -1
- package/types/plugins/line-height/langs/index.d.ts +22 -22
- package/types/plugins/line-height/line-height.d.ts +1 -1
- package/types/plugins/link/link.d.ts +1 -1
- package/types/plugins/ordered-list/ordered-list.d.ts +1 -1
- package/types/plugins/paste/paste.d.ts +1 -1
- package/types/plugins/paste-from-word/paste-from-word.d.ts +1 -1
- package/types/plugins/paste-storage/paste-storage.d.ts +1 -1
- package/types/plugins/placeholder/placeholder.d.ts +1 -1
- package/types/plugins/redo-undo/redo-undo.d.ts +1 -1
- package/types/plugins/resize-cells/resize-cells.d.ts +1 -1
- package/types/plugins/resize-handler/resize-handler.d.ts +1 -1
- package/types/plugins/resizer/resizer.d.ts +1 -1
- package/types/plugins/search/helpers/index.d.ts +2 -2
- package/types/plugins/search/search.d.ts +2 -2
- package/types/plugins/search/ui/search.d.ts +1 -1
- package/types/plugins/select/select.d.ts +1 -1
- package/types/plugins/select-cells/select-cells.d.ts +1 -1
- package/types/plugins/size/size.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/engines/index.d.ts +2 -2
- package/types/plugins/source/source.d.ts +1 -1
- package/types/plugins/speech-recognize/helpers/recognize-manager.d.ts +1 -1
- package/types/plugins/speech-recognize/langs/index.d.ts +22 -22
- package/types/plugins/speech-recognize/speech-recognize.d.ts +1 -1
- package/types/plugins/spellcheck/langs/index.d.ts +22 -22
- package/types/plugins/spellcheck/spellcheck.d.ts +1 -1
- package/types/plugins/stat/stat.d.ts +1 -1
- package/types/plugins/sticky/sticky.d.ts +1 -1
- package/types/plugins/symbols/langs/index.d.ts +22 -22
- package/types/plugins/symbols/symbols.d.ts +1 -1
- package/types/plugins/tab/cases/index.d.ts +1 -1
- package/types/types/async.d.ts +1 -1
- package/types/types/index.d.ts +23 -23
- package/types/types/jodit.d.ts +1 -1
- package/types/types/style.d.ts +1 -1
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
* @module modules/history
|
|
10
10
|
*/
|
|
11
11
|
import type { IDestructible, IHistory, IJodit, ISnapshot, SnapshotType } from "../../types/index.d.ts";
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
12
|
+
import type { ViewComponent } from "../../core/component/index.d.ts";
|
|
13
|
+
import type { Snapshot } from "./snapshot.d.ts";
|
|
14
|
+
import type { Stack } from "./stack.d.ts";
|
|
15
15
|
declare module 'jodit/config' {
|
|
16
16
|
interface Config {
|
|
17
17
|
history: {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @module modules/history
|
|
8
8
|
*/
|
|
9
9
|
import type { IJodit, ISnapshot, SnapshotType } from "../../types/index.d.ts";
|
|
10
|
-
import {
|
|
10
|
+
import type { ViewComponent } from "../../core/component/index.d.ts";
|
|
11
11
|
/**
|
|
12
12
|
* Module for creating snapshot of editor which includes html content and the current selection
|
|
13
13
|
*/
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @module modules/image-editor
|
|
10
10
|
*/
|
|
11
11
|
import type { IDialog, IDlgs, IFileBrowserDataProvider, ImageEditorActionBox, ImageEditorOptions, IViewWithToolbar } from "../../types/index.d.ts";
|
|
12
|
-
import {
|
|
12
|
+
import type { ViewComponent } from "../../core/component/index.d.ts";
|
|
13
13
|
import "./config.d.ts";
|
|
14
14
|
interface onSave {
|
|
15
15
|
(
|
package/types/modules/index.d.ts
CHANGED
|
@@ -8,31 +8,31 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module modules
|
|
10
10
|
*/
|
|
11
|
-
import {
|
|
12
|
-
import * as Helpers from "../core/helpers/index.d.ts";
|
|
11
|
+
import type { Component, STATUSES, ViewComponent } from "../core/component/index.d.ts";
|
|
12
|
+
import type * as Helpers from "../core/helpers/index.d.ts";
|
|
13
13
|
export { Component, STATUSES, ViewComponent };
|
|
14
|
-
export { ContextMenu } from "./context-menu/context-menu.d.ts";
|
|
15
|
-
export * from "./dialog/index.d.ts";
|
|
16
|
-
export * from "./file-browser/index.d.ts";
|
|
17
|
-
export { Async } from "../core/async/index.d.ts";
|
|
18
|
-
export { Create } from "../core/create/index.d.ts";
|
|
19
|
-
export { Dom, LazyWalker } from "../core/dom/index.d.ts";
|
|
20
|
-
export * from "../core/event-emitter/index.d.ts";
|
|
21
|
-
export { Plugin } from "../core/plugin/index.d.ts";
|
|
22
|
-
export * from "../core/request/index.d.ts";
|
|
23
|
-
export * from "../core/ui/index.d.ts";
|
|
24
|
-
export { View } from "../core/view/view.d.ts";
|
|
25
|
-
export { ViewWithToolbar } from "../core/view/view-with-toolbar.d.ts";
|
|
14
|
+
export type { ContextMenu } from "./context-menu/context-menu.d.ts";
|
|
15
|
+
export type * from "./dialog/index.d.ts";
|
|
16
|
+
export type * from "./file-browser/index.d.ts";
|
|
17
|
+
export type { Async } from "../core/async/index.d.ts";
|
|
18
|
+
export type { Create } from "../core/create/index.d.ts";
|
|
19
|
+
export type { Dom, LazyWalker } from "../core/dom/index.d.ts";
|
|
20
|
+
export type * from "../core/event-emitter/index.d.ts";
|
|
21
|
+
export type { Plugin } from "../core/plugin/index.d.ts";
|
|
22
|
+
export type * from "../core/request/index.d.ts";
|
|
23
|
+
export type * from "../core/ui/index.d.ts";
|
|
24
|
+
export type { View } from "../core/view/view.d.ts";
|
|
25
|
+
export type { ViewWithToolbar } from "../core/view/view-with-toolbar.d.ts";
|
|
26
26
|
export { Helpers };
|
|
27
|
-
export { History } from "./history/history.d.ts";
|
|
28
|
-
export { Snapshot } from "./history/snapshot.d.ts";
|
|
29
|
-
export { ImageEditor } from "./image-editor/image-editor.d.ts";
|
|
30
|
-
export { UIMessages } from "./messages/messages.d.ts";
|
|
31
|
-
export { StatusBar } from "./status-bar/status-bar.d.ts";
|
|
32
|
-
export { Table } from "./table/table.d.ts";
|
|
33
|
-
export * from "./toolbar/button/index.d.ts";
|
|
34
|
-
export { ToolbarCollection } from "./toolbar/collection/collection.d.ts";
|
|
35
|
-
export { ToolbarEditorCollection } from "./toolbar/collection/editor-collection.d.ts";
|
|
36
|
-
export { Uploader } from "./uploader/uploader.d.ts";
|
|
37
|
-
export { PluginSystem } from "../core/plugin/plugin-system.d.ts";
|
|
38
|
-
export { CommitStyle, Selection } from "../core/selection/index.d.ts";
|
|
27
|
+
export type { History } from "./history/history.d.ts";
|
|
28
|
+
export type { Snapshot } from "./history/snapshot.d.ts";
|
|
29
|
+
export type { ImageEditor } from "./image-editor/image-editor.d.ts";
|
|
30
|
+
export type { UIMessages } from "./messages/messages.d.ts";
|
|
31
|
+
export type { StatusBar } from "./status-bar/status-bar.d.ts";
|
|
32
|
+
export type { Table } from "./table/table.d.ts";
|
|
33
|
+
export type * from "./toolbar/button/index.d.ts";
|
|
34
|
+
export type { ToolbarCollection } from "./toolbar/collection/collection.d.ts";
|
|
35
|
+
export type { ToolbarEditorCollection } from "./toolbar/collection/editor-collection.d.ts";
|
|
36
|
+
export type { Uploader } from "./uploader/uploader.d.ts";
|
|
37
|
+
export type { PluginSystem } from "../core/plugin/plugin-system.d.ts";
|
|
38
|
+
export type { CommitStyle, Selection } from "../core/selection/index.d.ts";
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @module modules/messages
|
|
8
8
|
*/
|
|
9
9
|
import type { IViewBased, MessageVariant } from "../../types/index.d.ts";
|
|
10
|
-
import {
|
|
10
|
+
import type { UIElement } from "../../core/ui/index.d.ts";
|
|
11
11
|
export declare class UIMessage extends UIElement {
|
|
12
12
|
className(): string;
|
|
13
13
|
constructor(jodit: IViewBased, options: {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @module modules/messages
|
|
10
10
|
*/
|
|
11
11
|
import type { IMessages, IViewBased, MessageVariant } from "../../types/index.d.ts";
|
|
12
|
-
import {
|
|
12
|
+
import type { UIGroup } from "../../core/ui/group/group.d.ts";
|
|
13
13
|
/**
|
|
14
14
|
* Plugin display pop-up messages in the lower right corner of the editor
|
|
15
15
|
*/
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
* @module modules/status-bar
|
|
10
10
|
*/
|
|
11
11
|
import type { IDictionary, IJodit, IStatusBar, ModType } from "../../types/index.d.ts";
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
12
|
+
import type { ViewComponent } from "../../core/component/index.d.ts";
|
|
13
|
+
import type { Elms } from "../../core/traits/elms.d.ts";
|
|
14
|
+
import type { Mods } from "../../core/traits/mods.d.ts";
|
|
15
15
|
export interface StatusBar extends Mods, Elms {
|
|
16
16
|
}
|
|
17
17
|
export declare class StatusBar extends ViewComponent<IJodit> implements IStatusBar {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @module modules/table
|
|
10
10
|
*/
|
|
11
11
|
import type { IJodit } from "../../types/index.d.ts";
|
|
12
|
-
import {
|
|
12
|
+
import type { ViewComponent } from "../../core/component/index.d.ts";
|
|
13
13
|
export declare class Table extends ViewComponent<IJodit> {
|
|
14
14
|
/** @override */
|
|
15
15
|
className(): string;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @module modules/toolbar/button
|
|
10
10
|
*/
|
|
11
11
|
import type { IControlTypeStrong, IToolbarButton, IToolbarCollection, IViewBased, Nullable } from "../../../types/index.d.ts";
|
|
12
|
-
import {
|
|
12
|
+
import type { UIButton } from "../../../core/ui/button/index.d.ts";
|
|
13
13
|
export declare class ToolbarButton<T extends IViewBased = IViewBased> extends UIButton implements IToolbarButton {
|
|
14
14
|
readonly control: IControlTypeStrong;
|
|
15
15
|
readonly target: Nullable<HTMLElement>;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @module modules/toolbar/button
|
|
8
8
|
*/
|
|
9
9
|
import type { IControlTypeContent, IToolbarButton, IViewBased, Nullable } from "../../../types/index.d.ts";
|
|
10
|
-
import {
|
|
10
|
+
import type { UIButton } from "../../../core/ui/button/index.d.ts";
|
|
11
11
|
export declare class ToolbarContent<T extends IViewBased = IViewBased> extends UIButton implements IToolbarButton {
|
|
12
12
|
readonly control: IControlTypeContent;
|
|
13
13
|
readonly target: Nullable<HTMLElement>;
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module modules/toolbar/button
|
|
8
8
|
*/
|
|
9
|
-
export * from "./button.d.ts";
|
|
10
|
-
export * from "./content.d.ts";
|
|
11
|
-
export * from "./select/select.d.ts";
|
|
9
|
+
export type * from "./button.d.ts";
|
|
10
|
+
export type * from "./content.d.ts";
|
|
11
|
+
export type * from "./select/select.d.ts";
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @module modules/toolbar/button
|
|
8
8
|
*/
|
|
9
9
|
import type { IViewBased } from "../../../../types/index.d.ts";
|
|
10
|
-
import {
|
|
10
|
+
import type { ToolbarButton } from "../button.d.ts";
|
|
11
11
|
export declare class ToolbarSelect<T extends IViewBased = IViewBased> extends ToolbarButton<T> {
|
|
12
12
|
className(): string;
|
|
13
13
|
update(): void;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @module modules/toolbar/collection
|
|
10
10
|
*/
|
|
11
11
|
import type { ButtonsGroups, IBound, IControlTypeStrong, IToolbarButton, IToolbarCollection, IUIButton, IViewBased, IViewWithToolbar, Nullable } from "../../../types/index.d.ts";
|
|
12
|
-
import {
|
|
12
|
+
import type { UIList } from "../../../core/ui/index.d.ts";
|
|
13
13
|
export declare class ToolbarCollection<T extends IViewWithToolbar = IViewWithToolbar> extends UIList<T> implements IToolbarCollection {
|
|
14
14
|
/** @override */
|
|
15
15
|
className(): string;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @module modules/toolbar/collection
|
|
8
8
|
*/
|
|
9
9
|
import type { IBound, IJodit, IToolbarButton } from "../../../types/index.d.ts";
|
|
10
|
-
import {
|
|
10
|
+
import type { ToolbarCollection } from "./collection.d.ts";
|
|
11
11
|
export declare class ToolbarEditorCollection extends ToolbarCollection<IJodit> {
|
|
12
12
|
/** @override */
|
|
13
13
|
className(): string;
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
* @module modules/uploader
|
|
8
8
|
*/
|
|
9
9
|
import type { Nullable } from "../../../types/index.d.ts";
|
|
10
|
-
export * from "./build-data.d.ts";
|
|
11
|
-
export * from "./data-uri-to-blob.d.ts";
|
|
12
|
-
export * from "./process-old-browser-drag.d.ts";
|
|
13
|
-
export * from "./send.d.ts";
|
|
14
|
-
export * from "./send-files.d.ts";
|
|
10
|
+
export type * from "./build-data.d.ts";
|
|
11
|
+
export type * from "./data-uri-to-blob.d.ts";
|
|
12
|
+
export type * from "./process-old-browser-drag.d.ts";
|
|
13
|
+
export type * from "./send.d.ts";
|
|
14
|
+
export type * from "./send-files.d.ts";
|
|
15
15
|
export declare function hasFiles(data: Nullable<DataTransfer>): data is DataTransfer;
|
|
16
16
|
export declare function hasItems(data: Nullable<DataTransfer>): data is DataTransfer;
|
|
@@ -7,6 +7,6 @@
|
|
|
7
7
|
* @module modules/uploader
|
|
8
8
|
*/
|
|
9
9
|
import type { IDictionary, IUploader, IUploaderAnswer } from "../../../types/index.d.ts";
|
|
10
|
-
import {
|
|
10
|
+
import type { Ajax } from "../../../core/request/index.d.ts";
|
|
11
11
|
export declare const ajaxInstances: WeakMap<IUploader, Set<Ajax>>;
|
|
12
12
|
export declare function send(uploader: IUploader, data: FormData | IDictionary<string>): Promise<IUploaderAnswer>;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @module modules/uploader
|
|
10
10
|
*/
|
|
11
11
|
import type { HandlerError, HandlerSuccess, IUploader, IUploaderOptions, IViewBased } from "../../types/index.d.ts";
|
|
12
|
-
import {
|
|
12
|
+
import type { ViewComponent } from "../../core/component/index.d.ts";
|
|
13
13
|
import "./config.d.ts";
|
|
14
14
|
export declare class Uploader extends ViewComponent implements IUploader {
|
|
15
15
|
readonly jodit: IViewBased;
|
|
@@ -8,6 +8,6 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module modules/widget
|
|
10
10
|
*/
|
|
11
|
-
export * from "./color-picker/color-picker.d.ts";
|
|
12
|
-
export * from "./file-selector/file-selector.d.ts";
|
|
13
|
-
export * from "./tabs/tabs.d.ts";
|
|
11
|
+
export type * from "./color-picker/color-picker.d.ts";
|
|
12
|
+
export type * from "./file-selector/file-selector.d.ts";
|
|
13
|
+
export type * from "./tabs/tabs.d.ts";
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @module modules/widget/tabs
|
|
10
10
|
*/
|
|
11
11
|
import type { IViewBased } from "../../../types/index.d.ts";
|
|
12
|
-
import {
|
|
12
|
+
import type { UIElement } from "../../../core/ui/index.d.ts";
|
|
13
13
|
export interface TabOption {
|
|
14
14
|
icon?: string;
|
|
15
15
|
name: string;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @module plugins/add-new-line
|
|
10
10
|
*/
|
|
11
11
|
import type { IJodit } from "../../types/index.d.ts";
|
|
12
|
-
import {
|
|
12
|
+
import type { Plugin } from "../../modules/index.d.ts";
|
|
13
13
|
import "./config.d.ts";
|
|
14
14
|
/**
|
|
15
15
|
* Create helper for adding new paragraph(Jodit.defaultOptions.enter tag) before iframe, table or image
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @module plugins/ai-assistant
|
|
10
10
|
*/
|
|
11
11
|
import type { IJodit } from "../../types/index.d.ts";
|
|
12
|
-
import {
|
|
12
|
+
import type { Plugin } from "../../core/plugin/plugin.d.ts";
|
|
13
13
|
import "./config.d.ts";
|
|
14
14
|
/**
|
|
15
15
|
* The plugin inserts content generated by AI into the editor.
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
* @module plugins/ai-assistant
|
|
8
8
|
*/
|
|
9
9
|
import type { IJodit } from "../../../types/index.d.ts";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
10
|
+
import type { UITextArea } from "../../../core/ui/index.d.ts";
|
|
11
|
+
import type { UIElement } from "../../../core/ui/element.d.ts";
|
|
12
12
|
export declare class UiAiAssistant extends UIElement<IJodit> {
|
|
13
13
|
private __body;
|
|
14
14
|
private __buttons;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @module plugins/backspace
|
|
10
10
|
*/
|
|
11
11
|
import type { IJodit } from "../../types/index.d.ts";
|
|
12
|
-
import {
|
|
12
|
+
import type { Plugin } from "../../core/plugin/index.d.ts";
|
|
13
13
|
import "./config.d.ts";
|
|
14
14
|
export declare class backspace extends Plugin {
|
|
15
15
|
static requires: string[];
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import type { checkRemoveChar } from "./check-remove-char.d.ts";
|
|
7
|
+
import type { checkRemoveContentNotEditable } from "./check-remove-content-not-editable.d.ts";
|
|
8
8
|
/**
|
|
9
9
|
* @private
|
|
10
10
|
*/
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @module plugins/class-span
|
|
10
10
|
*/
|
|
11
11
|
import type { IJodit } from "../../types/index.d.ts";
|
|
12
|
-
import {
|
|
12
|
+
import type { Plugin } from "../../core/plugin/index.d.ts";
|
|
13
13
|
/**
|
|
14
14
|
* Applying some className to selected text.
|
|
15
15
|
* @example
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @module plugins/clean-html
|
|
10
10
|
*/
|
|
11
11
|
import type { IJodit } from "../../types/index.d.ts";
|
|
12
|
-
import {
|
|
12
|
+
import type { Plugin } from "../../core/plugin/plugin.d.ts";
|
|
13
13
|
import "./config.d.ts";
|
|
14
14
|
/**
|
|
15
15
|
* Clean HTML after removeFormat and insertHorizontalRule command
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module plugins/clean-html
|
|
8
8
|
*/
|
|
9
|
-
export * from "./get-hash.d.ts";
|
|
10
|
-
export * from "./remove-format/remove-format-for-collapsed-selection.d.ts";
|
|
11
|
-
export * from "./remove-format/remove-format-for-selection.d.ts";
|
|
12
|
-
export * from "./visitor/visit-node-walker.d.ts";
|
|
9
|
+
export type * from "./get-hash.d.ts";
|
|
10
|
+
export type * from "./remove-format/remove-format-for-collapsed-selection.d.ts";
|
|
11
|
+
export type * from "./remove-format/remove-format-for-selection.d.ts";
|
|
12
|
+
export type * from "./visitor/visit-node-walker.d.ts";
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
/**
|
|
10
10
|
* @private
|
|
11
11
|
*/
|
|
12
|
-
export * from "./allow-attributes.d.ts";
|
|
13
|
-
export * from "./fill-empty-paragraph.d.ts";
|
|
14
|
-
export * from "./remove-empty-text-node.d.ts";
|
|
15
|
-
export * from "./remove-inv-text-nodes.d.ts";
|
|
16
|
-
export * from "./replace-old-tags.d.ts";
|
|
17
|
-
export * from "./sanitize-attributes.d.ts";
|
|
18
|
-
export * from "./try-remove-node.d.ts";
|
|
12
|
+
export type * from "./allow-attributes.d.ts";
|
|
13
|
+
export type * from "./fill-empty-paragraph.d.ts";
|
|
14
|
+
export type * from "./remove-empty-text-node.d.ts";
|
|
15
|
+
export type * from "./remove-inv-text-nodes.d.ts";
|
|
16
|
+
export type * from "./replace-old-tags.d.ts";
|
|
17
|
+
export type * from "./sanitize-attributes.d.ts";
|
|
18
|
+
export type * from "./try-remove-node.d.ts";
|
|
@@ -3,25 +3,25 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import ar from "./ar.d.ts";
|
|
7
|
-
import cs_cz from "./cs_cz.d.ts";
|
|
8
|
-
import de from "./de.d.ts";
|
|
9
|
-
import es from "./es.d.ts";
|
|
10
|
-
import fa from "./fa.d.ts";
|
|
11
|
-
import fi from "./fi.d.ts";
|
|
12
|
-
import fr from "./fr.d.ts";
|
|
13
|
-
import he from "./he.d.ts";
|
|
14
|
-
import hu from "./hu.d.ts";
|
|
15
|
-
import id from "./id.d.ts";
|
|
16
|
-
import it from "./it.d.ts";
|
|
17
|
-
import ja from "./ja.d.ts";
|
|
18
|
-
import ko from "./ko.d.ts";
|
|
19
|
-
import mn from "./mn.d.ts";
|
|
20
|
-
import nl from "./nl.d.ts";
|
|
21
|
-
import pl from "./pl.d.ts";
|
|
22
|
-
import pt_br from "./pt_br.d.ts";
|
|
23
|
-
import ru from "./ru.d.ts";
|
|
24
|
-
import tr from "./tr.d.ts";
|
|
25
|
-
import zh_cn from "./zh_cn.d.ts";
|
|
26
|
-
import zh_tw from "./zh_tw.d.ts";
|
|
6
|
+
import type ar from "./ar.d.ts";
|
|
7
|
+
import type cs_cz from "./cs_cz.d.ts";
|
|
8
|
+
import type de from "./de.d.ts";
|
|
9
|
+
import type es from "./es.d.ts";
|
|
10
|
+
import type fa from "./fa.d.ts";
|
|
11
|
+
import type fi from "./fi.d.ts";
|
|
12
|
+
import type fr from "./fr.d.ts";
|
|
13
|
+
import type he from "./he.d.ts";
|
|
14
|
+
import type hu from "./hu.d.ts";
|
|
15
|
+
import type id from "./id.d.ts";
|
|
16
|
+
import type it from "./it.d.ts";
|
|
17
|
+
import type ja from "./ja.d.ts";
|
|
18
|
+
import type ko from "./ko.d.ts";
|
|
19
|
+
import type mn from "./mn.d.ts";
|
|
20
|
+
import type nl from "./nl.d.ts";
|
|
21
|
+
import type pl from "./pl.d.ts";
|
|
22
|
+
import type pt_br from "./pt_br.d.ts";
|
|
23
|
+
import type ru from "./ru.d.ts";
|
|
24
|
+
import type tr from "./tr.d.ts";
|
|
25
|
+
import type zh_cn from "./zh_cn.d.ts";
|
|
26
|
+
import type zh_tw from "./zh_tw.d.ts";
|
|
27
27
|
export { ar, cs_cz, de, es, fa, fi, fr, he, hu, id, it, ja, ko, mn, nl, pl, pt_br, ru, tr, zh_cn, zh_tw };
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @module plugins/debug
|
|
10
10
|
*/
|
|
11
11
|
import type { IJodit } from "../../types/index.d.ts";
|
|
12
|
-
import {
|
|
12
|
+
import type { Plugin } from "../../core/plugin/plugin.d.ts";
|
|
13
13
|
export declare class Debug extends Plugin {
|
|
14
14
|
protected afterInit(jodit: IJodit): void;
|
|
15
15
|
protected beforeDestruct(jodit: IJodit): void;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @module plugins/delete
|
|
10
10
|
*/
|
|
11
11
|
import type { IJodit } from "../../types/index.d.ts";
|
|
12
|
-
import {
|
|
12
|
+
import type { Plugin } from "../../core/plugin/index.d.ts";
|
|
13
13
|
import "./interface.d.ts";
|
|
14
14
|
export declare class deleteCommand extends Plugin {
|
|
15
15
|
static requires: string[];
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
6
|
+
import type { Plugin } from "../../core/plugin/index.d.ts";
|
|
7
7
|
/**
|
|
8
8
|
* Process drag and drop image from FileBrowser and movev image inside the editor
|
|
9
9
|
*/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
6
|
+
import type { Plugin } from "../../core/plugin/index.d.ts";
|
|
7
7
|
import "./config.d.ts";
|
|
8
8
|
/**
|
|
9
9
|
* Process drag and drop image or another element inside the editor
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @module plugins/enter
|
|
10
10
|
*/
|
|
11
11
|
import type { IJodit } from "../../types/index.d.ts";
|
|
12
|
-
import {
|
|
12
|
+
import type { Plugin } from "../../core/plugin/plugin.d.ts";
|
|
13
13
|
import "./interface.d.ts";
|
|
14
14
|
/**
|
|
15
15
|
* One of most important core plugins. It is responsible for all the browsers to have the same effect when the Enter
|
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module plugins/enter
|
|
8
8
|
*/
|
|
9
|
-
export * from "./check-br.d.ts";
|
|
10
|
-
export * from "./check-unsplittable-box.d.ts";
|
|
11
|
-
export * from "./get-block-wrapper.d.ts";
|
|
12
|
-
export * from "./has-previous-block.d.ts";
|
|
13
|
-
export * from "./insert-paragraph.d.ts";
|
|
14
|
-
export * from "./move-cursor-out-from-specal-tags.d.ts";
|
|
15
|
-
export * from "./process-empty-li-leaf.d.ts";
|
|
16
|
-
export * from "./split-fragment.d.ts";
|
|
17
|
-
export * from "./wrap-text.d.ts";
|
|
9
|
+
export type * from "./check-br.d.ts";
|
|
10
|
+
export type * from "./check-unsplittable-box.d.ts";
|
|
11
|
+
export type * from "./get-block-wrapper.d.ts";
|
|
12
|
+
export type * from "./has-previous-block.d.ts";
|
|
13
|
+
export type * from "./insert-paragraph.d.ts";
|
|
14
|
+
export type * from "./move-cursor-out-from-specal-tags.d.ts";
|
|
15
|
+
export type * from "./process-empty-li-leaf.d.ts";
|
|
16
|
+
export type * from "./split-fragment.d.ts";
|
|
17
|
+
export type * from "./wrap-text.d.ts";
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @module plugins/hotkeys
|
|
10
10
|
*/
|
|
11
11
|
import type { IJodit } from "../../types/index.d.ts";
|
|
12
|
-
import {
|
|
12
|
+
import type { Plugin } from "../../core/plugin/index.d.ts";
|
|
13
13
|
import "./config.d.ts";
|
|
14
14
|
/**
|
|
15
15
|
* Allow set hotkey for command or button
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @module plugins/image-processor
|
|
10
10
|
*/
|
|
11
11
|
import type { IJodit } from "../../types/index.d.ts";
|
|
12
|
-
import {
|
|
12
|
+
import type { Plugin } from "../../core/plugin/index.d.ts";
|
|
13
13
|
import "./config.d.ts";
|
|
14
14
|
/**
|
|
15
15
|
* Change editor's size after load all images
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @module plugins/image-properties
|
|
10
10
|
*/
|
|
11
11
|
import type { IJodit } from "../../types/index.d.ts";
|
|
12
|
-
import {
|
|
12
|
+
import type { Plugin } from "../../core/plugin/plugin.d.ts";
|
|
13
13
|
import "./config.d.ts";
|
|
14
14
|
import type { ImagePropertiesState } from "./interface.d.ts";
|
|
15
15
|
/**
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @module plugins/image-properties
|
|
8
8
|
*/
|
|
9
9
|
import type { IComponent, IContainer, IElms, IJodit, Nullable } from "../../../types/index.d.ts";
|
|
10
|
-
import {
|
|
10
|
+
import type { UIGroup } from "../../../core/ui/group/group.d.ts";
|
|
11
11
|
import type { ImagePropertiesAPI, ImagePropertiesState } from "../interface.d.ts";
|
|
12
12
|
/** @private */
|
|
13
13
|
export declare class UIImagePropertiesForm extends UIGroup<IJodit> {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @module plugins/image-properties
|
|
8
8
|
*/
|
|
9
9
|
import type { IJodit } from "../../../types/index.d.ts";
|
|
10
|
-
import {
|
|
10
|
+
import type { UIGroup } from "../../../core/ui/group/group.d.ts";
|
|
11
11
|
import type { ImagePropertiesAPI, ImagePropertiesState } from "../interface.d.ts";
|
|
12
12
|
/** @private */
|
|
13
13
|
export declare class UIImageMainTab extends UIGroup<IJodit> {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @module plugins/image-properties
|
|
8
8
|
*/
|
|
9
9
|
import type { IJodit } from "../../../types/index.d.ts";
|
|
10
|
-
import {
|
|
10
|
+
import type { UIElement } from "../../../core/ui/element.d.ts";
|
|
11
11
|
import type { ImagePropertiesAPI, ImagePropertiesState } from "../interface.d.ts";
|
|
12
12
|
/** @private */
|
|
13
13
|
export declare class UIImagePositionTab extends UIElement<IJodit> {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @module plugins/inline-popup
|
|
10
10
|
*/
|
|
11
11
|
import type { IJodit } from "../../types/index.d.ts";
|
|
12
|
-
import {
|
|
12
|
+
import type { Plugin } from "../../core/plugin/index.d.ts";
|
|
13
13
|
import "./config/config.d.ts";
|
|
14
14
|
/**
|
|
15
15
|
* Plugin for show inline popup dialog
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @module plugins/key-arrow-outside
|
|
10
10
|
*/
|
|
11
11
|
import type { IJodit } from "../../types/index.d.ts";
|
|
12
|
-
import {
|
|
12
|
+
import type { Plugin } from "../../core/plugin/index.d.ts";
|
|
13
13
|
/**
|
|
14
14
|
* Allowing to go outside of an inline element if there is no other element after that.
|
|
15
15
|
*/
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @module plugins/limit
|
|
10
10
|
*/
|
|
11
11
|
import type { IJodit } from "../../types/index.d.ts";
|
|
12
|
-
import {
|
|
12
|
+
import type { Plugin } from "../../core/plugin/index.d.ts";
|
|
13
13
|
import "./config.d.ts";
|
|
14
14
|
/**
|
|
15
15
|
* Plugin control for chars or words count
|