@atlaskit/editor-core 185.8.2 → 185.8.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/CHANGELOG.md +7 -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 +4 -12
- 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();
|
package/dist/types-ts4.5/plugins/view-update-subscription/subscribe/toolbarAndPickerUpdates.d.ts
CHANGED
|
@@ -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 {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "185.8.
|
|
3
|
+
"version": "185.8.3",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"@atlaskit/editor-json-transformer": "^8.9.0",
|
|
54
54
|
"@atlaskit/editor-markdown-transformer": "^5.2.0",
|
|
55
55
|
"@atlaskit/editor-palette": "1.5.1",
|
|
56
|
-
"@atlaskit/editor-plugin-analytics": "^0.0.
|
|
57
|
-
"@atlaskit/editor-plugin-content-insertion": "^0.0.
|
|
56
|
+
"@atlaskit/editor-plugin-analytics": "^0.0.5",
|
|
57
|
+
"@atlaskit/editor-plugin-content-insertion": "^0.0.5",
|
|
58
58
|
"@atlaskit/editor-plugin-context-panel": "^0.1.0",
|
|
59
59
|
"@atlaskit/editor-plugin-decorations": "^0.1.0",
|
|
60
60
|
"@atlaskit/editor-plugin-feature-flags": "^0.1.0",
|
|
@@ -105,14 +105,6 @@
|
|
|
105
105
|
"@atlaskit/width-detector": "^4.1.0",
|
|
106
106
|
"@babel/runtime": "^7.0.0",
|
|
107
107
|
"@emotion/react": "^11.7.1",
|
|
108
|
-
"@types/prosemirror-commands": "1.0.1",
|
|
109
|
-
"@types/prosemirror-history": "^1.0.1",
|
|
110
|
-
"@types/prosemirror-inputrules": "^1.0.3",
|
|
111
|
-
"@types/prosemirror-keymap": "1.0.1",
|
|
112
|
-
"@types/prosemirror-model": "^1.11.0",
|
|
113
|
-
"@types/prosemirror-state": "^1.2.0",
|
|
114
|
-
"@types/prosemirror-transform": "^1.1.0",
|
|
115
|
-
"@types/prosemirror-view": "^1.9.0",
|
|
116
108
|
"@types/react-loadable": "^5.4.1",
|
|
117
109
|
"@types/react-virtualized": "^9.18.12",
|
|
118
110
|
"classnames": "^2.2.5",
|
|
@@ -150,7 +142,7 @@
|
|
|
150
142
|
"@af/editor-libra": "*",
|
|
151
143
|
"@af/integration-testing": "*",
|
|
152
144
|
"@atlaskit/code": "^14.6.0",
|
|
153
|
-
"@atlaskit/collab-provider": "9.5.
|
|
145
|
+
"@atlaskit/collab-provider": "9.5.2",
|
|
154
146
|
"@atlaskit/dropdown-menu": "^11.10.0",
|
|
155
147
|
"@atlaskit/editor-extension-dropbox": "^0.4.0",
|
|
156
148
|
"@atlaskit/editor-plugin-table": "^1.7.0",
|
package/report.api.md
CHANGED
|
@@ -271,7 +271,7 @@ type BeforeAndAfterToolbarComponents = {
|
|
|
271
271
|
};
|
|
272
272
|
|
|
273
273
|
// @public (undocumented)
|
|
274
|
-
export const blockPluginStateKey: PluginKey<BlockTypeState
|
|
274
|
+
export const blockPluginStateKey: PluginKey<BlockTypeState>;
|
|
275
275
|
|
|
276
276
|
// @public (undocumented)
|
|
277
277
|
interface BlockType {
|
|
@@ -442,7 +442,7 @@ export { createTable };
|
|
|
442
442
|
// @public (undocumented)
|
|
443
443
|
export const createTypeAheadTools: (editorView: EditorView) => {
|
|
444
444
|
isOpen: () => TypeAheadHandler | false;
|
|
445
|
-
currentQuery: () => string;
|
|
445
|
+
currentQuery: () => string | undefined;
|
|
446
446
|
close: (options?: CloseOptions) => boolean;
|
|
447
447
|
openMention: (inputMethod: TypeAheadInputMethod) => boolean;
|
|
448
448
|
searchMention: (query?: string) => {
|
|
@@ -526,7 +526,7 @@ export const dateMessages: {
|
|
|
526
526
|
};
|
|
527
527
|
|
|
528
528
|
// @public (undocumented)
|
|
529
|
-
export const datePluginKey: PluginKey<DatePluginState
|
|
529
|
+
export const datePluginKey: PluginKey<DatePluginState>;
|
|
530
530
|
|
|
531
531
|
// @public (undocumented)
|
|
532
532
|
export type DatePluginState = {
|
|
@@ -1078,7 +1078,7 @@ interface EditorViewProps {
|
|
|
1078
1078
|
// @public (undocumented)
|
|
1079
1079
|
type EditorViewStateUpdatedCallbackProps = {
|
|
1080
1080
|
readonly originalTransaction: Readonly<Transaction>;
|
|
1081
|
-
readonly transactions: Transaction[];
|
|
1081
|
+
readonly transactions: readonly Transaction[];
|
|
1082
1082
|
readonly oldEditorState: Readonly<EditorState>;
|
|
1083
1083
|
readonly newEditorState: Readonly<EditorState>;
|
|
1084
1084
|
};
|
|
@@ -1156,10 +1156,7 @@ export { FloatingToolbarItem };
|
|
|
1156
1156
|
export { FloatingToolbarListPicker };
|
|
1157
1157
|
|
|
1158
1158
|
// @public
|
|
1159
|
-
export const floatingToolbarPluginKey: PluginKey<
|
|
1160
|
-
FloatingToolbarPluginState,
|
|
1161
|
-
any
|
|
1162
|
-
>;
|
|
1159
|
+
export const floatingToolbarPluginKey: PluginKey<FloatingToolbarPluginState>;
|
|
1163
1160
|
|
|
1164
1161
|
// @public (undocumented)
|
|
1165
1162
|
export type FloatingToolbarPluginState = Record<
|
|
@@ -1214,7 +1211,7 @@ type HeadingLevels = 1 | 2 | 3 | 4 | 5 | 6;
|
|
|
1214
1211
|
type HeadingLevelsAndNormalText = HeadingLevels | NormalTextLevel;
|
|
1215
1212
|
|
|
1216
1213
|
// @public
|
|
1217
|
-
export const historyPluginKey: PluginKey<HistoryPluginState
|
|
1214
|
+
export const historyPluginKey: PluginKey<HistoryPluginState>;
|
|
1218
1215
|
|
|
1219
1216
|
// @public (undocumented)
|
|
1220
1217
|
export interface HistoryPluginState {
|
|
@@ -1253,7 +1250,7 @@ export interface HyperlinkState {
|
|
|
1253
1250
|
}
|
|
1254
1251
|
|
|
1255
1252
|
// @public (undocumented)
|
|
1256
|
-
export const hyperlinkStateKey: PluginKey<HyperlinkState
|
|
1253
|
+
export const hyperlinkStateKey: PluginKey<HyperlinkState>;
|
|
1257
1254
|
|
|
1258
1255
|
// @public (undocumented)
|
|
1259
1256
|
function indentList(inputMethod?: InputMethod): Command;
|
|
@@ -1451,7 +1448,7 @@ export interface ListState {
|
|
|
1451
1448
|
}
|
|
1452
1449
|
|
|
1453
1450
|
// @public (undocumented)
|
|
1454
|
-
export const listStateKey: PluginKey<ListState
|
|
1451
|
+
export const listStateKey: PluginKey<ListState>;
|
|
1455
1452
|
|
|
1456
1453
|
// @public (undocumented)
|
|
1457
1454
|
interface LongPressSelectionPluginOptions {
|
|
@@ -1573,7 +1570,7 @@ export const mediaPlugin: NextEditorPlugin<
|
|
|
1573
1570
|
>;
|
|
1574
1571
|
|
|
1575
1572
|
// @public (undocumented)
|
|
1576
|
-
export const mediaPluginKey: PluginKey<MediaPluginState
|
|
1573
|
+
export const mediaPluginKey: PluginKey<MediaPluginState>;
|
|
1577
1574
|
|
|
1578
1575
|
// @public (undocumented)
|
|
1579
1576
|
type MediaPluginOptions = {
|
|
@@ -1772,7 +1769,7 @@ interface MentionPluginConfig {
|
|
|
1772
1769
|
}
|
|
1773
1770
|
|
|
1774
1771
|
// @public (undocumented)
|
|
1775
|
-
export const mentionPluginKey: PluginKey<MentionPluginState
|
|
1772
|
+
export const mentionPluginKey: PluginKey<MentionPluginState>;
|
|
1776
1773
|
|
|
1777
1774
|
// @public (undocumented)
|
|
1778
1775
|
export type MentionPluginState = {
|
|
@@ -1942,7 +1939,7 @@ type PrimaryToolbarComponents =
|
|
|
1942
1939
|
|
|
1943
1940
|
// @public (undocumented)
|
|
1944
1941
|
const processItems: (
|
|
1945
|
-
items: Array<QuickInsertHandler>,
|
|
1942
|
+
items: Array<QuickInsertHandler | QuickInsertItem>,
|
|
1946
1943
|
intl: IntlShape,
|
|
1947
1944
|
extendedActions?: Record<string, Function>,
|
|
1948
1945
|
) => QuickInsertItem[];
|
|
@@ -2024,7 +2021,7 @@ type QuickInsertOptions =
|
|
|
2024
2021
|
};
|
|
2025
2022
|
|
|
2026
2023
|
// @public (undocumented)
|
|
2027
|
-
export const quickInsertPluginKey: PluginKey<QuickInsertPluginState
|
|
2024
|
+
export const quickInsertPluginKey: PluginKey<QuickInsertPluginState>;
|
|
2028
2025
|
|
|
2029
2026
|
// @public (undocumented)
|
|
2030
2027
|
interface QuickInsertPluginOptions {
|
|
@@ -2089,7 +2086,7 @@ class ReactEditorView_2<T = {}> extends React_2.Component<
|
|
|
2089
2086
|
>;
|
|
2090
2087
|
};
|
|
2091
2088
|
// (undocumented)
|
|
2092
|
-
createEditorState: (options: CreateEditorStateOptions) => EditorState
|
|
2089
|
+
createEditorState: (options: CreateEditorStateOptions) => EditorState;
|
|
2093
2090
|
// (undocumented)
|
|
2094
2091
|
dispatch: Dispatch;
|
|
2095
2092
|
// (undocumented)
|
|
@@ -2111,7 +2108,7 @@ class ReactEditorView_2<T = {}> extends React_2.Component<
|
|
|
2111
2108
|
// (undocumented)
|
|
2112
2109
|
getDirectEditorProps: (state?: EditorState) => DirectEditorProps;
|
|
2113
2110
|
// (undocumented)
|
|
2114
|
-
getEditorState: () => EditorState
|
|
2111
|
+
getEditorState: () => EditorState | undefined;
|
|
2115
2112
|
// (undocumented)
|
|
2116
2113
|
getPlugins(
|
|
2117
2114
|
preset: EditorPresetBuilder<string[], AllEditorPresetPluginTypes[]>,
|
|
@@ -2186,7 +2183,7 @@ export interface SelectionDataState {
|
|
|
2186
2183
|
}
|
|
2187
2184
|
|
|
2188
2185
|
// @public (undocumented)
|
|
2189
|
-
export const selectionPluginKey: PluginKey<any
|
|
2186
|
+
export const selectionPluginKey: PluginKey<any>;
|
|
2190
2187
|
|
|
2191
2188
|
// @public (undocumented)
|
|
2192
2189
|
interface SelectionPluginOptions extends LongPressSelectionPluginOptions {}
|
|
@@ -2261,7 +2258,7 @@ export const statusMessages: {
|
|
|
2261
2258
|
};
|
|
2262
2259
|
|
|
2263
2260
|
// @public (undocumented)
|
|
2264
|
-
export const statusPluginKey: PluginKey<StatusState
|
|
2261
|
+
export const statusPluginKey: PluginKey<StatusState>;
|
|
2265
2262
|
|
|
2266
2263
|
// @public (undocumented)
|
|
2267
2264
|
export type StatusState = {
|
|
@@ -2287,8 +2284,8 @@ export const subscribeToToolbarAndPickerUpdates: SubscribeToToolbarAndPickerUpda
|
|
|
2287
2284
|
|
|
2288
2285
|
// @public (undocumented)
|
|
2289
2286
|
type SubscribeToToolbarAndPickerUpdatesCallbackArgs = {
|
|
2290
|
-
dateState
|
|
2291
|
-
statusState
|
|
2287
|
+
dateState?: DatePluginState;
|
|
2288
|
+
statusState?: StatusState;
|
|
2292
2289
|
toolbarConfig: ConfigWithNodeInfo | null | undefined;
|
|
2293
2290
|
};
|
|
2294
2291
|
|
|
@@ -2327,7 +2324,7 @@ interface TextColorPluginConfig {
|
|
|
2327
2324
|
}
|
|
2328
2325
|
|
|
2329
2326
|
// @public (undocumented)
|
|
2330
|
-
export const textColorPluginKey: PluginKey<TextColorPluginState
|
|
2327
|
+
export const textColorPluginKey: PluginKey<TextColorPluginState>;
|
|
2331
2328
|
|
|
2332
2329
|
// @public (undocumented)
|
|
2333
2330
|
export type TextColorPluginState = {
|
|
@@ -2407,7 +2404,7 @@ export interface TextFormattingState {
|
|
|
2407
2404
|
}
|
|
2408
2405
|
|
|
2409
2406
|
// @public (undocumented)
|
|
2410
|
-
export const textFormattingStateKey: PluginKey<TextFormattingState
|
|
2407
|
+
export const textFormattingStateKey: PluginKey<TextFormattingState>;
|
|
2411
2408
|
|
|
2412
2409
|
// @public (undocumented)
|
|
2413
2410
|
interface TextSelectionData {
|
|
@@ -2549,7 +2546,7 @@ type TypeAheadInputMethod =
|
|
|
2549
2546
|
export { TypeAheadItem };
|
|
2550
2547
|
|
|
2551
2548
|
// @public (undocumented)
|
|
2552
|
-
export const typeAheadPluginKey: PluginKey<TypeAheadPluginState
|
|
2549
|
+
export const typeAheadPluginKey: PluginKey<TypeAheadPluginState>;
|
|
2553
2550
|
|
|
2554
2551
|
// @public (undocumented)
|
|
2555
2552
|
type TypeAheadPluginOptions = {
|
package/tmp/api-report-tmp.d.ts
CHANGED
|
@@ -259,7 +259,7 @@ type BeforeAndAfterToolbarComponents = {
|
|
|
259
259
|
};
|
|
260
260
|
|
|
261
261
|
// @public (undocumented)
|
|
262
|
-
export const blockPluginStateKey: PluginKey<BlockTypeState
|
|
262
|
+
export const blockPluginStateKey: PluginKey<BlockTypeState>;
|
|
263
263
|
|
|
264
264
|
// @public (undocumented)
|
|
265
265
|
interface BlockType {
|
|
@@ -417,7 +417,7 @@ export { createTable }
|
|
|
417
417
|
// @public (undocumented)
|
|
418
418
|
export const createTypeAheadTools: (editorView: EditorView) => {
|
|
419
419
|
isOpen: () => TypeAheadHandler | false;
|
|
420
|
-
currentQuery: () => string;
|
|
420
|
+
currentQuery: () => string | undefined;
|
|
421
421
|
close: (options?: CloseOptions) => boolean;
|
|
422
422
|
openMention: (inputMethod: TypeAheadInputMethod) => boolean;
|
|
423
423
|
searchMention: (query?: string) => {
|
|
@@ -480,7 +480,7 @@ export const dateMessages: {
|
|
|
480
480
|
};
|
|
481
481
|
|
|
482
482
|
// @public (undocumented)
|
|
483
|
-
export const datePluginKey: PluginKey<DatePluginState
|
|
483
|
+
export const datePluginKey: PluginKey<DatePluginState>;
|
|
484
484
|
|
|
485
485
|
// @public (undocumented)
|
|
486
486
|
export type DatePluginState = {
|
|
@@ -990,7 +990,7 @@ interface EditorViewProps {
|
|
|
990
990
|
// @public (undocumented)
|
|
991
991
|
type EditorViewStateUpdatedCallbackProps = {
|
|
992
992
|
readonly originalTransaction: Readonly<Transaction>;
|
|
993
|
-
readonly transactions: Transaction[];
|
|
993
|
+
readonly transactions: readonly Transaction[];
|
|
994
994
|
readonly oldEditorState: Readonly<EditorState>;
|
|
995
995
|
readonly newEditorState: Readonly<EditorState>;
|
|
996
996
|
};
|
|
@@ -1064,7 +1064,7 @@ export { FloatingToolbarItem }
|
|
|
1064
1064
|
export { FloatingToolbarListPicker }
|
|
1065
1065
|
|
|
1066
1066
|
// @public
|
|
1067
|
-
export const floatingToolbarPluginKey: PluginKey<FloatingToolbarPluginState
|
|
1067
|
+
export const floatingToolbarPluginKey: PluginKey<FloatingToolbarPluginState>;
|
|
1068
1068
|
|
|
1069
1069
|
// @public (undocumented)
|
|
1070
1070
|
export type FloatingToolbarPluginState = Record<'getConfigWithNodeInfo', (state: EditorState) => ConfigWithNodeInfo | null | undefined>;
|
|
@@ -1113,7 +1113,7 @@ type HeadingLevels = 1 | 2 | 3 | 4 | 5 | 6;
|
|
|
1113
1113
|
type HeadingLevelsAndNormalText = HeadingLevels | NormalTextLevel;
|
|
1114
1114
|
|
|
1115
1115
|
// @public
|
|
1116
|
-
export const historyPluginKey: PluginKey<HistoryPluginState
|
|
1116
|
+
export const historyPluginKey: PluginKey<HistoryPluginState>;
|
|
1117
1117
|
|
|
1118
1118
|
// @public (undocumented)
|
|
1119
1119
|
export interface HistoryPluginState {
|
|
@@ -1152,7 +1152,7 @@ export interface HyperlinkState {
|
|
|
1152
1152
|
}
|
|
1153
1153
|
|
|
1154
1154
|
// @public (undocumented)
|
|
1155
|
-
export const hyperlinkStateKey: PluginKey<HyperlinkState
|
|
1155
|
+
export const hyperlinkStateKey: PluginKey<HyperlinkState>;
|
|
1156
1156
|
|
|
1157
1157
|
// @public (undocumented)
|
|
1158
1158
|
function indentList(inputMethod?: InputMethod): Command;
|
|
@@ -1289,7 +1289,7 @@ export interface ListState {
|
|
|
1289
1289
|
}
|
|
1290
1290
|
|
|
1291
1291
|
// @public (undocumented)
|
|
1292
|
-
export const listStateKey: PluginKey<ListState
|
|
1292
|
+
export const listStateKey: PluginKey<ListState>;
|
|
1293
1293
|
|
|
1294
1294
|
// @public (undocumented)
|
|
1295
1295
|
interface LongPressSelectionPluginOptions {
|
|
@@ -1405,7 +1405,7 @@ export const mediaPlugin: NextEditorPlugin<'media', {
|
|
|
1405
1405
|
}>;
|
|
1406
1406
|
|
|
1407
1407
|
// @public (undocumented)
|
|
1408
|
-
export const mediaPluginKey: PluginKey<MediaPluginState
|
|
1408
|
+
export const mediaPluginKey: PluginKey<MediaPluginState>;
|
|
1409
1409
|
|
|
1410
1410
|
// @public (undocumented)
|
|
1411
1411
|
type MediaPluginOptions = {
|
|
@@ -1571,7 +1571,7 @@ interface MentionPluginConfig {
|
|
|
1571
1571
|
}
|
|
1572
1572
|
|
|
1573
1573
|
// @public (undocumented)
|
|
1574
|
-
export const mentionPluginKey: PluginKey<MentionPluginState
|
|
1574
|
+
export const mentionPluginKey: PluginKey<MentionPluginState>;
|
|
1575
1575
|
|
|
1576
1576
|
// @public (undocumented)
|
|
1577
1577
|
export type MentionPluginState = {
|
|
@@ -1726,7 +1726,7 @@ export { PresenceResource }
|
|
|
1726
1726
|
type PrimaryToolbarComponents = BeforeAndAfterToolbarComponents | ReactComponents;
|
|
1727
1727
|
|
|
1728
1728
|
// @public (undocumented)
|
|
1729
|
-
const processItems: (items: Array<QuickInsertHandler>, intl: IntlShape, extendedActions?: Record<string, Function>) => QuickInsertItem[];
|
|
1729
|
+
const processItems: (items: Array<QuickInsertHandler | QuickInsertItem>, intl: IntlShape, extendedActions?: Record<string, Function>) => QuickInsertItem[];
|
|
1730
1730
|
|
|
1731
1731
|
// @public (undocumented)
|
|
1732
1732
|
export const processQuickInsertItems: typeof processItems;
|
|
@@ -1801,7 +1801,7 @@ type QuickInsertOptions = boolean | {
|
|
|
1801
1801
|
};
|
|
1802
1802
|
|
|
1803
1803
|
// @public (undocumented)
|
|
1804
|
-
export const quickInsertPluginKey: PluginKey<QuickInsertPluginState
|
|
1804
|
+
export const quickInsertPluginKey: PluginKey<QuickInsertPluginState>;
|
|
1805
1805
|
|
|
1806
1806
|
// @public (undocumented)
|
|
1807
1807
|
interface QuickInsertPluginOptions {
|
|
@@ -1853,7 +1853,7 @@ class ReactEditorView_2<T = {}> extends React_2.Component<EditorViewProps & Wrap
|
|
|
1853
1853
|
getAtlaskitAnalyticsEventHandlers: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1854
1854
|
};
|
|
1855
1855
|
// (undocumented)
|
|
1856
|
-
createEditorState: (options: CreateEditorStateOptions) => EditorState
|
|
1856
|
+
createEditorState: (options: CreateEditorStateOptions) => EditorState;
|
|
1857
1857
|
// (undocumented)
|
|
1858
1858
|
dispatch: Dispatch;
|
|
1859
1859
|
// (undocumented)
|
|
@@ -1873,7 +1873,7 @@ class ReactEditorView_2<T = {}> extends React_2.Component<EditorViewProps & Wrap
|
|
|
1873
1873
|
// (undocumented)
|
|
1874
1874
|
getDirectEditorProps: (state?: EditorState) => DirectEditorProps;
|
|
1875
1875
|
// (undocumented)
|
|
1876
|
-
getEditorState: () => EditorState
|
|
1876
|
+
getEditorState: () => EditorState | undefined;
|
|
1877
1877
|
// (undocumented)
|
|
1878
1878
|
getPlugins(preset: EditorPresetBuilder<string[], AllEditorPresetPluginTypes[]>): EditorPlugin[];
|
|
1879
1879
|
// (undocumented)
|
|
@@ -1938,7 +1938,7 @@ export interface SelectionDataState {
|
|
|
1938
1938
|
}
|
|
1939
1939
|
|
|
1940
1940
|
// @public (undocumented)
|
|
1941
|
-
export const selectionPluginKey: PluginKey<any
|
|
1941
|
+
export const selectionPluginKey: PluginKey<any>;
|
|
1942
1942
|
|
|
1943
1943
|
// @public (undocumented)
|
|
1944
1944
|
interface SelectionPluginOptions extends LongPressSelectionPluginOptions {
|
|
@@ -2010,7 +2010,7 @@ export const statusMessages: {
|
|
|
2010
2010
|
};
|
|
2011
2011
|
|
|
2012
2012
|
// @public (undocumented)
|
|
2013
|
-
export const statusPluginKey: PluginKey<StatusState
|
|
2013
|
+
export const statusPluginKey: PluginKey<StatusState>;
|
|
2014
2014
|
|
|
2015
2015
|
// @public (undocumented)
|
|
2016
2016
|
export type StatusState = {
|
|
@@ -2033,8 +2033,8 @@ export const subscribeToToolbarAndPickerUpdates: SubscribeToToolbarAndPickerUpda
|
|
|
2033
2033
|
|
|
2034
2034
|
// @public (undocumented)
|
|
2035
2035
|
type SubscribeToToolbarAndPickerUpdatesCallbackArgs = {
|
|
2036
|
-
dateState
|
|
2037
|
-
statusState
|
|
2036
|
+
dateState?: DatePluginState;
|
|
2037
|
+
statusState?: StatusState;
|
|
2038
2038
|
toolbarConfig: ConfigWithNodeInfo | null | undefined;
|
|
2039
2039
|
};
|
|
2040
2040
|
|
|
@@ -2065,7 +2065,7 @@ interface TextColorPluginConfig {
|
|
|
2065
2065
|
}
|
|
2066
2066
|
|
|
2067
2067
|
// @public (undocumented)
|
|
2068
|
-
export const textColorPluginKey: PluginKey<TextColorPluginState
|
|
2068
|
+
export const textColorPluginKey: PluginKey<TextColorPluginState>;
|
|
2069
2069
|
|
|
2070
2070
|
// @public (undocumented)
|
|
2071
2071
|
export type TextColorPluginState = {
|
|
@@ -2142,7 +2142,7 @@ export interface TextFormattingState {
|
|
|
2142
2142
|
}
|
|
2143
2143
|
|
|
2144
2144
|
// @public (undocumented)
|
|
2145
|
-
export const textFormattingStateKey: PluginKey<TextFormattingState
|
|
2145
|
+
export const textFormattingStateKey: PluginKey<TextFormattingState>;
|
|
2146
2146
|
|
|
2147
2147
|
// @public (undocumented)
|
|
2148
2148
|
interface TextSelectionData {
|
|
@@ -2256,7 +2256,7 @@ type TypeAheadInputMethod = INPUT_METHOD.INSERT_MENU | INPUT_METHOD.KEYBOARD | I
|
|
|
2256
2256
|
export { TypeAheadItem }
|
|
2257
2257
|
|
|
2258
2258
|
// @public (undocumented)
|
|
2259
|
-
export const typeAheadPluginKey: PluginKey<TypeAheadPluginState
|
|
2259
|
+
export const typeAheadPluginKey: PluginKey<TypeAheadPluginState>;
|
|
2260
2260
|
|
|
2261
2261
|
// @public (undocumented)
|
|
2262
2262
|
type TypeAheadPluginOptions = {
|