@atlaskit/editor-core 185.8.2 → 185.9.0
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 +17 -0
- package/dist/cjs/commands/index.js +1 -1
- package/dist/cjs/plugins/annotation/index.js +1 -1
- package/dist/cjs/plugins/annotation/pm-plugins/inline-comment.js +14 -14
- package/dist/cjs/plugins/annotation/ui/InlineCommentView.js +7 -6
- package/dist/cjs/plugins/annotation/utils.js +5 -4
- package/dist/cjs/plugins/base/pm-plugins/composition.js +2 -1
- package/dist/cjs/plugins/base/pm-plugins/disable-spell-checking.js +4 -4
- package/dist/cjs/plugins/base/pm-plugins/newline-preserve-marks.js +1 -5
- package/dist/cjs/plugins/block-type/commands/delete-and-move-cursor.js +1 -1
- package/dist/cjs/plugins/block-type/commands/delete-block-content.js +1 -1
- package/dist/cjs/plugins/breakout/index.js +8 -2
- package/dist/cjs/plugins/breakout/plugin-key.js +1 -1
- package/dist/cjs/plugins/breakout/ui/LayoutButton.js +6 -0
- package/dist/cjs/plugins/card/index.js +1 -1
- package/dist/cjs/plugins/card/toolbar.js +6 -6
- package/dist/cjs/plugins/card/utils.js +3 -0
- package/dist/cjs/plugins/code-block/pm-plugins/keymaps.js +1 -1
- package/dist/cjs/plugins/collab-edit/events/initialize.js +1 -1
- package/dist/cjs/plugins/collab-edit/events/send-transaction.js +4 -3
- package/dist/cjs/plugins/collab-edit/get-participants-count.js +4 -1
- package/dist/cjs/plugins/collab-edit/plugin.js +3 -2
- package/dist/cjs/plugins/custom-autoformat/index.js +3 -1
- package/dist/cjs/plugins/date/actions.js +11 -12
- package/dist/cjs/plugins/date/index.js +14 -14
- package/dist/cjs/plugins/editor-disabled/index.js +7 -1
- package/dist/cjs/plugins/emoji/index.js +14 -14
- package/dist/cjs/plugins/expand/commands.js +2 -2
- package/dist/cjs/plugins/expand/index.js +3 -0
- package/dist/cjs/plugins/expand/nodeviews/index.js +2 -0
- package/dist/cjs/plugins/fragment/pm-plugins/fragment-consistency.js +11 -4
- package/dist/cjs/plugins/hyperlink/commands.js +3 -2
- package/dist/cjs/plugins/image-upload/pm-plugins/commands.js +2 -2
- package/dist/cjs/plugins/list/actions/outdent-list-items-selected.js +1 -0
- package/dist/cjs/plugins/macro/actions.js +2 -2
- package/dist/cjs/plugins/media/commands/helpers.js +6 -0
- package/dist/cjs/plugins/media/index.js +2 -2
- package/dist/cjs/plugins/media/nodeviews/mediaGroup.js +17 -13
- package/dist/cjs/plugins/media/nodeviews/mediaNodeView/media.js +10 -5
- package/dist/cjs/plugins/media/nodeviews/mediaSingle.js +1 -1
- package/dist/cjs/plugins/media/toolbar/commands.js +2 -0
- package/dist/cjs/plugins/media/utils/media-common.js +1 -0
- package/dist/cjs/plugins/paste/edge-cases/lists.js +1 -0
- package/dist/cjs/plugins/paste/handlers.js +4 -3
- package/dist/cjs/plugins/paste/pm-plugins/main.js +2 -0
- package/dist/cjs/plugins/paste/util/index.js +2 -2
- package/dist/cjs/plugins/quick-insert/search.js +2 -2
- package/dist/cjs/plugins/save-on-enter/index.js +1 -1
- package/dist/cjs/plugins/selection/gap-cursor/utils/place-gap-cursor.js +1 -0
- package/dist/cjs/plugins/selection/pm-plugins/gap-cursor-main.js +2 -2
- package/dist/cjs/plugins/status/actions.js +4 -4
- package/dist/cjs/plugins/status/plugin.js +3 -3
- package/dist/cjs/plugins/submit-editor/index.js +3 -0
- package/dist/cjs/plugins/text-color/commands/change-color.js +3 -3
- package/dist/cjs/plugins/text-formatting/commands/transform-to-code.js +1 -1
- package/dist/cjs/plugins/text-formatting/pm-plugins/input-rule.js +1 -1
- package/dist/cjs/plugins/text-formatting/ui/Toolbar/hooks/formatting-icons.js +4 -1
- package/dist/cjs/plugins/toolbar-lists-indentation/ui/onItemActivated.js +4 -2
- package/dist/cjs/plugins/type-ahead/commands/update-query.js +1 -1
- package/dist/cjs/plugins/type-ahead/commands/update-selected-index.js +1 -1
- package/dist/cjs/plugins/type-ahead/pm-plugins/decorations.js +1 -1
- package/dist/cjs/plugins/type-ahead/ui/InputQuery.js +2 -2
- package/dist/cjs/plugins/type-ahead/ui/WrapperTypeAhead.js +3 -3
- package/dist/cjs/plugins/type-ahead/utils.js +5 -3
- package/dist/cjs/plugins/view-update-subscription/subscribe/toolbarAndPickerUpdates.js +1 -1
- package/dist/cjs/utils/mark.js +1 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/commands/index.js +1 -1
- package/dist/es2019/plugins/annotation/index.js +1 -1
- package/dist/es2019/plugins/annotation/pm-plugins/inline-comment.js +8 -10
- package/dist/es2019/plugins/annotation/ui/InlineCommentView.js +2 -2
- package/dist/es2019/plugins/annotation/utils.js +3 -3
- package/dist/es2019/plugins/base/pm-plugins/composition.js +2 -1
- package/dist/es2019/plugins/base/pm-plugins/disable-spell-checking.js +4 -4
- package/dist/es2019/plugins/base/pm-plugins/newline-preserve-marks.js +1 -3
- package/dist/es2019/plugins/block-type/commands/delete-and-move-cursor.js +1 -1
- package/dist/es2019/plugins/block-type/commands/delete-block-content.js +1 -1
- package/dist/es2019/plugins/breakout/index.js +8 -2
- package/dist/es2019/plugins/breakout/plugin-key.js +1 -1
- package/dist/es2019/plugins/breakout/ui/LayoutButton.js +6 -0
- package/dist/es2019/plugins/card/index.js +1 -1
- package/dist/es2019/plugins/card/toolbar.js +6 -6
- package/dist/es2019/plugins/card/utils.js +3 -0
- package/dist/es2019/plugins/code-block/pm-plugins/keymaps.js +1 -1
- package/dist/es2019/plugins/collab-edit/events/initialize.js +1 -1
- package/dist/es2019/plugins/collab-edit/events/send-transaction.js +3 -3
- package/dist/es2019/plugins/collab-edit/get-participants-count.js +4 -1
- package/dist/es2019/plugins/collab-edit/plugin.js +3 -2
- package/dist/es2019/plugins/custom-autoformat/index.js +3 -1
- package/dist/es2019/plugins/date/actions.js +9 -10
- package/dist/es2019/plugins/date/index.js +3 -3
- package/dist/es2019/plugins/editor-disabled/index.js +7 -1
- package/dist/es2019/plugins/emoji/index.js +2 -2
- package/dist/es2019/plugins/expand/commands.js +2 -2
- package/dist/es2019/plugins/expand/index.js +3 -0
- package/dist/es2019/plugins/expand/nodeviews/index.js +2 -0
- package/dist/es2019/plugins/fragment/pm-plugins/fragment-consistency.js +8 -4
- package/dist/es2019/plugins/hyperlink/commands.js +3 -2
- package/dist/es2019/plugins/image-upload/pm-plugins/commands.js +2 -2
- package/dist/es2019/plugins/list/actions/outdent-list-items-selected.js +1 -0
- package/dist/es2019/plugins/macro/actions.js +2 -2
- package/dist/es2019/plugins/media/commands/helpers.js +6 -0
- package/dist/es2019/plugins/media/index.js +2 -2
- package/dist/es2019/plugins/media/nodeviews/mediaGroup.js +8 -5
- package/dist/es2019/plugins/media/nodeviews/mediaNodeView/media.js +10 -5
- package/dist/es2019/plugins/media/nodeviews/mediaSingle.js +1 -1
- package/dist/es2019/plugins/media/toolbar/commands.js +2 -0
- package/dist/es2019/plugins/media/utils/media-common.js +1 -0
- package/dist/es2019/plugins/paste/edge-cases/lists.js +1 -0
- package/dist/es2019/plugins/paste/handlers.js +4 -3
- package/dist/es2019/plugins/paste/pm-plugins/main.js +2 -0
- package/dist/es2019/plugins/paste/util/index.js +2 -2
- package/dist/es2019/plugins/quick-insert/search.js +2 -2
- package/dist/es2019/plugins/save-on-enter/index.js +1 -1
- package/dist/es2019/plugins/selection/gap-cursor/utils/place-gap-cursor.js +1 -0
- package/dist/es2019/plugins/selection/pm-plugins/gap-cursor-main.js +2 -2
- package/dist/es2019/plugins/status/actions.js +2 -2
- package/dist/es2019/plugins/status/plugin.js +1 -1
- package/dist/es2019/plugins/submit-editor/index.js +3 -0
- package/dist/es2019/plugins/text-color/commands/change-color.js +3 -3
- package/dist/es2019/plugins/text-formatting/commands/transform-to-code.js +1 -1
- package/dist/es2019/plugins/text-formatting/pm-plugins/input-rule.js +1 -1
- package/dist/es2019/plugins/text-formatting/ui/Toolbar/hooks/formatting-icons.js +6 -1
- package/dist/es2019/plugins/toolbar-lists-indentation/ui/onItemActivated.js +4 -2
- package/dist/es2019/plugins/type-ahead/commands/update-query.js +1 -1
- package/dist/es2019/plugins/type-ahead/commands/update-selected-index.js +1 -1
- package/dist/es2019/plugins/type-ahead/pm-plugins/decorations.js +1 -1
- package/dist/es2019/plugins/type-ahead/ui/InputQuery.js +1 -1
- package/dist/es2019/plugins/type-ahead/ui/WrapperTypeAhead.js +1 -1
- package/dist/es2019/plugins/type-ahead/utils.js +5 -3
- package/dist/es2019/plugins/view-update-subscription/subscribe/toolbarAndPickerUpdates.js +1 -1
- package/dist/es2019/utils/mark.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/commands/index.js +1 -1
- package/dist/esm/plugins/annotation/index.js +1 -1
- package/dist/esm/plugins/annotation/pm-plugins/inline-comment.js +14 -14
- package/dist/esm/plugins/annotation/ui/InlineCommentView.js +7 -6
- package/dist/esm/plugins/annotation/utils.js +5 -4
- package/dist/esm/plugins/base/pm-plugins/composition.js +2 -1
- package/dist/esm/plugins/base/pm-plugins/disable-spell-checking.js +4 -4
- package/dist/esm/plugins/base/pm-plugins/newline-preserve-marks.js +1 -5
- package/dist/esm/plugins/block-type/commands/delete-and-move-cursor.js +1 -1
- package/dist/esm/plugins/block-type/commands/delete-block-content.js +1 -1
- package/dist/esm/plugins/breakout/index.js +8 -2
- package/dist/esm/plugins/breakout/plugin-key.js +1 -1
- package/dist/esm/plugins/breakout/ui/LayoutButton.js +6 -0
- package/dist/esm/plugins/card/index.js +1 -1
- package/dist/esm/plugins/card/toolbar.js +6 -6
- package/dist/esm/plugins/card/utils.js +3 -0
- package/dist/esm/plugins/code-block/pm-plugins/keymaps.js +1 -1
- package/dist/esm/plugins/collab-edit/events/initialize.js +1 -1
- package/dist/esm/plugins/collab-edit/events/send-transaction.js +4 -3
- package/dist/esm/plugins/collab-edit/get-participants-count.js +4 -1
- package/dist/esm/plugins/collab-edit/plugin.js +3 -2
- package/dist/esm/plugins/custom-autoformat/index.js +3 -1
- package/dist/esm/plugins/date/actions.js +11 -12
- package/dist/esm/plugins/date/index.js +14 -14
- package/dist/esm/plugins/editor-disabled/index.js +7 -1
- package/dist/esm/plugins/emoji/index.js +14 -14
- package/dist/esm/plugins/expand/commands.js +2 -2
- package/dist/esm/plugins/expand/index.js +3 -0
- package/dist/esm/plugins/expand/nodeviews/index.js +2 -0
- package/dist/esm/plugins/fragment/pm-plugins/fragment-consistency.js +10 -4
- package/dist/esm/plugins/hyperlink/commands.js +3 -2
- package/dist/esm/plugins/image-upload/pm-plugins/commands.js +2 -2
- package/dist/esm/plugins/list/actions/outdent-list-items-selected.js +1 -0
- package/dist/esm/plugins/macro/actions.js +2 -2
- package/dist/esm/plugins/media/commands/helpers.js +6 -0
- package/dist/esm/plugins/media/index.js +2 -2
- package/dist/esm/plugins/media/nodeviews/mediaGroup.js +17 -13
- package/dist/esm/plugins/media/nodeviews/mediaNodeView/media.js +10 -5
- package/dist/esm/plugins/media/nodeviews/mediaSingle.js +1 -1
- package/dist/esm/plugins/media/toolbar/commands.js +2 -0
- package/dist/esm/plugins/media/utils/media-common.js +1 -0
- package/dist/esm/plugins/paste/edge-cases/lists.js +1 -0
- package/dist/esm/plugins/paste/handlers.js +4 -3
- package/dist/esm/plugins/paste/pm-plugins/main.js +2 -0
- package/dist/esm/plugins/paste/util/index.js +2 -2
- package/dist/esm/plugins/quick-insert/search.js +2 -2
- package/dist/esm/plugins/save-on-enter/index.js +1 -1
- package/dist/esm/plugins/selection/gap-cursor/utils/place-gap-cursor.js +1 -0
- package/dist/esm/plugins/selection/pm-plugins/gap-cursor-main.js +2 -2
- package/dist/esm/plugins/status/actions.js +4 -4
- package/dist/esm/plugins/status/plugin.js +3 -3
- package/dist/esm/plugins/submit-editor/index.js +3 -0
- package/dist/esm/plugins/text-color/commands/change-color.js +3 -3
- package/dist/esm/plugins/text-formatting/commands/transform-to-code.js +1 -1
- package/dist/esm/plugins/text-formatting/pm-plugins/input-rule.js +1 -1
- package/dist/esm/plugins/text-formatting/ui/Toolbar/hooks/formatting-icons.js +4 -1
- package/dist/esm/plugins/toolbar-lists-indentation/ui/onItemActivated.js +4 -2
- package/dist/esm/plugins/type-ahead/commands/update-query.js +1 -1
- package/dist/esm/plugins/type-ahead/commands/update-selected-index.js +1 -1
- package/dist/esm/plugins/type-ahead/pm-plugins/decorations.js +1 -1
- package/dist/esm/plugins/type-ahead/ui/InputQuery.js +2 -2
- package/dist/esm/plugins/type-ahead/ui/WrapperTypeAhead.js +3 -3
- package/dist/esm/plugins/type-ahead/utils.js +5 -3
- package/dist/esm/plugins/view-update-subscription/subscribe/toolbarAndPickerUpdates.js +1 -1
- package/dist/esm/utils/mark.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/commands/index.d.ts +2 -2
- package/dist/types/create-editor/ReactEditorViewInternal.d.ts +2 -2
- package/dist/types/extensibility.d.ts +3 -1
- package/dist/types/labs/next/presets/cxhtml.d.ts +17 -15
- package/dist/types/labs/next/presets/default.d.ts +32 -30
- package/dist/types/labs/next/presets/mobile.d.ts +17 -15
- package/dist/types/plugins/alignment/pm-plugins/main.d.ts +1 -1
- package/dist/types/plugins/analytics/index.d.ts +3 -1
- package/dist/types/plugins/analytics/plugin-key.d.ts +1 -1
- package/dist/types/plugins/annotation/commands/transform.d.ts +5 -5
- package/dist/types/plugins/annotation/pm-plugins/inline-comment.d.ts +1 -1
- package/dist/types/plugins/annotation/pm-plugins/plugin-factory.d.ts +3 -1
- package/dist/types/plugins/annotation/pm-plugins/types.d.ts +1 -1
- package/dist/types/plugins/annotation/utils.d.ts +5 -4
- package/dist/types/plugins/base/pm-plugins/better-type-history.d.ts +2 -2
- package/dist/types/plugins/base/pm-plugins/composition.d.ts +2 -2
- package/dist/types/plugins/base/pm-plugins/context-identifier.d.ts +2 -2
- package/dist/types/plugins/base/pm-plugins/disable-spell-checking.d.ts +1 -1
- package/dist/types/plugins/base/pm-plugins/filter-steps.d.ts +1 -1
- package/dist/types/plugins/base/pm-plugins/fix-chrome-88-selection.d.ts +2 -2
- package/dist/types/plugins/base/pm-plugins/focus-handler.d.ts +2 -2
- package/dist/types/plugins/base/pm-plugins/frozen-editor.d.ts +2 -2
- package/dist/types/plugins/base/pm-plugins/inline-cursor-target.d.ts +2 -2
- package/dist/types/plugins/base/pm-plugins/newline-preserve-marks.d.ts +2 -2
- package/dist/types/plugins/base/pm-plugins/scroll-gutter.d.ts +1 -1
- package/dist/types/plugins/block-type/commands/delete-and-move-cursor.d.ts +1 -1
- package/dist/types/plugins/block-type/commands/delete-block-content.d.ts +1 -1
- package/dist/types/plugins/block-type/pm-plugins/main.d.ts +2 -2
- package/dist/types/plugins/breakout/plugin-key.d.ts +2 -2
- package/dist/types/plugins/breakout/types.d.ts +1 -1
- package/dist/types/plugins/caption/pm-plugins/main.d.ts +1 -1
- package/dist/types/plugins/caption/pm-plugins/plugin-key.d.ts +1 -1
- package/dist/types/plugins/card/pm-plugins/actions.d.ts +13 -13
- package/dist/types/plugins/card/pm-plugins/doc.d.ts +1 -1
- package/dist/types/plugins/card/pm-plugins/mountHyperlink.d.ts +1 -1
- package/dist/types/plugins/card/pm-plugins/plugin-key.d.ts +1 -1
- package/dist/types/plugins/card/ui/DatasourceModal.d.ts +1 -1
- package/dist/types/plugins/card/ui/EditLinkToolbar.d.ts +1 -1
- package/dist/types/plugins/card/ui/ResizableEmbedCard.d.ts +2 -1
- package/dist/types/plugins/clear-marks-on-change-to-empty-document/index.d.ts +1 -1
- package/dist/types/plugins/clipboard/plugin-key.d.ts +1 -1
- package/dist/types/plugins/clipboard/pm-plugins/main.d.ts +1 -1
- package/dist/types/plugins/code-bidi-warning/plugin-key.d.ts +1 -1
- package/dist/types/plugins/code-bidi-warning/pm-plugins/main.d.ts +1 -1
- package/dist/types/plugins/code-bidi-warning/pm-plugins/plugin-factory.d.ts +5 -3
- package/dist/types/plugins/code-block/plugin-key.d.ts +1 -1
- package/dist/types/plugins/code-block/pm-plugins/codeBlockCopySelectionPlugin.d.ts +2 -6
- package/dist/types/plugins/code-block/pm-plugins/ide-ux.d.ts +1 -1
- package/dist/types/plugins/code-block/pm-plugins/main.d.ts +1 -1
- package/dist/types/plugins/code-block/refresh-browser-selection.d.ts +1 -1
- package/dist/types/plugins/code-block/utils.d.ts +2 -2
- package/dist/types/plugins/collab-edit/analytics.d.ts +2 -2
- package/dist/types/plugins/collab-edit/events/handlers.d.ts +1 -1
- package/dist/types/plugins/collab-edit/events/send-transaction.d.ts +2 -2
- package/dist/types/plugins/collab-edit/native-collab-provider-plugin.d.ts +1 -1
- package/dist/types/plugins/collab-edit/plugin-key.d.ts +1 -1
- package/dist/types/plugins/collab-edit/plugin-state.d.ts +1 -1
- package/dist/types/plugins/collab-edit/plugin.d.ts +1 -1
- package/dist/types/plugins/collab-edit/ui/avatars-with-plugin-state.d.ts +2 -2
- package/dist/types/plugins/collab-edit/utils.d.ts +3 -1
- package/dist/types/plugins/copy-button/pm-plugins/main.d.ts +1 -10
- package/dist/types/plugins/copy-button/pm-plugins/plugin-key.d.ts +1 -1
- package/dist/types/plugins/copy-button/toolbar.d.ts +3 -1
- package/dist/types/plugins/custom-autoformat/index.d.ts +1 -2
- package/dist/types/plugins/custom-autoformat/utils.d.ts +1 -1
- package/dist/types/plugins/date/pm-plugins/main.d.ts +3 -1
- package/dist/types/plugins/date/pm-plugins/plugin-key.d.ts +1 -1
- package/dist/types/plugins/editor-disabled/index.d.ts +1 -1
- package/dist/types/plugins/emoji/index.d.ts +2 -2
- package/dist/types/plugins/emoji/pm-plugins/ascii-input-rules.d.ts +2 -2
- package/dist/types/plugins/expand/commands.d.ts +1 -1
- package/dist/types/plugins/expand/nodeviews/index.d.ts +2 -2
- package/dist/types/plugins/expand/pm-plugins/main.d.ts +1 -1
- package/dist/types/plugins/expand/pm-plugins/plugin-factory.d.ts +4 -2
- package/dist/types/plugins/extension/actions.d.ts +3 -3
- package/dist/types/plugins/extension/plugin-factory.d.ts +5 -3
- package/dist/types/plugins/extension/plugin-key.d.ts +1 -1
- package/dist/types/plugins/extension/pm-plugins/main.d.ts +1 -1
- package/dist/types/plugins/extension/pm-plugins/unique-id.d.ts +1 -1
- package/dist/types/plugins/fake-text-cursor/index.d.ts +2 -2
- package/dist/types/plugins/find-replace/keymap.d.ts +1 -1
- package/dist/types/plugins/find-replace/plugin.d.ts +4 -2
- package/dist/types/plugins/find-replace/types.d.ts +1 -1
- package/dist/types/plugins/find-replace/utils/index.d.ts +4 -3
- package/dist/types/plugins/floating-toolbar/index.d.ts +2 -2
- package/dist/types/plugins/floating-toolbar/pm-plugins/force-focus/index.d.ts +2 -2
- package/dist/types/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin-factory.d.ts +3 -1
- package/dist/types/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin-key.d.ts +1 -1
- package/dist/types/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin.d.ts +1 -1
- package/dist/types/plugins/fragment/plugin-key.d.ts +1 -1
- package/dist/types/plugins/fragment/pm-plugins/fragment-consistency.d.ts +1 -1
- package/dist/types/plugins/help-dialog/index.d.ts +1 -1
- package/dist/types/plugins/help-dialog/plugin-key.d.ts +1 -1
- package/dist/types/plugins/history/index.d.ts +1 -1
- package/dist/types/plugins/hyperlink/commands.d.ts +1 -1
- package/dist/types/plugins/hyperlink/pm-plugins/fake-curor-for-toolbar-plugin-key.d.ts +1 -1
- package/dist/types/plugins/hyperlink/pm-plugins/main.d.ts +2 -2
- package/dist/types/plugins/hyperlink/pm-plugins/toolbar-buttons.d.ts +2 -2
- package/dist/types/plugins/image-upload/pm-plugins/actions.d.ts +1 -1
- package/dist/types/plugins/image-upload/pm-plugins/main.d.ts +2 -1
- package/dist/types/plugins/image-upload/pm-plugins/plugin-key.d.ts +1 -1
- package/dist/types/plugins/jira-issue/index.d.ts +1 -1
- package/dist/types/plugins/layout/actions.d.ts +2 -2
- package/dist/types/plugins/layout/pm-plugins/main.d.ts +2 -1
- package/dist/types/plugins/layout/pm-plugins/plugin-key.d.ts +1 -1
- package/dist/types/plugins/list/pm-plugins/main.d.ts +1 -1
- package/dist/types/plugins/list/transforms.d.ts +2 -2
- package/dist/types/plugins/list/utils/selection.d.ts +1 -1
- package/dist/types/plugins/macro/index.d.ts +1 -1
- package/dist/types/plugins/macro/plugin-key.d.ts +1 -1
- package/dist/types/plugins/max-content-size/index.d.ts +1 -1
- package/dist/types/plugins/media/nodeviews/mediaSingle.d.ts +1 -1
- package/dist/types/plugins/media/pm-plugins/alt-text/index.d.ts +5 -3
- package/dist/types/plugins/media/pm-plugins/linking/index.d.ts +5 -3
- package/dist/types/plugins/media/pm-plugins/main.d.ts +1 -1
- package/dist/types/plugins/media/pm-plugins/media-editor-plugin-factory.d.ts +1 -1
- package/dist/types/plugins/media/pm-plugins/plugin-key.d.ts +1 -1
- package/dist/types/plugins/media/toolbar/utils.d.ts +3 -1
- package/dist/types/plugins/media/ui/ResizableMediaSingle/index.d.ts +2 -1
- package/dist/types/plugins/media/utils/media-common.d.ts +1 -1
- package/dist/types/plugins/media/utils/media-single.d.ts +2 -2
- package/dist/types/plugins/mentions/pm-plugins/key.d.ts +1 -1
- package/dist/types/plugins/mentions/pm-plugins/main.d.ts +1 -1
- package/dist/types/plugins/mobile-dimensions/plugin-factory.d.ts +4 -2
- package/dist/types/plugins/mobile-selection/mobile-selection-plugin.d.ts +1 -1
- package/dist/types/plugins/panel/pm-plugins/main.d.ts +1 -1
- package/dist/types/plugins/panel/types.d.ts +1 -1
- package/dist/types/plugins/panel/utils.d.ts +1 -1
- package/dist/types/plugins/paste/edge-cases/index.d.ts +1 -1
- package/dist/types/plugins/paste/edge-cases/lists.d.ts +1 -1
- package/dist/types/plugins/paste/handlers.d.ts +2 -2
- package/dist/types/plugins/paste/pm-plugins/main.d.ts +1 -1
- package/dist/types/plugins/paste/pm-plugins/plugin-factory.d.ts +4 -2
- package/dist/types/plugins/paste/util/index.d.ts +2 -2
- package/dist/types/plugins/placeholder/index.d.ts +1 -1
- package/dist/types/plugins/placeholder-text/plugin-key.d.ts +1 -1
- package/dist/types/plugins/quick-insert/index.d.ts +1 -1
- package/dist/types/plugins/quick-insert/plugin-key.d.ts +1 -1
- package/dist/types/plugins/quick-insert/search.d.ts +1 -1
- package/dist/types/plugins/rule/pm-plugins/input-rule.d.ts +1 -1
- package/dist/types/plugins/scroll-into-view/index.d.ts +1 -1
- package/dist/types/plugins/selection/gap-cursor/utils/place-gap-cursor.d.ts +1 -1
- package/dist/types/plugins/selection/plugin-factory.d.ts +3 -1
- package/dist/types/plugins/selection/pm-plugins/gap-cursor-main.d.ts +1 -1
- package/dist/types/plugins/selection/pm-plugins/gap-cursor-plugin-key.d.ts +1 -1
- package/dist/types/plugins/selection/pm-plugins/keymap.d.ts +1 -1
- package/dist/types/plugins/selection/pm-plugins/selection-main.d.ts +1 -1
- package/dist/types/plugins/selection/types.d.ts +1 -1
- package/dist/types/plugins/status/plugin-key.d.ts +1 -1
- package/dist/types/plugins/status/plugin.d.ts +1 -1
- package/dist/types/plugins/tasks-and-decisions/pm-plugins/helpers.d.ts +2 -1
- package/dist/types/plugins/tasks-and-decisions/pm-plugins/main.d.ts +1 -1
- package/dist/types/plugins/tasks-and-decisions/pm-plugins/plugin-key.d.ts +1 -1
- package/dist/types/plugins/text-color/pm-plugins/main.d.ts +1 -1
- package/dist/types/plugins/text-formatting/pm-plugins/clear-formatting.d.ts +2 -2
- package/dist/types/plugins/text-formatting/pm-plugins/cursor.d.ts +1 -1
- package/dist/types/plugins/text-formatting/pm-plugins/main.d.ts +1 -1
- package/dist/types/plugins/text-formatting/pm-plugins/plugin-key.d.ts +1 -1
- package/dist/types/plugins/text-formatting/pm-plugins/smart-input-rule.d.ts +1 -1
- package/dist/types/plugins/text-formatting/ui/Toolbar/index.d.ts +2 -2
- package/dist/types/plugins/text-formatting/utils.d.ts +2 -2
- package/dist/types/plugins/toolbar-lists-indentation/pm-plugins/indentation-buttons.d.ts +2 -2
- package/dist/types/plugins/type-ahead/api.d.ts +2 -2
- package/dist/types/plugins/type-ahead/pm-plugins/key.d.ts +1 -1
- package/dist/types/plugins/type-ahead/pm-plugins/utils.d.ts +1 -1
- package/dist/types/plugins/type-ahead/ui/WrapperTypeAhead.d.ts +1 -1
- package/dist/types/plugins/type-ahead/utils.d.ts +4 -4
- package/dist/types/plugins/undo-redo/pm-plugins/plugin-key.d.ts +1 -1
- package/dist/types/plugins/unsupported-content/index.d.ts +1 -1
- package/dist/types/plugins/view-update-subscription/index.d.ts +2 -2
- package/dist/types/plugins/view-update-subscription/subscribe/toolbarAndPickerUpdates.d.ts +2 -2
- package/dist/types/types/editor-config.d.ts +1 -1
- package/dist/types/ui/Addon/click-area-helper.d.ts +1 -1
- package/dist/types/ui/ToolbarArrowKeyNavigationProvider/index.d.ts +1 -1
- package/dist/types/utils/action.d.ts +60 -2
- package/dist/types/utils/cell-selection.d.ts +1 -1
- package/dist/types/utils/commands.d.ts +1 -1
- package/dist/types/utils/document.d.ts +1 -1
- package/dist/types/utils/index.d.ts +1 -1
- package/dist/types/utils/keymap.d.ts +1 -1
- package/dist/types/utils/mark.d.ts +2 -2
- package/dist/types/utils/performance/instrumented-plugin.d.ts +2 -3
- package/dist/types-ts4.5/commands/index.d.ts +2 -2
- package/dist/types-ts4.5/create-editor/ReactEditorViewInternal.d.ts +2 -2
- package/dist/types-ts4.5/extensibility.d.ts +3 -1
- package/dist/types-ts4.5/labs/next/presets/cxhtml.d.ts +17 -15
- package/dist/types-ts4.5/labs/next/presets/default.d.ts +32 -30
- package/dist/types-ts4.5/labs/next/presets/mobile.d.ts +17 -15
- package/dist/types-ts4.5/plugins/alignment/pm-plugins/main.d.ts +1 -1
- package/dist/types-ts4.5/plugins/analytics/index.d.ts +3 -1
- package/dist/types-ts4.5/plugins/analytics/plugin-key.d.ts +1 -1
- package/dist/types-ts4.5/plugins/annotation/commands/transform.d.ts +5 -5
- package/dist/types-ts4.5/plugins/annotation/pm-plugins/inline-comment.d.ts +1 -1
- package/dist/types-ts4.5/plugins/annotation/pm-plugins/plugin-factory.d.ts +3 -1
- package/dist/types-ts4.5/plugins/annotation/pm-plugins/types.d.ts +1 -1
- package/dist/types-ts4.5/plugins/annotation/utils.d.ts +5 -4
- package/dist/types-ts4.5/plugins/base/pm-plugins/better-type-history.d.ts +2 -2
- package/dist/types-ts4.5/plugins/base/pm-plugins/composition.d.ts +2 -2
- package/dist/types-ts4.5/plugins/base/pm-plugins/context-identifier.d.ts +2 -2
- package/dist/types-ts4.5/plugins/base/pm-plugins/disable-spell-checking.d.ts +1 -1
- package/dist/types-ts4.5/plugins/base/pm-plugins/filter-steps.d.ts +1 -1
- package/dist/types-ts4.5/plugins/base/pm-plugins/fix-chrome-88-selection.d.ts +2 -2
- package/dist/types-ts4.5/plugins/base/pm-plugins/focus-handler.d.ts +2 -2
- package/dist/types-ts4.5/plugins/base/pm-plugins/frozen-editor.d.ts +2 -2
- package/dist/types-ts4.5/plugins/base/pm-plugins/inline-cursor-target.d.ts +2 -2
- package/dist/types-ts4.5/plugins/base/pm-plugins/newline-preserve-marks.d.ts +2 -2
- package/dist/types-ts4.5/plugins/base/pm-plugins/scroll-gutter.d.ts +1 -1
- package/dist/types-ts4.5/plugins/block-type/commands/delete-and-move-cursor.d.ts +1 -1
- package/dist/types-ts4.5/plugins/block-type/commands/delete-block-content.d.ts +1 -1
- package/dist/types-ts4.5/plugins/block-type/pm-plugins/main.d.ts +2 -2
- package/dist/types-ts4.5/plugins/breakout/plugin-key.d.ts +2 -2
- package/dist/types-ts4.5/plugins/breakout/types.d.ts +1 -1
- package/dist/types-ts4.5/plugins/caption/pm-plugins/main.d.ts +1 -1
- package/dist/types-ts4.5/plugins/caption/pm-plugins/plugin-key.d.ts +1 -1
- package/dist/types-ts4.5/plugins/card/pm-plugins/actions.d.ts +13 -13
- package/dist/types-ts4.5/plugins/card/pm-plugins/doc.d.ts +1 -1
- package/dist/types-ts4.5/plugins/card/pm-plugins/mountHyperlink.d.ts +1 -1
- package/dist/types-ts4.5/plugins/card/pm-plugins/plugin-key.d.ts +1 -1
- package/dist/types-ts4.5/plugins/card/ui/DatasourceModal.d.ts +1 -1
- package/dist/types-ts4.5/plugins/card/ui/EditLinkToolbar.d.ts +1 -1
- package/dist/types-ts4.5/plugins/card/ui/ResizableEmbedCard.d.ts +2 -1
- package/dist/types-ts4.5/plugins/clear-marks-on-change-to-empty-document/index.d.ts +1 -1
- package/dist/types-ts4.5/plugins/clipboard/plugin-key.d.ts +1 -1
- package/dist/types-ts4.5/plugins/clipboard/pm-plugins/main.d.ts +1 -1
- package/dist/types-ts4.5/plugins/code-bidi-warning/plugin-key.d.ts +1 -1
- package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/main.d.ts +1 -1
- package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/plugin-factory.d.ts +5 -3
- package/dist/types-ts4.5/plugins/code-block/plugin-key.d.ts +1 -1
- package/dist/types-ts4.5/plugins/code-block/pm-plugins/codeBlockCopySelectionPlugin.d.ts +2 -9
- package/dist/types-ts4.5/plugins/code-block/pm-plugins/ide-ux.d.ts +1 -1
- package/dist/types-ts4.5/plugins/code-block/pm-plugins/main.d.ts +1 -1
- package/dist/types-ts4.5/plugins/code-block/refresh-browser-selection.d.ts +1 -1
- package/dist/types-ts4.5/plugins/code-block/utils.d.ts +2 -2
- package/dist/types-ts4.5/plugins/collab-edit/analytics.d.ts +2 -2
- package/dist/types-ts4.5/plugins/collab-edit/events/handlers.d.ts +1 -1
- package/dist/types-ts4.5/plugins/collab-edit/events/send-transaction.d.ts +2 -2
- package/dist/types-ts4.5/plugins/collab-edit/native-collab-provider-plugin.d.ts +1 -1
- package/dist/types-ts4.5/plugins/collab-edit/plugin-key.d.ts +1 -1
- package/dist/types-ts4.5/plugins/collab-edit/plugin-state.d.ts +1 -1
- package/dist/types-ts4.5/plugins/collab-edit/plugin.d.ts +1 -1
- package/dist/types-ts4.5/plugins/collab-edit/ui/avatars-with-plugin-state.d.ts +2 -2
- package/dist/types-ts4.5/plugins/collab-edit/utils.d.ts +3 -1
- package/dist/types-ts4.5/plugins/copy-button/pm-plugins/main.d.ts +1 -10
- package/dist/types-ts4.5/plugins/copy-button/pm-plugins/plugin-key.d.ts +1 -1
- package/dist/types-ts4.5/plugins/copy-button/toolbar.d.ts +3 -1
- package/dist/types-ts4.5/plugins/custom-autoformat/index.d.ts +1 -2
- package/dist/types-ts4.5/plugins/custom-autoformat/utils.d.ts +1 -1
- package/dist/types-ts4.5/plugins/date/pm-plugins/main.d.ts +3 -1
- package/dist/types-ts4.5/plugins/date/pm-plugins/plugin-key.d.ts +1 -1
- package/dist/types-ts4.5/plugins/editor-disabled/index.d.ts +1 -1
- package/dist/types-ts4.5/plugins/emoji/index.d.ts +2 -2
- package/dist/types-ts4.5/plugins/emoji/pm-plugins/ascii-input-rules.d.ts +2 -2
- package/dist/types-ts4.5/plugins/expand/commands.d.ts +1 -1
- package/dist/types-ts4.5/plugins/expand/nodeviews/index.d.ts +2 -2
- package/dist/types-ts4.5/plugins/expand/pm-plugins/main.d.ts +1 -1
- package/dist/types-ts4.5/plugins/expand/pm-plugins/plugin-factory.d.ts +4 -2
- package/dist/types-ts4.5/plugins/extension/actions.d.ts +3 -3
- package/dist/types-ts4.5/plugins/extension/plugin-factory.d.ts +5 -3
- package/dist/types-ts4.5/plugins/extension/plugin-key.d.ts +1 -1
- package/dist/types-ts4.5/plugins/extension/pm-plugins/main.d.ts +1 -1
- package/dist/types-ts4.5/plugins/extension/pm-plugins/unique-id.d.ts +1 -1
- package/dist/types-ts4.5/plugins/fake-text-cursor/index.d.ts +2 -2
- package/dist/types-ts4.5/plugins/find-replace/keymap.d.ts +1 -1
- package/dist/types-ts4.5/plugins/find-replace/plugin.d.ts +4 -2
- package/dist/types-ts4.5/plugins/find-replace/types.d.ts +1 -1
- package/dist/types-ts4.5/plugins/find-replace/utils/index.d.ts +4 -3
- package/dist/types-ts4.5/plugins/floating-toolbar/index.d.ts +2 -2
- package/dist/types-ts4.5/plugins/floating-toolbar/pm-plugins/force-focus/index.d.ts +2 -2
- package/dist/types-ts4.5/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin-factory.d.ts +3 -1
- package/dist/types-ts4.5/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin-key.d.ts +1 -1
- package/dist/types-ts4.5/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin.d.ts +1 -1
- package/dist/types-ts4.5/plugins/fragment/plugin-key.d.ts +1 -1
- package/dist/types-ts4.5/plugins/fragment/pm-plugins/fragment-consistency.d.ts +1 -1
- package/dist/types-ts4.5/plugins/help-dialog/index.d.ts +1 -1
- package/dist/types-ts4.5/plugins/help-dialog/plugin-key.d.ts +1 -1
- package/dist/types-ts4.5/plugins/history/index.d.ts +1 -1
- package/dist/types-ts4.5/plugins/hyperlink/commands.d.ts +1 -1
- package/dist/types-ts4.5/plugins/hyperlink/pm-plugins/fake-curor-for-toolbar-plugin-key.d.ts +1 -1
- package/dist/types-ts4.5/plugins/hyperlink/pm-plugins/main.d.ts +2 -2
- package/dist/types-ts4.5/plugins/hyperlink/pm-plugins/toolbar-buttons.d.ts +2 -2
- package/dist/types-ts4.5/plugins/image-upload/pm-plugins/actions.d.ts +1 -1
- package/dist/types-ts4.5/plugins/image-upload/pm-plugins/main.d.ts +2 -1
- package/dist/types-ts4.5/plugins/image-upload/pm-plugins/plugin-key.d.ts +1 -1
- package/dist/types-ts4.5/plugins/jira-issue/index.d.ts +1 -1
- package/dist/types-ts4.5/plugins/layout/actions.d.ts +2 -2
- package/dist/types-ts4.5/plugins/layout/pm-plugins/main.d.ts +2 -1
- package/dist/types-ts4.5/plugins/layout/pm-plugins/plugin-key.d.ts +1 -1
- package/dist/types-ts4.5/plugins/list/pm-plugins/main.d.ts +1 -1
- package/dist/types-ts4.5/plugins/list/transforms.d.ts +2 -2
- package/dist/types-ts4.5/plugins/list/utils/selection.d.ts +1 -1
- package/dist/types-ts4.5/plugins/macro/index.d.ts +1 -1
- package/dist/types-ts4.5/plugins/macro/plugin-key.d.ts +1 -1
- package/dist/types-ts4.5/plugins/max-content-size/index.d.ts +1 -1
- package/dist/types-ts4.5/plugins/media/nodeviews/mediaSingle.d.ts +1 -1
- package/dist/types-ts4.5/plugins/media/pm-plugins/alt-text/index.d.ts +5 -3
- package/dist/types-ts4.5/plugins/media/pm-plugins/linking/index.d.ts +5 -3
- package/dist/types-ts4.5/plugins/media/pm-plugins/main.d.ts +1 -1
- package/dist/types-ts4.5/plugins/media/pm-plugins/media-editor-plugin-factory.d.ts +1 -1
- package/dist/types-ts4.5/plugins/media/pm-plugins/plugin-key.d.ts +1 -1
- package/dist/types-ts4.5/plugins/media/toolbar/utils.d.ts +3 -1
- package/dist/types-ts4.5/plugins/media/ui/ResizableMediaSingle/index.d.ts +2 -1
- package/dist/types-ts4.5/plugins/media/utils/media-common.d.ts +1 -1
- package/dist/types-ts4.5/plugins/media/utils/media-single.d.ts +2 -2
- package/dist/types-ts4.5/plugins/mentions/pm-plugins/key.d.ts +1 -1
- package/dist/types-ts4.5/plugins/mentions/pm-plugins/main.d.ts +1 -1
- package/dist/types-ts4.5/plugins/mobile-dimensions/plugin-factory.d.ts +4 -2
- package/dist/types-ts4.5/plugins/mobile-selection/mobile-selection-plugin.d.ts +1 -1
- package/dist/types-ts4.5/plugins/panel/pm-plugins/main.d.ts +1 -1
- package/dist/types-ts4.5/plugins/panel/types.d.ts +1 -1
- package/dist/types-ts4.5/plugins/panel/utils.d.ts +1 -1
- package/dist/types-ts4.5/plugins/paste/edge-cases/index.d.ts +1 -1
- package/dist/types-ts4.5/plugins/paste/edge-cases/lists.d.ts +1 -1
- package/dist/types-ts4.5/plugins/paste/handlers.d.ts +2 -2
- package/dist/types-ts4.5/plugins/paste/pm-plugins/main.d.ts +1 -1
- package/dist/types-ts4.5/plugins/paste/pm-plugins/plugin-factory.d.ts +4 -2
- package/dist/types-ts4.5/plugins/paste/util/index.d.ts +2 -2
- package/dist/types-ts4.5/plugins/placeholder/index.d.ts +1 -1
- package/dist/types-ts4.5/plugins/placeholder-text/plugin-key.d.ts +1 -1
- package/dist/types-ts4.5/plugins/quick-insert/index.d.ts +1 -1
- package/dist/types-ts4.5/plugins/quick-insert/plugin-key.d.ts +1 -1
- package/dist/types-ts4.5/plugins/quick-insert/search.d.ts +1 -1
- package/dist/types-ts4.5/plugins/rule/pm-plugins/input-rule.d.ts +1 -1
- package/dist/types-ts4.5/plugins/scroll-into-view/index.d.ts +1 -1
- package/dist/types-ts4.5/plugins/selection/gap-cursor/utils/place-gap-cursor.d.ts +1 -1
- package/dist/types-ts4.5/plugins/selection/plugin-factory.d.ts +3 -1
- package/dist/types-ts4.5/plugins/selection/pm-plugins/gap-cursor-main.d.ts +1 -1
- package/dist/types-ts4.5/plugins/selection/pm-plugins/gap-cursor-plugin-key.d.ts +1 -1
- package/dist/types-ts4.5/plugins/selection/pm-plugins/keymap.d.ts +1 -1
- package/dist/types-ts4.5/plugins/selection/pm-plugins/selection-main.d.ts +1 -1
- package/dist/types-ts4.5/plugins/selection/types.d.ts +1 -1
- package/dist/types-ts4.5/plugins/status/plugin-key.d.ts +1 -1
- package/dist/types-ts4.5/plugins/status/plugin.d.ts +1 -1
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/helpers.d.ts +2 -1
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/main.d.ts +1 -1
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/plugin-key.d.ts +1 -1
- package/dist/types-ts4.5/plugins/text-color/pm-plugins/main.d.ts +1 -1
- package/dist/types-ts4.5/plugins/text-formatting/pm-plugins/clear-formatting.d.ts +2 -2
- package/dist/types-ts4.5/plugins/text-formatting/pm-plugins/cursor.d.ts +1 -1
- package/dist/types-ts4.5/plugins/text-formatting/pm-plugins/main.d.ts +1 -1
- package/dist/types-ts4.5/plugins/text-formatting/pm-plugins/plugin-key.d.ts +1 -1
- package/dist/types-ts4.5/plugins/text-formatting/pm-plugins/smart-input-rule.d.ts +1 -1
- package/dist/types-ts4.5/plugins/text-formatting/ui/Toolbar/index.d.ts +2 -2
- package/dist/types-ts4.5/plugins/text-formatting/utils.d.ts +2 -2
- package/dist/types-ts4.5/plugins/toolbar-lists-indentation/pm-plugins/indentation-buttons.d.ts +2 -2
- package/dist/types-ts4.5/plugins/type-ahead/api.d.ts +2 -2
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/key.d.ts +1 -1
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/utils.d.ts +1 -1
- package/dist/types-ts4.5/plugins/type-ahead/ui/WrapperTypeAhead.d.ts +1 -1
- package/dist/types-ts4.5/plugins/type-ahead/utils.d.ts +4 -4
- package/dist/types-ts4.5/plugins/undo-redo/pm-plugins/plugin-key.d.ts +1 -1
- package/dist/types-ts4.5/plugins/unsupported-content/index.d.ts +1 -1
- package/dist/types-ts4.5/plugins/view-update-subscription/index.d.ts +2 -2
- package/dist/types-ts4.5/plugins/view-update-subscription/subscribe/toolbarAndPickerUpdates.d.ts +2 -2
- package/dist/types-ts4.5/types/editor-config.d.ts +1 -1
- package/dist/types-ts4.5/ui/Addon/click-area-helper.d.ts +1 -1
- package/dist/types-ts4.5/ui/ToolbarArrowKeyNavigationProvider/index.d.ts +1 -1
- package/dist/types-ts4.5/utils/action.d.ts +60 -2
- package/dist/types-ts4.5/utils/cell-selection.d.ts +1 -1
- package/dist/types-ts4.5/utils/commands.d.ts +1 -1
- package/dist/types-ts4.5/utils/document.d.ts +1 -1
- package/dist/types-ts4.5/utils/index.d.ts +1 -1
- package/dist/types-ts4.5/utils/keymap.d.ts +1 -1
- package/dist/types-ts4.5/utils/mark.d.ts +2 -2
- package/dist/types-ts4.5/utils/performance/instrumented-plugin.d.ts +2 -3
- package/package.json +7 -15
- package/report.api.md +21 -24
- package/tmp/api-report-tmp.d.ts +21 -21
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { PluginKey } from 'prosemirror-state';
|
|
2
|
-
export declare const pluginKey: PluginKey<any
|
|
2
|
+
export declare const pluginKey: PluginKey<any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PluginKey } from 'prosemirror-state';
|
|
2
2
|
import { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
3
|
-
export declare const pluginKey: PluginKey<any
|
|
3
|
+
export declare const pluginKey: PluginKey<any>;
|
|
4
4
|
declare const unsupportedContentPlugin: NextEditorPlugin<'unsupportedContent'>;
|
|
5
5
|
export default unsupportedContentPlugin;
|
|
@@ -4,10 +4,10 @@ import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
|
4
4
|
type UpdateArgs = {
|
|
5
5
|
newEditorState: EditorState;
|
|
6
6
|
oldEditorState: EditorState;
|
|
7
|
-
transactions: Transaction[];
|
|
7
|
+
transactions: readonly Transaction[];
|
|
8
8
|
};
|
|
9
9
|
export type ViewUpdateSubscription = (args: UpdateArgs) => void;
|
|
10
|
-
export declare const trackerStore: WeakMap<EditorView
|
|
10
|
+
export declare const trackerStore: WeakMap<EditorView, Tracker>;
|
|
11
11
|
declare class Tracker {
|
|
12
12
|
private subscriptions;
|
|
13
13
|
constructor();
|
|
@@ -3,8 +3,8 @@ import { DatePluginState } from '../../date/pm-plugins/types';
|
|
|
3
3
|
import { ConfigWithNodeInfo } from '../../floating-toolbar';
|
|
4
4
|
import { StatusState } from '../../status/types';
|
|
5
5
|
type SubscribeToToolbarAndPickerUpdatesCallbackArgs = {
|
|
6
|
-
dateState
|
|
7
|
-
statusState
|
|
6
|
+
dateState?: DatePluginState;
|
|
7
|
+
statusState?: StatusState;
|
|
8
8
|
toolbarConfig: ConfigWithNodeInfo | null | undefined;
|
|
9
9
|
};
|
|
10
10
|
type SubscribeToToolbarAndPickerUpdates = (editorView: EditorView, cb: (args: SubscribeToToolbarAndPickerUpdatesCallbackArgs) => void) => () => void;
|
|
@@ -5,7 +5,7 @@ import { MarkConfig, NodeConfig } from './pm-config';
|
|
|
5
5
|
import type { UIComponentFactory, ReactHookFactory } from '@atlaskit/editor-common/types';
|
|
6
6
|
type EditorViewStateUpdatedCallbackProps = {
|
|
7
7
|
readonly originalTransaction: Readonly<Transaction>;
|
|
8
|
-
readonly transactions: Transaction[];
|
|
8
|
+
readonly transactions: readonly Transaction[];
|
|
9
9
|
readonly oldEditorState: Readonly<EditorState>;
|
|
10
10
|
readonly newEditorState: Readonly<EditorState>;
|
|
11
11
|
};
|
|
@@ -9,5 +9,5 @@ import { EditorView } from 'prosemirror-view';
|
|
|
9
9
|
* 2. if another modal is open (e.g. delete confirmation modal for confluence table) then ignore clicks as they shouldn't influence editor state
|
|
10
10
|
*/
|
|
11
11
|
export declare const checkForModal: (target: HTMLElement) => boolean;
|
|
12
|
-
declare const clickAreaClickHandler: (view: EditorView
|
|
12
|
+
declare const clickAreaClickHandler: (view: EditorView, event: React.MouseEvent<any>) => false | undefined;
|
|
13
13
|
export { clickAreaClickHandler };
|
|
@@ -19,7 +19,7 @@ export declare const KeyDownHandlerContext: React.Context<KeyDownHandlerContext>
|
|
|
19
19
|
*/
|
|
20
20
|
export declare const ToolbarArrowKeyNavigationProvider: ({ children, editorView, childComponentSelector, handleEscape, disableArrowKeyNavigation, isShortcutToFocusToolbar, editorAppearance, useStickyToolbar, intl, }: {
|
|
21
21
|
children: ReactNode;
|
|
22
|
-
editorView?: EditorView
|
|
22
|
+
editorView?: EditorView | undefined;
|
|
23
23
|
childComponentSelector: string;
|
|
24
24
|
handleEscape?: ((event: KeyboardEvent) => void) | undefined;
|
|
25
25
|
disableArrowKeyNavigation?: boolean | undefined;
|
|
@@ -1,8 +1,66 @@
|
|
|
1
|
-
/// <reference
|
|
1
|
+
/// <reference path="../../../../../../typings/prosemirror.d.ts" />
|
|
2
2
|
import type { EditorView } from 'prosemirror-view';
|
|
3
3
|
import type { Command } from '../types/command';
|
|
4
4
|
export declare function __temporaryFixForConfigPanel(editorView: EditorView): Promise<void>;
|
|
5
|
-
export declare function getEditorValueWithMedia(editorView: EditorView): Promise<
|
|
5
|
+
export declare function getEditorValueWithMedia(editorView: EditorView): Promise<{
|
|
6
|
+
type: import("prosemirror-model").NodeType;
|
|
7
|
+
attrs: {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
};
|
|
10
|
+
content: import("prosemirror-model").Fragment;
|
|
11
|
+
marks: import("prosemirror-model").Mark[];
|
|
12
|
+
text?: string | null | undefined;
|
|
13
|
+
nodeSize: number;
|
|
14
|
+
childCount: number;
|
|
15
|
+
child(index: number): any;
|
|
16
|
+
maybeChild(index: number): any | null | undefined;
|
|
17
|
+
forEach(f: (node: any, offset: number, index: number) => void): void;
|
|
18
|
+
nodesBetween(from: number, to: number, f: (node: any, pos: number, parent: any, index: number) => boolean | void | null | undefined, startPos?: number | undefined): void;
|
|
19
|
+
descendants(f: (node: any, pos: number, parent: any) => boolean | void | null | undefined): void;
|
|
20
|
+
textContent: string;
|
|
21
|
+
textBetween(from: number, to: number, blockSeparator?: string | undefined, leafText?: string | undefined): string;
|
|
22
|
+
firstChild?: any | null | undefined;
|
|
23
|
+
lastChild?: any | null | undefined;
|
|
24
|
+
eq(other: any): boolean;
|
|
25
|
+
sameMarkup(other: any): boolean;
|
|
26
|
+
hasMarkup(type: import("prosemirror-model").NodeType, attrs?: {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
} | undefined, marks?: import("prosemirror-model").Mark[] | undefined): boolean;
|
|
29
|
+
copy(content?: import("prosemirror-model").Fragment | undefined): any;
|
|
30
|
+
mark(marks: import("prosemirror-model").Mark[]): any;
|
|
31
|
+
cut(from: number, to?: number | undefined): any;
|
|
32
|
+
slice(from: number, to?: number | undefined): import("prosemirror-model").Slice;
|
|
33
|
+
replace(from: number, to: number, slice: import("prosemirror-model").Slice): any;
|
|
34
|
+
nodeAt(pos: number): any | null | undefined;
|
|
35
|
+
childAfter(pos: number): {
|
|
36
|
+
node?: any | null | undefined;
|
|
37
|
+
index: number;
|
|
38
|
+
offset: number;
|
|
39
|
+
};
|
|
40
|
+
childBefore(pos: number): {
|
|
41
|
+
node?: any | null | undefined;
|
|
42
|
+
index: number;
|
|
43
|
+
offset: number;
|
|
44
|
+
};
|
|
45
|
+
resolve(pos: number): import("prosemirror-model").ResolvedPos;
|
|
46
|
+
rangeHasMark(from: number, to: number, type: import("prosemirror-model").Mark | import("prosemirror-model").MarkType): boolean;
|
|
47
|
+
isBlock: boolean;
|
|
48
|
+
isTextblock: boolean;
|
|
49
|
+
inlineContent: boolean;
|
|
50
|
+
isInline: boolean;
|
|
51
|
+
isText: boolean;
|
|
52
|
+
isLeaf: boolean;
|
|
53
|
+
isAtom: boolean;
|
|
54
|
+
toString(): string;
|
|
55
|
+
contentMatchAt(index: number): import("prosemirror-model").ContentMatch;
|
|
56
|
+
canReplace(from: number, to: number, replacement?: import("prosemirror-model").Fragment | undefined, start?: number | undefined, end?: number | undefined): boolean;
|
|
57
|
+
canReplaceWith(from: number, to: number, type: import("prosemirror-model").NodeType, marks?: import("prosemirror-model").Mark[] | undefined): boolean;
|
|
58
|
+
canAppend(other: any): boolean;
|
|
59
|
+
check(): void;
|
|
60
|
+
toJSON(): {
|
|
61
|
+
[key: string]: any;
|
|
62
|
+
};
|
|
63
|
+
}>;
|
|
6
64
|
/**
|
|
7
65
|
* Iterates over the commands one after the other,
|
|
8
66
|
* passes the tr through and dispatches the cumulated transaction
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { CellSelection } from '@atlaskit/editor-tables/cell-selection';
|
|
2
2
|
import { Node } from 'prosemirror-model';
|
|
3
|
-
export declare const cellSelectionNodesBetween: (selection: CellSelection, doc: Node, f: (node: Node, pos: number, parent: Node, index: number) =>
|
|
3
|
+
export declare const cellSelectionNodesBetween: (selection: CellSelection, doc: Node, f: (node: Node, pos: number, parent: Node | null, index: number) => void | boolean, startPos?: number) => void;
|
|
@@ -17,7 +17,7 @@ declare const isFirstChildOfParent: (state: EditorState) => boolean;
|
|
|
17
17
|
*/
|
|
18
18
|
declare const isNthParentOfType: (nodeType: string, depthAway: number) => (state: EditorState, view?: EditorView) => boolean;
|
|
19
19
|
declare function findCutBefore($pos: ResolvedPos): ResolvedPos | null;
|
|
20
|
-
declare const applyMarkOnRange: (from: number, to: number, removeMark: boolean, mark: Mark, tr: Transaction) => Transaction
|
|
20
|
+
declare const applyMarkOnRange: (from: number, to: number, removeMark: boolean, mark: Mark, tr: Transaction) => Transaction;
|
|
21
21
|
/**
|
|
22
22
|
* A wrapper over the default toggleMark, except when we have a selection
|
|
23
23
|
* we only toggle marks on text nodes rather than inline nodes.
|
|
@@ -21,7 +21,7 @@ export declare function processRawFragmentValue(schema: Schema, value?: ReplaceR
|
|
|
21
21
|
*/
|
|
22
22
|
export declare const findFarthestParentNode: (predicate: (node: Node) => boolean) => ($pos: ResolvedPos) => ContentNodeWithPos | null;
|
|
23
23
|
export declare const isSelectionEndOfParagraph: (state: EditorState) => boolean;
|
|
24
|
-
export type ChangedFn = (node: Node
|
|
24
|
+
export type ChangedFn = (node: Node, pos: number, parent: Node | null, index: number) => boolean | void;
|
|
25
25
|
export declare function getChangedNodesIn({ tr, doc, }: {
|
|
26
26
|
tr: ReadonlyTransaction | Transaction;
|
|
27
27
|
doc: Node;
|
|
@@ -37,7 +37,7 @@ export declare const insideTableCell: (state: EditorState) => boolean;
|
|
|
37
37
|
export declare const isInListItem: (state: EditorState) => boolean;
|
|
38
38
|
export declare const hasOpenEnd: (slice: Slice) => boolean;
|
|
39
39
|
export declare const isInsideBlockQuote: (state: EditorState) => boolean;
|
|
40
|
-
export declare function filterChildrenBetween(doc: Node, from: number, to: number, predicate: (node: Node, pos: number, parent: Node) => boolean | undefined): {
|
|
40
|
+
export declare function filterChildrenBetween(doc: Node, from: number, to: number, predicate: (node: Node, pos: number, parent: Node | null) => boolean | undefined): {
|
|
41
41
|
node: Node;
|
|
42
42
|
pos: number;
|
|
43
43
|
}[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Node, Mark, MarkType, NodeType } from 'prosemirror-model';
|
|
2
2
|
import { SelectionRange, EditorState, Transaction } from 'prosemirror-state';
|
|
3
|
-
export declare const isMarkAllowedInRange: (doc: Node, ranges:
|
|
4
|
-
export declare const isMarkExcluded: (type: MarkType, marks?:
|
|
3
|
+
export declare const isMarkAllowedInRange: (doc: Node, ranges: readonly SelectionRange[], type: MarkType) => boolean;
|
|
4
|
+
export declare const isMarkExcluded: (type: MarkType, marks?: readonly Mark[] | null) => boolean;
|
|
5
5
|
export declare const removeBlockMarks: (state: EditorState, marks: Array<MarkType | undefined>) => Transaction | undefined;
|
|
6
6
|
/**
|
|
7
7
|
* Removes marks from nodes in the current selection that are not supported
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
2
2
|
import { SafePluginSpec } from 'prosemirror-state';
|
|
3
|
-
import { Schema } from 'prosemirror-model';
|
|
4
3
|
import { EditorProps } from '../../types/editor-props';
|
|
5
4
|
import { TransactionTracker } from './track-transactions';
|
|
6
5
|
import { FeatureFlags } from '../../types/feature-flags';
|
|
@@ -10,8 +9,8 @@ type InstrumentedPluginOptions = EditorProps['performanceTracking'] & {
|
|
|
10
9
|
saferDispatchedTransactionsAnalyticsOnly?: FeatureFlags['saferDispatchedTransactionsAnalyticsOnly'];
|
|
11
10
|
dispatchAnalyticsEvent?: DispatchAnalyticsEvent;
|
|
12
11
|
};
|
|
13
|
-
export declare class InstrumentedPlugin<PluginState
|
|
12
|
+
export declare class InstrumentedPlugin<PluginState> extends SafePlugin<PluginState> {
|
|
14
13
|
constructor(spec: SafePluginSpec, options?: InstrumentedPluginOptions, transactionTracker?: TransactionTracker);
|
|
15
|
-
static fromPlugin<T
|
|
14
|
+
static fromPlugin<T>(plugin: SafePlugin<T>, options: InstrumentedPluginOptions, transactionTracker?: TransactionTracker): InstrumentedPlugin<T>;
|
|
16
15
|
}
|
|
17
16
|
export {};
|
|
@@ -11,7 +11,7 @@ export declare function createParagraphNear(append?: boolean): Command;
|
|
|
11
11
|
export declare function addParagraphAtEnd(tr: Transaction): void;
|
|
12
12
|
export declare function createParagraphAtEnd(): Command;
|
|
13
13
|
export declare const changeImageAlignment: (align?: AlignmentState) => Command;
|
|
14
|
-
export declare const createToggleBlockMarkOnRange: <T extends {} = object>(markType: MarkType, getAttrs: (prevAttrs?: T | undefined, node?: PMNode) => false | T | undefined, allowedBlocks?: NodeType
|
|
14
|
+
export declare const createToggleBlockMarkOnRange: <T extends {} = object>(markType: MarkType, getAttrs: (prevAttrs?: T | undefined, node?: PMNode) => false | T | undefined, allowedBlocks?: NodeType[] | ((schema: Schema, node: PMNode, parent: PMNode | null) => boolean) | undefined) => (from: number, to: number, tr: Transaction, state: EditorState) => boolean;
|
|
15
15
|
/**
|
|
16
16
|
* Toggles block mark based on the return type of `getAttrs`.
|
|
17
17
|
* This is similar to ProseMirror's `getAttrs` from `AttributeSpec`
|
|
@@ -19,5 +19,5 @@ export declare const createToggleBlockMarkOnRange: <T extends {} = object>(markT
|
|
|
19
19
|
* return `undefined for no-op.
|
|
20
20
|
* return an `object` to update the mark.
|
|
21
21
|
*/
|
|
22
|
-
export declare const toggleBlockMark: <T extends {} = object>(markType: MarkType, getAttrs: (prevAttrs?: T | undefined, node?: PMNode) => false | T | undefined, allowedBlocks?: NodeType
|
|
22
|
+
export declare const toggleBlockMark: <T extends {} = object>(markType: MarkType, getAttrs: (prevAttrs?: T | undefined, node?: PMNode) => false | T | undefined, allowedBlocks?: NodeType[] | ((schema: Schema, node: PMNode, parent: PMNode | null) => boolean) | undefined) => Command;
|
|
23
23
|
export declare const clearEditorContent: Command;
|
|
@@ -85,7 +85,7 @@ export declare class ReactEditorView<T = {}> extends React.Component<EditorViewP
|
|
|
85
85
|
private countNodes;
|
|
86
86
|
private isTransactionTrackingExplicitlyDisabled;
|
|
87
87
|
constructor(props: EditorViewProps & WrappedComponentProps & T, context: EditorReactContext);
|
|
88
|
-
getEditorState: () => EditorState
|
|
88
|
+
getEditorState: () => EditorState | undefined;
|
|
89
89
|
UNSAFE_componentWillReceiveProps(nextProps: EditorViewProps): void;
|
|
90
90
|
formatFullWidthAppearance: (appearance: EditorAppearance | undefined) => FULL_WIDTH_MODE;
|
|
91
91
|
resetEditorState: ({ doc, shouldScrollToBottom, }: {
|
|
@@ -102,7 +102,7 @@ export declare class ReactEditorView<T = {}> extends React.Component<EditorViewP
|
|
|
102
102
|
componentWillUnmount(): void;
|
|
103
103
|
private editorPlugins;
|
|
104
104
|
getPlugins(preset: EditorPresetBuilder<string[], AllEditorPresetPluginTypes[]>): EditorPlugin[];
|
|
105
|
-
createEditorState: (options: CreateEditorStateOptions) => EditorState
|
|
105
|
+
createEditorState: (options: CreateEditorStateOptions) => EditorState;
|
|
106
106
|
private onEditorViewStateUpdated;
|
|
107
107
|
private trackValidTransactions;
|
|
108
108
|
private dispatchTransaction;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/// <reference path="../../../../../typings/prosemirror.d.ts" />
|
|
2
|
+
/// <reference path="../../../../../typings/prosemirror-state.d.ts" />
|
|
1
3
|
export { getChangedNodes } from './utils/document';
|
|
2
4
|
export { validateNodes } from './utils/nodes';
|
|
3
5
|
export { toJSON } from './utils';
|
|
@@ -8,7 +10,7 @@ export { ExtensionNode } from './plugins/extension/nodeviews/extension';
|
|
|
8
10
|
* @deprecated [ED-14688] - used during the table viz project and not used anymore
|
|
9
11
|
* will be removed in a future version of `@atlaskit/editor-core`
|
|
10
12
|
*/
|
|
11
|
-
declare const tablePluginKey: import("prosemirror-state").PluginKey<import("@atlaskit/editor-plugin-table/types").TablePluginState
|
|
13
|
+
declare const tablePluginKey: import("prosemirror-state").PluginKey<import("@atlaskit/editor-plugin-table/types").TablePluginState>;
|
|
12
14
|
export { tablePluginKey };
|
|
13
15
|
export declare const EmitterEvents: {
|
|
14
16
|
TABLE_DELETED: string;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/// <reference path="../../../../../../../../typings/prosemirror.d.ts" />
|
|
2
|
+
/// <reference path="../../../../../../../../typings/prosemirror-state.d.ts" />
|
|
1
3
|
import React from 'react';
|
|
2
4
|
import { MentionProvider } from '@atlaskit/mention/resource';
|
|
3
5
|
import { MediaProvider } from '../../../plugins/media';
|
|
@@ -29,13 +31,13 @@ export declare function useCXHTMLPreset({ mentionProvider, mediaProvider, placeh
|
|
|
29
31
|
(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"decorations", {
|
|
30
32
|
sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
|
|
31
33
|
actions: {
|
|
32
|
-
hoverDecoration: (nodeType: import("prosemirror-model").NodeType
|
|
34
|
+
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
33
35
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
34
36
|
};
|
|
35
37
|
}> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"decorations", {
|
|
36
38
|
sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
|
|
37
39
|
actions: {
|
|
38
|
-
hoverDecoration: (nodeType: import("prosemirror-model").NodeType
|
|
40
|
+
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
39
41
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
40
42
|
};
|
|
41
43
|
}>,
|
|
@@ -79,13 +81,13 @@ export declare function useCXHTMLPreset({ mentionProvider, mediaProvider, placeh
|
|
|
79
81
|
(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"decorations", {
|
|
80
82
|
sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
|
|
81
83
|
actions: {
|
|
82
|
-
hoverDecoration: (nodeType: import("prosemirror-model").NodeType
|
|
84
|
+
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
83
85
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
84
86
|
};
|
|
85
87
|
}> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"decorations", {
|
|
86
88
|
sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
|
|
87
89
|
actions: {
|
|
88
|
-
hoverDecoration: (nodeType: import("prosemirror-model").NodeType
|
|
90
|
+
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
89
91
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
90
92
|
};
|
|
91
93
|
}>,
|
|
@@ -141,23 +143,23 @@ export declare function useCXHTMLPreset({ mentionProvider, mediaProvider, placeh
|
|
|
141
143
|
(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"decorations", {
|
|
142
144
|
sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
|
|
143
145
|
actions: {
|
|
144
|
-
hoverDecoration: (nodeType: import("prosemirror-model").NodeType
|
|
146
|
+
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
145
147
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
146
148
|
};
|
|
147
149
|
}> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"decorations", {
|
|
148
150
|
sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
|
|
149
151
|
actions: {
|
|
150
|
-
hoverDecoration: (nodeType: import("prosemirror-model").NodeType
|
|
152
|
+
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
151
153
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
152
154
|
};
|
|
153
155
|
}>,
|
|
154
156
|
import("@atlaskit/editor-common/types").OptionalPlugin<(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"contextPanel", {
|
|
155
157
|
actions: {
|
|
156
|
-
applyChange: (tr: import("prosemirror-state").Transaction
|
|
158
|
+
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
157
159
|
};
|
|
158
160
|
}> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"contextPanel", {
|
|
159
161
|
actions: {
|
|
160
|
-
applyChange: (tr: import("prosemirror-state").Transaction
|
|
162
|
+
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
161
163
|
};
|
|
162
164
|
}>>
|
|
163
165
|
];
|
|
@@ -176,23 +178,23 @@ export declare function useCXHTMLPreset({ mentionProvider, mediaProvider, placeh
|
|
|
176
178
|
(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"decorations", {
|
|
177
179
|
sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
|
|
178
180
|
actions: {
|
|
179
|
-
hoverDecoration: (nodeType: import("prosemirror-model").NodeType
|
|
181
|
+
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
180
182
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
181
183
|
};
|
|
182
184
|
}> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"decorations", {
|
|
183
185
|
sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
|
|
184
186
|
actions: {
|
|
185
|
-
hoverDecoration: (nodeType: import("prosemirror-model").NodeType
|
|
187
|
+
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
186
188
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
187
189
|
};
|
|
188
190
|
}>,
|
|
189
191
|
import("@atlaskit/editor-common/types").OptionalPlugin<(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"contextPanel", {
|
|
190
192
|
actions: {
|
|
191
|
-
applyChange: (tr: import("prosemirror-state").Transaction
|
|
193
|
+
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
192
194
|
};
|
|
193
195
|
}> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"contextPanel", {
|
|
194
196
|
actions: {
|
|
195
|
-
applyChange: (tr: import("prosemirror-state").Transaction
|
|
197
|
+
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
196
198
|
};
|
|
197
199
|
}>>
|
|
198
200
|
];
|
|
@@ -201,10 +203,10 @@ export declare function useCXHTMLPreset({ mentionProvider, mediaProvider, placeh
|
|
|
201
203
|
};
|
|
202
204
|
}>,
|
|
203
205
|
(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"fakeTextCursor", {}> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"fakeTextCursor", {}>,
|
|
204
|
-
(config?: ((editorView: import("prosemirror-view").EditorView
|
|
205
|
-
pluginConfiguration: ((editorView: import("prosemirror-view").EditorView
|
|
206
|
+
(config?: ((editorView: import("prosemirror-view").EditorView) => void) | undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"submitEditor", {
|
|
207
|
+
pluginConfiguration: ((editorView: import("prosemirror-view").EditorView) => void) | undefined;
|
|
206
208
|
}> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"submitEditor", {
|
|
207
|
-
pluginConfiguration: ((editorView: import("prosemirror-view").EditorView
|
|
209
|
+
pluginConfiguration: ((editorView: import("prosemirror-view").EditorView) => void) | undefined;
|
|
208
210
|
}>,
|
|
209
211
|
(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"editorDisabled", {
|
|
210
212
|
sharedState: import("../../../plugins/editor-disabled").EditorDisabledPluginState;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/// <reference path="../../../../../../../../typings/prosemirror.d.ts" />
|
|
2
|
+
/// <reference path="../../../../../../../../typings/prosemirror-state.d.ts" />
|
|
1
3
|
import { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
2
4
|
import { PastePluginOptions } from '../../../plugins/paste';
|
|
3
5
|
import { BasePluginOptions } from '../../../plugins/base';
|
|
@@ -58,13 +60,13 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
58
60
|
(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"decorations", {
|
|
59
61
|
sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
|
|
60
62
|
actions: {
|
|
61
|
-
hoverDecoration: (nodeType: import("prosemirror-model").NodeType
|
|
63
|
+
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
62
64
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
63
65
|
};
|
|
64
66
|
}> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"decorations", {
|
|
65
67
|
sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
|
|
66
68
|
actions: {
|
|
67
|
-
hoverDecoration: (nodeType: import("prosemirror-model").NodeType
|
|
69
|
+
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
68
70
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
69
71
|
};
|
|
70
72
|
}>,
|
|
@@ -108,13 +110,13 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
108
110
|
(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"decorations", {
|
|
109
111
|
sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
|
|
110
112
|
actions: {
|
|
111
|
-
hoverDecoration: (nodeType: import("prosemirror-model").NodeType
|
|
113
|
+
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
112
114
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
113
115
|
};
|
|
114
116
|
}> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"decorations", {
|
|
115
117
|
sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
|
|
116
118
|
actions: {
|
|
117
|
-
hoverDecoration: (nodeType: import("prosemirror-model").NodeType
|
|
119
|
+
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
118
120
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
119
121
|
};
|
|
120
122
|
}>,
|
|
@@ -170,23 +172,23 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
170
172
|
(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"decorations", {
|
|
171
173
|
sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
|
|
172
174
|
actions: {
|
|
173
|
-
hoverDecoration: (nodeType: import("prosemirror-model").NodeType
|
|
175
|
+
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
174
176
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
175
177
|
};
|
|
176
178
|
}> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"decorations", {
|
|
177
179
|
sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
|
|
178
180
|
actions: {
|
|
179
|
-
hoverDecoration: (nodeType: import("prosemirror-model").NodeType
|
|
181
|
+
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
180
182
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
181
183
|
};
|
|
182
184
|
}>,
|
|
183
185
|
import("@atlaskit/editor-common/types").OptionalPlugin<(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"contextPanel", {
|
|
184
186
|
actions: {
|
|
185
|
-
applyChange: (tr: import("prosemirror-state").Transaction
|
|
187
|
+
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
186
188
|
};
|
|
187
189
|
}> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"contextPanel", {
|
|
188
190
|
actions: {
|
|
189
|
-
applyChange: (tr: import("prosemirror-state").Transaction
|
|
191
|
+
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
190
192
|
};
|
|
191
193
|
}>>
|
|
192
194
|
];
|
|
@@ -205,23 +207,23 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
205
207
|
(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"decorations", {
|
|
206
208
|
sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
|
|
207
209
|
actions: {
|
|
208
|
-
hoverDecoration: (nodeType: import("prosemirror-model").NodeType
|
|
210
|
+
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
209
211
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
210
212
|
};
|
|
211
213
|
}> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"decorations", {
|
|
212
214
|
sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
|
|
213
215
|
actions: {
|
|
214
|
-
hoverDecoration: (nodeType: import("prosemirror-model").NodeType
|
|
216
|
+
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
215
217
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
216
218
|
};
|
|
217
219
|
}>,
|
|
218
220
|
import("@atlaskit/editor-common/types").OptionalPlugin<(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"contextPanel", {
|
|
219
221
|
actions: {
|
|
220
|
-
applyChange: (tr: import("prosemirror-state").Transaction
|
|
222
|
+
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
221
223
|
};
|
|
222
224
|
}> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"contextPanel", {
|
|
223
225
|
actions: {
|
|
224
|
-
applyChange: (tr: import("prosemirror-state").Transaction
|
|
226
|
+
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
225
227
|
};
|
|
226
228
|
}>>
|
|
227
229
|
];
|
|
@@ -230,10 +232,10 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
230
232
|
};
|
|
231
233
|
}>,
|
|
232
234
|
(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"fakeTextCursor", {}> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"fakeTextCursor", {}>,
|
|
233
|
-
(config?: ((editorView: import("prosemirror-view").EditorView
|
|
234
|
-
pluginConfiguration: ((editorView: import("prosemirror-view").EditorView
|
|
235
|
+
(config?: ((editorView: import("prosemirror-view").EditorView) => void) | undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"submitEditor", {
|
|
236
|
+
pluginConfiguration: ((editorView: import("prosemirror-view").EditorView) => void) | undefined;
|
|
235
237
|
}> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"submitEditor", {
|
|
236
|
-
pluginConfiguration: ((editorView: import("prosemirror-view").EditorView
|
|
238
|
+
pluginConfiguration: ((editorView: import("prosemirror-view").EditorView) => void) | undefined;
|
|
237
239
|
}>,
|
|
238
240
|
(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"editorDisabled", {
|
|
239
241
|
sharedState: import("../../../plugins/editor-disabled").EditorDisabledPluginState;
|
|
@@ -379,13 +381,13 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
379
381
|
(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"decorations", {
|
|
380
382
|
sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
|
|
381
383
|
actions: {
|
|
382
|
-
hoverDecoration: (nodeType: import("prosemirror-model").NodeType
|
|
384
|
+
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
383
385
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
384
386
|
};
|
|
385
387
|
}> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"decorations", {
|
|
386
388
|
sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
|
|
387
389
|
actions: {
|
|
388
|
-
hoverDecoration: (nodeType: import("prosemirror-model").NodeType
|
|
390
|
+
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
389
391
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
390
392
|
};
|
|
391
393
|
}>,
|
|
@@ -429,13 +431,13 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
429
431
|
(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"decorations", {
|
|
430
432
|
sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
|
|
431
433
|
actions: {
|
|
432
|
-
hoverDecoration: (nodeType: import("prosemirror-model").NodeType
|
|
434
|
+
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
433
435
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
434
436
|
};
|
|
435
437
|
}> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"decorations", {
|
|
436
438
|
sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
|
|
437
439
|
actions: {
|
|
438
|
-
hoverDecoration: (nodeType: import("prosemirror-model").NodeType
|
|
440
|
+
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
439
441
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
440
442
|
};
|
|
441
443
|
}>,
|
|
@@ -491,23 +493,23 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
491
493
|
(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"decorations", {
|
|
492
494
|
sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
|
|
493
495
|
actions: {
|
|
494
|
-
hoverDecoration: (nodeType: import("prosemirror-model").NodeType
|
|
496
|
+
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
495
497
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
496
498
|
};
|
|
497
499
|
}> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"decorations", {
|
|
498
500
|
sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
|
|
499
501
|
actions: {
|
|
500
|
-
hoverDecoration: (nodeType: import("prosemirror-model").NodeType
|
|
502
|
+
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
501
503
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
502
504
|
};
|
|
503
505
|
}>,
|
|
504
506
|
import("@atlaskit/editor-common/types").OptionalPlugin<(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"contextPanel", {
|
|
505
507
|
actions: {
|
|
506
|
-
applyChange: (tr: import("prosemirror-state").Transaction
|
|
508
|
+
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
507
509
|
};
|
|
508
510
|
}> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"contextPanel", {
|
|
509
511
|
actions: {
|
|
510
|
-
applyChange: (tr: import("prosemirror-state").Transaction
|
|
512
|
+
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
511
513
|
};
|
|
512
514
|
}>>
|
|
513
515
|
];
|
|
@@ -526,23 +528,23 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
526
528
|
(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"decorations", {
|
|
527
529
|
sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
|
|
528
530
|
actions: {
|
|
529
|
-
hoverDecoration: (nodeType: import("prosemirror-model").NodeType
|
|
531
|
+
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
530
532
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
531
533
|
};
|
|
532
534
|
}> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"decorations", {
|
|
533
535
|
sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
|
|
534
536
|
actions: {
|
|
535
|
-
hoverDecoration: (nodeType: import("prosemirror-model").NodeType
|
|
537
|
+
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
536
538
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
537
539
|
};
|
|
538
540
|
}>,
|
|
539
541
|
import("@atlaskit/editor-common/types").OptionalPlugin<(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"contextPanel", {
|
|
540
542
|
actions: {
|
|
541
|
-
applyChange: (tr: import("prosemirror-state").Transaction
|
|
543
|
+
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
542
544
|
};
|
|
543
545
|
}> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"contextPanel", {
|
|
544
546
|
actions: {
|
|
545
|
-
applyChange: (tr: import("prosemirror-state").Transaction
|
|
547
|
+
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
546
548
|
};
|
|
547
549
|
}>>
|
|
548
550
|
];
|
|
@@ -551,10 +553,10 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
551
553
|
};
|
|
552
554
|
}>,
|
|
553
555
|
(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"fakeTextCursor", {}> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"fakeTextCursor", {}>,
|
|
554
|
-
(config?: ((editorView: import("prosemirror-view").EditorView
|
|
555
|
-
pluginConfiguration: ((editorView: import("prosemirror-view").EditorView
|
|
556
|
+
(config?: ((editorView: import("prosemirror-view").EditorView) => void) | undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"submitEditor", {
|
|
557
|
+
pluginConfiguration: ((editorView: import("prosemirror-view").EditorView) => void) | undefined;
|
|
556
558
|
}> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"submitEditor", {
|
|
557
|
-
pluginConfiguration: ((editorView: import("prosemirror-view").EditorView
|
|
559
|
+
pluginConfiguration: ((editorView: import("prosemirror-view").EditorView) => void) | undefined;
|
|
558
560
|
}>,
|
|
559
561
|
(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"editorDisabled", {
|
|
560
562
|
sharedState: import("../../../plugins/editor-disabled").EditorDisabledPluginState;
|