jodit 4.2.50 → 4.3.2
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/CHANGELOG.md +27 -0
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +238 -108
- 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 +239 -108
- 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 +237 -107
- 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 +237 -107
- 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/164.fat.min.js +1 -1
- package/es5/164.min.js +1 -1
- package/es5/5.fat.min.js +1 -1
- package/es5/5.min.js +1 -1
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +241 -109
- 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 +4 -0
- package/esm/config.js +4 -0
- 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.js +1 -1
- package/esm/core/create/index.d.ts +1 -1
- package/esm/core/decorators/cache/cache.d.ts +100 -0
- package/esm/core/decorators/cache/cache.js +106 -0
- 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 +7 -2
- package/esm/core/global.js +15 -13
- package/esm/core/helpers/array/index.d.ts +3 -3
- package/esm/core/helpers/async/index.d.ts +1 -1
- package/esm/core/helpers/checker/index.d.ts +25 -25
- package/esm/core/helpers/checker/is-abort-error.d.ts +1 -1
- package/esm/core/helpers/color/index.d.ts +1 -1
- package/esm/core/helpers/html/index.d.ts +6 -6
- package/esm/core/helpers/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 +1 -1
- package/esm/core/helpers/utils/index.d.ts +26 -26
- package/esm/core/helpers/utils/selector.d.ts +5 -1
- package/esm/core/helpers/utils/selector.js +3 -0
- package/esm/core/plugin/index.d.ts +2 -2
- package/esm/core/plugin/plugin-system.d.ts +1 -1
- package/esm/core/request/ajax.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/selection.d.ts +1 -1
- package/esm/core/selection/style/api/index.d.ts +15 -15
- package/esm/core/storage/index.d.ts +3 -3
- package/esm/core/traits/dlgs.js +3 -0
- package/esm/core/ui/button/button/button.d.ts +1 -2
- package/esm/core/ui/button/group/group.d.ts +1 -2
- package/esm/core/ui/button/index.d.ts +3 -3
- package/esm/core/ui/button/tooltip/tooltip.d.ts +1 -2
- package/esm/core/ui/element.d.ts +2 -2
- package/esm/core/ui/form/block/block.d.ts +1 -2
- package/esm/core/ui/form/form.d.ts +1 -1
- package/esm/core/ui/form/index.d.ts +2 -2
- package/esm/core/ui/form/inputs/area/area.d.ts +1 -2
- package/esm/core/ui/form/inputs/checkbox/checkbox.d.ts +1 -2
- package/esm/core/ui/form/inputs/file/file.d.ts +1 -2
- package/esm/core/ui/form/inputs/index.d.ts +5 -5
- package/esm/core/ui/form/inputs/input/input.d.ts +1 -2
- package/esm/core/ui/form/inputs/select/select.d.ts +1 -2
- package/esm/core/ui/form/validators/index.d.ts +2 -2
- package/esm/core/ui/group/group.d.ts +1 -2
- package/esm/core/ui/group/index.d.ts +4 -4
- package/esm/core/ui/group/list.d.ts +1 -2
- package/esm/core/ui/group/separator.d.ts +1 -1
- package/esm/core/ui/group/spacer.d.ts +1 -1
- package/esm/core/ui/index.d.ts +3 -3
- package/esm/core/ui/popup/index.d.ts +1 -1
- package/esm/core/ui/popup/popup.d.ts +1 -2
- package/esm/core/ui/progress-bar/progress-bar.d.ts +1 -2
- package/esm/core/view/view-with-toolbar.d.ts +1 -2
- package/esm/core/view/view.d.ts +3 -3
- package/esm/core/view/view.js +4 -6
- package/esm/index.d.ts +2 -4
- package/esm/jodit.d.ts +3 -3
- package/esm/jodit.js +5 -5
- package/esm/modules/context-menu/context-menu.d.ts +1 -2
- package/esm/modules/dialog/dialog.d.ts +9 -10
- package/esm/modules/dialog/dialog.js +37 -30
- package/esm/modules/dialog/index.d.ts +4 -4
- package/esm/modules/file-browser/config.d.ts +1 -1
- package/esm/modules/file-browser/file-browser.d.ts +3 -4
- package/esm/modules/file-browser/file-browser.js +2 -2
- package/esm/modules/file-browser/index.d.ts +1 -1
- package/esm/modules/file-browser/ui/files/files.d.ts +0 -1
- package/esm/modules/file-browser/ui/index.d.ts +2 -2
- package/esm/modules/file-browser/ui/tree/tree.d.ts +0 -1
- package/esm/modules/history/command.d.ts +1 -1
- package/esm/modules/history/history.d.ts +2 -2
- package/esm/modules/history/stack.d.ts +1 -1
- package/esm/modules/image-editor/icons/crop.svg.js +1 -1
- package/esm/modules/image-editor/icons/resize.svg.js +1 -1
- package/esm/modules/image-editor/image-editor.d.ts +1 -2
- package/esm/modules/index.d.ts +13 -13
- package/esm/modules/messages/messages.d.ts +1 -2
- package/esm/modules/status-bar/status-bar.d.ts +2 -3
- package/esm/modules/toolbar/button/button.d.ts +0 -1
- package/esm/modules/toolbar/button/content.d.ts +0 -1
- package/esm/modules/toolbar/button/index.d.ts +3 -3
- package/esm/modules/toolbar/button/select/select.d.ts +1 -2
- package/esm/modules/toolbar/collection/collection.d.ts +0 -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/uploader.d.ts +1 -2
- package/esm/modules/widget/color-picker/color-picker.d.ts +0 -1
- package/esm/modules/widget/color-picker/palette.svg.js +1 -1
- package/esm/modules/widget/index.d.ts +3 -3
- package/esm/modules/widget/tabs/tabs.d.ts +0 -1
- package/esm/plugins/about/about.d.ts +0 -1
- package/esm/plugins/about/about.svg.js +1 -1
- package/esm/plugins/add-new-line/add-new-line.d.ts +1 -2
- package/esm/plugins/add-new-line/enter.svg.js +1 -1
- package/esm/plugins/ai-assistant/ai-assistant.d.ts +2 -2
- package/esm/plugins/ai-assistant/ai-assistant.svg.js +1 -1
- package/esm/plugins/ai-assistant/chat-bot.svg.js +1 -1
- package/esm/plugins/ai-assistant/langs/index.d.ts +2 -2
- package/esm/plugins/ai-assistant/ui/ui-ai-assistant.d.ts +1 -2
- package/esm/plugins/backspace/backspace.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-remove-char.d.ts +1 -1
- package/esm/plugins/backspace/cases/index.d.ts +2 -2
- package/esm/plugins/bold/bold.d.ts +2 -2
- package/esm/plugins/bold/icons/bold.svg.js +1 -1
- package/esm/plugins/bold/icons/italic.svg.js +1 -1
- package/esm/plugins/bold/icons/strikethrough.svg.js +1 -1
- package/esm/plugins/bold/icons/subscript.svg.js +1 -1
- package/esm/plugins/bold/icons/superscript.svg.js +1 -1
- package/esm/plugins/bold/icons/underline.svg.js +1 -1
- package/esm/plugins/class-span/class-span.svg.js +1 -1
- package/esm/plugins/clean-html/clean-html.d.ts +2 -2
- package/esm/plugins/clean-html/eraser.svg.js +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/clipboard/clipboard.d.ts +1 -1
- package/esm/plugins/clipboard/clipboard.js +2 -1
- package/esm/plugins/clipboard/icons/copy.svg.js +1 -1
- package/esm/plugins/clipboard/icons/cut.svg.js +1 -1
- package/esm/plugins/clipboard/icons/paste.svg.js +1 -1
- package/esm/plugins/clipboard/icons/select-all.svg.js +1 -1
- package/esm/plugins/color/brush.svg.js +1 -1
- package/esm/plugins/color/color.d.ts +1 -1
- package/esm/plugins/copy-format/copy-format.svg.js +1 -1
- package/esm/plugins/copy-format/langs/index.d.ts +21 -21
- package/esm/plugins/debug/debug.d.ts +1 -2
- package/esm/plugins/delete/delete.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/dtd/dtd.d.ts +1 -1
- package/esm/plugins/enter/enter.d.ts +2 -2
- package/esm/plugins/enter/helpers/index.d.ts +9 -9
- package/esm/plugins/font/font.d.ts +1 -1
- package/esm/plugins/font/icons/font.svg.js +1 -1
- package/esm/plugins/font/icons/fontsize.svg.js +1 -1
- package/esm/plugins/format-block/format-block.d.ts +1 -1
- package/esm/plugins/format-block/paragraph.svg.js +1 -1
- package/esm/plugins/fullsize/config.d.ts +0 -1
- package/esm/plugins/fullsize/fullsize.d.ts +1 -2
- package/esm/plugins/fullsize/icons/fullsize.svg.js +1 -1
- package/esm/plugins/fullsize/icons/shrink.svg.js +1 -1
- package/esm/plugins/hotkeys/hotkeys.d.ts +1 -1
- package/esm/plugins/hr/hr.svg.js +1 -1
- package/esm/plugins/iframe/iframe.d.ts +1 -1
- package/esm/plugins/image/image.svg.js +1 -1
- package/esm/plugins/image-processor/image-processor.d.ts +1 -1
- package/esm/plugins/image-processor/image-processor.js +5 -4
- package/esm/plugins/image-properties/config.d.ts +1 -1
- package/esm/plugins/image-properties/image-properties.d.ts +3 -3
- package/esm/plugins/image-properties/readers/align.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/readers/margin.d.ts +1 -1
- package/esm/plugins/image-properties/readers/size.d.ts +1 -1
- package/esm/plugins/image-properties/ui/ui-image-form.d.ts +2 -3
- package/esm/plugins/image-properties/ui/ui-image-main-tab.d.ts +2 -2
- package/esm/plugins/image-properties/ui/ui-image-position-tab.d.ts +2 -2
- package/esm/plugins/image-properties/utils/open-image-editor.d.ts +1 -1
- package/esm/plugins/image-properties/utils/open-image-popup.d.ts +1 -1
- package/esm/plugins/image-properties/writers/index.d.ts +1 -1
- package/esm/plugins/indent/icons/indent.svg.js +1 -1
- package/esm/plugins/indent/icons/outdent.svg.js +1 -1
- package/esm/plugins/indent/indent.d.ts +1 -1
- package/esm/plugins/index.d.ts +62 -62
- package/esm/plugins/inline-popup/icons/addcolumn.svg.js +1 -1
- package/esm/plugins/inline-popup/icons/addrow.svg.js +1 -1
- package/esm/plugins/inline-popup/icons/merge.svg.js +1 -1
- package/esm/plugins/inline-popup/icons/splitg.svg.js +1 -1
- package/esm/plugins/inline-popup/icons/splitv.svg.js +1 -1
- package/esm/plugins/inline-popup/icons/th-list.svg.js +1 -1
- package/esm/plugins/inline-popup/icons/th.svg.js +1 -1
- package/esm/plugins/inline-popup/inline-popup.d.ts +1 -2
- package/esm/plugins/justify/justify.svg.js +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/line-height/line-height.svg.js +1 -1
- package/esm/plugins/link/icons/link.svg.js +1 -1
- package/esm/plugins/link/icons/unlink.svg.js +1 -1
- package/esm/plugins/link/link.d.ts +1 -1
- package/esm/plugins/media/media.d.ts +1 -1
- package/esm/plugins/mobile/mobile.d.ts +1 -1
- package/esm/plugins/ordered-list/icons/ol.svg.js +1 -1
- package/esm/plugins/ordered-list/icons/ul.svg.js +1 -1
- package/esm/plugins/ordered-list/ordered-list.d.ts +1 -1
- package/esm/plugins/paste/helpers.d.ts +1 -1
- package/esm/plugins/paste/paste.d.ts +2 -2
- package/esm/plugins/paste-from-word/paste-from-word.d.ts +2 -2
- package/esm/plugins/paste-storage/paste-storage.d.ts +1 -2
- package/esm/plugins/placeholder/placeholder.d.ts +2 -3
- package/esm/plugins/preview/preview.d.ts +0 -1
- package/esm/plugins/print/print.svg.js +1 -1
- package/esm/plugins/redo-undo/icons/redo.svg.js +1 -1
- package/esm/plugins/redo-undo/icons/undo.svg.js +1 -1
- package/esm/plugins/redo-undo/redo-undo.d.ts +1 -1
- package/esm/plugins/resize-cells/resize-cells.d.ts +1 -2
- package/esm/plugins/resize-handler/resize-handler.d.ts +1 -1
- package/esm/plugins/resizer/resizer.d.ts +2 -3
- package/esm/plugins/search/config.d.ts +1 -1
- package/esm/plugins/search/helpers/index.d.ts +2 -2
- package/esm/plugins/search/search.d.ts +1 -1
- package/esm/plugins/search/search.js +2 -2
- package/esm/plugins/search/search.svg.js +1 -1
- package/esm/plugins/search/ui/search.d.ts +0 -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 +2 -3
- 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 -2
- package/esm/plugins/source/source.svg.js +1 -1
- package/esm/plugins/speech-recognize/config.d.ts +1 -1
- package/esm/plugins/speech-recognize/helpers/api.d.ts +1 -1
- package/esm/plugins/speech-recognize/helpers/recognize-manager.d.ts +2 -2
- package/esm/plugins/speech-recognize/langs/index.d.ts +22 -22
- package/esm/plugins/speech-recognize/speech-recognize.d.ts +1 -2
- package/esm/plugins/speech-recognize/speech-recognize.svg.js +1 -1
- package/esm/plugins/spellcheck/langs/index.d.ts +22 -22
- package/esm/plugins/spellcheck/spellcheck.d.ts +1 -1
- package/esm/plugins/spellcheck/spellcheck.svg.js +1 -1
- package/esm/plugins/stat/stat.d.ts +2 -2
- package/esm/plugins/sticky/sticky.d.ts +2 -3
- package/esm/plugins/symbols/langs/index.d.ts +22 -22
- package/esm/plugins/symbols/symbols.d.ts +2 -3
- package/esm/plugins/symbols/symbols.svg.js +1 -1
- package/esm/plugins/tab/cases/index.d.ts +1 -1
- package/esm/plugins/tab/tab.d.ts +1 -1
- package/esm/plugins/table/table.d.ts +1 -2
- package/esm/plugins/table/table.svg.js +1 -1
- package/esm/plugins/video/video.d.ts +1 -1
- package/esm/plugins/video/video.svg.js +1 -1
- package/esm/plugins/wrap-nodes/wrap-nodes.d.ts +1 -1
- package/esm/plugins/xpath/xpath.d.ts +1 -2
- package/esm/polyfills.js +3 -3
- package/esm/styles/icons/angle-down.svg.js +1 -1
- package/esm/styles/icons/angle-left.svg.js +1 -1
- package/esm/styles/icons/angle-right.svg.js +1 -1
- package/esm/styles/icons/angle-up.svg.js +1 -1
- package/esm/styles/icons/bin.svg.js +1 -1
- package/esm/styles/icons/cancel.svg.js +1 -1
- package/esm/styles/icons/center.svg.js +1 -1
- package/esm/styles/icons/check.svg.js +1 -1
- package/esm/styles/icons/chevron.svg.js +1 -1
- package/esm/styles/icons/dots.svg.js +1 -1
- package/esm/styles/icons/eye.svg.js +1 -1
- package/esm/styles/icons/file.svg.js +1 -1
- package/esm/styles/icons/folder.svg.js +1 -1
- package/esm/styles/icons/index.d.ts +0 -27
- package/esm/styles/icons/info-circle.svg.js +1 -1
- package/esm/styles/icons/left.svg.js +1 -1
- package/esm/styles/icons/lock.svg.js +1 -1
- package/esm/styles/icons/ok.svg.js +1 -1
- package/esm/styles/icons/pencil.svg.js +1 -1
- package/esm/styles/icons/pins.svg.js +1 -1
- package/esm/styles/icons/plus.svg.js +1 -1
- package/esm/styles/icons/resize-handler.svg.js +1 -1
- package/esm/styles/icons/right.svg.js +1 -1
- package/esm/styles/icons/save.svg.js +1 -1
- package/esm/styles/icons/settings.svg.js +1 -1
- package/esm/styles/icons/unlock.svg.js +1 -1
- package/esm/styles/icons/update.svg.js +1 -1
- package/esm/styles/icons/upload.svg.js +1 -1
- package/esm/styles/icons/valign.svg.js +1 -1
- package/esm/types/ajax.d.ts +1 -1
- package/esm/types/async.d.ts +2 -2
- package/esm/types/context.d.ts +2 -2
- package/esm/types/core.d.ts +1 -1
- package/esm/types/create.d.ts +1 -1
- package/esm/types/dialog.d.ts +3 -3
- package/esm/types/events.d.ts +1 -1
- package/esm/types/file-browser.d.ts +7 -7
- package/esm/types/history.d.ts +1 -1
- package/esm/types/index.d.ts +23 -23
- package/esm/types/jodit.d.ts +5 -5
- package/esm/types/messages.d.ts +1 -1
- package/esm/types/plugin.d.ts +3 -3
- package/esm/types/popup.d.ts +2 -2
- package/esm/types/select.d.ts +2 -2
- package/esm/types/source.d.ts +1 -1
- package/esm/types/style.d.ts +2 -2
- package/esm/types/toolbar.d.ts +6 -6
- package/esm/types/traits.d.ts +2 -2
- package/esm/types/types.d.ts +2 -2
- package/esm/types/ui.d.ts +5 -5
- package/esm/types/uploader.d.ts +3 -3
- package/esm/types/view.d.ts +10 -9
- package/package.json +1 -1
- package/types/config.d.ts +4 -0
- 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/create/index.d.ts +1 -1
- package/types/core/decorators/cache/cache.d.ts +100 -0
- 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 +7 -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/checker/is-abort-error.d.ts +1 -1
- package/types/core/helpers/color/index.d.ts +1 -1
- package/types/core/helpers/html/index.d.ts +6 -6
- package/types/core/helpers/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 +1 -1
- package/types/core/helpers/utils/index.d.ts +26 -26
- package/types/core/helpers/utils/selector.d.ts +5 -1
- package/types/core/plugin/index.d.ts +2 -2
- package/types/core/plugin/plugin-system.d.ts +1 -1
- package/types/core/request/ajax.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/selection.d.ts +1 -1
- 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 -2
- package/types/core/ui/button/group/group.d.ts +1 -2
- package/types/core/ui/button/index.d.ts +3 -3
- package/types/core/ui/button/tooltip/tooltip.d.ts +1 -2
- package/types/core/ui/element.d.ts +2 -2
- package/types/core/ui/form/block/block.d.ts +1 -2
- package/types/core/ui/form/form.d.ts +1 -1
- package/types/core/ui/form/index.d.ts +2 -2
- package/types/core/ui/form/inputs/area/area.d.ts +1 -2
- package/types/core/ui/form/inputs/checkbox/checkbox.d.ts +1 -2
- package/types/core/ui/form/inputs/file/file.d.ts +1 -2
- package/types/core/ui/form/inputs/index.d.ts +5 -5
- package/types/core/ui/form/inputs/input/input.d.ts +1 -2
- package/types/core/ui/form/inputs/select/select.d.ts +1 -2
- package/types/core/ui/form/validators/index.d.ts +2 -2
- package/types/core/ui/group/group.d.ts +1 -2
- package/types/core/ui/group/index.d.ts +4 -4
- package/types/core/ui/group/list.d.ts +1 -2
- package/types/core/ui/group/separator.d.ts +1 -1
- package/types/core/ui/group/spacer.d.ts +1 -1
- package/types/core/ui/index.d.ts +3 -3
- package/types/core/ui/popup/index.d.ts +1 -1
- package/types/core/ui/popup/popup.d.ts +1 -2
- package/types/core/ui/progress-bar/progress-bar.d.ts +1 -2
- package/types/core/view/view-with-toolbar.d.ts +1 -2
- package/types/core/view/view.d.ts +3 -3
- package/types/index.d.ts +2 -4
- package/types/jodit.d.ts +3 -3
- package/types/modules/context-menu/context-menu.d.ts +1 -2
- package/types/modules/dialog/dialog.d.ts +9 -10
- package/types/modules/dialog/index.d.ts +4 -4
- package/types/modules/file-browser/config.d.ts +1 -1
- package/types/modules/file-browser/file-browser.d.ts +3 -4
- package/types/modules/file-browser/index.d.ts +1 -1
- package/types/modules/file-browser/ui/files/files.d.ts +0 -1
- package/types/modules/file-browser/ui/index.d.ts +2 -2
- package/types/modules/file-browser/ui/tree/tree.d.ts +0 -1
- package/types/modules/history/command.d.ts +1 -1
- package/types/modules/history/history.d.ts +2 -2
- package/types/modules/history/stack.d.ts +1 -1
- package/types/modules/image-editor/image-editor.d.ts +1 -2
- package/types/modules/index.d.ts +13 -13
- package/types/modules/messages/messages.d.ts +1 -2
- package/types/modules/status-bar/status-bar.d.ts +2 -3
- package/types/modules/toolbar/button/button.d.ts +0 -1
- package/types/modules/toolbar/button/content.d.ts +0 -1
- package/types/modules/toolbar/button/index.d.ts +3 -3
- package/types/modules/toolbar/button/select/select.d.ts +1 -2
- package/types/modules/toolbar/collection/collection.d.ts +0 -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/uploader.d.ts +1 -2
- package/types/modules/widget/color-picker/color-picker.d.ts +0 -1
- package/types/modules/widget/index.d.ts +3 -3
- package/types/modules/widget/tabs/tabs.d.ts +0 -1
- package/types/plugins/about/about.d.ts +0 -1
- package/types/plugins/add-new-line/add-new-line.d.ts +1 -2
- package/types/plugins/ai-assistant/ai-assistant.d.ts +2 -2
- package/types/plugins/ai-assistant/langs/index.d.ts +2 -2
- package/types/plugins/ai-assistant/ui/ui-ai-assistant.d.ts +1 -2
- package/types/plugins/backspace/backspace.d.ts +1 -1
- package/types/plugins/backspace/cases/check-remove-char.d.ts +1 -1
- package/types/plugins/backspace/cases/index.d.ts +2 -2
- package/types/plugins/bold/bold.d.ts +2 -2
- package/types/plugins/clean-html/clean-html.d.ts +2 -2
- 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/clipboard/clipboard.d.ts +1 -1
- package/types/plugins/color/color.d.ts +1 -1
- package/types/plugins/copy-format/langs/index.d.ts +21 -21
- package/types/plugins/debug/debug.d.ts +1 -2
- package/types/plugins/delete/delete.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/dtd/dtd.d.ts +1 -1
- package/types/plugins/enter/enter.d.ts +2 -2
- package/types/plugins/enter/helpers/index.d.ts +9 -9
- package/types/plugins/font/font.d.ts +1 -1
- package/types/plugins/format-block/format-block.d.ts +1 -1
- package/types/plugins/fullsize/config.d.ts +0 -1
- package/types/plugins/fullsize/fullsize.d.ts +1 -2
- package/types/plugins/hotkeys/hotkeys.d.ts +1 -1
- package/types/plugins/iframe/iframe.d.ts +1 -1
- package/types/plugins/image-processor/image-processor.d.ts +1 -1
- package/types/plugins/image-properties/config.d.ts +1 -1
- package/types/plugins/image-properties/image-properties.d.ts +3 -3
- package/types/plugins/image-properties/readers/align.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/readers/margin.d.ts +1 -1
- package/types/plugins/image-properties/readers/size.d.ts +1 -1
- package/types/plugins/image-properties/ui/ui-image-form.d.ts +2 -3
- package/types/plugins/image-properties/ui/ui-image-main-tab.d.ts +2 -2
- package/types/plugins/image-properties/ui/ui-image-position-tab.d.ts +2 -2
- package/types/plugins/image-properties/utils/open-image-editor.d.ts +1 -1
- package/types/plugins/image-properties/utils/open-image-popup.d.ts +1 -1
- package/types/plugins/image-properties/writers/index.d.ts +1 -1
- package/types/plugins/indent/indent.d.ts +1 -1
- package/types/plugins/index.d.ts +62 -62
- package/types/plugins/inline-popup/inline-popup.d.ts +1 -2
- 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/media/media.d.ts +1 -1
- package/types/plugins/mobile/mobile.d.ts +1 -1
- package/types/plugins/ordered-list/ordered-list.d.ts +1 -1
- package/types/plugins/paste/helpers.d.ts +1 -1
- package/types/plugins/paste/paste.d.ts +2 -2
- package/types/plugins/paste-from-word/paste-from-word.d.ts +2 -2
- package/types/plugins/paste-storage/paste-storage.d.ts +1 -2
- package/types/plugins/placeholder/placeholder.d.ts +2 -3
- package/types/plugins/preview/preview.d.ts +0 -1
- package/types/plugins/redo-undo/redo-undo.d.ts +1 -1
- package/types/plugins/resize-cells/resize-cells.d.ts +1 -2
- package/types/plugins/resize-handler/resize-handler.d.ts +1 -1
- package/types/plugins/resizer/resizer.d.ts +2 -3
- package/types/plugins/search/config.d.ts +1 -1
- package/types/plugins/search/helpers/index.d.ts +2 -2
- package/types/plugins/search/search.d.ts +1 -1
- package/types/plugins/search/ui/search.d.ts +0 -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 +2 -3
- 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 -2
- package/types/plugins/speech-recognize/config.d.ts +1 -1
- package/types/plugins/speech-recognize/helpers/api.d.ts +1 -1
- package/types/plugins/speech-recognize/helpers/recognize-manager.d.ts +2 -2
- package/types/plugins/speech-recognize/langs/index.d.ts +22 -22
- package/types/plugins/speech-recognize/speech-recognize.d.ts +1 -2
- 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 +2 -2
- package/types/plugins/sticky/sticky.d.ts +2 -3
- package/types/plugins/symbols/langs/index.d.ts +22 -22
- package/types/plugins/symbols/symbols.d.ts +2 -3
- package/types/plugins/tab/cases/index.d.ts +1 -1
- package/types/plugins/tab/tab.d.ts +1 -1
- package/types/plugins/table/table.d.ts +1 -2
- package/types/plugins/video/video.d.ts +1 -1
- package/types/plugins/wrap-nodes/wrap-nodes.d.ts +1 -1
- package/types/plugins/xpath/xpath.d.ts +1 -2
- package/types/styles/icons/index.d.ts +0 -27
- package/types/types/ajax.d.ts +1 -1
- package/types/types/async.d.ts +2 -2
- package/types/types/context.d.ts +2 -2
- package/types/types/core.d.ts +1 -1
- package/types/types/create.d.ts +1 -1
- package/types/types/dialog.d.ts +3 -3
- package/types/types/events.d.ts +1 -1
- package/types/types/file-browser.d.ts +7 -7
- package/types/types/history.d.ts +1 -1
- package/types/types/index.d.ts +23 -23
- package/types/types/jodit.d.ts +5 -5
- package/types/types/messages.d.ts +1 -1
- package/types/types/plugin.d.ts +3 -3
- package/types/types/popup.d.ts +2 -2
- package/types/types/select.d.ts +2 -2
- package/types/types/source.d.ts +1 -1
- package/types/types/style.d.ts +2 -2
- package/types/types/toolbar.d.ts +6 -6
- package/types/types/traits.d.ts +2 -2
- package/types/types/types.d.ts +2 -2
- package/types/types/ui.d.ts +5 -5
- package/types/types/uploader.d.ts +3 -3
- package/types/types/view.d.ts +10 -9
package/esm/jodit.js
CHANGED
|
@@ -16,7 +16,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
16
16
|
var Jodit_1;
|
|
17
17
|
import * as constants from "./core/constants.js";
|
|
18
18
|
import { FAT_MODE, IS_PROD, lang } from "./core/constants.js";
|
|
19
|
-
import { autobind, cache, derive, throttle, watch } from "./core/decorators/index.js";
|
|
19
|
+
import { autobind, cache, cached, derive, throttle, watch } from "./core/decorators/index.js";
|
|
20
20
|
import { eventEmitter, instances, modules, pluginSystem } from "./core/global.js";
|
|
21
21
|
import { asArray, attr, callPromise, ConfigProto, css, error, isFunction, isJoditObject, isNumber, isPromise, isString, isVoid, kebabCase, markAsAtomic, normalizeKeyAliases, resolveElement, toArray, ucfirst } from "./core/helpers/index.js";
|
|
22
22
|
import { Ajax } from "./core/request/index.js";
|
|
@@ -1163,15 +1163,15 @@ let Jodit = Jodit_1 = class Jodit extends ViewWithToolbar {
|
|
|
1163
1163
|
}
|
|
1164
1164
|
this.setStatus(STATUSES.beforeDestruct);
|
|
1165
1165
|
this.__elementToPlace.clear();
|
|
1166
|
-
this
|
|
1167
|
-
this
|
|
1166
|
+
cached(this, 'storage')?.clear();
|
|
1167
|
+
cached(this, 'buffer')?.clear();
|
|
1168
1168
|
this.commands.clear();
|
|
1169
1169
|
this.__selectionLocked = null;
|
|
1170
1170
|
this.e.off(this.ow, 'resize');
|
|
1171
1171
|
this.e.off(this.ow);
|
|
1172
1172
|
this.e.off(this.od);
|
|
1173
1173
|
this.e.off(this.od.body);
|
|
1174
|
-
const
|
|
1174
|
+
const tmpValue = this.editor ? this.getEditorValue() : '';
|
|
1175
1175
|
this.places.forEach(({ container, workplace, statusbar, element, iframe, editor, history }) => {
|
|
1176
1176
|
if (!element) {
|
|
1177
1177
|
return;
|
|
@@ -1215,7 +1215,7 @@ let Jodit = Jodit_1 = class Jodit extends ViewWithToolbar {
|
|
|
1215
1215
|
Dom.safeRemove(iframe);
|
|
1216
1216
|
// inline mode
|
|
1217
1217
|
if (container === element) {
|
|
1218
|
-
element.innerHTML =
|
|
1218
|
+
element.innerHTML = tmpValue;
|
|
1219
1219
|
}
|
|
1220
1220
|
history.destruct();
|
|
1221
1221
|
});
|
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
* @module modules/context-menu
|
|
10
10
|
*/
|
|
11
11
|
import type { IContextMenu, IContextMenuAction } from "../../types";
|
|
12
|
-
import { Popup } from "../../core/ui/popup/popup";
|
|
13
|
-
|
|
12
|
+
import { Popup } from "../../core/ui/popup/popup.d.ts";
|
|
14
13
|
/**
|
|
15
14
|
* Module to generate context menu
|
|
16
15
|
*/
|
|
@@ -7,8 +7,7 @@
|
|
|
7
7
|
* @module modules/dialog
|
|
8
8
|
*/
|
|
9
9
|
import type { Content, IDialog, IDialogOptions, IToolbarCollection } from "../../types";
|
|
10
|
-
import { ViewWithToolbar } from "../../core/view/view-with-toolbar";
|
|
11
|
-
|
|
10
|
+
import { ViewWithToolbar } from "../../core/view/view-with-toolbar.d.ts";
|
|
12
11
|
declare module 'jodit/config' {
|
|
13
12
|
interface Config {
|
|
14
13
|
dialog: IDialogOptions;
|
|
@@ -35,17 +34,17 @@ export declare class Dialog extends ViewWithToolbar implements IDialog {
|
|
|
35
34
|
private lockSelect;
|
|
36
35
|
private unlockSelect;
|
|
37
36
|
private setElements;
|
|
38
|
-
private
|
|
37
|
+
private __onMouseUp;
|
|
39
38
|
/**
|
|
40
39
|
*
|
|
41
40
|
*/
|
|
42
|
-
private
|
|
43
|
-
private
|
|
44
|
-
private
|
|
45
|
-
private
|
|
46
|
-
private
|
|
47
|
-
private
|
|
48
|
-
private
|
|
41
|
+
private __onHeaderMouseDown;
|
|
42
|
+
private __onMouseMove;
|
|
43
|
+
private __onEsc;
|
|
44
|
+
private __onResize;
|
|
45
|
+
private __onResizerMouseDown;
|
|
46
|
+
private __addGlobalResizeListeners;
|
|
47
|
+
private __removeGlobalResizeListeners;
|
|
49
48
|
OPTIONS: IDialogOptions;
|
|
50
49
|
readonly dialog: HTMLElement;
|
|
51
50
|
workplace: HTMLDivElement;
|
|
@@ -60,7 +60,14 @@ let Dialog = Dialog_1 = class Dialog extends ViewWithToolbar {
|
|
|
60
60
|
return 'Dialog';
|
|
61
61
|
}
|
|
62
62
|
get destination() {
|
|
63
|
-
|
|
63
|
+
const { popupRoot, shadowRoot } = this.o;
|
|
64
|
+
if (popupRoot) {
|
|
65
|
+
return popupRoot;
|
|
66
|
+
}
|
|
67
|
+
if (shadowRoot) {
|
|
68
|
+
return shadowRoot;
|
|
69
|
+
}
|
|
70
|
+
return this.od.body;
|
|
64
71
|
}
|
|
65
72
|
setElements(root, elements) {
|
|
66
73
|
const elements_list = [];
|
|
@@ -89,14 +96,14 @@ let Dialog = Dialog_1 = class Dialog extends ViewWithToolbar {
|
|
|
89
96
|
}
|
|
90
97
|
});
|
|
91
98
|
}
|
|
92
|
-
|
|
99
|
+
__onMouseUp() {
|
|
93
100
|
if (this.draggable || this.resizable) {
|
|
94
|
-
this.
|
|
101
|
+
this.__removeGlobalResizeListeners();
|
|
95
102
|
this.draggable = false;
|
|
96
103
|
this.resizable = false;
|
|
97
104
|
this.unlockSelect();
|
|
98
105
|
if (this.e) {
|
|
99
|
-
this.
|
|
106
|
+
this.__removeGlobalResizeListeners();
|
|
100
107
|
/**
|
|
101
108
|
* Fired when the dialog box is finished to resizing
|
|
102
109
|
*/
|
|
@@ -107,7 +114,7 @@ let Dialog = Dialog_1 = class Dialog extends ViewWithToolbar {
|
|
|
107
114
|
/**
|
|
108
115
|
*
|
|
109
116
|
*/
|
|
110
|
-
|
|
117
|
+
__onHeaderMouseDown(e) {
|
|
111
118
|
const target = e.target;
|
|
112
119
|
if (!this.o.draggable ||
|
|
113
120
|
(target && target.nodeName.match(/^(INPUT|SELECT)$/))) {
|
|
@@ -123,7 +130,7 @@ let Dialog = Dialog_1 = class Dialog extends ViewWithToolbar {
|
|
|
123
130
|
e.preventDefault();
|
|
124
131
|
}
|
|
125
132
|
this.lockSelect();
|
|
126
|
-
this.
|
|
133
|
+
this.__addGlobalResizeListeners();
|
|
127
134
|
if (this.e) {
|
|
128
135
|
/**
|
|
129
136
|
* Fired when dialog box is started moving
|
|
@@ -132,7 +139,7 @@ let Dialog = Dialog_1 = class Dialog extends ViewWithToolbar {
|
|
|
132
139
|
this.e.fire('closeAllPopups');
|
|
133
140
|
}
|
|
134
141
|
}
|
|
135
|
-
|
|
142
|
+
__onMouseMove(e) {
|
|
136
143
|
if (this.draggable && this.o.draggable) {
|
|
137
144
|
this.setPosition(this.startPoint.x + e.clientX - this.startX, this.startPoint.y + e.clientY - this.startY);
|
|
138
145
|
if (this.e) {
|
|
@@ -153,7 +160,7 @@ let Dialog = Dialog_1 = class Dialog extends ViewWithToolbar {
|
|
|
153
160
|
}
|
|
154
161
|
}
|
|
155
162
|
}
|
|
156
|
-
|
|
163
|
+
__onEsc(e) {
|
|
157
164
|
if (!this.o.closeOnEsc) {
|
|
158
165
|
return;
|
|
159
166
|
}
|
|
@@ -170,14 +177,14 @@ let Dialog = Dialog_1 = class Dialog extends ViewWithToolbar {
|
|
|
170
177
|
e.stopImmediatePropagation();
|
|
171
178
|
}
|
|
172
179
|
}
|
|
173
|
-
|
|
180
|
+
__onResizerMouseDown(e) {
|
|
174
181
|
this.resizable = true;
|
|
175
182
|
this.startX = e.clientX;
|
|
176
183
|
this.startY = e.clientY;
|
|
177
184
|
this.startPoint.w = this.dialog.offsetWidth;
|
|
178
185
|
this.startPoint.h = this.dialog.offsetHeight;
|
|
179
186
|
this.lockSelect();
|
|
180
|
-
this.
|
|
187
|
+
this.__addGlobalResizeListeners();
|
|
181
188
|
if (this.e) {
|
|
182
189
|
/**
|
|
183
190
|
* Fired when dialog box is started resizing
|
|
@@ -185,17 +192,17 @@ let Dialog = Dialog_1 = class Dialog extends ViewWithToolbar {
|
|
|
185
192
|
this.e.fire(this, 'startResize');
|
|
186
193
|
}
|
|
187
194
|
}
|
|
188
|
-
|
|
195
|
+
__addGlobalResizeListeners() {
|
|
189
196
|
const self = this;
|
|
190
197
|
self.e
|
|
191
|
-
.on(self.ow, 'pointermove touchmove', self.
|
|
192
|
-
.on(self.ow, 'pointerup touchend', self.
|
|
198
|
+
.on(self.ow, 'pointermove touchmove', self.__onMouseMove)
|
|
199
|
+
.on(self.ow, 'pointerup touchend', self.__onMouseUp);
|
|
193
200
|
}
|
|
194
|
-
|
|
201
|
+
__removeGlobalResizeListeners() {
|
|
195
202
|
const self = this;
|
|
196
203
|
self.e
|
|
197
|
-
.off(self.ow, 'mousemove pointermove', self.
|
|
198
|
-
.off(self.ow, 'mouseup pointerup', self.
|
|
204
|
+
.off(self.ow, 'mousemove pointermove', self.__onMouseMove)
|
|
205
|
+
.off(self.ow, 'mouseup pointerup', self.__onMouseUp);
|
|
199
206
|
}
|
|
200
207
|
/**
|
|
201
208
|
* Specifies the size of the window
|
|
@@ -451,7 +458,7 @@ let Dialog = Dialog_1 = class Dialog extends ViewWithToolbar {
|
|
|
451
458
|
this.toggleFullSize(false);
|
|
452
459
|
}
|
|
453
460
|
Dom.safeRemove(this.container);
|
|
454
|
-
this.
|
|
461
|
+
this.__removeGlobalResizeListeners();
|
|
455
462
|
/**
|
|
456
463
|
* It called after the window is closed
|
|
457
464
|
*/
|
|
@@ -477,7 +484,7 @@ let Dialog = Dialog_1 = class Dialog extends ViewWithToolbar {
|
|
|
477
484
|
this.unlockSelect = () => {
|
|
478
485
|
this.setMod('moved', false);
|
|
479
486
|
};
|
|
480
|
-
this.
|
|
487
|
+
this.__onResize = () => {
|
|
481
488
|
if (this.options &&
|
|
482
489
|
this.o.resizable &&
|
|
483
490
|
!this.moved &&
|
|
@@ -545,14 +552,14 @@ let Dialog = Dialog_1 = class Dialog extends ViewWithToolbar {
|
|
|
545
552
|
});
|
|
546
553
|
const headerBox = self.getElm('header');
|
|
547
554
|
headerBox &&
|
|
548
|
-
self.e.on(headerBox, 'pointerdown touchstart', self.
|
|
549
|
-
self.e.on(self.resizer, 'mousedown touchstart', self.
|
|
555
|
+
self.e.on(headerBox, 'pointerdown touchstart', self.__onHeaderMouseDown);
|
|
556
|
+
self.e.on(self.resizer, 'mousedown touchstart', self.__onResizerMouseDown);
|
|
550
557
|
const fullSize = pluginSystem.get('fullsize');
|
|
551
558
|
isFunction(fullSize) && fullSize(self);
|
|
552
559
|
this.e
|
|
553
560
|
.on(self.container, 'close_dialog', self.close)
|
|
554
|
-
.on(this.ow, 'keydown', this.
|
|
555
|
-
.on(this.ow, 'resize', this.
|
|
561
|
+
.on(this.ow, 'keydown', this.__onEsc)
|
|
562
|
+
.on(this.ow, 'resize', this.__onResize);
|
|
556
563
|
if (this.o.closeOnClickOverlay) {
|
|
557
564
|
const overlay = self.getElm('overlay');
|
|
558
565
|
assert(overlay != null, 'Overlay element does not exist');
|
|
@@ -581,30 +588,30 @@ let Dialog = Dialog_1 = class Dialog extends ViewWithToolbar {
|
|
|
581
588
|
this.close();
|
|
582
589
|
}
|
|
583
590
|
if (this.events) {
|
|
584
|
-
this.
|
|
591
|
+
this.__removeGlobalResizeListeners();
|
|
585
592
|
this.events
|
|
586
593
|
.off(this.container, 'close_dialog', self.close)
|
|
587
|
-
.off(this.ow, 'keydown', this.
|
|
588
|
-
.off(this.ow, 'resize', this.
|
|
594
|
+
.off(this.ow, 'keydown', this.__onEsc)
|
|
595
|
+
.off(this.ow, 'resize', this.__onResize);
|
|
589
596
|
}
|
|
590
597
|
super.destruct();
|
|
591
598
|
}
|
|
592
599
|
};
|
|
593
600
|
__decorate([
|
|
594
601
|
autobind
|
|
595
|
-
], Dialog.prototype, "
|
|
602
|
+
], Dialog.prototype, "__onMouseUp", null);
|
|
596
603
|
__decorate([
|
|
597
604
|
autobind
|
|
598
|
-
], Dialog.prototype, "
|
|
605
|
+
], Dialog.prototype, "__onHeaderMouseDown", null);
|
|
599
606
|
__decorate([
|
|
600
607
|
autobind
|
|
601
|
-
], Dialog.prototype, "
|
|
608
|
+
], Dialog.prototype, "__onMouseMove", null);
|
|
602
609
|
__decorate([
|
|
603
610
|
autobind
|
|
604
|
-
], Dialog.prototype, "
|
|
611
|
+
], Dialog.prototype, "__onEsc", null);
|
|
605
612
|
__decorate([
|
|
606
613
|
autobind
|
|
607
|
-
], Dialog.prototype, "
|
|
614
|
+
], Dialog.prototype, "__onResizerMouseDown", null);
|
|
608
615
|
__decorate([
|
|
609
616
|
autobind
|
|
610
617
|
], Dialog.prototype, "close", null);
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module modules/dialog
|
|
10
10
|
*/
|
|
11
|
-
export { Alert } from "./alert";
|
|
12
|
-
export { Confirm } from "./confirm";
|
|
13
|
-
export { Dialog } from "./dialog";
|
|
14
|
-
export { Prompt } from "./prompt";
|
|
11
|
+
export { Alert } from "./alert.d.ts";
|
|
12
|
+
export { Confirm } from "./confirm.d.ts";
|
|
13
|
+
export { Dialog } from "./dialog.d.ts";
|
|
14
|
+
export { Prompt } from "./prompt.d.ts";
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @module modules/file-browser
|
|
8
8
|
*/
|
|
9
9
|
import type { IFileBrowserOptions } from "../../types";
|
|
10
|
-
import "../../core/request/config";
|
|
10
|
+
import "../../core/request/config.d.ts";
|
|
11
11
|
declare module 'jodit/config' {
|
|
12
12
|
interface Config {
|
|
13
13
|
filebrowser: IFileBrowserOptions;
|
|
@@ -7,11 +7,10 @@
|
|
|
7
7
|
* @module modules/file-browser
|
|
8
8
|
*/
|
|
9
9
|
import type { CanUndef, IFileBrowser, IFileBrowserCallBackData, IFileBrowserDataProvider, IFileBrowserOptions, IFileBrowserState, IStorage, IUploader } from "../../types";
|
|
10
|
-
import { Dlgs } from "../../core/traits/dlgs";
|
|
11
|
-
import { ViewWithToolbar } from "../../core/view/view-with-toolbar";
|
|
12
|
-
import "./config";
|
|
10
|
+
import { Dlgs } from "../../core/traits/dlgs.d.ts";
|
|
11
|
+
import { ViewWithToolbar } from "../../core/view/view-with-toolbar.d.ts";
|
|
12
|
+
import "./config.d.ts";
|
|
13
13
|
import { FileBrowserFiles, FileBrowserTree } from "./ui";
|
|
14
|
-
|
|
15
14
|
export interface FileBrowser extends Dlgs {
|
|
16
15
|
}
|
|
17
16
|
export declare class FileBrowser extends ViewWithToolbar implements IFileBrowser, Dlgs {
|
|
@@ -16,7 +16,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
16
16
|
import { STATUSES } from "../../core/component/index.js";
|
|
17
17
|
import * as consts from "../../core/constants.js";
|
|
18
18
|
import { IS_PROD } from "../../core/constants.js";
|
|
19
|
-
import { autobind, cache, derive } from "../../core/decorators/index.js";
|
|
19
|
+
import { autobind, cache, cached, derive } from "../../core/decorators/index.js";
|
|
20
20
|
import { watch } from "../../core/decorators/watch/watch.js";
|
|
21
21
|
import { observable } from "../../core/event-emitter/index.js";
|
|
22
22
|
import { ConfigProto, error, isAbortError, isFunction, isString, trim } from "../../core/helpers/index.js";
|
|
@@ -307,8 +307,8 @@ let FileBrowser = class FileBrowser extends ViewWithToolbar {
|
|
|
307
307
|
if (this.isInDestruct) {
|
|
308
308
|
return;
|
|
309
309
|
}
|
|
310
|
+
cached(this, '_dialog')?.destruct();
|
|
310
311
|
super.destruct();
|
|
311
|
-
this._dialog.destruct();
|
|
312
312
|
this.events && this.e.off('.filebrowser');
|
|
313
313
|
this.uploader && this.uploader.destruct();
|
|
314
314
|
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @module modules/history
|
|
8
8
|
*/
|
|
9
9
|
import type { SnapshotType } from "../../types";
|
|
10
|
-
import type { History } from "./history";
|
|
10
|
+
import type { History } from "./history.d.ts";
|
|
11
11
|
export declare class Command {
|
|
12
12
|
readonly oldValue: SnapshotType;
|
|
13
13
|
readonly newValue: SnapshotType;
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import type { IDestructible, IHistory, IJodit, ISnapshot, SnapshotType } from "../../types";
|
|
12
12
|
import { ViewComponent } from "../../core/component";
|
|
13
|
-
import { Snapshot } from "./snapshot";
|
|
14
|
-
import { Stack } from "./stack";
|
|
13
|
+
import { Snapshot } from "./snapshot.d.ts";
|
|
14
|
+
import { 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 { CanUndef, IStack } from "../../types";
|
|
10
|
-
import type { Command } from "./command";
|
|
10
|
+
import type { Command } from "./command.d.ts";
|
|
11
11
|
export declare class Stack implements IStack {
|
|
12
12
|
private readonly size;
|
|
13
13
|
private readonly commands;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 1792 1792\"> <path d=\"M621 1280h595v-595zm-45-45l595-595h-595v595zm1152 77v192q0 14-9 23t-23 9h-224v224q0 14-9 23t-23 9h-192q-14 0-23-9t-9-23v-224h-864q-14 0-23-9t-9-23v-864h-224q-14 0-23-9t-9-23v-192q0-14 9-23t23-9h224v-224q0-14 9-23t23-9h192q14 0 23 9t9 23v224h851l246-247q10-9 23-9t23 9q9 10 9 23t-9 23l-247 246v851h224q14 0 23 9t9 23z\"/> </svg> ";
|
|
1
|
+
export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 1792 1792\"> <path d=\"M621 1280h595v-595zm-45-45l595-595h-595v595zm1152 77v192q0 14-9 23t-23 9h-224v224q0 14-9 23t-23 9h-192q-14 0-23-9t-9-23v-224h-864q-14 0-23-9t-9-23v-864h-224q-14 0-23-9t-9-23v-192q0-14 9-23t23-9h224v-224q0-14 9-23t23-9h192q14 0 23 9t9 23v224h851l246-247q10-9 23-9t23 9q9 10 9 23t-9 23l-247 246v851h224q14 0 23 9t9 23z\"/> </svg> ";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 24 24\"> <g transform=\"translate(-251.000000, -443.000000)\"> <g transform=\"translate(215.000000, 119.000000)\"/> <path d=\"M252,448 L256,448 L256,444 L252,444 L252,448 Z M257,448 L269,448 L269,446 L257,446 L257,448 Z M257,464 L269,464 L269,462 L257,462 L257,464 Z M270,444 L270,448 L274,448 L274,444 L270,444 Z M252,462 L252,466 L256,466 L256,462 L252,462 Z M270,462 L270,466 L274,466 L274,462 L270,462 Z M254,461 L256,461 L256,449 L254,449 L254,461 Z M270,461 L272,461 L272,449 L270,449 L270,461 Z\"/> </g> </svg> ";
|
|
1
|
+
export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 24 24\"> <g transform=\"translate(-251.000000, -443.000000)\"> <g transform=\"translate(215.000000, 119.000000)\"/> <path d=\"M252,448 L256,448 L256,444 L252,444 L252,448 Z M257,448 L269,448 L269,446 L257,446 L257,448 Z M257,464 L269,464 L269,462 L257,462 L257,464 Z M270,444 L270,448 L274,448 L274,444 L270,444 Z M252,462 L252,466 L256,466 L256,462 L252,462 Z M270,462 L270,466 L274,466 L274,462 L270,462 Z M254,461 L256,461 L256,449 L254,449 L254,461 Z M270,461 L272,461 L272,449 L270,449 L270,461 Z\"/> </g> </svg> ";
|
|
@@ -10,8 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import type { IDialog, IDlgs, IFileBrowserDataProvider, ImageEditorActionBox, ImageEditorOptions, IViewWithToolbar } from "../../types";
|
|
12
12
|
import { ViewComponent } from "../../core/component";
|
|
13
|
-
import "./config";
|
|
14
|
-
|
|
13
|
+
import "./config.d.ts";
|
|
15
14
|
interface onSave {
|
|
16
15
|
(
|
|
17
16
|
/**
|
package/esm/modules/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
import { Component, STATUSES, ViewComponent } from "../core/component";
|
|
12
12
|
import * as Helpers from "../core/helpers";
|
|
13
13
|
export { Component, STATUSES, ViewComponent };
|
|
14
|
-
export { ContextMenu } from "./context-menu/context-menu";
|
|
14
|
+
export { ContextMenu } from "./context-menu/context-menu.d.ts";
|
|
15
15
|
export * from "./dialog/";
|
|
16
16
|
export * from "./file-browser";
|
|
17
17
|
export { Async } from "../core/async";
|
|
@@ -21,18 +21,18 @@ export * from "../core/event-emitter";
|
|
|
21
21
|
export { Plugin } from "../core/plugin";
|
|
22
22
|
export * from "../core/request";
|
|
23
23
|
export * from "../core/ui";
|
|
24
|
-
export { View } from "../core/view/view";
|
|
25
|
-
export { ViewWithToolbar } from "../core/view/view-with-toolbar";
|
|
24
|
+
export { View } from "../core/view/view.d.ts";
|
|
25
|
+
export { ViewWithToolbar } from "../core/view/view-with-toolbar.d.ts";
|
|
26
26
|
export { Helpers };
|
|
27
|
-
export { History } from "./history/history";
|
|
28
|
-
export { Snapshot } from "./history/snapshot";
|
|
29
|
-
export { ImageEditor } from "./image-editor/image-editor";
|
|
30
|
-
export { UIMessages } from "./messages/messages";
|
|
31
|
-
export { StatusBar } from "./status-bar/status-bar";
|
|
32
|
-
export { Table } from "./table/table";
|
|
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
33
|
export * from "./toolbar/button";
|
|
34
|
-
export { ToolbarCollection } from "./toolbar/collection/collection";
|
|
35
|
-
export { ToolbarEditorCollection } from "./toolbar/collection/editor-collection";
|
|
36
|
-
export { Uploader } from "./uploader/uploader";
|
|
37
|
-
export { PluginSystem } from "../core/plugin/plugin-system";
|
|
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
38
|
export { CommitStyle, Selection } from "../core/selection";
|
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
* @module modules/messages
|
|
10
10
|
*/
|
|
11
11
|
import type { IMessages, IViewBased, MessageVariant } from "../../types";
|
|
12
|
-
import { UIGroup } from "../../core/ui/group/group";
|
|
13
|
-
|
|
12
|
+
import { UIGroup } from "../../core/ui/group/group.d.ts";
|
|
14
13
|
/**
|
|
15
14
|
* Plugin display pop-up messages in the lower right corner of the editor
|
|
16
15
|
*/
|
|
@@ -10,9 +10,8 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import type { IDictionary, IJodit, IStatusBar, ModType } from "../../types";
|
|
12
12
|
import { ViewComponent } from "../../core/component";
|
|
13
|
-
import { Elms } from "../../core/traits/elms";
|
|
14
|
-
import { Mods } from "../../core/traits/mods";
|
|
15
|
-
|
|
13
|
+
import { Elms } from "../../core/traits/elms.d.ts";
|
|
14
|
+
import { Mods } from "../../core/traits/mods.d.ts";
|
|
16
15
|
export interface StatusBar extends Mods, Elms {
|
|
17
16
|
}
|
|
18
17
|
export declare class StatusBar extends ViewComponent<IJodit> implements IStatusBar {
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import type { IControlTypeStrong, IToolbarButton, IToolbarCollection, IViewBased, Nullable } from "../../../types";
|
|
12
12
|
import { UIButton } from "../../../core/ui/button";
|
|
13
|
-
|
|
14
13
|
export declare class ToolbarButton<T extends IViewBased = IViewBased> extends UIButton implements IToolbarButton {
|
|
15
14
|
readonly control: IControlTypeStrong;
|
|
16
15
|
readonly target: Nullable<HTMLElement>;
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import type { IControlTypeContent, IToolbarButton, IViewBased, Nullable } from "../../../types";
|
|
10
10
|
import { UIButton } from "../../../core/ui/button";
|
|
11
|
-
|
|
12
11
|
export declare class ToolbarContent<T extends IViewBased = IViewBased> extends UIButton implements IToolbarButton {
|
|
13
12
|
readonly control: IControlTypeContent;
|
|
14
13
|
readonly target: Nullable<HTMLElement>;
|
|
@@ -7,8 +7,7 @@
|
|
|
7
7
|
* @module modules/toolbar/button
|
|
8
8
|
*/
|
|
9
9
|
import type { IViewBased } from "../../../../types";
|
|
10
|
-
import { ToolbarButton } from "../button";
|
|
11
|
-
|
|
10
|
+
import { ToolbarButton } from "../button.d.ts";
|
|
12
11
|
export declare class ToolbarSelect<T extends IViewBased = IViewBased> extends ToolbarButton<T> {
|
|
13
12
|
className(): string;
|
|
14
13
|
update(): void;
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import type { ButtonsGroups, IBound, IControlTypeStrong, IToolbarButton, IToolbarCollection, IUIButton, IViewBased, IViewWithToolbar, Nullable } from "../../../types";
|
|
12
12
|
import { UIList } from "../../../core/ui";
|
|
13
|
-
|
|
14
13
|
export declare class ToolbarCollection<T extends IViewWithToolbar = IViewWithToolbar> extends UIList<T> implements IToolbarCollection {
|
|
15
14
|
/** @override */
|
|
16
15
|
className(): string;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @module modules/toolbar/collection
|
|
8
8
|
*/
|
|
9
9
|
import type { IBound, IJodit, IToolbarButton } from "../../../types";
|
|
10
|
-
import { ToolbarCollection } from "./collection";
|
|
10
|
+
import { 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";
|
|
10
|
-
export * from "./build-data";
|
|
11
|
-
export * from "./data-uri-to-blob";
|
|
12
|
-
export * from "./process-old-browser-drag";
|
|
13
|
-
export * from "./send";
|
|
14
|
-
export * from "./send-files";
|
|
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";
|
|
15
15
|
export declare function hasFiles(data: Nullable<DataTransfer>): data is DataTransfer;
|
|
16
16
|
export declare function hasItems(data: Nullable<DataTransfer>): data is DataTransfer;
|
|
@@ -10,8 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import type { HandlerError, HandlerSuccess, IUploader, IUploaderOptions, IViewBased } from "../../types";
|
|
12
12
|
import { ViewComponent } from "../../core/component";
|
|
13
|
-
import "./config";
|
|
14
|
-
|
|
13
|
+
import "./config.d.ts";
|
|
15
14
|
export declare class Uploader extends ViewComponent implements IUploader {
|
|
16
15
|
readonly jodit: IViewBased;
|
|
17
16
|
get j(): IViewBased;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default "<svg xmlns='http://www.w3.org/2000/svg' x=\"0px\" y=\"0px\" viewBox=\"0 0 459 459\"> <g> <path d=\"M229.5,0C102,0,0,102,0,229.5S102,459,229.5,459c20.4,0,38.25-17.85,38.25-38.25c0-10.2-2.55-17.85-10.2-25.5 c-5.1-7.65-10.2-15.3-10.2-25.5c0-20.4,17.851-38.25,38.25-38.25h45.9c71.4,0,127.5-56.1,127.5-127.5C459,91.8,357,0,229.5,0z M89.25,229.5c-20.4,0-38.25-17.85-38.25-38.25S68.85,153,89.25,153s38.25,17.85,38.25,38.25S109.65,229.5,89.25,229.5z M165.75,127.5c-20.4,0-38.25-17.85-38.25-38.25S145.35,51,165.75,51S204,68.85,204,89.25S186.15,127.5,165.75,127.5z M293.25,127.5c-20.4,0-38.25-17.85-38.25-38.25S272.85,51,293.25,51s38.25,17.85,38.25,38.25S313.65,127.5,293.25,127.5z M369.75,229.5c-20.4,0-38.25-17.85-38.25-38.25S349.35,153,369.75,153S408,170.85,408,191.25S390.15,229.5,369.75,229.5z\" /> </g> </svg> ";
|
|
1
|
+
export default "<svg xmlns='http://www.w3.org/2000/svg' x=\"0px\" y=\"0px\" viewBox=\"0 0 459 459\"> <g> <path d=\"M229.5,0C102,0,0,102,0,229.5S102,459,229.5,459c20.4,0,38.25-17.85,38.25-38.25c0-10.2-2.55-17.85-10.2-25.5 c-5.1-7.65-10.2-15.3-10.2-25.5c0-20.4,17.851-38.25,38.25-38.25h45.9c71.4,0,127.5-56.1,127.5-127.5C459,91.8,357,0,229.5,0z M89.25,229.5c-20.4,0-38.25-17.85-38.25-38.25S68.85,153,89.25,153s38.25,17.85,38.25,38.25S109.65,229.5,89.25,229.5z M165.75,127.5c-20.4,0-38.25-17.85-38.25-38.25S145.35,51,165.75,51S204,68.85,204,89.25S186.15,127.5,165.75,127.5z M293.25,127.5c-20.4,0-38.25-17.85-38.25-38.25S272.85,51,293.25,51s38.25,17.85,38.25,38.25S313.65,127.5,293.25,127.5z M369.75,229.5c-20.4,0-38.25-17.85-38.25-38.25S349.35,153,369.75,153S408,170.85,408,191.25S390.15,229.5,369.75,229.5z\" /> </g> </svg> ";
|
|
@@ -8,6 +8,6 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module modules/widget
|
|
10
10
|
*/
|
|
11
|
-
export * from "./color-picker/color-picker";
|
|
12
|
-
export * from "./file-selector/file-selector";
|
|
13
|
-
export * from "./tabs/tabs";
|
|
11
|
+
export * from "./color-picker/color-picker.d.ts";
|
|
12
|
+
export * from "./file-selector/file-selector.d.ts";
|
|
13
|
+
export * from "./tabs/tabs.d.ts";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default "<svg viewBox=\"0 0 1792 1792\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M1088 1256v240q0 16-12 28t-28 12h-240q-16 0-28-12t-12-28v-240q0-16 12-28t28-12h240q16 0 28 12t12 28zm316-600q0 54-15.5 101t-35 76.5-55 59.5-57.5 43.5-61 35.5q-41 23-68.5 65t-27.5 67q0 17-12 32.5t-28 15.5h-240q-15 0-25.5-18.5t-10.5-37.5v-45q0-83 65-156.5t143-108.5q59-27 84-56t25-76q0-42-46.5-74t-107.5-32q-65 0-108 29-35 25-107 115-13 16-31 16-12 0-25-8l-164-125q-13-10-15.5-25t5.5-28q160-266 464-266 80 0 161 31t146 83 106 127.5 41 158.5z\"/> </svg> ";
|
|
1
|
+
export default "<svg viewBox=\"0 0 1792 1792\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M1088 1256v240q0 16-12 28t-28 12h-240q-16 0-28-12t-12-28v-240q0-16 12-28t28-12h240q16 0 28 12t12 28zm316-600q0 54-15.5 101t-35 76.5-55 59.5-57.5 43.5-61 35.5q-41 23-68.5 65t-27.5 67q0 17-12 32.5t-28 15.5h-240q-15 0-25.5-18.5t-10.5-37.5v-45q0-83 65-156.5t143-108.5q59-27 84-56t25-76q0-42-46.5-74t-107.5-32q-65 0-108 29-35 25-107 115-13 16-31 16-12 0-25-8l-164-125q-13-10-15.5-25t5.5-28q160-266 464-266 80 0 161 31t146 83 106 127.5 41 158.5z\"/> </svg> ";
|
|
@@ -10,8 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import type { IJodit } from "../../types";
|
|
12
12
|
import { Plugin } from "../../modules";
|
|
13
|
-
import "./config";
|
|
14
|
-
|
|
13
|
+
import "./config.d.ts";
|
|
15
14
|
/**
|
|
16
15
|
* Create helper for adding new paragraph(Jodit.defaultOptions.enter tag) before iframe, table or image
|
|
17
16
|
*/
|