jodit 4.0.18 → 4.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.nvmrc +1 -1
- package/CHANGELOG.md +72 -9
- package/es2015/jodit.css +3504 -3426
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +3 -3
- package/es2015/jodit.js +12107 -6610
- package/es2015/jodit.min.css +1 -1
- package/es2015/jodit.min.js +3 -3
- package/es2015/plugins/debug/debug.js +14 -14
- package/es2015/plugins/debug/debug.min.js +3 -3
- package/es2015/plugins/speech-recognize/speech-recognize.css +2 -2
- package/es2015/plugins/speech-recognize/speech-recognize.js +117 -122
- package/es2015/plugins/speech-recognize/speech-recognize.min.js +3 -3
- package/es2018/jodit.css +3504 -3426
- package/es2018/jodit.fat.min.css +1 -1
- package/es2018/jodit.fat.min.js +3 -3
- package/es2018/jodit.js +12078 -6581
- package/es2018/jodit.min.css +1 -1
- package/es2018/jodit.min.js +3 -3
- package/es2018/plugins/debug/debug.js +14 -14
- package/es2018/plugins/debug/debug.min.js +3 -3
- package/es2018/plugins/speech-recognize/speech-recognize.css +2 -2
- package/es2018/plugins/speech-recognize/speech-recognize.js +117 -122
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +3 -3
- package/es2021/jodit.css +3504 -3426
- package/es2021/jodit.fat.min.css +1 -1
- package/es2021/jodit.fat.min.js +3 -3
- package/es2021/jodit.js +12078 -6581
- package/es2021/jodit.min.css +1 -1
- package/es2021/jodit.min.js +3 -3
- package/es2021/plugins/debug/debug.js +14 -14
- package/es2021/plugins/debug/debug.min.js +3 -3
- package/es2021/plugins/speech-recognize/speech-recognize.css +2 -2
- package/es2021/plugins/speech-recognize/speech-recognize.js +117 -122
- package/es2021/plugins/speech-recognize/speech-recognize.min.js +3 -3
- package/es2021.en/jodit.css +3504 -3426
- package/es2021.en/jodit.fat.min.css +1 -1
- package/es2021.en/jodit.fat.min.js +3 -3
- package/es2021.en/jodit.js +11825 -6381
- package/es2021.en/jodit.min.css +1 -1
- package/es2021.en/jodit.min.js +3 -3
- package/es2021.en/plugins/debug/debug.js +14 -14
- package/es2021.en/plugins/debug/debug.min.js +3 -3
- package/es2021.en/plugins/speech-recognize/speech-recognize.css +2 -2
- package/es2021.en/plugins/speech-recognize/speech-recognize.js +76 -81
- package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +3 -3
- package/es5/jodit.css +4207 -4114
- package/es5/jodit.fat.min.css +1 -1
- package/es5/jodit.fat.min.js +3 -3
- package/es5/jodit.js +7620 -7279
- package/es5/jodit.min.css +5 -5
- package/es5/jodit.min.js +3 -3
- package/es5/plugins/debug/debug.js +16 -16
- package/es5/plugins/debug/debug.min.js +3 -3
- package/es5/plugins/speech-recognize/speech-recognize.css +2 -2
- package/es5/plugins/speech-recognize/speech-recognize.js +122 -127
- package/es5/plugins/speech-recognize/speech-recognize.min.js +3 -3
- package/esm/config.d.ts +6 -19
- package/esm/config.js +18 -5
- package/esm/core/async/async.js +4 -4
- package/esm/core/component/component.d.ts +2 -2
- package/esm/core/component/component.js +4 -4
- package/esm/core/component/index.d.ts +1 -1
- package/esm/core/component/index.js +1 -1
- package/esm/core/constants.d.ts +1 -0
- package/esm/core/constants.js +2 -1
- package/esm/core/create/create.d.ts +3 -2
- package/esm/core/create/create.js +5 -4
- package/esm/core/decorators/autobind/autobind.d.ts +6 -0
- package/esm/core/decorators/autobind/autobind.js +6 -0
- package/esm/core/decorators/cache/cache.d.ts +2 -2
- package/esm/core/decorators/cache/cache.js +4 -4
- package/esm/core/decorators/debounce/debounce.d.ts +1 -1
- package/esm/core/decorators/debounce/debounce.js +2 -2
- package/esm/core/decorators/index.d.ts +3 -3
- package/esm/core/decorators/index.js +3 -3
- package/esm/core/decorators/wait/wait.js +1 -1
- package/esm/core/decorators/watch/watch.js +3 -3
- package/esm/core/dom/dom.js +2 -2
- package/esm/core/dom/lazy-walker.js +1 -1
- package/esm/core/event-emitter/event-emitter.js +4 -4
- package/esm/core/event-emitter/observable.d.ts +1 -1
- package/esm/core/event-emitter/observable.js +1 -1
- package/esm/core/event-emitter/store.js +1 -1
- package/esm/core/global.d.ts +1 -1
- package/esm/core/global.js +7 -7
- package/esm/core/helpers/array/as-array.d.ts +1 -1
- package/esm/core/helpers/array/to-array.js +1 -1
- package/esm/core/helpers/checker/index.d.ts +3 -3
- package/esm/core/helpers/checker/index.js +3 -3
- package/esm/core/helpers/checker/is-imp-interface.js +1 -1
- package/esm/core/helpers/checker/is-marker.js +1 -1
- package/esm/core/helpers/checker/is-url.d.ts +1 -1
- package/esm/core/helpers/checker/is-url.js +1 -1
- package/esm/core/helpers/checker/is-view-object.d.ts +1 -1
- package/esm/core/helpers/checker/is-view-object.js +1 -1
- package/esm/core/helpers/html/apply-styles.js +2 -2
- package/esm/core/helpers/html/clean-from-word.js +1 -1
- package/esm/core/helpers/html/index.d.ts +2 -2
- package/esm/core/helpers/html/index.js +2 -2
- package/esm/core/helpers/html/safe-html.js +1 -1
- package/esm/core/helpers/html/strip-tags.d.ts +1 -1
- package/esm/core/helpers/html/strip-tags.js +2 -2
- package/esm/core/helpers/index.d.ts +1 -1
- package/esm/core/helpers/index.js +1 -1
- package/esm/core/helpers/normalize/index.d.ts +2 -2
- package/esm/core/helpers/normalize/index.js +2 -2
- package/esm/core/helpers/normalize/normalize-css-value.js +2 -2
- package/esm/core/helpers/normalize/normalize-key-aliases.js +1 -1
- package/esm/core/helpers/size/get-scroll-parent.js +1 -1
- package/esm/core/helpers/size/index.d.ts +1 -1
- package/esm/core/helpers/size/index.js +1 -1
- package/esm/core/helpers/string/i18n.js +3 -3
- package/esm/core/helpers/string/trim.js +1 -1
- package/esm/core/helpers/utils/append-script.js +1 -1
- package/esm/core/helpers/utils/attr.js +1 -1
- package/esm/core/helpers/utils/config-proto.js +3 -3
- package/esm/core/helpers/utils/css.js +2 -2
- package/esm/core/helpers/utils/data-bind.d.ts +1 -1
- package/esm/core/helpers/utils/index.d.ts +1 -1
- package/esm/core/helpers/utils/index.js +1 -1
- package/esm/core/helpers/utils/print.js +2 -2
- package/esm/core/helpers/utils/reset.js +2 -2
- package/esm/core/helpers/utils/selector.d.ts +7 -6
- package/esm/core/helpers/utils/selector.js +6 -8
- package/esm/core/helpers/utils/set.js +2 -2
- package/esm/core/helpers/utils/utils.d.ts +4 -4
- package/esm/core/helpers/utils/utils.js +2 -2
- package/esm/core/plugin/helpers/init-instance.d.ts +1 -1
- package/esm/core/plugin/helpers/init-instance.js +3 -3
- package/esm/core/plugin/helpers/load.js +2 -2
- package/esm/core/plugin/helpers/make-instance.js +1 -1
- package/esm/core/plugin/index.d.ts +1 -1
- package/esm/core/plugin/index.js +1 -1
- package/esm/core/plugin/plugin-system.js +5 -5
- package/esm/core/plugin/plugin.js +1 -1
- package/esm/core/request/ajax.d.ts +1 -1
- package/esm/core/request/ajax.js +5 -5
- package/esm/core/selection/helpers/move-node-inside-start.js +1 -1
- package/esm/core/selection/index.d.ts +1 -1
- package/esm/core/selection/index.js +1 -1
- package/esm/core/selection/selection.js +5 -5
- package/esm/core/selection/style/api/extract.js +2 -2
- package/esm/core/selection/style/api/finite-state-machine.js +3 -2
- package/esm/core/selection/style/api/get-suit-child.d.ts +1 -1
- package/esm/core/selection/style/api/get-suit-parent.d.ts +1 -1
- package/esm/core/selection/style/api/has-same-style.js +2 -2
- package/esm/core/selection/style/api/index.d.ts +5 -5
- package/esm/core/selection/style/api/index.js +5 -5
- package/esm/core/selection/style/api/is-same-attributes.js +1 -1
- package/esm/core/selection/style/api/is-suit-element.d.ts +1 -1
- package/esm/core/selection/style/api/is-suit-element.js +1 -1
- package/esm/core/selection/style/api/list/toggle-ordered-list.d.ts +1 -1
- package/esm/core/selection/style/api/list/toggle-ordered-list.js +1 -1
- package/esm/core/selection/style/api/list/wrap-list.d.ts +1 -1
- package/esm/core/selection/style/api/list/wrap-list.js +1 -1
- package/esm/core/selection/style/api/toggle-attributes.d.ts +1 -1
- package/esm/core/selection/style/api/toggle-attributes.js +6 -6
- package/esm/core/selection/style/api/wrap-unwrapped-text.d.ts +1 -1
- package/esm/core/selection/style/api/wrap.d.ts +1 -1
- package/esm/core/selection/style/api/wrap.js +1 -1
- package/esm/core/selection/style/apply-style.d.ts +1 -1
- package/esm/core/selection/style/apply-style.js +1 -1
- package/esm/core/selection/style/commit-style.d.ts +2 -2
- package/esm/core/selection/style/commit-style.js +1 -1
- package/esm/core/selection/style/transactions.d.ts +1 -1
- package/esm/core/selection/style/transactions.js +3 -4
- package/esm/core/storage/index.d.ts +1 -1
- package/esm/core/storage/index.js +1 -1
- package/esm/core/traits/dlgs.d.ts +1 -1
- package/esm/core/traits/dlgs.js +1 -1
- package/esm/core/traits/mods.d.ts +1 -1
- package/esm/core/ui/button/button/button.d.ts +4 -4
- package/esm/core/ui/button/button/button.js +8 -11
- package/esm/core/ui/button/group/group.d.ts +1 -1
- package/esm/core/ui/button/group/group.js +2 -5
- package/esm/core/ui/button/tooltip/tooltip.d.ts +1 -1
- package/esm/core/ui/button/tooltip/tooltip.js +4 -9
- package/esm/core/ui/element.d.ts +1 -1
- package/esm/core/ui/element.js +4 -4
- package/esm/core/ui/form/block/block.d.ts +1 -1
- package/esm/core/ui/form/block/block.js +2 -5
- package/esm/core/ui/form/form.d.ts +1 -1
- package/esm/core/ui/form/form.js +5 -4
- package/esm/core/ui/form/index.d.ts +1 -1
- package/esm/core/ui/form/index.js +1 -1
- package/esm/core/ui/form/inputs/area/area.d.ts +2 -2
- package/esm/core/ui/form/inputs/area/area.js +2 -5
- package/esm/core/ui/form/inputs/checkbox/checkbox.d.ts +2 -2
- package/esm/core/ui/form/inputs/checkbox/checkbox.js +2 -5
- package/esm/core/ui/form/inputs/file/file.d.ts +1 -1
- package/esm/core/ui/form/inputs/file/file.js +1 -4
- package/esm/core/ui/form/inputs/index.d.ts +2 -2
- package/esm/core/ui/form/inputs/index.js +2 -2
- package/esm/core/ui/form/inputs/input/input.d.ts +1 -1
- package/esm/core/ui/form/inputs/input/input.js +5 -8
- package/esm/core/ui/form/inputs/select/select.d.ts +1 -1
- package/esm/core/ui/form/inputs/select/select.js +1 -4
- package/esm/core/ui/group/group.d.ts +2 -3
- package/esm/core/ui/group/group.js +3 -8
- package/esm/core/ui/group/list.d.ts +2 -2
- package/esm/core/ui/group/list.js +4 -7
- package/esm/core/ui/group/separator.d.ts +0 -3
- package/esm/core/ui/group/separator.js +1 -1
- package/esm/core/ui/group/spacer.d.ts +0 -3
- package/esm/core/ui/group/spacer.js +1 -1
- package/esm/core/ui/helpers/get-strong-control-types.js +2 -2
- package/esm/core/ui/icon.js +3 -3
- package/esm/core/ui/index.d.ts +3 -3
- package/esm/core/ui/index.js +3 -3
- package/esm/core/ui/popup/popup.d.ts +1 -1
- package/esm/core/ui/popup/popup.js +4 -9
- package/esm/core/ui/progress-bar/progress-bar.d.ts +1 -1
- package/esm/core/ui/progress-bar/progress-bar.js +0 -5
- package/esm/core/view/view-with-toolbar.d.ts +5 -5
- package/esm/core/view/view-with-toolbar.js +11 -13
- package/esm/core/view/view.d.ts +6 -6
- package/esm/core/view/view.js +15 -8
- package/esm/index.d.ts +2 -7
- package/esm/index.js +11 -4
- package/esm/jodit.d.ts +7 -7
- package/esm/jodit.js +16 -17
- package/esm/languages.js +2 -2
- package/esm/modules/context-menu/context-menu.d.ts +3 -3
- package/esm/modules/context-menu/context-menu.js +4 -9
- package/esm/modules/dialog/alert.js +2 -2
- package/esm/modules/dialog/confirm.js +1 -1
- package/esm/modules/dialog/dialog.d.ts +2 -2
- package/esm/modules/dialog/dialog.js +9 -12
- package/esm/modules/dialog/index.d.ts +2 -2
- package/esm/modules/dialog/index.js +2 -2
- package/esm/modules/dialog/prompt.js +1 -1
- package/esm/modules/file-browser/builders/context-menu.d.ts +1 -1
- package/esm/modules/file-browser/builders/context-menu.js +3 -3
- package/esm/modules/file-browser/config.d.ts +3 -0
- package/esm/modules/file-browser/config.js +2 -5
- package/esm/modules/file-browser/data-provider.d.ts +1 -1
- package/esm/modules/file-browser/data-provider.js +2 -2
- package/esm/modules/file-browser/file-browser.d.ts +3 -3
- package/esm/modules/file-browser/file-browser.js +13 -16
- package/esm/modules/file-browser/listeners/native-listeners.d.ts +1 -1
- package/esm/modules/file-browser/listeners/native-listeners.js +1 -1
- package/esm/modules/file-browser/listeners/self-listeners.js +4 -4
- package/esm/modules/file-browser/ui/files/files.d.ts +1 -1
- package/esm/modules/file-browser/ui/tree/tree.d.ts +1 -1
- package/esm/modules/history/history.d.ts +1 -1
- package/esm/modules/history/history.js +3 -3
- package/esm/modules/history/snapshot.js +1 -1
- package/esm/modules/image-editor/config.js +1 -1
- package/esm/modules/image-editor/image-editor.d.ts +2 -2
- package/esm/modules/image-editor/image-editor.js +4 -9
- package/esm/modules/index.d.ts +13 -12
- package/esm/modules/index.js +13 -12
- package/esm/modules/messages/message.js +1 -1
- package/esm/modules/messages/messages.d.ts +1 -1
- package/esm/modules/messages/messages.js +1 -6
- package/esm/modules/status-bar/status-bar.d.ts +3 -3
- package/esm/modules/status-bar/status-bar.js +3 -8
- package/esm/modules/table/table.js +3 -3
- package/esm/modules/toolbar/button/button.d.ts +2 -2
- package/esm/modules/toolbar/button/button.js +9 -14
- package/esm/modules/toolbar/button/content.d.ts +1 -1
- package/esm/modules/toolbar/button/content.js +3 -6
- package/esm/modules/toolbar/button/select/select.d.ts +1 -1
- package/esm/modules/toolbar/button/select/select.js +0 -3
- package/esm/modules/toolbar/collection/collection.d.ts +4 -4
- package/esm/modules/toolbar/collection/collection.js +3 -8
- package/esm/modules/toolbar/collection/editor-collection.d.ts +1 -1
- package/esm/modules/toolbar/collection/editor-collection.js +2 -5
- package/esm/modules/toolbar/factory.js +2 -2
- package/esm/modules/uploader/config.js +1 -1
- package/esm/modules/uploader/helpers/index.d.ts +2 -2
- package/esm/modules/uploader/helpers/index.js +2 -2
- package/esm/modules/uploader/helpers/process-old-browser-drag.js +1 -1
- package/esm/modules/uploader/helpers/send.js +1 -2
- package/esm/modules/uploader/uploader.d.ts +1 -1
- package/esm/modules/uploader/uploader.js +3 -8
- package/esm/modules/widget/color-picker/color-picker.d.ts +3 -3
- package/esm/modules/widget/color-picker/color-picker.js +4 -9
- package/esm/modules/widget/file-selector/file-selector.js +2 -2
- package/esm/modules/widget/index.d.ts +1 -1
- package/esm/modules/widget/index.js +1 -1
- package/esm/modules/widget/tabs/tabs.d.ts +1 -1
- package/esm/modules/widget/tabs/tabs.js +2 -7
- package/esm/plugins/about/about.d.ts +0 -5
- package/esm/plugins/about/about.js +3 -8
- package/esm/plugins/add-new-line/add-new-line.d.ts +1 -1
- package/esm/plugins/add-new-line/add-new-line.js +2 -7
- package/esm/plugins/add-new-line/config.js +1 -1
- package/esm/plugins/ai-assistant/ai-assistant.d.ts +27 -0
- package/esm/plugins/ai-assistant/ai-assistant.js +104 -0
- package/esm/plugins/ai-assistant/ai-assistant.svg.js +1 -0
- package/esm/plugins/ai-assistant/chat-bot.svg.js +1 -0
- package/esm/plugins/ai-assistant/config.d.ts +72 -0
- package/esm/plugins/ai-assistant/config.js +94 -0
- package/esm/plugins/ai-assistant/langs/en.d.ts +9 -0
- package/esm/plugins/ai-assistant/langs/en.js +14 -0
- package/esm/plugins/ai-assistant/langs/es.d.ts +40 -0
- package/esm/plugins/ai-assistant/langs/es.js +45 -0
- package/esm/plugins/ai-assistant/langs/index.d.ts +8 -0
- package/esm/plugins/ai-assistant/langs/index.js +8 -0
- package/esm/plugins/ai-assistant/ui/ui-ai-assistant.d.ts +34 -0
- package/esm/plugins/ai-assistant/ui/ui-ai-assistant.js +141 -0
- package/esm/plugins/backspace/backspace.js +5 -5
- package/esm/plugins/backspace/cases/check-join-neighbors.js +2 -2
- package/esm/plugins/backspace/cases/check-remove-char.js +2 -2
- package/esm/plugins/backspace/cases/check-remove-empty-parent.js +1 -1
- package/esm/plugins/backspace/cases/check-remove-unbreakable-element.js +1 -1
- package/esm/plugins/backspace/cases/check-unwrap-first-list-item.d.ts +1 -1
- package/esm/plugins/backspace/cases/check-unwrap-first-list-item.js +1 -1
- package/esm/plugins/backspace/cases/index.d.ts +1 -1
- package/esm/plugins/backspace/cases/index.js +6 -6
- package/esm/plugins/bold/bold.js +4 -4
- package/esm/plugins/class-span/class-span.js +3 -3
- package/esm/plugins/clean-html/clean-html.js +5 -5
- package/esm/plugins/clean-html/config.js +1 -1
- package/esm/plugins/clean-html/helpers/get-hash.js +1 -1
- package/esm/plugins/clean-html/helpers/remove-format/remove-format-for-collapsed-selection.js +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/fill-empty-paragraph.js +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/index.d.ts +2 -2
- package/esm/plugins/clean-html/helpers/visitor/filters/index.js +2 -2
- package/esm/plugins/clean-html/helpers/visitor/filters/try-remove-node.js +1 -1
- package/esm/plugins/clean-html/helpers/visitor/visit-node-walker.d.ts +1 -1
- package/esm/plugins/clean-html/helpers/visitor/visit-node-walker.js +1 -1
- package/esm/plugins/clipboard/clipboard.js +1 -1
- package/esm/plugins/clipboard/config.js +1 -1
- package/esm/plugins/color/color.js +1 -1
- package/esm/plugins/color/config.js +3 -3
- package/esm/plugins/copy-format/copy-format.js +2 -2
- package/esm/plugins/delete/delete.js +2 -2
- package/esm/plugins/drag-and-drop/drag-and-drop.js +2 -2
- package/esm/plugins/drag-and-drop-element/drag-and-drop-element.js +3 -3
- package/esm/plugins/dtd/dtd.js +3 -3
- package/esm/plugins/enter/enter.js +5 -5
- package/esm/plugins/enter/helpers/check-br.js +2 -2
- package/esm/plugins/enter/helpers/index.d.ts +2 -2
- package/esm/plugins/enter/helpers/index.js +2 -2
- package/esm/plugins/enter/helpers/move-cursor-out-from-specal-tags.d.ts +1 -1
- package/esm/plugins/enter/helpers/split-fragment.js +1 -1
- package/esm/plugins/file/file.js +2 -2
- package/esm/plugins/focus/focus.js +1 -1
- package/esm/plugins/font/config.js +4 -4
- package/esm/plugins/font/font.js +1 -1
- package/esm/plugins/format-block/config.js +2 -2
- package/esm/plugins/fullsize/config.d.ts +0 -3
- package/esm/plugins/fullsize/config.js +1 -4
- package/esm/plugins/fullsize/fullsize.d.ts +1 -1
- package/esm/plugins/fullsize/fullsize.js +2 -7
- package/esm/plugins/hotkeys/hotkeys.js +2 -2
- package/esm/plugins/hr/hr.js +1 -1
- package/esm/plugins/iframe/iframe.js +2 -2
- package/esm/plugins/image/image.js +3 -3
- package/esm/plugins/image-processor/image-processor.js +3 -3
- package/esm/plugins/image-properties/image-properties.d.ts +1 -1
- package/esm/plugins/image-properties/image-properties.js +6 -11
- package/esm/plugins/indent/config.js +2 -2
- package/esm/plugins/indent/indent.js +1 -1
- package/esm/plugins/index.d.ts +1 -0
- package/esm/plugins/inline-popup/config/config.js +9 -11
- package/esm/plugins/inline-popup/config/items/img.js +1 -1
- package/esm/plugins/inline-popup/inline-popup.d.ts +1 -1
- package/esm/plugins/inline-popup/inline-popup.js +6 -11
- package/esm/plugins/justify/justify.js +3 -3
- package/esm/plugins/key-arrow-outside/key-arrow-outside.js +2 -2
- package/esm/plugins/limit/limit.js +1 -1
- package/esm/plugins/line-height/config.js +1 -1
- package/esm/plugins/line-height/line-height.js +3 -3
- package/esm/plugins/link/config.d.ts +1 -1
- package/esm/plugins/link/config.js +2 -2
- package/esm/plugins/link/link.js +2 -2
- package/esm/plugins/link/template.js +1 -1
- package/esm/plugins/media/media.js +1 -1
- package/esm/plugins/mobile/config.d.ts +3 -0
- package/esm/plugins/mobile/config.js +2 -5
- package/esm/plugins/mobile/mobile.js +1 -1
- package/esm/plugins/ordered-list/config.js +1 -1
- package/esm/plugins/ordered-list/ordered-list.js +1 -1
- package/esm/plugins/paste/config.js +3 -1
- package/esm/plugins/paste/helpers.js +2 -2
- package/esm/plugins/paste/paste.js +4 -4
- package/esm/plugins/paste-from-word/config.js +1 -1
- package/esm/plugins/paste-from-word/paste-from-word.d.ts +1 -1
- package/esm/plugins/paste-from-word/paste-from-word.js +3 -3
- package/esm/plugins/paste-storage/paste-storage.d.ts +1 -6
- package/esm/plugins/paste-storage/paste-storage.js +2 -7
- package/esm/plugins/placeholder/placeholder.d.ts +1 -1
- package/esm/plugins/placeholder/placeholder.js +5 -10
- package/esm/plugins/preview/preview.d.ts +1 -1
- package/esm/plugins/preview/preview.js +1 -6
- package/esm/plugins/print/print.js +4 -5
- package/esm/plugins/redo-undo/redo-undo.js +2 -2
- package/esm/plugins/resize-cells/resize-cells.d.ts +1 -1
- package/esm/plugins/resize-cells/resize-cells.js +2 -7
- package/esm/plugins/resize-handler/resize-handler.js +3 -3
- package/esm/plugins/resizer/resizer.d.ts +1 -1
- package/esm/plugins/resizer/resizer.js +3 -9
- package/esm/plugins/search/config.js +2 -2
- package/esm/plugins/search/helpers/index.d.ts +1 -1
- package/esm/plugins/search/helpers/index.js +1 -1
- package/esm/plugins/search/search.d.ts +1 -1
- package/esm/plugins/search/search.js +6 -6
- package/esm/plugins/search/ui/search.d.ts +1 -1
- package/esm/plugins/search/ui/search.js +2 -5
- package/esm/plugins/select/select.js +3 -3
- package/esm/plugins/select-cells/select-cells.js +4 -4
- package/esm/plugins/size/config.js +1 -1
- package/esm/plugins/size/size.d.ts +1 -1
- package/esm/plugins/size/size.js +2 -7
- package/esm/plugins/source/config.js +1 -1
- package/esm/plugins/source/editor/engines/area.js +1 -1
- package/esm/plugins/source/editor/engines/index.d.ts +1 -1
- package/esm/plugins/source/editor/engines/index.js +1 -1
- package/esm/plugins/source/source.d.ts +1 -1
- package/esm/plugins/source/source.js +4 -9
- package/esm/plugins/speech-recognize/config.js +3 -3
- package/esm/plugins/speech-recognize/helpers/recognize-manager.d.ts +1 -1
- package/esm/plugins/speech-recognize/helpers/recognize-manager.js +2 -2
- package/esm/plugins/speech-recognize/speech-recognize.d.ts +1 -1
- package/esm/plugins/speech-recognize/speech-recognize.js +5 -10
- package/esm/plugins/spellcheck/config.js +1 -1
- package/esm/plugins/spellcheck/spellcheck.js +3 -3
- package/esm/plugins/stat/stat.js +1 -1
- package/esm/plugins/sticky/sticky.d.ts +1 -1
- package/esm/plugins/sticky/sticky.js +3 -8
- package/esm/plugins/symbols/config.js +1 -1
- package/esm/plugins/symbols/symbols.d.ts +1 -1
- package/esm/plugins/symbols/symbols.js +3 -8
- package/esm/plugins/tab/tab.js +3 -3
- package/esm/plugins/table/config.js +2 -2
- package/esm/plugins/table/table.d.ts +1 -1
- package/esm/plugins/table/table.js +0 -5
- package/esm/plugins/table-keyboard-navigation/table-keyboard-navigation.js +1 -1
- package/esm/plugins/video/config.js +3 -3
- package/esm/plugins/wrap-nodes/config.d.ts +1 -1
- package/esm/plugins/wrap-nodes/wrap-nodes.js +3 -3
- package/esm/plugins/xpath/xpath.d.ts +1 -6
- package/esm/plugins/xpath/xpath.js +4 -9
- package/esm/polyfills.d.ts +10 -0
- package/esm/types/view.d.ts +1 -1
- package/package.json +2 -2
- package/types/config.d.ts +6 -19
- package/types/core/component/component.d.ts +2 -2
- package/types/core/component/index.d.ts +1 -1
- package/types/core/constants.d.ts +1 -0
- package/types/core/create/create.d.ts +3 -2
- package/types/core/decorators/autobind/autobind.d.ts +6 -0
- package/types/core/decorators/cache/cache.d.ts +2 -2
- package/types/core/decorators/debounce/debounce.d.ts +1 -1
- package/types/core/decorators/index.d.ts +3 -3
- package/types/core/event-emitter/observable.d.ts +1 -1
- package/types/core/global.d.ts +1 -1
- package/types/core/helpers/array/as-array.d.ts +1 -1
- package/types/core/helpers/checker/index.d.ts +3 -3
- package/types/core/helpers/checker/is-url.d.ts +1 -1
- package/types/core/helpers/checker/is-view-object.d.ts +1 -1
- package/types/core/helpers/html/index.d.ts +2 -2
- package/types/core/helpers/html/strip-tags.d.ts +1 -1
- package/types/core/helpers/index.d.ts +1 -1
- package/types/core/helpers/normalize/index.d.ts +2 -2
- package/types/core/helpers/size/index.d.ts +1 -1
- package/types/core/helpers/utils/data-bind.d.ts +1 -1
- package/types/core/helpers/utils/index.d.ts +1 -1
- package/types/core/helpers/utils/selector.d.ts +7 -6
- package/types/core/helpers/utils/utils.d.ts +4 -4
- package/types/core/plugin/helpers/init-instance.d.ts +1 -1
- package/types/core/plugin/index.d.ts +1 -1
- package/types/core/request/ajax.d.ts +1 -1
- package/types/core/selection/index.d.ts +1 -1
- package/types/core/selection/style/api/get-suit-child.d.ts +1 -1
- package/types/core/selection/style/api/get-suit-parent.d.ts +1 -1
- package/types/core/selection/style/api/index.d.ts +5 -5
- package/types/core/selection/style/api/is-suit-element.d.ts +1 -1
- package/types/core/selection/style/api/list/toggle-ordered-list.d.ts +1 -1
- package/types/core/selection/style/api/list/wrap-list.d.ts +1 -1
- package/types/core/selection/style/api/toggle-attributes.d.ts +1 -1
- package/types/core/selection/style/api/wrap-unwrapped-text.d.ts +1 -1
- package/types/core/selection/style/api/wrap.d.ts +1 -1
- package/types/core/selection/style/apply-style.d.ts +1 -1
- package/types/core/selection/style/commit-style.d.ts +2 -2
- package/types/core/selection/style/transactions.d.ts +1 -1
- package/types/core/storage/index.d.ts +1 -1
- package/types/core/traits/dlgs.d.ts +1 -1
- package/types/core/traits/mods.d.ts +1 -1
- package/types/core/ui/button/button/button.d.ts +4 -4
- package/types/core/ui/button/group/group.d.ts +1 -1
- package/types/core/ui/button/tooltip/tooltip.d.ts +1 -1
- package/types/core/ui/element.d.ts +1 -1
- package/types/core/ui/form/block/block.d.ts +1 -1
- package/types/core/ui/form/form.d.ts +1 -1
- package/types/core/ui/form/index.d.ts +1 -1
- package/types/core/ui/form/inputs/area/area.d.ts +2 -2
- package/types/core/ui/form/inputs/checkbox/checkbox.d.ts +2 -2
- package/types/core/ui/form/inputs/file/file.d.ts +1 -1
- package/types/core/ui/form/inputs/index.d.ts +2 -2
- 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 +2 -3
- package/types/core/ui/group/list.d.ts +2 -2
- package/types/core/ui/group/separator.d.ts +0 -3
- package/types/core/ui/group/spacer.d.ts +0 -3
- package/types/core/ui/index.d.ts +3 -3
- 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 +5 -5
- package/types/core/view/view.d.ts +6 -6
- package/types/index.d.ts +2 -7
- package/types/jodit.d.ts +7 -7
- package/types/modules/context-menu/context-menu.d.ts +3 -3
- package/types/modules/dialog/dialog.d.ts +2 -2
- package/types/modules/dialog/index.d.ts +2 -2
- package/types/modules/file-browser/builders/context-menu.d.ts +1 -1
- package/types/modules/file-browser/config.d.ts +3 -0
- package/types/modules/file-browser/data-provider.d.ts +1 -1
- package/types/modules/file-browser/file-browser.d.ts +3 -3
- package/types/modules/file-browser/listeners/native-listeners.d.ts +1 -1
- package/types/modules/file-browser/ui/files/files.d.ts +1 -1
- package/types/modules/file-browser/ui/tree/tree.d.ts +1 -1
- package/types/modules/history/history.d.ts +1 -1
- package/types/modules/image-editor/image-editor.d.ts +2 -2
- package/types/modules/index.d.ts +13 -12
- package/types/modules/messages/messages.d.ts +1 -1
- package/types/modules/status-bar/status-bar.d.ts +3 -3
- package/types/modules/toolbar/button/button.d.ts +2 -2
- package/types/modules/toolbar/button/content.d.ts +1 -1
- package/types/modules/toolbar/button/select/select.d.ts +1 -1
- package/types/modules/toolbar/collection/collection.d.ts +4 -4
- package/types/modules/toolbar/collection/editor-collection.d.ts +1 -1
- package/types/modules/uploader/helpers/index.d.ts +2 -2
- package/types/modules/uploader/uploader.d.ts +1 -1
- package/types/modules/widget/color-picker/color-picker.d.ts +3 -3
- package/types/modules/widget/index.d.ts +1 -1
- package/types/modules/widget/tabs/tabs.d.ts +1 -1
- package/types/plugins/about/about.d.ts +0 -5
- package/types/plugins/add-new-line/add-new-line.d.ts +1 -1
- package/types/plugins/ai-assistant/ai-assistant.d.ts +27 -0
- package/types/plugins/ai-assistant/config.d.ts +72 -0
- package/types/plugins/ai-assistant/langs/en.d.ts +9 -0
- package/types/plugins/ai-assistant/langs/es.d.ts +40 -0
- package/types/plugins/ai-assistant/langs/index.d.ts +8 -0
- package/types/plugins/ai-assistant/ui/ui-ai-assistant.d.ts +34 -0
- package/types/plugins/backspace/cases/check-unwrap-first-list-item.d.ts +1 -1
- package/types/plugins/backspace/cases/index.d.ts +1 -1
- package/types/plugins/clean-html/helpers/visitor/filters/index.d.ts +2 -2
- package/types/plugins/clean-html/helpers/visitor/visit-node-walker.d.ts +1 -1
- package/types/plugins/enter/helpers/index.d.ts +2 -2
- package/types/plugins/enter/helpers/move-cursor-out-from-specal-tags.d.ts +1 -1
- package/types/plugins/fullsize/config.d.ts +0 -3
- package/types/plugins/fullsize/fullsize.d.ts +1 -1
- package/types/plugins/image-properties/image-properties.d.ts +1 -1
- package/types/plugins/index.d.ts +1 -0
- package/types/plugins/inline-popup/inline-popup.d.ts +1 -1
- package/types/plugins/link/config.d.ts +1 -1
- package/types/plugins/mobile/config.d.ts +3 -0
- package/types/plugins/paste-from-word/paste-from-word.d.ts +1 -1
- package/types/plugins/paste-storage/paste-storage.d.ts +1 -6
- package/types/plugins/placeholder/placeholder.d.ts +1 -1
- package/types/plugins/preview/preview.d.ts +1 -1
- package/types/plugins/resize-cells/resize-cells.d.ts +1 -1
- package/types/plugins/resizer/resizer.d.ts +1 -1
- package/types/plugins/search/helpers/index.d.ts +1 -1
- package/types/plugins/search/search.d.ts +1 -1
- package/types/plugins/search/ui/search.d.ts +1 -1
- package/types/plugins/size/size.d.ts +1 -1
- package/types/plugins/source/editor/engines/index.d.ts +1 -1
- 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/speech-recognize.d.ts +1 -1
- package/types/plugins/sticky/sticky.d.ts +1 -1
- package/types/plugins/symbols/symbols.d.ts +1 -1
- package/types/plugins/table/table.d.ts +1 -1
- package/types/plugins/wrap-nodes/config.d.ts +1 -1
- package/types/plugins/xpath/xpath.d.ts +1 -6
- package/types/polyfills.d.ts +10 -0
- package/types/types/view.d.ts +1 -1
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module plugins/size
|
|
10
10
|
*/
|
|
11
|
-
|
|
12
11
|
import type { IJodit } from "jodit/esm/types";
|
|
13
12
|
import { Plugin } from "jodit/esm/core/plugin/plugin";
|
|
14
13
|
import "./config";
|
|
14
|
+
|
|
15
15
|
/**
|
|
16
16
|
* Calculate sizes for editor workspace and handle setHeight and setWidth events
|
|
17
17
|
*/
|
package/esm/plugins/size/size.js
CHANGED
|
@@ -13,16 +13,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
13
13
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
14
14
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15
15
|
};
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
* @packageDocumentation
|
|
19
|
-
* @module plugins/size
|
|
20
|
-
*/
|
|
16
|
+
import { autobind, throttle } from "jodit/esm/core/decorators/index.js";
|
|
17
|
+
import { pluginSystem } from "jodit/esm/core/global.js";
|
|
21
18
|
import { isNumber } from "jodit/esm/core/helpers/checker/is-number.js";
|
|
22
19
|
import { css } from "jodit/esm/core/helpers/utils/css.js";
|
|
23
20
|
import { Plugin } from "jodit/esm/core/plugin/plugin.js";
|
|
24
|
-
import { autobind, throttle } from "jodit/esm/core/decorators/index.js";
|
|
25
|
-
import { pluginSystem } from "jodit/esm/core/global.js";
|
|
26
21
|
import "./config";
|
|
27
22
|
/**
|
|
28
23
|
* Calculate sizes for editor workspace and handle setHeight and setWidth events
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { Config } from "jodit/esm/config.js";
|
|
7
6
|
import { IS_IE, MODE_SOURCE, MODE_SPLIT } from "jodit/esm/core/constants.js";
|
|
8
7
|
import { Icon } from "jodit/esm/core/ui/icon.js";
|
|
9
8
|
import sourceIcon from "./source.svg.js";
|
|
9
|
+
import { Config } from "jodit/esm/config.js";
|
|
10
10
|
Config.prototype.beautifyHTML = !IS_IE;
|
|
11
11
|
Config.prototype.sourceEditor = 'ace';
|
|
12
12
|
Config.prototype.sourceEditorNativeOptions = {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { css } from "jodit/esm/core/helpers/utils/css.js";
|
|
7
6
|
import { Dom } from "jodit/esm/core/dom/dom.js";
|
|
7
|
+
import { css } from "jodit/esm/core/helpers/utils/css.js";
|
|
8
8
|
import { SourceEditor } from "jodit/esm/plugins/source/editor/sourceEditor.js";
|
|
9
9
|
export class TextAreaEditor extends SourceEditor {
|
|
10
10
|
constructor() {
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module plugins/source
|
|
10
10
|
*/
|
|
11
|
-
|
|
12
11
|
import type { IJodit, ISourceEditor } from "jodit/esm/types";
|
|
13
12
|
import { Plugin } from "jodit/esm/core/plugin";
|
|
14
13
|
import "./config";
|
|
14
|
+
|
|
15
15
|
/**
|
|
16
16
|
* Plug-in change simple textarea on CodeMirror editor in Source code mode
|
|
17
17
|
*/
|
|
@@ -13,20 +13,15 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
13
13
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
14
14
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15
15
|
};
|
|
16
|
-
/**
|
|
17
|
-
* [[include:plugins/source/README.md]]
|
|
18
|
-
* @packageDocumentation
|
|
19
|
-
* @module plugins/source
|
|
20
|
-
*/
|
|
21
16
|
import * as consts from "jodit/esm/core/constants.js";
|
|
22
17
|
import { INVISIBLE_SPACE, KEY_ESC, MODE_SOURCE, MODE_SPLIT, SOURCE_CONSUMER } from "jodit/esm/core/constants.js";
|
|
23
|
-
import { Plugin } from "jodit/esm/core/plugin/index.js";
|
|
24
|
-
import { Dom } from "jodit/esm/core/dom/dom.js";
|
|
25
|
-
import { isString, loadNext } from "jodit/esm/core/helpers/index.js";
|
|
26
18
|
import { autobind, watch } from "jodit/esm/core/decorators/index.js";
|
|
19
|
+
import { Dom } from "jodit/esm/core/dom/dom.js";
|
|
27
20
|
import { pluginSystem } from "jodit/esm/core/global.js";
|
|
28
|
-
import {
|
|
21
|
+
import { isString, loadNext } from "jodit/esm/core/helpers/index.js";
|
|
22
|
+
import { Plugin } from "jodit/esm/core/plugin/index.js";
|
|
29
23
|
import "./config";
|
|
24
|
+
import { createSourceEditor } from "./editor/factory";
|
|
30
25
|
/**
|
|
31
26
|
* Plug-in change simple textarea on CodeMirror editor in Source code mode
|
|
32
27
|
*/
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { Config } from "jodit/esm/config.js";
|
|
7
|
-
import { dataBind } from "jodit/esm/core/helpers/utils/data-bind.js";
|
|
8
6
|
import { isBoolean } from "jodit/esm/core/helpers/checker/is-boolean.js";
|
|
7
|
+
import { dataBind } from "jodit/esm/core/helpers/utils/data-bind.js";
|
|
9
8
|
import { Icon } from "jodit/esm/core/ui/icon.js";
|
|
10
|
-
import { RecognizeManager } from "./helpers/recognize-manager";
|
|
11
9
|
import { SpeechRecognition } from "./helpers/api";
|
|
10
|
+
import { RecognizeManager } from "./helpers/recognize-manager";
|
|
12
11
|
import speechRecognizeIcon from "./speech-recognize.svg.js";
|
|
12
|
+
import { Config } from "jodit/esm/config.js";
|
|
13
13
|
Config.prototype.speechRecognize = {
|
|
14
14
|
api: SpeechRecognition,
|
|
15
15
|
sound: true,
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
* @module plugins/speech-recognize
|
|
8
8
|
*/
|
|
9
9
|
import type { CanUndef, IAsync, IDestructible } from "jodit/esm/types";
|
|
10
|
-
import { Eventify } from "jodit/esm/core/event-emitter/eventify";
|
|
11
10
|
import type { ISpeechRecognize } from "jodit/esm/plugins/speech-recognize/interface";
|
|
11
|
+
import { Eventify } from "jodit/esm/core/event-emitter/eventify";
|
|
12
12
|
export declare class RecognizeManager extends Eventify<{
|
|
13
13
|
pulse: (enable: boolean) => void;
|
|
14
14
|
result: (text: string) => void;
|
|
@@ -14,10 +14,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
14
14
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15
15
|
};
|
|
16
16
|
var RecognizeManager_1;
|
|
17
|
-
import { Eventify } from "jodit/esm/core/event-emitter/eventify.js";
|
|
18
17
|
import { autobind } from "jodit/esm/core/decorators/index.js";
|
|
19
|
-
import {
|
|
18
|
+
import { Eventify } from "jodit/esm/core/event-emitter/eventify.js";
|
|
20
19
|
import { sound } from "./sound";
|
|
20
|
+
import { PII, WARN } from "jodit/esm/plugins/speech-recognize/constants.js";
|
|
21
21
|
let RecognizeManager = RecognizeManager_1 = class RecognizeManager extends Eventify {
|
|
22
22
|
set lang(v) {
|
|
23
23
|
this._lang = v;
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module plugins/speech-recognize
|
|
10
10
|
*/
|
|
11
|
-
|
|
12
11
|
import type { IJodit, IPlugin } from "jodit/esm/types";
|
|
13
12
|
import { Plugin } from "jodit/esm/core/plugin";
|
|
14
13
|
import "./config";
|
|
14
|
+
|
|
15
15
|
export declare class SpeechRecognizeNative extends Plugin implements IPlugin {
|
|
16
16
|
constructor(j: IJodit);
|
|
17
17
|
protected afterInit(jodit: IJodit): void;
|
|
@@ -13,21 +13,16 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
13
13
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
14
14
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15
15
|
};
|
|
16
|
-
|
|
17
|
-
* [[include:plugins/speech-recognize/README.md]]
|
|
18
|
-
* @packageDocumentation
|
|
19
|
-
* @module plugins/speech-recognize
|
|
20
|
-
*/
|
|
21
|
-
import { Plugin } from "jodit/esm/core/plugin/index.js";
|
|
16
|
+
import { debounce } from "jodit/esm/core/decorators/debounce/debounce.js";
|
|
22
17
|
import { watch } from "jodit/esm/core/decorators/watch/watch.js";
|
|
23
|
-
import { keys } from "jodit/esm/core/helpers/utils/utils.js";
|
|
24
|
-
import { extendLang } from "jodit/esm/core/global.js";
|
|
25
18
|
import { Dom } from "jodit/esm/core/dom/dom.js";
|
|
26
|
-
import {
|
|
19
|
+
import { extendLang } from "jodit/esm/core/global.js";
|
|
20
|
+
import { keys } from "jodit/esm/core/helpers/utils/utils.js";
|
|
21
|
+
import { Plugin } from "jodit/esm/core/plugin/index.js";
|
|
22
|
+
import "./config";
|
|
27
23
|
import { Jodit } from "../../jodit";
|
|
28
24
|
import { execSpellCommand } from "./helpers/exec-spell-command";
|
|
29
25
|
import * as langs from "./langs";
|
|
30
|
-
import "./config";
|
|
31
26
|
export class SpeechRecognizeNative extends Plugin {
|
|
32
27
|
constructor(j) {
|
|
33
28
|
super(j);
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { Config } from "jodit/esm/config.js";
|
|
7
6
|
import { Icon } from "jodit/esm/core/ui/icon.js";
|
|
8
7
|
import spellcheckIcon from "./spellcheck.svg.js";
|
|
8
|
+
import { Config } from "jodit/esm/config.js";
|
|
9
9
|
Config.prototype.spellcheck = false;
|
|
10
10
|
Icon.set('spellcheck', spellcheckIcon);
|
|
11
11
|
Config.prototype.controls.spellcheck = {
|
|
@@ -13,12 +13,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
13
13
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
14
14
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15
15
|
};
|
|
16
|
-
import { Plugin } from "jodit/esm/core/plugin/index.js";
|
|
17
|
-
import { attr } from "jodit/esm/core/helpers/utils/attr.js";
|
|
18
16
|
import { autobind } from "jodit/esm/core/decorators/index.js";
|
|
19
17
|
import { extendLang, pluginSystem } from "jodit/esm/core/global.js";
|
|
20
|
-
import
|
|
18
|
+
import { attr } from "jodit/esm/core/helpers/utils/attr.js";
|
|
19
|
+
import { Plugin } from "jodit/esm/core/plugin/index.js";
|
|
21
20
|
import "./config";
|
|
21
|
+
import * as langs from "./langs";
|
|
22
22
|
export class spellcheck extends Plugin {
|
|
23
23
|
constructor(jodit) {
|
|
24
24
|
super(jodit);
|
package/esm/plugins/stat/stat.js
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
6
|
import { INVISIBLE_SPACE_REG_EXP, SPACE_REG_EXP } from "jodit/esm/core/constants.js";
|
|
7
|
-
import { Plugin } from "jodit/esm/core/plugin/plugin.js";
|
|
8
7
|
import { Dom } from "jodit/esm/core/dom/dom.js";
|
|
9
8
|
import { pluginSystem } from "jodit/esm/core/global.js";
|
|
9
|
+
import { Plugin } from "jodit/esm/core/plugin/plugin.js";
|
|
10
10
|
import "./config";
|
|
11
11
|
/**
|
|
12
12
|
* Show stat data - words and chars count
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module plugins/sticky
|
|
10
10
|
*/
|
|
11
|
-
|
|
12
11
|
import type { IJodit } from "jodit/esm/types";
|
|
13
12
|
import { Plugin } from "jodit/esm/core/plugin/plugin";
|
|
14
13
|
import "./config";
|
|
14
|
+
|
|
15
15
|
export declare class sticky extends Plugin {
|
|
16
16
|
private __isToolbarStuck;
|
|
17
17
|
private __dummyBox?;
|
|
@@ -13,17 +13,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
13
13
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
14
14
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15
15
|
};
|
|
16
|
-
/**
|
|
17
|
-
* [[include:plugins/sticky/README.md]]
|
|
18
|
-
* @packageDocumentation
|
|
19
|
-
* @module plugins/sticky
|
|
20
|
-
*/
|
|
21
16
|
import { IS_ES_NEXT, IS_IE, MODE_WYSIWYG } from "jodit/esm/core/constants.js";
|
|
22
|
-
import { Plugin } from "jodit/esm/core/plugin/plugin.js";
|
|
23
|
-
import { Dom } from "jodit/esm/core/dom/dom.js";
|
|
24
|
-
import { css, offset } from "jodit/esm/core/helpers/index.js";
|
|
25
17
|
import { throttle } from "jodit/esm/core/decorators/index.js";
|
|
18
|
+
import { Dom } from "jodit/esm/core/dom/dom.js";
|
|
26
19
|
import { pluginSystem } from "jodit/esm/core/global.js";
|
|
20
|
+
import { css, offset } from "jodit/esm/core/helpers/index.js";
|
|
21
|
+
import { Plugin } from "jodit/esm/core/plugin/plugin.js";
|
|
27
22
|
import "./config";
|
|
28
23
|
const NEED_DUMMY_BOX = !IS_ES_NEXT && IS_IE;
|
|
29
24
|
export class sticky extends Plugin {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { Config } from "jodit/esm/config.js";
|
|
7
6
|
import { Icon } from "jodit/esm/core/ui/icon.js";
|
|
8
7
|
import symbolsIcon from "./symbols.svg.js";
|
|
8
|
+
import { Config } from "jodit/esm/config.js";
|
|
9
9
|
Config.prototype.usePopupForSpecialCharacters = false;
|
|
10
10
|
Config.prototype.specialCharacters = [
|
|
11
11
|
'!',
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module plugins/symbols
|
|
10
10
|
*/
|
|
11
|
-
|
|
12
11
|
import type { IJodit } from "jodit/esm/types";
|
|
13
12
|
import { Plugin } from "jodit/esm/core/plugin/plugin";
|
|
14
13
|
import "./config";
|
|
14
|
+
|
|
15
15
|
/**
|
|
16
16
|
* The plugin inserts characters that are not part of the standard keyboard.
|
|
17
17
|
*/
|
|
@@ -3,18 +3,13 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
/**
|
|
7
|
-
* [[include:plugins/symbols/README.md]]
|
|
8
|
-
* @packageDocumentation
|
|
9
|
-
* @module plugins/symbols
|
|
10
|
-
*/
|
|
11
6
|
import { KEY_DOWN, KEY_ENTER, KEY_LEFT, KEY_RIGHT, KEY_UP } from "jodit/esm/core/constants.js";
|
|
12
|
-
import { Plugin } from "jodit/esm/core/plugin/plugin.js";
|
|
13
7
|
import { Dom } from "jodit/esm/core/dom/dom.js";
|
|
14
|
-
import { attr } from "jodit/esm/core/helpers/utils/index.js";
|
|
15
8
|
import { extendLang, pluginSystem } from "jodit/esm/core/global.js";
|
|
16
|
-
import
|
|
9
|
+
import { attr } from "jodit/esm/core/helpers/utils/index.js";
|
|
10
|
+
import { Plugin } from "jodit/esm/core/plugin/plugin.js";
|
|
17
11
|
import "./config";
|
|
12
|
+
import * as langs from "./langs";
|
|
18
13
|
/**
|
|
19
14
|
* The plugin inserts characters that are not part of the standard keyboard.
|
|
20
15
|
*/
|
package/esm/plugins/tab/tab.js
CHANGED
|
@@ -13,12 +13,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
13
13
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
14
14
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15
15
|
};
|
|
16
|
-
import { Plugin } from "jodit/esm/core/plugin/index.js";
|
|
17
|
-
import { watch } from "jodit/esm/core/decorators/index.js";
|
|
18
16
|
import { KEY_TAB } from "jodit/esm/core/constants.js";
|
|
17
|
+
import { watch } from "jodit/esm/core/decorators/index.js";
|
|
19
18
|
import { pluginSystem } from "jodit/esm/core/global.js";
|
|
20
|
-
import {
|
|
19
|
+
import { Plugin } from "jodit/esm/core/plugin/index.js";
|
|
21
20
|
import "./config";
|
|
21
|
+
import { onTabInsideLi } from "./cases";
|
|
22
22
|
class tab extends Plugin {
|
|
23
23
|
afterInit(jodit) { }
|
|
24
24
|
__onTab(event) {
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { Config } from "jodit/esm/config.js";
|
|
7
6
|
import { Dom } from "jodit/esm/core/dom/index.js";
|
|
8
|
-
import { attr } from "jodit/esm/core/helpers/utils/index.js";
|
|
9
7
|
import { $$, css, scrollIntoViewIfNeeded } from "jodit/esm/core/helpers/index.js";
|
|
8
|
+
import { attr } from "jodit/esm/core/helpers/utils/index.js";
|
|
10
9
|
import { Icon } from "jodit/esm/core/ui/icon.js";
|
|
11
10
|
import tableIcon from "./table.svg.js";
|
|
11
|
+
import { Config } from "jodit/esm/config.js";
|
|
12
12
|
Config.prototype.table = {
|
|
13
13
|
selectionCellStyle: 'border: 1px double #1e88e5 !important;',
|
|
14
14
|
useExtraClassesOptions: false
|
|
@@ -3,11 +3,6 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
/**
|
|
7
|
-
* [[include:plugins/table/README.md]]
|
|
8
|
-
* @packageDocumentation
|
|
9
|
-
* @module plugins/table
|
|
10
|
-
*/
|
|
11
6
|
import { pluginSystem } from "jodit/esm/core/global.js";
|
|
12
7
|
import "./config";
|
|
13
8
|
export function table(editor) {
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import * as consts from "jodit/esm/core/constants.js";
|
|
7
7
|
import { Dom } from "jodit/esm/core/dom/dom.js";
|
|
8
|
-
import { Table } from "jodit/esm/modules/table/table.js";
|
|
9
8
|
import { pluginSystem } from "jodit/esm/core/global.js";
|
|
10
9
|
import { call } from "jodit/esm/core/helpers/index.js";
|
|
10
|
+
import { Table } from "jodit/esm/modules/table/table.js";
|
|
11
11
|
const WORK_KEYS = new Set([
|
|
12
12
|
consts.KEY_TAB,
|
|
13
13
|
consts.KEY_LEFT,
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
import { Config } from "jodit/esm/config.js";
|
|
7
|
-
import { TabsWidget } from "jodit/esm/modules/widget/index.js";
|
|
8
6
|
import { convertMediaUrlToVideoEmbed } from "jodit/esm/core/helpers/index.js";
|
|
9
|
-
import { UIForm, UIInput, UITextArea, UIBlock } from "jodit/esm/core/ui/form/index.js";
|
|
10
7
|
import { Button } from "jodit/esm/core/ui/button/index.js";
|
|
8
|
+
import { UIBlock, UIForm, UIInput, UITextArea } from "jodit/esm/core/ui/form/index.js";
|
|
11
9
|
import { Icon } from "jodit/esm/core/ui/icon.js";
|
|
10
|
+
import { TabsWidget } from "jodit/esm/modules/widget/index.js";
|
|
12
11
|
import videoIcon from "./video.svg.js";
|
|
12
|
+
import { Config } from "jodit/esm/config.js";
|
|
13
13
|
Icon.set('video', videoIcon);
|
|
14
14
|
Config.prototype.controls.video = {
|
|
15
15
|
popup: (editor, current, close) => {
|
|
@@ -12,7 +12,7 @@ declare module 'jodit/config' {
|
|
|
12
12
|
wrapNodes: {
|
|
13
13
|
exclude: Set<HTMLTagNames>;
|
|
14
14
|
/**
|
|
15
|
-
* If the editor is empty then insert an empty paragraph into it
|
|
15
|
+
* If the editor is empty, then insert an empty paragraph into it
|
|
16
16
|
* @example
|
|
17
17
|
* ```javascript
|
|
18
18
|
* Jodit.make('#editor', {
|
|
@@ -13,11 +13,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
13
13
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
14
14
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15
15
|
};
|
|
16
|
-
import { Plugin } from "jodit/esm/core/plugin/index.js";
|
|
17
|
-
import { Dom } from "jodit/esm/core/dom/index.js";
|
|
18
|
-
import { isString } from "jodit/esm/core/helpers/checker/is-string.js";
|
|
19
16
|
import { autobind } from "jodit/esm/core/decorators/index.js";
|
|
17
|
+
import { Dom } from "jodit/esm/core/dom/index.js";
|
|
20
18
|
import { pluginSystem } from "jodit/esm/core/global.js";
|
|
19
|
+
import { isString } from "jodit/esm/core/helpers/checker/is-string.js";
|
|
20
|
+
import { Plugin } from "jodit/esm/core/plugin/index.js";
|
|
21
21
|
import "./config";
|
|
22
22
|
/**
|
|
23
23
|
* Wrap single text nodes in block wrapper
|
|
@@ -3,10 +3,5 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
/**
|
|
7
|
-
* [[include:plugins/xpath/README.md]]
|
|
8
|
-
* @packageDocumentation
|
|
9
|
-
* @module plugins/xpath
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
6
|
import "./config";
|
|
7
|
+
|
|
@@ -3,21 +3,16 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
/**
|
|
7
|
-
* [[include:plugins/xpath/README.md]]
|
|
8
|
-
* @packageDocumentation
|
|
9
|
-
* @module plugins/xpath
|
|
10
|
-
*/
|
|
11
6
|
import { INVISIBLE_SPACE, MODE_WYSIWYG } from "jodit/esm/core/constants.js";
|
|
12
|
-
import { ContextMenu } from "jodit/esm/modules/context-menu/context-menu.js";
|
|
13
7
|
import { Dom } from "jodit/esm/core/dom/index.js";
|
|
14
|
-
import {
|
|
8
|
+
import { pluginSystem } from "jodit/esm/core/global.js";
|
|
9
|
+
import { attr, getXPathByElement, trim } from "jodit/esm/core/helpers/index.js";
|
|
15
10
|
import { Plugin } from "jodit/esm/core/plugin/index.js";
|
|
11
|
+
import { ContextMenu } from "jodit/esm/modules/context-menu/context-menu.js";
|
|
16
12
|
import { makeButton } from "jodit/esm/modules/toolbar/factory.js";
|
|
17
|
-
import { pluginSystem } from "jodit/esm/core/global.js";
|
|
18
13
|
import "./config";
|
|
19
14
|
/**
|
|
20
|
-
* Show path to current element in status bar
|
|
15
|
+
* Show a path to a current element in status bar
|
|
21
16
|
*/
|
|
22
17
|
class xpath extends Plugin {
|
|
23
18
|
constructor() {
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
3
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
|
+
*/
|
|
6
|
+
import "classlist-polyfill";
|
|
7
|
+
import "es6-promise/auto";
|
|
8
|
+
import "core-js/es/symbol";
|
|
9
|
+
import "core-js/es/array/find-index";
|
|
10
|
+
import "core-js/es/array/from";
|
package/esm/types/view.d.ts
CHANGED
|
@@ -65,7 +65,7 @@ interface IViewBased<T = IViewOptions> extends IContainer, IComponent, IMods, IE
|
|
|
65
65
|
readonly isView: true;
|
|
66
66
|
readonly parent: Nullable<IViewBased>;
|
|
67
67
|
/**
|
|
68
|
-
* ID attribute for source element, id add \{id\}_editor it's editor's id
|
|
68
|
+
* ID attribute for a source element, id add \{id\}_editor it's editor's id
|
|
69
69
|
*/
|
|
70
70
|
readonly id: string;
|
|
71
71
|
readonly basePath: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jodit",
|
|
3
|
-
"version": "4.
|
|
4
|
-
"description": "Jodit is awesome and
|
|
3
|
+
"version": "4.1.3",
|
|
4
|
+
"description": "Jodit is an awesome and useful wysiwyg editor with filebrowser",
|
|
5
5
|
"main": "esm/index.js",
|
|
6
6
|
"types": "types/index.d.ts",
|
|
7
7
|
"scripts": {},
|
package/types/config.d.ts
CHANGED
|
@@ -3,20 +3,7 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
|
-
* Options for the editor. You can set them when creating the editor.
|
|
8
|
-
* ```javascript
|
|
9
|
-
* const editor = Jodit.make('#editor', {
|
|
10
|
-
* toolbar: true,
|
|
11
|
-
* buttons: ['bold', 'italic', 'underline']
|
|
12
|
-
* // other options
|
|
13
|
-
* // ...
|
|
14
|
-
* });
|
|
15
|
-
* ```
|
|
16
|
-
* @packageDocumentation
|
|
17
|
-
* @module config
|
|
18
|
-
*/
|
|
19
|
-
import type { IExtraPlugin, IDictionary, IViewOptions, NodeFunction, Attributes, ButtonsOption, Controls, IControlType, IUIButtonState, InsertMode, Nullable } from "./types";
|
|
6
|
+
import type { Attributes, ButtonsOption, Controls, IControlType, IDictionary, IExtraPlugin, InsertMode, IUIButtonState, IViewOptions, NodeFunction, Nullable } from "./types";
|
|
20
7
|
/**
|
|
21
8
|
* Default Editor's Configuration
|
|
22
9
|
*/
|
|
@@ -132,7 +119,7 @@ declare class Config implements IViewOptions {
|
|
|
132
119
|
*/
|
|
133
120
|
disabled: boolean;
|
|
134
121
|
/**
|
|
135
|
-
* In readOnly mode, some buttons can still be useful, for example the button to view source code or print
|
|
122
|
+
* In readOnly mode, some buttons can still be useful, for example, the button to view source code or print
|
|
136
123
|
*/
|
|
137
124
|
activeButtonsInReadOnly: string[];
|
|
138
125
|
/**
|
|
@@ -177,7 +164,7 @@ declare class Config implements IViewOptions {
|
|
|
177
164
|
*/
|
|
178
165
|
theme: string;
|
|
179
166
|
/**
|
|
180
|
-
* if set true then the current mode is saved in a cookie
|
|
167
|
+
* if set true, then the current mode is saved in a cookie, and is restored after a reload of the page
|
|
181
168
|
*/
|
|
182
169
|
saveModeInStorage: boolean;
|
|
183
170
|
/**
|
|
@@ -265,7 +252,7 @@ declare class Config implements IViewOptions {
|
|
|
265
252
|
*/
|
|
266
253
|
styleValues: IDictionary;
|
|
267
254
|
/**
|
|
268
|
-
* After all changes in editors for textarea will call change trigger
|
|
255
|
+
* After all, changes in editors for textarea will call change trigger
|
|
269
256
|
*
|
|
270
257
|
* @example
|
|
271
258
|
* ```javascript
|
|
@@ -405,7 +392,7 @@ declare class Config implements IViewOptions {
|
|
|
405
392
|
*/
|
|
406
393
|
editHTMLDocumentMode: boolean;
|
|
407
394
|
/**
|
|
408
|
-
* Use when you need insert new block element
|
|
395
|
+
* Use when you need to insert new block element
|
|
409
396
|
* use enter option if not set
|
|
410
397
|
*/
|
|
411
398
|
enterBlock: 'p' | 'div';
|
|
@@ -489,7 +476,7 @@ declare class Config implements IViewOptions {
|
|
|
489
476
|
*/
|
|
490
477
|
basePath?: string;
|
|
491
478
|
/**
|
|
492
|
-
* These buttons list will be added to option.
|
|
479
|
+
* These buttons list will be added to the option. Buttons
|
|
493
480
|
*/
|
|
494
481
|
extraButtons: Array<string | IControlType>;
|
|
495
482
|
/**
|
|
@@ -78,7 +78,7 @@ export declare abstract class Component implements IComponent {
|
|
|
78
78
|
get isDestructed(): boolean;
|
|
79
79
|
/**
|
|
80
80
|
* The component is currently undergoing destructuring or has already been destroyed.
|
|
81
|
-
* Those. you should not
|
|
81
|
+
* Those. you should not the app froze new events on him now or do anything else with him.
|
|
82
82
|
*/
|
|
83
83
|
get isInDestruct(): boolean;
|
|
84
84
|
/**
|
|
@@ -86,7 +86,7 @@ export declare abstract class Component implements IComponent {
|
|
|
86
86
|
*/
|
|
87
87
|
bindDestruct(component: IComponent): this;
|
|
88
88
|
abstract className(): string;
|
|
89
|
-
constructor();
|
|
89
|
+
protected constructor();
|
|
90
90
|
/**
|
|
91
91
|
* Destruct component method
|
|
92
92
|
*/
|
|
@@ -23,6 +23,7 @@ export declare let IS_TEST: boolean;
|
|
|
23
23
|
export declare const FAT_MODE: boolean;
|
|
24
24
|
export declare const HOMEPAGE: string;
|
|
25
25
|
export declare const SET_TEST: () => boolean;
|
|
26
|
+
export declare const TOKENS: Record<string, string>;
|
|
26
27
|
export declare const INVISIBLE_SPACE = "\uFEFF";
|
|
27
28
|
export declare const NBSP_SPACE = "\u00A0";
|
|
28
29
|
export declare const INVISIBLE_SPACE_REG_EXP: () => RegExp;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @module create
|
|
10
10
|
*/
|
|
11
|
-
import type {
|
|
11
|
+
import type { Attributes, CanUndef, Children, ICreate, IDictionary, NodeFunction } from "jodit/esm/types";
|
|
12
12
|
export declare class Create implements ICreate {
|
|
13
13
|
readonly document: Document | (() => Document);
|
|
14
14
|
readonly createAttributes?: CanUndef<IDictionary<Attributes | NodeFunction>>;
|
|
@@ -39,8 +39,9 @@ export declare class Create implements ICreate {
|
|
|
39
39
|
*/
|
|
40
40
|
fragment(): DocumentFragment;
|
|
41
41
|
/**
|
|
42
|
-
* Create DOM element from HTML text
|
|
42
|
+
* Create a DOM element from HTML text
|
|
43
43
|
*
|
|
44
|
+
// eslint-disable-next-line tsdoc/syntax
|
|
44
45
|
* @param refsToggleElement - State dictionary in which you can set the visibility of some of the elements
|
|
45
46
|
* ```js
|
|
46
47
|
* const editor = Jodit.make('#editor');
|