@atlaskit/editor-core 185.8.0 → 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 +13 -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/ui/Appearance/FullPage/FullPage.js +88 -130
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea.js +28 -9
- 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/ui/Appearance/FullPage/FullPage.js +75 -115
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea.js +62 -46
- 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/ui/Appearance/FullPage/FullPage.js +83 -130
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea.js +25 -9
- 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/Appearance/FullPage/FullPage.d.ts +1 -23
- package/dist/types/ui/Appearance/FullPage/FullPageContentArea.d.ts +6 -6
- package/dist/types/ui/Appearance/FullPage/FullPageToolbar.d.ts +2 -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/Appearance/FullPage/FullPage.d.ts +1 -23
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageContentArea.d.ts +6 -6
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageToolbar.d.ts +2 -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 +6 -23
- package/report.api.md +21 -24
- package/tmp/api-report-tmp.d.ts +21 -21
|
@@ -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;
|
|
@@ -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 { CustomMediaPicker } from '../../../plugins/media';
|
|
3
5
|
import { EditorPresetProps } from './types';
|
|
@@ -32,13 +34,13 @@ export declare function useMobilePreset({ media, placeholder, maxContentSize, cr
|
|
|
32
34
|
(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"decorations", {
|
|
33
35
|
sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
|
|
34
36
|
actions: {
|
|
35
|
-
hoverDecoration: (nodeType: import("prosemirror-model").NodeType
|
|
37
|
+
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
36
38
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
37
39
|
};
|
|
38
40
|
}> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"decorations", {
|
|
39
41
|
sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
|
|
40
42
|
actions: {
|
|
41
|
-
hoverDecoration: (nodeType: import("prosemirror-model").NodeType
|
|
43
|
+
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
42
44
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
43
45
|
};
|
|
44
46
|
}>,
|
|
@@ -82,13 +84,13 @@ export declare function useMobilePreset({ media, placeholder, maxContentSize, cr
|
|
|
82
84
|
(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"decorations", {
|
|
83
85
|
sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
|
|
84
86
|
actions: {
|
|
85
|
-
hoverDecoration: (nodeType: import("prosemirror-model").NodeType
|
|
87
|
+
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
86
88
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
87
89
|
};
|
|
88
90
|
}> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"decorations", {
|
|
89
91
|
sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
|
|
90
92
|
actions: {
|
|
91
|
-
hoverDecoration: (nodeType: import("prosemirror-model").NodeType
|
|
93
|
+
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
92
94
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
93
95
|
};
|
|
94
96
|
}>,
|
|
@@ -144,23 +146,23 @@ export declare function useMobilePreset({ media, placeholder, maxContentSize, cr
|
|
|
144
146
|
(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"decorations", {
|
|
145
147
|
sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
|
|
146
148
|
actions: {
|
|
147
|
-
hoverDecoration: (nodeType: import("prosemirror-model").NodeType
|
|
149
|
+
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
148
150
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
149
151
|
};
|
|
150
152
|
}> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"decorations", {
|
|
151
153
|
sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
|
|
152
154
|
actions: {
|
|
153
|
-
hoverDecoration: (nodeType: import("prosemirror-model").NodeType
|
|
155
|
+
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
154
156
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
155
157
|
};
|
|
156
158
|
}>,
|
|
157
159
|
import("@atlaskit/editor-common/types").OptionalPlugin<(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"contextPanel", {
|
|
158
160
|
actions: {
|
|
159
|
-
applyChange: (tr: import("prosemirror-state").Transaction
|
|
161
|
+
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
160
162
|
};
|
|
161
163
|
}> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"contextPanel", {
|
|
162
164
|
actions: {
|
|
163
|
-
applyChange: (tr: import("prosemirror-state").Transaction
|
|
165
|
+
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
164
166
|
};
|
|
165
167
|
}>>
|
|
166
168
|
];
|
|
@@ -179,23 +181,23 @@ export declare function useMobilePreset({ media, placeholder, maxContentSize, cr
|
|
|
179
181
|
(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"decorations", {
|
|
180
182
|
sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
|
|
181
183
|
actions: {
|
|
182
|
-
hoverDecoration: (nodeType: import("prosemirror-model").NodeType
|
|
184
|
+
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
183
185
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
184
186
|
};
|
|
185
187
|
}> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"decorations", {
|
|
186
188
|
sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
|
|
187
189
|
actions: {
|
|
188
|
-
hoverDecoration: (nodeType: import("prosemirror-model").NodeType
|
|
190
|
+
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
189
191
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
190
192
|
};
|
|
191
193
|
}>,
|
|
192
194
|
import("@atlaskit/editor-common/types").OptionalPlugin<(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"contextPanel", {
|
|
193
195
|
actions: {
|
|
194
|
-
applyChange: (tr: import("prosemirror-state").Transaction
|
|
196
|
+
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
195
197
|
};
|
|
196
198
|
}> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"contextPanel", {
|
|
197
199
|
actions: {
|
|
198
|
-
applyChange: (tr: import("prosemirror-state").Transaction
|
|
200
|
+
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
199
201
|
};
|
|
200
202
|
}>>
|
|
201
203
|
];
|
|
@@ -204,10 +206,10 @@ export declare function useMobilePreset({ media, placeholder, maxContentSize, cr
|
|
|
204
206
|
};
|
|
205
207
|
}>,
|
|
206
208
|
(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"fakeTextCursor", {}> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"fakeTextCursor", {}>,
|
|
207
|
-
(config?: ((editorView: import("prosemirror-view").EditorView
|
|
208
|
-
pluginConfiguration: ((editorView: import("prosemirror-view").EditorView
|
|
209
|
+
(config?: ((editorView: import("prosemirror-view").EditorView) => void) | undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"submitEditor", {
|
|
210
|
+
pluginConfiguration: ((editorView: import("prosemirror-view").EditorView) => void) | undefined;
|
|
209
211
|
}> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"submitEditor", {
|
|
210
|
-
pluginConfiguration: ((editorView: import("prosemirror-view").EditorView
|
|
212
|
+
pluginConfiguration: ((editorView: import("prosemirror-view").EditorView) => void) | undefined;
|
|
211
213
|
}>,
|
|
212
214
|
(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"editorDisabled", {
|
|
213
215
|
sharedState: import("../../../plugins/editor-disabled").EditorDisabledPluginState;
|
|
@@ -3,5 +3,5 @@ import { EditorState, PluginKey } from 'prosemirror-state';
|
|
|
3
3
|
import { Dispatch } from '../../../event-dispatcher';
|
|
4
4
|
import { AlignmentPluginState } from './types';
|
|
5
5
|
export declare function createInitialPluginState(editorState: EditorState, pluginConfig: AlignmentPluginState): AlignmentPluginState;
|
|
6
|
-
export declare const pluginKey: PluginKey<AlignmentPluginState
|
|
6
|
+
export declare const pluginKey: PluginKey<AlignmentPluginState>;
|
|
7
7
|
export declare function createPlugin(dispatch: Dispatch, pluginConfig: AlignmentPluginState): SafePlugin;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
/// <reference path="../../../../../../../typings/prosemirror.d.ts" />
|
|
2
|
+
/// <reference path="../../../../../../../typings/prosemirror-state.d.ts" />
|
|
1
3
|
import analyticsPlugin from './plugin';
|
|
2
4
|
export { ACTION_SUBJECT_ID, ACTION_SUBJECT, ACTION, BROWSER_FREEZE_INTERACTION_TYPE, EVENT_TYPE, FULL_WIDTH_MODE, INDENT_DIRECTION, INDENT_TYPE, INPUT_METHOD, LINK_REPRESENTATION, LINK_RESOURCE, LINK_STATUS, MODE, PasteContents, PasteSources, PasteTypes, PLATFORMS, PUNC, SYMBOL, TABLE_ACTION, TABLE_BREAKOUT, TRIGGER_METHOD, USER_CONTEXT, DELETE_DIRECTION, LIST_TEXT_SCENARIOS, fireAnalyticsEvent, getAnalyticsEventsFromTransaction, } from '@atlaskit/editor-common/analytics';
|
|
3
5
|
export type { AnalyticsDispatch, AnalyticsEventPayload, AnalyticsEventPayloadWithChannel, CommonListAnalyticsAttributes, CreateLinkInlineDialogActionType, CreateLinkInlineDialogEventPayload, ErrorEventPayload, ErrorEventAttributes, FormatEventPayload, GeneralEventPayload, InputMethodInsertLink, InputMethodInsertMedia, InsertEventPayload, MediaAltTextActionType, MediaEventPayload, MediaLinkAEP, PASTE_ACTION_SUBJECT_ID, PasteContent, PasteEventPayload, PasteSource, PasteType, SubstituteEventPayload, TableEventPayload, FireAnalyticsCallback, FireAnalyticsEvent, } from '@atlaskit/editor-common/analytics';
|
|
4
6
|
export { withAnalytics, addAnalytics } from './utils';
|
|
5
|
-
export declare const analyticsPluginKey: import("prosemirror-state").PluginKey<any
|
|
7
|
+
export declare const analyticsPluginKey: import("prosemirror-state").PluginKey<any>;
|
|
6
8
|
export default analyticsPlugin;
|
|
7
9
|
export type { HigherOrderCommand } from '../../types/command';
|
|
8
10
|
export type { DispatchAnalyticsEvent } from './types/dispatch-analytics-event';
|
|
@@ -2,10 +2,10 @@ import { EditorState, Transaction } from 'prosemirror-state';
|
|
|
2
2
|
import { INPUT_METHOD } from '../../analytics';
|
|
3
3
|
import { RESOLVE_METHOD } from '../../analytics/types/inline-comment-events';
|
|
4
4
|
declare const _default: {
|
|
5
|
-
addAnnotationMark: (id: string) => (transaction: Transaction
|
|
6
|
-
addInlineComment: (id: string) => (transaction: Transaction
|
|
7
|
-
addOpenCloseAnalytics: (drafting: boolean, method?: INPUT_METHOD.SHORTCUT | INPUT_METHOD.TOOLBAR) => (transaction: Transaction
|
|
8
|
-
addInsertAnalytics: (transaction: Transaction
|
|
9
|
-
addResolveAnalytics: (method?: RESOLVE_METHOD | undefined) => (transaction: Transaction
|
|
5
|
+
addAnnotationMark: (id: string) => (transaction: Transaction, state: EditorState) => Transaction;
|
|
6
|
+
addInlineComment: (id: string) => (transaction: Transaction, state: EditorState) => Transaction;
|
|
7
|
+
addOpenCloseAnalytics: (drafting: boolean, method?: INPUT_METHOD.SHORTCUT | INPUT_METHOD.TOOLBAR) => (transaction: Transaction, state: EditorState) => Transaction;
|
|
8
|
+
addInsertAnalytics: (transaction: Transaction, state: EditorState) => Transaction;
|
|
9
|
+
addResolveAnalytics: (method?: RESOLVE_METHOD | undefined) => (transaction: Transaction, state: EditorState) => Transaction;
|
|
10
10
|
};
|
|
11
11
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
2
2
|
import { InlineCommentPluginState, InlineCommentPluginOptions } from './types';
|
|
3
|
-
export declare const inlineCommentPlugin: (options: InlineCommentPluginOptions) => SafePlugin<InlineCommentPluginState
|
|
3
|
+
export declare const inlineCommentPlugin: (options: InlineCommentPluginOptions) => SafePlugin<InlineCommentPluginState>;
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../../../../typings/prosemirror.d.ts" />
|
|
2
|
+
/// <reference path="../../../../../../../../typings/prosemirror-state.d.ts" />
|
|
1
3
|
import { InlineCommentPluginState } from './types';
|
|
2
|
-
export declare const createPluginState: (dispatch: import("@atlaskit/editor-common/event-dispatcher").Dispatch<any>, initialState: InlineCommentPluginState | ((state: import("prosemirror-state").EditorState
|
|
4
|
+
export declare const createPluginState: (dispatch: import("@atlaskit/editor-common/event-dispatcher").Dispatch<any>, initialState: InlineCommentPluginState | ((state: import("prosemirror-state").EditorState) => InlineCommentPluginState)) => import("prosemirror-state").SafeStateField<InlineCommentPluginState>, createCommand: <A = import("./types").InlineCommentAction>(action: A | ((state: Readonly<import("prosemirror-state").EditorState>) => false | A), transform?: ((tr: import("prosemirror-state").Transaction, state: import("prosemirror-state").EditorState) => import("prosemirror-state").Transaction) | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -62,7 +62,7 @@ export type InlineCommentPluginState = {
|
|
|
62
62
|
dirtyAnnotations?: boolean;
|
|
63
63
|
mouseData: InlineCommentMouseData;
|
|
64
64
|
draftDecorationSet?: DecorationSet;
|
|
65
|
-
bookmark?: SelectionBookmark
|
|
65
|
+
bookmark?: SelectionBookmark;
|
|
66
66
|
disallowOnWhitespace: boolean;
|
|
67
67
|
isVisible: boolean;
|
|
68
68
|
};
|