@atlaskit/editor-common 107.28.2 → 107.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/afm-cc/tsconfig.json +7 -4
- package/dist/cjs/block-menu/messages.js +6 -1
- package/dist/cjs/code-block/index.js +58 -1
- package/dist/cjs/messages/block-menu.js +3 -3
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/styles/shared/smartCard.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/block-menu/messages.js +6 -1
- package/dist/es2019/code-block/index.js +57 -0
- package/dist/es2019/messages/block-menu.js +3 -3
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/styles/shared/smartCard.js +2 -2
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/block-menu/messages.js +6 -1
- package/dist/esm/code-block/index.js +57 -0
- package/dist/esm/messages/block-menu.js +3 -3
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/styles/shared/smartCard.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/analytics/api.d.ts +2 -2
- package/dist/types/analytics/types/activity-session-events.d.ts +14 -14
- package/dist/types/analytics/types/ai-definitions-events.d.ts +1 -1
- package/dist/types/analytics/types/ai-events.d.ts +2 -2
- package/dist/types/analytics/types/ai-inline-suggestion-events.d.ts +2 -2
- package/dist/types/analytics/types/ai-proactive-events.d.ts +12 -12
- package/dist/types/analytics/types/ai-unified-events.d.ts +11 -11
- package/dist/types/analytics/types/breakout-events.d.ts +4 -4
- package/dist/types/analytics/types/config-panel-events.d.ts +3 -3
- package/dist/types/analytics/types/cut-copy-events.d.ts +4 -4
- package/dist/types/analytics/types/datasource-clicked-events.d.ts +2 -2
- package/dist/types/analytics/types/date-events.d.ts +1 -1
- package/dist/types/analytics/types/element-events.d.ts +4 -4
- package/dist/types/analytics/types/events.d.ts +23 -23
- package/dist/types/analytics/types/extension-events.d.ts +5 -5
- package/dist/types/analytics/types/format-events.d.ts +6 -6
- package/dist/types/analytics/types/general-events.d.ts +32 -32
- package/dist/types/analytics/types/highlight-actions-menu-events.d.ts +1 -1
- package/dist/types/analytics/types/highlight-events.d.ts +1 -1
- package/dist/types/analytics/types/inline-comment-events.d.ts +1 -1
- package/dist/types/analytics/types/insert-events.d.ts +26 -26
- package/dist/types/analytics/types/link-events.d.ts +1 -1
- package/dist/types/analytics/types/link-tool-bar-events.d.ts +17 -17
- package/dist/types/analytics/types/list-events.d.ts +8 -8
- package/dist/types/analytics/types/loom-events.d.ts +1 -1
- package/dist/types/analytics/types/media-events.d.ts +9 -9
- package/dist/types/analytics/types/mention-events.d.ts +30 -30
- package/dist/types/analytics/types/move-content-events.d.ts +3 -3
- package/dist/types/analytics/types/ncs-session-step-events.d.ts +3 -3
- package/dist/types/analytics/types/node-events.d.ts +5 -5
- package/dist/types/analytics/types/offline-editing-event.d.ts +5 -5
- package/dist/types/analytics/types/paste-events.d.ts +6 -6
- package/dist/types/analytics/types/performance-report.d.ts +6 -6
- package/dist/types/analytics/types/referentiality-events.d.ts +2 -2
- package/dist/types/analytics/types/selection-events.d.ts +1 -1
- package/dist/types/analytics/types/smart-links.d.ts +2 -2
- package/dist/types/analytics/types/substitute-events.d.ts +1 -1
- package/dist/types/analytics/types/table-events.d.ts +19 -19
- package/dist/types/analytics/types/type-ahead.d.ts +3 -3
- package/dist/types/analytics/types/utils.d.ts +6 -6
- package/dist/types/analytics/types/view-events.d.ts +2 -2
- package/dist/types/annotation/index.d.ts +39 -39
- package/dist/types/block-menu/messages.d.ts +5 -0
- package/dist/types/card/LinkToolbarButtonGroup.d.ts +5 -5
- package/dist/types/card/MediaAndEmbedsToolbar/index.d.ts +2 -2
- package/dist/types/card/cardOptions.d.ts +36 -36
- package/dist/types/card/types.d.ts +8 -8
- package/dist/types/code-block/index.d.ts +6 -0
- package/dist/types/collab/index.d.ts +71 -71
- package/dist/types/doc-utils/editor-use-only.d.ts +1 -1
- package/dist/types/element-browser/ElementBrowser.d.ts +9 -9
- package/dist/types/element-browser/ViewMore.d.ts +1 -1
- package/dist/types/element-browser/components/CategoryList.d.ts +1 -1
- package/dist/types/element-browser/components/ElementList/ElementList.d.ts +11 -11
- package/dist/types/element-browser/components/ElementList/EmptyState.d.ts +1 -1
- package/dist/types/element-browser/components/ElementSearch.d.ts +4 -4
- package/dist/types/element-browser/components/StatelessElementBrowser.d.ts +14 -14
- package/dist/types/element-browser/hooks/use-select-and-focus-on-arrow-navigation.d.ts +12 -12
- package/dist/types/element-browser/types.d.ts +2 -2
- package/dist/types/extensibility/Extension/Extension/index.d.ts +12 -12
- package/dist/types/extensibility/Extension/InlineExtension/index.d.ts +5 -5
- package/dist/types/extensibility/Extension/LegacyContentHeader/index.d.ts +1 -1
- package/dist/types/extensibility/Extension/Lozenge/EditToggle.d.ts +2 -2
- package/dist/types/extensibility/Extension/Lozenge/ExtensionLabel.d.ts +6 -6
- package/dist/types/extensibility/Extension/Lozenge/LozengeComponent.d.ts +11 -11
- package/dist/types/extensibility/Extension/Lozenge/index.d.ts +9 -9
- package/dist/types/extensibility/Extension.d.ts +8 -8
- package/dist/types/extensibility/ExtensionComponent.d.ts +13 -13
- package/dist/types/extensibility/ExtensionNodeWrapper.d.ts +1 -1
- package/dist/types/extensibility/MultiBodiedExtension/action-api.d.ts +5 -5
- package/dist/types/extensibility/MultiBodiedExtension/index.d.ts +10 -10
- package/dist/types/extensibility/extensionNodeView.d.ts +8 -8
- package/dist/types/extensions/extension-handlers.d.ts +1 -1
- package/dist/types/extensions/types/extension-handler.d.ts +10 -10
- package/dist/types/extensions/types/extension-manifest-toolbar-item.d.ts +13 -13
- package/dist/types/extensions/types/extension-manifest.d.ts +26 -26
- package/dist/types/extensions/types/extension-provider.d.ts +3 -3
- package/dist/types/extensions/types/field-definitions.d.ts +40 -40
- package/dist/types/extensions/types/utils.d.ts +7 -7
- package/dist/types/floating-toolbar/DropdownMenuExtensionItems.d.ts +4 -4
- package/dist/types/floating-toolbar/DropdownMenuItem.d.ts +10 -10
- package/dist/types/guideline/relativeGuideline.d.ts +1 -1
- package/dist/types/guideline/types.d.ts +9 -9
- package/dist/types/guideline/updateGuideline.d.ts +1 -1
- package/dist/types/guideline/utils.d.ts +2 -2
- package/dist/types/icons/shared/DynamicStrokeIconDecoration.d.ts +1 -1
- package/dist/types/icons/shared/SteppedRainbowIconDecoration.d.ts +1 -1
- package/dist/types/insert/index.d.ts +2 -2
- package/dist/types/keymaps/index.d.ts +2 -2
- package/dist/types/lazy-node-view/index.d.ts +3 -3
- package/dist/types/link/ConfigureLinkOverlay/Dropdown.d.ts +3 -3
- package/dist/types/link/ConfigureLinkOverlay/handleNavigation.d.ts +1 -1
- package/dist/types/link/ConfigureLinkOverlay/index.d.ts +2 -2
- package/dist/types/link/LinkPicker/EditorLinkPicker/index.d.ts +3 -3
- package/dist/types/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +12 -12
- package/dist/types/link/LinkPicker/HyperlinkAddToolbar/index.d.ts +8 -8
- package/dist/types/link/LinkSearch/LinkSearchList.d.ts +6 -6
- package/dist/types/link/LinkSearch/LinkSearchListItem.d.ts +4 -4
- package/dist/types/link/LinkSearch/types.d.ts +11 -11
- package/dist/types/link/types.d.ts +9 -9
- package/dist/types/lists/indentation.d.ts +1 -1
- package/dist/types/lists/node.d.ts +2 -2
- package/dist/types/lists/replace-content.d.ts +1 -1
- package/dist/types/lists/selection.d.ts +1 -1
- package/dist/types/media-inline/inline-image-card.d.ts +4 -4
- package/dist/types/media-inline/inline-image-wrapper.d.ts +3 -3
- package/dist/types/media-inline/media-inline-image-card.d.ts +8 -8
- package/dist/types/media-inline/types.d.ts +4 -4
- package/dist/types/media-inline/views/error-view.d.ts +3 -3
- package/dist/types/media-inline/views/loading-view.d.ts +2 -2
- package/dist/types/media-single/CommentBadge.d.ts +6 -6
- package/dist/types/media-single/CommentBadgeNext.d.ts +1 -1
- package/dist/types/media-single/MediaBadges.d.ts +4 -4
- package/dist/types/media-single/utils.d.ts +5 -5
- package/dist/types/node-visibility/node-visibility-manager.d.ts +5 -5
- package/dist/types/portal/PortalManager.d.ts +1 -1
- package/dist/types/portal/common.d.ts +2 -2
- package/dist/types/preset/builder.d.ts +1 -1
- package/dist/types/preset/plugin-injection-api.d.ts +3 -3
- package/dist/types/provider-factory/card-provider.d.ts +1 -1
- package/dist/types/provider-factory/context-identifier-provider.d.ts +1 -1
- package/dist/types/provider-factory/image-upload-provider.d.ts +1 -1
- package/dist/types/provider-factory/macro-provider.d.ts +4 -4
- package/dist/types/provider-factory/media-provider.d.ts +5 -5
- package/dist/types/provider-factory/profile-card-provider.d.ts +1 -1
- package/dist/types/provider-factory/quick-insert-provider.d.ts +10 -10
- package/dist/types/provider-factory/search-provider.d.ts +3 -3
- package/dist/types/provider-factory/types.d.ts +11 -11
- package/dist/types/provider-helpers/promise-helpers.d.ts +1 -1
- package/dist/types/quick-insert/use-icon-themed.d.ts +1 -1
- package/dist/types/react-node-view/getInlineNodeViewProducer.d.ts +6 -6
- package/dist/types/react-node-view/index.d.ts +1 -1
- package/dist/types/resizer/BreakoutResizer.d.ts +10 -10
- package/dist/types/resizer/Resizer.d.ts +32 -32
- package/dist/types/resizer/types.d.ts +2 -2
- package/dist/types/safe-plugin/index.d.ts +1 -1
- package/dist/types/selection/gap-cursor/actions.d.ts +1 -1
- package/dist/types/selection/gap-cursor/selection.d.ts +1 -1
- package/dist/types/selection/index.d.ts +1 -1
- package/dist/types/selection/types.d.ts +3 -3
- package/dist/types/table/SortingIcon.d.ts +1 -1
- package/dist/types/toolbar/context.d.ts +1 -1
- package/dist/types/types/annotation/index.d.ts +43 -43
- package/dist/types/types/copy-button.d.ts +8 -8
- package/dist/types/types/doc-builder.d.ts +1 -1
- package/dist/types/types/editor-actions.d.ts +6 -6
- package/dist/types/types/editor-container-width.d.ts +7 -7
- package/dist/types/types/editor-plugin.d.ts +33 -33
- package/dist/types/types/empty-state-handler.d.ts +1 -1
- package/dist/types/types/feature-flags.d.ts +107 -107
- package/dist/types/types/feedback-dialog.d.ts +5 -5
- package/dist/types/types/floating-toolbar.d.ts +142 -142
- package/dist/types/types/hyperlink.d.ts +10 -10
- package/dist/types/types/input-rules.d.ts +1 -1
- package/dist/types/types/next-editor-plugin.d.ts +47 -47
- package/dist/types/types/performance-tracking.d.ts +90 -90
- package/dist/types/types/plugin-factory.d.ts +6 -6
- package/dist/types/types/prosemirror-config.d.ts +1 -1
- package/dist/types/types/quick-insert.d.ts +9 -9
- package/dist/types/types/selection-toolbar.d.ts +2 -2
- package/dist/types/types/supported-browsers.d.ts +1 -1
- package/dist/types/types/tables.d.ts +3 -3
- package/dist/types/types/text-formatting.d.ts +14 -14
- package/dist/types/types/toolbar.d.ts +2 -2
- package/dist/types/types/type-ahead.d.ts +29 -29
- package/dist/types/types/ui-components.d.ts +7 -7
- package/dist/types/types/user-preferences.d.ts +6 -6
- package/dist/types/ugc-tokens/editor-ugc-token-names.d.ts +1 -1
- package/dist/types/ui/Announcer/announcer.d.ts +5 -5
- package/dist/types/ui/AssistiveText/AssistiveText.d.ts +2 -2
- package/dist/types/ui/BaseTheme/index.d.ts +2 -2
- package/dist/types/ui/Caption/index.d.ts +2 -2
- package/dist/types/ui/ContextPanel/context.d.ts +4 -4
- package/dist/types/ui/DropList/index.d.ts +7 -7
- package/dist/types/ui/Emoji/index.d.ts +3 -3
- package/dist/types/ui/ErrorBoundary/index.d.ts +1 -1
- package/dist/types/ui/EventHandlers/index.d.ts +7 -7
- package/dist/types/ui/Expand/sharedStyles.d.ts +2 -2
- package/dist/types/ui/FloatingToolbar/Button.d.ts +20 -20
- package/dist/types/ui/FloatingToolbar/ButtonSpotlightCard.d.ts +1 -1
- package/dist/types/ui/HoverLinkOverlay/types.d.ts +4 -4
- package/dist/types/ui/Layer/index.d.ts +6 -6
- package/dist/types/ui/MediaSingle/grid.d.ts +4 -4
- package/dist/types/ui/MediaSingle/index.d.ts +12 -12
- package/dist/types/ui/MediaSingle/styled.d.ts +8 -8
- package/dist/types/ui/Mention/index.d.ts +3 -3
- package/dist/types/ui/Mention/mention-with-profilecard.d.ts +4 -4
- package/dist/types/ui/Mention/mention-with-providers.d.ts +4 -4
- package/dist/types/ui/OverflowShadow/index.d.ts +1 -1
- package/dist/types/ui/OverflowShadow/shadowObserver.d.ts +1 -1
- package/dist/types/ui/PanelTextInput/index.d.ts +18 -18
- package/dist/types/ui/Popup/index.d.ts +16 -16
- package/dist/types/ui/Popup/utils.d.ts +6 -6
- package/dist/types/ui/Pulse/Pulse.d.ts +1 -1
- package/dist/types/ui/ResizerLegacy/index.d.ts +11 -11
- package/dist/types/ui/ResizerLegacy/types.d.ts +8 -8
- package/dist/types/ui/TableSelector/index.d.ts +11 -11
- package/dist/types/ui/TableSelector/table-selector.d.ts +7 -7
- package/dist/types/ui/UnsupportedBlock/index.d.ts +1 -1
- package/dist/types/ui/UnsupportedInline/index.d.ts +1 -1
- package/dist/types/ui/WidthProvider/index.d.ts +2 -2
- package/dist/types/ui-color/ColorPalette/Color/index.d.ts +8 -8
- package/dist/types/ui-color/ColorPalette/Palettes/type.d.ts +3 -3
- package/dist/types/ui-color/ColorPalette/index.d.ts +4 -4
- package/dist/types/ui-menu/ArrowKeyNavigationProvider/types.d.ts +11 -11
- package/dist/types/ui-menu/ColorPickerButton/index.d.ts +11 -11
- package/dist/types/ui-menu/Dropdown/index.d.ts +15 -15
- package/dist/types/ui-menu/DropdownMenu/types.d.ts +33 -33
- package/dist/types/ui-menu/ToolbarArrowKeyNavigationProvider/index.d.ts +4 -4
- package/dist/types/ui-menu/ToolbarButton/index.d.ts +19 -19
- package/dist/types/ui-react/ReactEditorViewContext.d.ts +1 -1
- package/dist/types/ui-react/with-react-editor-view-outer-listeners.d.ts +5 -5
- package/dist/types/user-preferences/persistence-api.d.ts +8 -8
- package/dist/types/utils/breakout.d.ts +12 -12
- package/dist/types/utils/calculate-toolbar-position.d.ts +1 -1
- package/dist/types/utils/compare-props.d.ts +3 -3
- package/dist/types/utils/count-nodes.d.ts +1 -1
- package/dist/types/utils/create-wrap-selection-transaction.d.ts +1 -1
- package/dist/types/utils/editor-core-utils.d.ts +1 -1
- package/dist/types/utils/error-reporter.d.ts +1 -1
- package/dist/types/utils/get-performance-options.d.ts +2 -2
- package/dist/types/utils/hyperlink.d.ts +1 -1
- package/dist/types/utils/imageLoader.d.ts +3 -3
- package/dist/types/utils/input-rules.d.ts +2 -2
- package/dist/types/utils/macro.d.ts +1 -1
- package/dist/types/utils/page-element-counts.d.ts +2 -2
- package/dist/types/utils/performance/hooks/use-component-render-tracking/index.d.ts +2 -2
- package/dist/types/utils/performance/measure-render.d.ts +3 -3
- package/dist/types/utils/performance/measure-tti.d.ts +1 -1
- package/dist/types/utils/plugin-state-factory.d.ts +1 -1
- package/dist/types/utils/profiler/render-count.d.ts +3 -3
- package/dist/types/utils/track-unsupported-content.d.ts +5 -5
- package/dist/types/utils/unsupportedContent/get-unsupported-content-level-data.d.ts +1 -1
- package/dist/types/utils/unsupportedContent/types.d.ts +1 -1
- package/dist/types/utils/validator.d.ts +5 -5
- package/dist/types/with-plugin-state/index.d.ts +1 -1
- package/dist/types-ts4.5/analytics/api.d.ts +2 -2
- package/dist/types-ts4.5/analytics/types/activity-session-events.d.ts +14 -14
- package/dist/types-ts4.5/analytics/types/ai-definitions-events.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/ai-events.d.ts +2 -2
- package/dist/types-ts4.5/analytics/types/ai-inline-suggestion-events.d.ts +2 -2
- package/dist/types-ts4.5/analytics/types/ai-proactive-events.d.ts +12 -12
- package/dist/types-ts4.5/analytics/types/ai-unified-events.d.ts +11 -11
- package/dist/types-ts4.5/analytics/types/breakout-events.d.ts +4 -4
- package/dist/types-ts4.5/analytics/types/config-panel-events.d.ts +3 -3
- package/dist/types-ts4.5/analytics/types/cut-copy-events.d.ts +4 -4
- package/dist/types-ts4.5/analytics/types/datasource-clicked-events.d.ts +2 -2
- package/dist/types-ts4.5/analytics/types/date-events.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/element-events.d.ts +4 -4
- package/dist/types-ts4.5/analytics/types/events.d.ts +23 -23
- package/dist/types-ts4.5/analytics/types/extension-events.d.ts +5 -5
- package/dist/types-ts4.5/analytics/types/format-events.d.ts +6 -6
- package/dist/types-ts4.5/analytics/types/general-events.d.ts +32 -32
- package/dist/types-ts4.5/analytics/types/highlight-actions-menu-events.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/highlight-events.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/inline-comment-events.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/insert-events.d.ts +26 -26
- package/dist/types-ts4.5/analytics/types/link-events.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/link-tool-bar-events.d.ts +17 -17
- package/dist/types-ts4.5/analytics/types/list-events.d.ts +8 -8
- package/dist/types-ts4.5/analytics/types/loom-events.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/media-events.d.ts +9 -9
- package/dist/types-ts4.5/analytics/types/mention-events.d.ts +30 -30
- package/dist/types-ts4.5/analytics/types/move-content-events.d.ts +3 -3
- package/dist/types-ts4.5/analytics/types/ncs-session-step-events.d.ts +3 -3
- package/dist/types-ts4.5/analytics/types/node-events.d.ts +5 -5
- package/dist/types-ts4.5/analytics/types/offline-editing-event.d.ts +5 -5
- package/dist/types-ts4.5/analytics/types/paste-events.d.ts +6 -6
- package/dist/types-ts4.5/analytics/types/performance-report.d.ts +6 -6
- package/dist/types-ts4.5/analytics/types/referentiality-events.d.ts +2 -2
- package/dist/types-ts4.5/analytics/types/selection-events.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/smart-links.d.ts +2 -2
- package/dist/types-ts4.5/analytics/types/substitute-events.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/table-events.d.ts +19 -19
- package/dist/types-ts4.5/analytics/types/type-ahead.d.ts +3 -3
- package/dist/types-ts4.5/analytics/types/utils.d.ts +6 -6
- package/dist/types-ts4.5/analytics/types/view-events.d.ts +2 -2
- package/dist/types-ts4.5/annotation/index.d.ts +39 -39
- package/dist/types-ts4.5/block-menu/messages.d.ts +5 -0
- package/dist/types-ts4.5/card/LinkToolbarButtonGroup.d.ts +5 -5
- package/dist/types-ts4.5/card/MediaAndEmbedsToolbar/index.d.ts +2 -2
- package/dist/types-ts4.5/card/cardOptions.d.ts +36 -36
- package/dist/types-ts4.5/card/types.d.ts +8 -8
- package/dist/types-ts4.5/code-block/index.d.ts +6 -0
- package/dist/types-ts4.5/collab/index.d.ts +71 -71
- package/dist/types-ts4.5/doc-utils/editor-use-only.d.ts +1 -1
- package/dist/types-ts4.5/element-browser/ElementBrowser.d.ts +9 -9
- package/dist/types-ts4.5/element-browser/ViewMore.d.ts +1 -1
- package/dist/types-ts4.5/element-browser/components/CategoryList.d.ts +1 -1
- package/dist/types-ts4.5/element-browser/components/ElementList/ElementList.d.ts +11 -11
- package/dist/types-ts4.5/element-browser/components/ElementList/EmptyState.d.ts +1 -1
- package/dist/types-ts4.5/element-browser/components/ElementSearch.d.ts +4 -4
- package/dist/types-ts4.5/element-browser/components/StatelessElementBrowser.d.ts +14 -14
- package/dist/types-ts4.5/element-browser/hooks/use-select-and-focus-on-arrow-navigation.d.ts +12 -12
- package/dist/types-ts4.5/element-browser/types.d.ts +2 -2
- package/dist/types-ts4.5/extensibility/Extension/Extension/index.d.ts +12 -12
- package/dist/types-ts4.5/extensibility/Extension/InlineExtension/index.d.ts +5 -5
- package/dist/types-ts4.5/extensibility/Extension/LegacyContentHeader/index.d.ts +1 -1
- package/dist/types-ts4.5/extensibility/Extension/Lozenge/EditToggle.d.ts +2 -2
- package/dist/types-ts4.5/extensibility/Extension/Lozenge/ExtensionLabel.d.ts +6 -6
- package/dist/types-ts4.5/extensibility/Extension/Lozenge/LozengeComponent.d.ts +11 -11
- package/dist/types-ts4.5/extensibility/Extension/Lozenge/index.d.ts +9 -9
- package/dist/types-ts4.5/extensibility/Extension.d.ts +8 -8
- package/dist/types-ts4.5/extensibility/ExtensionComponent.d.ts +13 -13
- package/dist/types-ts4.5/extensibility/ExtensionNodeWrapper.d.ts +1 -1
- package/dist/types-ts4.5/extensibility/MultiBodiedExtension/action-api.d.ts +5 -5
- package/dist/types-ts4.5/extensibility/MultiBodiedExtension/index.d.ts +10 -10
- package/dist/types-ts4.5/extensibility/extensionNodeView.d.ts +8 -8
- package/dist/types-ts4.5/extensions/extension-handlers.d.ts +1 -1
- package/dist/types-ts4.5/extensions/types/extension-handler.d.ts +10 -10
- package/dist/types-ts4.5/extensions/types/extension-manifest-toolbar-item.d.ts +13 -13
- package/dist/types-ts4.5/extensions/types/extension-manifest.d.ts +26 -26
- package/dist/types-ts4.5/extensions/types/extension-provider.d.ts +3 -3
- package/dist/types-ts4.5/extensions/types/field-definitions.d.ts +40 -40
- package/dist/types-ts4.5/extensions/types/utils.d.ts +7 -7
- package/dist/types-ts4.5/floating-toolbar/DropdownMenuExtensionItems.d.ts +4 -4
- package/dist/types-ts4.5/floating-toolbar/DropdownMenuItem.d.ts +10 -10
- package/dist/types-ts4.5/guideline/relativeGuideline.d.ts +1 -1
- package/dist/types-ts4.5/guideline/types.d.ts +9 -9
- package/dist/types-ts4.5/guideline/updateGuideline.d.ts +1 -1
- package/dist/types-ts4.5/guideline/utils.d.ts +2 -2
- package/dist/types-ts4.5/icons/shared/DynamicStrokeIconDecoration.d.ts +1 -1
- package/dist/types-ts4.5/icons/shared/SteppedRainbowIconDecoration.d.ts +1 -1
- package/dist/types-ts4.5/insert/index.d.ts +2 -2
- package/dist/types-ts4.5/keymaps/index.d.ts +2 -2
- package/dist/types-ts4.5/lazy-node-view/index.d.ts +3 -3
- package/dist/types-ts4.5/link/ConfigureLinkOverlay/Dropdown.d.ts +3 -3
- package/dist/types-ts4.5/link/ConfigureLinkOverlay/handleNavigation.d.ts +1 -1
- package/dist/types-ts4.5/link/ConfigureLinkOverlay/index.d.ts +2 -2
- package/dist/types-ts4.5/link/LinkPicker/EditorLinkPicker/index.d.ts +3 -3
- package/dist/types-ts4.5/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +12 -12
- package/dist/types-ts4.5/link/LinkPicker/HyperlinkAddToolbar/index.d.ts +8 -8
- package/dist/types-ts4.5/link/LinkSearch/LinkSearchList.d.ts +6 -6
- package/dist/types-ts4.5/link/LinkSearch/LinkSearchListItem.d.ts +4 -4
- package/dist/types-ts4.5/link/LinkSearch/types.d.ts +11 -11
- package/dist/types-ts4.5/link/types.d.ts +9 -9
- package/dist/types-ts4.5/lists/indentation.d.ts +1 -1
- package/dist/types-ts4.5/lists/node.d.ts +2 -2
- package/dist/types-ts4.5/lists/replace-content.d.ts +1 -1
- package/dist/types-ts4.5/lists/selection.d.ts +1 -1
- package/dist/types-ts4.5/media-inline/inline-image-card.d.ts +4 -4
- package/dist/types-ts4.5/media-inline/inline-image-wrapper.d.ts +3 -3
- package/dist/types-ts4.5/media-inline/media-inline-image-card.d.ts +8 -8
- package/dist/types-ts4.5/media-inline/types.d.ts +4 -4
- package/dist/types-ts4.5/media-inline/views/error-view.d.ts +3 -3
- package/dist/types-ts4.5/media-inline/views/loading-view.d.ts +2 -2
- package/dist/types-ts4.5/media-single/CommentBadge.d.ts +6 -6
- package/dist/types-ts4.5/media-single/CommentBadgeNext.d.ts +1 -1
- package/dist/types-ts4.5/media-single/MediaBadges.d.ts +4 -4
- package/dist/types-ts4.5/media-single/utils.d.ts +5 -5
- package/dist/types-ts4.5/node-visibility/node-visibility-manager.d.ts +5 -5
- package/dist/types-ts4.5/portal/PortalManager.d.ts +1 -1
- package/dist/types-ts4.5/portal/common.d.ts +2 -2
- package/dist/types-ts4.5/preset/builder.d.ts +1 -1
- package/dist/types-ts4.5/preset/plugin-injection-api.d.ts +3 -3
- package/dist/types-ts4.5/provider-factory/card-provider.d.ts +1 -1
- package/dist/types-ts4.5/provider-factory/context-identifier-provider.d.ts +1 -1
- package/dist/types-ts4.5/provider-factory/image-upload-provider.d.ts +1 -1
- package/dist/types-ts4.5/provider-factory/macro-provider.d.ts +4 -4
- package/dist/types-ts4.5/provider-factory/media-provider.d.ts +5 -5
- package/dist/types-ts4.5/provider-factory/profile-card-provider.d.ts +1 -1
- package/dist/types-ts4.5/provider-factory/quick-insert-provider.d.ts +10 -10
- package/dist/types-ts4.5/provider-factory/search-provider.d.ts +3 -3
- package/dist/types-ts4.5/provider-factory/types.d.ts +11 -11
- package/dist/types-ts4.5/provider-helpers/promise-helpers.d.ts +1 -1
- package/dist/types-ts4.5/quick-insert/use-icon-themed.d.ts +1 -1
- package/dist/types-ts4.5/react-node-view/getInlineNodeViewProducer.d.ts +6 -6
- package/dist/types-ts4.5/react-node-view/index.d.ts +1 -1
- package/dist/types-ts4.5/resizer/BreakoutResizer.d.ts +10 -10
- package/dist/types-ts4.5/resizer/Resizer.d.ts +32 -32
- package/dist/types-ts4.5/resizer/types.d.ts +2 -2
- package/dist/types-ts4.5/safe-plugin/index.d.ts +1 -1
- package/dist/types-ts4.5/selection/gap-cursor/actions.d.ts +1 -1
- package/dist/types-ts4.5/selection/gap-cursor/selection.d.ts +1 -1
- package/dist/types-ts4.5/selection/index.d.ts +1 -1
- package/dist/types-ts4.5/selection/types.d.ts +3 -3
- package/dist/types-ts4.5/table/SortingIcon.d.ts +1 -1
- package/dist/types-ts4.5/toolbar/context.d.ts +1 -1
- package/dist/types-ts4.5/types/annotation/index.d.ts +43 -43
- package/dist/types-ts4.5/types/copy-button.d.ts +8 -8
- package/dist/types-ts4.5/types/doc-builder.d.ts +1 -1
- package/dist/types-ts4.5/types/editor-actions.d.ts +6 -6
- package/dist/types-ts4.5/types/editor-container-width.d.ts +7 -7
- package/dist/types-ts4.5/types/editor-plugin.d.ts +33 -33
- package/dist/types-ts4.5/types/empty-state-handler.d.ts +1 -1
- package/dist/types-ts4.5/types/feature-flags.d.ts +107 -107
- package/dist/types-ts4.5/types/feedback-dialog.d.ts +5 -5
- package/dist/types-ts4.5/types/floating-toolbar.d.ts +142 -142
- package/dist/types-ts4.5/types/hyperlink.d.ts +10 -10
- package/dist/types-ts4.5/types/input-rules.d.ts +1 -1
- package/dist/types-ts4.5/types/next-editor-plugin.d.ts +47 -47
- package/dist/types-ts4.5/types/performance-tracking.d.ts +90 -90
- package/dist/types-ts4.5/types/plugin-factory.d.ts +6 -6
- package/dist/types-ts4.5/types/prosemirror-config.d.ts +1 -1
- package/dist/types-ts4.5/types/quick-insert.d.ts +9 -9
- package/dist/types-ts4.5/types/selection-toolbar.d.ts +2 -2
- package/dist/types-ts4.5/types/supported-browsers.d.ts +1 -1
- package/dist/types-ts4.5/types/tables.d.ts +3 -3
- package/dist/types-ts4.5/types/text-formatting.d.ts +14 -14
- package/dist/types-ts4.5/types/toolbar.d.ts +2 -2
- package/dist/types-ts4.5/types/type-ahead.d.ts +29 -29
- package/dist/types-ts4.5/types/ui-components.d.ts +7 -7
- package/dist/types-ts4.5/types/user-preferences.d.ts +6 -6
- package/dist/types-ts4.5/ugc-tokens/editor-ugc-token-names.d.ts +1 -1
- package/dist/types-ts4.5/ui/Announcer/announcer.d.ts +5 -5
- package/dist/types-ts4.5/ui/AssistiveText/AssistiveText.d.ts +2 -2
- package/dist/types-ts4.5/ui/BaseTheme/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/Caption/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/ContextPanel/context.d.ts +4 -4
- package/dist/types-ts4.5/ui/DropList/index.d.ts +7 -7
- package/dist/types-ts4.5/ui/Emoji/index.d.ts +3 -3
- package/dist/types-ts4.5/ui/ErrorBoundary/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/EventHandlers/index.d.ts +7 -7
- package/dist/types-ts4.5/ui/Expand/sharedStyles.d.ts +2 -2
- package/dist/types-ts4.5/ui/FloatingToolbar/Button.d.ts +20 -20
- package/dist/types-ts4.5/ui/FloatingToolbar/ButtonSpotlightCard.d.ts +1 -1
- package/dist/types-ts4.5/ui/HoverLinkOverlay/types.d.ts +4 -4
- package/dist/types-ts4.5/ui/Layer/index.d.ts +6 -6
- package/dist/types-ts4.5/ui/MediaSingle/grid.d.ts +4 -4
- package/dist/types-ts4.5/ui/MediaSingle/index.d.ts +12 -12
- package/dist/types-ts4.5/ui/MediaSingle/styled.d.ts +8 -8
- package/dist/types-ts4.5/ui/Mention/index.d.ts +3 -3
- package/dist/types-ts4.5/ui/Mention/mention-with-profilecard.d.ts +4 -4
- package/dist/types-ts4.5/ui/Mention/mention-with-providers.d.ts +4 -4
- package/dist/types-ts4.5/ui/OverflowShadow/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/OverflowShadow/shadowObserver.d.ts +1 -1
- package/dist/types-ts4.5/ui/PanelTextInput/index.d.ts +18 -18
- package/dist/types-ts4.5/ui/Popup/index.d.ts +16 -16
- package/dist/types-ts4.5/ui/Popup/utils.d.ts +6 -6
- package/dist/types-ts4.5/ui/Pulse/Pulse.d.ts +1 -1
- package/dist/types-ts4.5/ui/ResizerLegacy/index.d.ts +11 -11
- package/dist/types-ts4.5/ui/ResizerLegacy/types.d.ts +8 -8
- package/dist/types-ts4.5/ui/TableSelector/index.d.ts +11 -11
- package/dist/types-ts4.5/ui/TableSelector/table-selector.d.ts +7 -7
- package/dist/types-ts4.5/ui/UnsupportedBlock/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/UnsupportedInline/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/WidthProvider/index.d.ts +2 -2
- package/dist/types-ts4.5/ui-color/ColorPalette/Color/index.d.ts +8 -8
- package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/type.d.ts +3 -3
- package/dist/types-ts4.5/ui-color/ColorPalette/index.d.ts +4 -4
- package/dist/types-ts4.5/ui-menu/ArrowKeyNavigationProvider/types.d.ts +11 -11
- package/dist/types-ts4.5/ui-menu/ColorPickerButton/index.d.ts +11 -11
- package/dist/types-ts4.5/ui-menu/Dropdown/index.d.ts +15 -15
- package/dist/types-ts4.5/ui-menu/DropdownMenu/types.d.ts +33 -33
- package/dist/types-ts4.5/ui-menu/ToolbarArrowKeyNavigationProvider/index.d.ts +4 -4
- package/dist/types-ts4.5/ui-menu/ToolbarButton/index.d.ts +19 -19
- package/dist/types-ts4.5/ui-react/ReactEditorViewContext.d.ts +1 -1
- package/dist/types-ts4.5/ui-react/with-react-editor-view-outer-listeners.d.ts +5 -5
- package/dist/types-ts4.5/user-preferences/persistence-api.d.ts +8 -8
- package/dist/types-ts4.5/utils/breakout.d.ts +12 -12
- package/dist/types-ts4.5/utils/calculate-toolbar-position.d.ts +1 -1
- package/dist/types-ts4.5/utils/compare-props.d.ts +3 -3
- package/dist/types-ts4.5/utils/count-nodes.d.ts +1 -1
- package/dist/types-ts4.5/utils/create-wrap-selection-transaction.d.ts +1 -1
- package/dist/types-ts4.5/utils/editor-core-utils.d.ts +1 -1
- package/dist/types-ts4.5/utils/error-reporter.d.ts +1 -1
- package/dist/types-ts4.5/utils/get-performance-options.d.ts +2 -2
- package/dist/types-ts4.5/utils/hyperlink.d.ts +1 -1
- package/dist/types-ts4.5/utils/imageLoader.d.ts +3 -3
- package/dist/types-ts4.5/utils/input-rules.d.ts +2 -2
- package/dist/types-ts4.5/utils/macro.d.ts +1 -1
- package/dist/types-ts4.5/utils/page-element-counts.d.ts +2 -2
- package/dist/types-ts4.5/utils/performance/hooks/use-component-render-tracking/index.d.ts +2 -2
- package/dist/types-ts4.5/utils/performance/measure-render.d.ts +3 -3
- package/dist/types-ts4.5/utils/performance/measure-tti.d.ts +1 -1
- package/dist/types-ts4.5/utils/plugin-state-factory.d.ts +1 -1
- package/dist/types-ts4.5/utils/profiler/render-count.d.ts +3 -3
- package/dist/types-ts4.5/utils/track-unsupported-content.d.ts +5 -5
- package/dist/types-ts4.5/utils/unsupportedContent/get-unsupported-content-level-data.d.ts +1 -1
- package/dist/types-ts4.5/utils/unsupportedContent/types.d.ts +1 -1
- package/dist/types-ts4.5/utils/validator.d.ts +5 -5
- package/dist/types-ts4.5/with-plugin-state/index.d.ts +1 -1
- package/package.json +5 -9
|
@@ -11,71 +11,66 @@ import type { ReactHookFactory, UIComponentFactory } from './ui-components';
|
|
|
11
11
|
export type PluginsOptions = {
|
|
12
12
|
[pluginName: string]: any;
|
|
13
13
|
/**
|
|
14
|
-
* Handler
|
|
14
|
+
* Handler returning a React component that is added to the context panel.
|
|
15
|
+
*
|
|
16
|
+
* See https://product-fabric.atlassian.net/wiki/spaces/E/pages/1406016239/Context+Panel
|
|
15
17
|
*/
|
|
16
|
-
|
|
17
|
-
typeAhead?: TypeAheadHandler;
|
|
18
|
+
contextPanel?: ContextPanelHandler;
|
|
18
19
|
/**
|
|
19
20
|
* See: `FloatingToolbarConfig`
|
|
20
21
|
*/
|
|
21
22
|
floatingToolbar?: FloatingToolbarHandler;
|
|
23
|
+
/**
|
|
24
|
+
* Handler returns an array of QuickInsertItem that are added to the Element Browser, Insert Menu and Quick Insert
|
|
25
|
+
*/
|
|
26
|
+
quickInsert?: QuickInsertHandler;
|
|
22
27
|
/**
|
|
23
28
|
* The selection toolbar is a floating toolbar that is displayed for
|
|
24
29
|
* range selections when any plugins return a selection toolbar group with
|
|
25
30
|
* items.
|
|
26
31
|
*/
|
|
27
32
|
selectionToolbar?: SelectionToolbarHandler;
|
|
28
|
-
|
|
29
|
-
* Handler returning a React component that is added to the context panel.
|
|
30
|
-
*
|
|
31
|
-
* See https://product-fabric.atlassian.net/wiki/spaces/E/pages/1406016239/Context+Panel
|
|
32
|
-
*/
|
|
33
|
-
contextPanel?: ContextPanelHandler;
|
|
33
|
+
typeAhead?: TypeAheadHandler;
|
|
34
34
|
};
|
|
35
35
|
type EditorViewStateUpdatedCallbackProps = {
|
|
36
|
+
readonly newEditorState: Readonly<EditorState>;
|
|
37
|
+
readonly oldEditorState: Readonly<EditorState>;
|
|
36
38
|
readonly originalTransaction: Readonly<Transaction>;
|
|
37
39
|
readonly transactions: readonly Transaction[];
|
|
38
|
-
readonly oldEditorState: Readonly<EditorState>;
|
|
39
|
-
readonly newEditorState: Readonly<EditorState>;
|
|
40
40
|
};
|
|
41
41
|
export interface EditorPlugin {
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Optional UI-component that lives inside the actual content-area (like mention-picker, floating toolbar for links, etc.)
|
|
44
|
+
*
|
|
45
|
+
* Handler returns a React component that is added to the top of the editor content area (PluginSlot).
|
|
46
|
+
* Although it’s common to specify a custom mount point (eg. date picker)
|
|
44
47
|
*/
|
|
45
|
-
|
|
48
|
+
contentComponent?: UIComponentFactory;
|
|
46
49
|
/**
|
|
47
|
-
*
|
|
50
|
+
* A list of `MarkConfig`s with a name and a `MarkSpec` (`MarkSpec` is imported from @atlaskit/adf-schema)
|
|
48
51
|
*/
|
|
49
|
-
|
|
52
|
+
marks?: () => MarkConfig[];
|
|
50
53
|
/**
|
|
51
|
-
*
|
|
54
|
+
* Name of a plugin, that other plugins can use to provide options to it or exclude via a preset.
|
|
52
55
|
*/
|
|
53
|
-
|
|
56
|
+
name: string;
|
|
54
57
|
/**
|
|
55
58
|
* A list of `NodeConfig`s with a name and a `NodeSpec`. (`NodeSpec` is imported from @atlaskit/adf-schema)
|
|
56
59
|
*
|
|
57
60
|
*/
|
|
58
61
|
nodes?: () => NodeConfig[];
|
|
59
62
|
/**
|
|
60
|
-
*
|
|
63
|
+
* Called after EditorView state is updated.
|
|
61
64
|
*/
|
|
62
|
-
|
|
65
|
+
onEditorViewStateUpdated?: (props: EditorViewStateUpdatedCallbackProps) => void;
|
|
63
66
|
/**
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
* Handler returns a React component that is added to the top of the editor content area (PluginSlot).
|
|
67
|
-
* Although it’s common to specify a custom mount point (eg. date picker)
|
|
67
|
+
* Options that will be passed to a plugin with a corresponding name if it exists and enabled.
|
|
68
68
|
*/
|
|
69
|
-
|
|
69
|
+
pluginsOptions?: PluginsOptions;
|
|
70
70
|
/**
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
* This can be used to access React context, or other React specific code (ie. run `useEffect`)
|
|
74
|
-
* within a plugin that will run for all appearances without mounting any components.
|
|
75
|
-
*
|
|
76
|
-
* Example usages include analytics or width.
|
|
71
|
+
* List of ProseMirror-plugins. This is where we define which plugins will be added to EditorView (main-plugin, keybindings, input-rules, etc.).
|
|
77
72
|
*/
|
|
78
|
-
|
|
73
|
+
pmPlugins?: (pluginOptions?: any) => Array<PMPlugin>;
|
|
79
74
|
/**
|
|
80
75
|
* Optional UI-component that will be added to the toolbar at the top of the editor (doesn't exist in the compact-editor).
|
|
81
76
|
*
|
|
@@ -90,9 +85,14 @@ export interface EditorPlugin {
|
|
|
90
85
|
*/
|
|
91
86
|
secondaryToolbarComponent?: UIComponentFactory;
|
|
92
87
|
/**
|
|
93
|
-
*
|
|
88
|
+
* Optional react hook that is mounted for all appearances
|
|
89
|
+
*
|
|
90
|
+
* This can be used to access React context, or other React specific code (ie. run `useEffect`)
|
|
91
|
+
* within a plugin that will run for all appearances without mounting any components.
|
|
92
|
+
*
|
|
93
|
+
* Example usages include analytics or width.
|
|
94
94
|
*/
|
|
95
|
-
|
|
95
|
+
usePluginHook?: ReactHookFactory;
|
|
96
96
|
}
|
|
97
97
|
export type getPosHandler = getPosHandlerNode | boolean;
|
|
98
98
|
export type getPosHandlerNode = () => number | undefined;
|
|
@@ -31,70 +31,76 @@ import type { DisableSpellcheckByBrowser } from './supported-browsers';
|
|
|
31
31
|
export type FeatureFlags = {
|
|
32
32
|
/**
|
|
33
33
|
* @description
|
|
34
|
-
*
|
|
35
|
-
* Placeholder text to be displayed when a bracket '{' is typed and the line is empty e.g. 'Did you mean to use '/' to insert content?'
|
|
36
|
-
* This is used to aid migration for TinyMCE power users to the new Fabric editor power user shortcuts.
|
|
34
|
+
* Enable add column custom step
|
|
37
35
|
*
|
|
38
|
-
* @see https://product-fabric.atlassian.net/
|
|
39
|
-
* @default
|
|
36
|
+
* @see https://product-fabric.atlassian.net/browse/ED-8856
|
|
37
|
+
* @default false
|
|
40
38
|
*/
|
|
41
|
-
|
|
39
|
+
addColumnWithCustomStep?: boolean;
|
|
42
40
|
/**
|
|
43
41
|
* @description
|
|
44
|
-
*
|
|
45
|
-
* Placeholder text values to display on new empty lines.
|
|
42
|
+
* Measure render performance for all tracked analytics events
|
|
46
43
|
*
|
|
47
|
-
* @see https://product-fabric.atlassian.net/l/c/GG1Yv9cK
|
|
48
44
|
* @default false
|
|
49
45
|
*/
|
|
50
|
-
|
|
46
|
+
catchAllTracking?: boolean;
|
|
51
47
|
/**
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
* @
|
|
56
|
-
* @default false
|
|
48
|
+
* Enable custom up/down key handler when cursor below/above an inline media
|
|
49
|
+
* @see https://product-fabric.atlassian.net/browse/ED-13066
|
|
50
|
+
* Chrome bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1227468
|
|
51
|
+
* @default undefined
|
|
57
52
|
*/
|
|
58
|
-
|
|
53
|
+
chromeCursorHandlerFixedVersion?: number;
|
|
59
54
|
/**
|
|
60
55
|
* @description
|
|
61
|
-
* Enable
|
|
56
|
+
* Enable scroll-to-telepointer for collab avatars
|
|
62
57
|
*
|
|
63
|
-
* @see https://product-fabric.atlassian.net/browse/ED-
|
|
58
|
+
* @see https://product-fabric.atlassian.net/browse/ED-12460
|
|
64
59
|
* @default false
|
|
65
60
|
*/
|
|
66
|
-
|
|
61
|
+
collabAvatarScroll?: boolean;
|
|
67
62
|
/**
|
|
68
63
|
* @description
|
|
69
|
-
*
|
|
64
|
+
* Enables extra analytics to be added for comments on media
|
|
70
65
|
*
|
|
71
|
-
* @see https://product-fabric.atlassian.net/browse/ED-
|
|
66
|
+
* @see https://product-fabric.atlassian.net/browse/ED-23355
|
|
72
67
|
* @default false
|
|
73
68
|
*/
|
|
74
|
-
|
|
69
|
+
commentsOnMediaAnalytics?: boolean;
|
|
75
70
|
/**
|
|
76
71
|
* @description
|
|
77
|
-
*
|
|
72
|
+
* Enables fix for comment sidebar is not scrolled into view when adding/viewing a comment on media
|
|
78
73
|
*
|
|
74
|
+
* @see https://product-fabric.atlassian.net/browse/ED-23281
|
|
79
75
|
* @default false
|
|
76
|
+
|
|
80
77
|
*/
|
|
81
|
-
|
|
78
|
+
commentsOnMediaAutoscrollInEditor?: boolean;
|
|
82
79
|
/**
|
|
83
|
-
* @private
|
|
84
|
-
* @deprecated This is always on now and this prop is no longer required.
|
|
85
80
|
* @description
|
|
86
|
-
*
|
|
81
|
+
* Generic way of disabling spellcheck per browser by version range
|
|
87
82
|
*
|
|
88
|
-
* @see https://product-fabric.atlassian.net/browse/ED-
|
|
89
|
-
* @default
|
|
83
|
+
* @see https://product-fabric.atlassian.net/browse/ED-14510
|
|
84
|
+
* @default {}
|
|
85
|
+
* Example:
|
|
86
|
+
* {
|
|
87
|
+
* ie: {
|
|
88
|
+
* minimum: 101,
|
|
89
|
+
* },
|
|
90
|
+
* chrome: {
|
|
91
|
+
* minimum: 96,
|
|
92
|
+
* maximum: 109,
|
|
93
|
+
* },
|
|
94
|
+
* };
|
|
90
95
|
*/
|
|
91
|
-
|
|
96
|
+
disableSpellcheckByBrowser?: DisableSpellcheckByBrowser | undefined;
|
|
92
97
|
/**
|
|
93
|
-
*
|
|
94
|
-
*
|
|
98
|
+
* @decsription
|
|
99
|
+
* Enables the view update subscription plugin
|
|
100
|
+
*
|
|
95
101
|
* @default false
|
|
96
102
|
*/
|
|
97
|
-
|
|
103
|
+
enableViewUpdateSubscription?: boolean;
|
|
98
104
|
/**
|
|
99
105
|
* @description
|
|
100
106
|
* Enables docStructure for unhandleErrorEvents
|
|
@@ -105,83 +111,99 @@ export type FeatureFlags = {
|
|
|
105
111
|
errorBoundaryDocStructure?: boolean;
|
|
106
112
|
/**
|
|
107
113
|
* @description
|
|
108
|
-
*
|
|
114
|
+
* Enable the new editor media resize experience.
|
|
109
115
|
*
|
|
110
|
-
* @see https://product-fabric.atlassian.net/browse/ED-
|
|
116
|
+
* @see https://product-fabric.atlassian.net/browse/ED-18316
|
|
111
117
|
* @default false
|
|
112
118
|
*/
|
|
113
|
-
|
|
119
|
+
extendedMediaResizeExperience?: boolean | undefined;
|
|
114
120
|
/**
|
|
115
|
-
* @
|
|
116
|
-
*
|
|
121
|
+
* @description
|
|
122
|
+
* Enable `localId` generation for extensions.
|
|
117
123
|
*
|
|
124
|
+
* @see https://product-fabric.atlassian.net/l/c/2m0i9jLX
|
|
118
125
|
* @default false
|
|
119
126
|
*/
|
|
120
|
-
|
|
127
|
+
extensionLocalIdGeneration?: boolean;
|
|
121
128
|
/**
|
|
122
129
|
* @description
|
|
123
|
-
*
|
|
130
|
+
* Used by the legacy content macro to disable render tracking due to excessive logs.
|
|
131
|
+
* Will be removed once re-rendering issue is resolved.
|
|
132
|
+
* Note: This is hardcoded into the LCM code, it does not exist in Switcheroo.
|
|
124
133
|
*
|
|
125
|
-
* @see https://product-fabric.atlassian.net/browse/ED-
|
|
134
|
+
* @see https://product-fabric.atlassian.net/browse/ED-26650
|
|
126
135
|
* @default false
|
|
127
136
|
*/
|
|
128
|
-
|
|
137
|
+
lcmPreventRenderTracking?: boolean;
|
|
129
138
|
/**
|
|
130
|
-
*
|
|
131
|
-
*
|
|
139
|
+
* @description
|
|
140
|
+
* Use the linking platform link picker for link insertion and edit
|
|
141
|
+
*
|
|
142
|
+
* @see https://product-fabric.atlassian.net/wiki/spaces/EM/pages/3158246501/PP+Link+Picker+-+Standalone
|
|
143
|
+
* @see https://product-fabric.atlassian.net/browse/EDM-2577
|
|
132
144
|
* @default false
|
|
133
145
|
*/
|
|
134
|
-
|
|
146
|
+
lpLinkPicker?: boolean;
|
|
135
147
|
/**
|
|
136
|
-
* @deprecated
|
|
137
148
|
* @description
|
|
138
|
-
*
|
|
139
|
-
*
|
|
149
|
+
* Enables macro interaction visual updates
|
|
150
|
+
*
|
|
151
|
+
* @see https://product-fabric.atlassian.net/browse/PGXT-4910
|
|
140
152
|
* @default false
|
|
141
153
|
*/
|
|
142
|
-
|
|
154
|
+
macroInteractionUpdates?: boolean;
|
|
143
155
|
/**
|
|
144
|
-
*
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
* @
|
|
156
|
+
* @description
|
|
157
|
+
* Enables more elements in view in quick insert typeahead
|
|
158
|
+
*
|
|
159
|
+
* @see https://product-fabric.atlassian.net/browse/ED-24231
|
|
160
|
+
* @default false
|
|
161
|
+
|
|
148
162
|
*/
|
|
149
|
-
|
|
163
|
+
moreElementsInQuickInsertView?: boolean;
|
|
150
164
|
/**
|
|
151
165
|
* @description
|
|
152
|
-
*
|
|
166
|
+
* Whether a placeholder bracket hint was provided (`string => boolean`)
|
|
167
|
+
* Placeholder text to be displayed when a bracket '{' is typed and the line is empty e.g. 'Did you mean to use '/' to insert content?'
|
|
168
|
+
* This is used to aid migration for TinyMCE power users to the new Fabric editor power user shortcuts.
|
|
153
169
|
*
|
|
154
|
-
* @see https://product-fabric.atlassian.net/
|
|
155
|
-
* @default
|
|
156
|
-
* Example:
|
|
157
|
-
* {
|
|
158
|
-
* ie: {
|
|
159
|
-
* minimum: 101,
|
|
160
|
-
* },
|
|
161
|
-
* chrome: {
|
|
162
|
-
* minimum: 96,
|
|
163
|
-
* maximum: 109,
|
|
164
|
-
* },
|
|
165
|
-
* };
|
|
170
|
+
* @see https://product-fabric.atlassian.net/l/c/4JLjusAP
|
|
171
|
+
* @default true
|
|
166
172
|
*/
|
|
167
|
-
|
|
173
|
+
placeholderBracketHint?: boolean;
|
|
168
174
|
/**
|
|
169
175
|
* @description
|
|
170
|
-
*
|
|
176
|
+
* Whether placeholder hints were provided (`string[] => boolean`)
|
|
177
|
+
* Placeholder text values to display on new empty lines.
|
|
171
178
|
*
|
|
172
|
-
* @see https://product-fabric.atlassian.net/
|
|
173
|
-
* @see https://product-fabric.atlassian.net/browse/EDM-2577
|
|
179
|
+
* @see https://product-fabric.atlassian.net/l/c/GG1Yv9cK
|
|
174
180
|
* @default false
|
|
175
181
|
*/
|
|
176
|
-
|
|
182
|
+
placeholderHints?: boolean;
|
|
177
183
|
/**
|
|
184
|
+
* @private
|
|
185
|
+
* @deprecated This is always on now and this prop is no longer required.
|
|
178
186
|
* @description
|
|
179
|
-
*
|
|
187
|
+
* Yield to user interaction work before sending analytics
|
|
180
188
|
*
|
|
181
|
-
* @see https://product-fabric.atlassian.net/browse/ED-
|
|
189
|
+
* @see https://product-fabric.atlassian.net/browse/ED-10584
|
|
182
190
|
* @default false
|
|
183
191
|
*/
|
|
184
|
-
|
|
192
|
+
queueAnalytics?: boolean;
|
|
193
|
+
/**
|
|
194
|
+
* Show the avatar group as a plugin
|
|
195
|
+
* @see https://product-fabric.atlassian.net/browse/CERN-747
|
|
196
|
+
* @default false
|
|
197
|
+
*/
|
|
198
|
+
showAvatarGroupAsPlugin?: boolean;
|
|
199
|
+
/**
|
|
200
|
+
* @description
|
|
201
|
+
* Enables docStructure for synchronyError
|
|
202
|
+
*
|
|
203
|
+
* @see https://product-fabric.atlassian.net/browse/ED-12998
|
|
204
|
+
* @default false
|
|
205
|
+
*/
|
|
206
|
+
synchronyErrorDocStructure?: boolean;
|
|
185
207
|
/**
|
|
186
208
|
* @description
|
|
187
209
|
* Enables the drag and drop rows/columns for tables
|
|
@@ -207,49 +229,27 @@ export type FeatureFlags = {
|
|
|
207
229
|
*/
|
|
208
230
|
tableWithFixedColumnWidthsOption?: boolean;
|
|
209
231
|
/**
|
|
210
|
-
*
|
|
211
|
-
*
|
|
212
|
-
*
|
|
213
|
-
* @see https://product-fabric.atlassian.net/browse/PGXT-4910
|
|
214
|
-
* @default false
|
|
215
|
-
*/
|
|
216
|
-
macroInteractionUpdates?: boolean;
|
|
217
|
-
/**
|
|
218
|
-
* @description
|
|
219
|
-
* Enables extra analytics to be added for comments on media
|
|
220
|
-
*
|
|
221
|
-
* @see https://product-fabric.atlassian.net/browse/ED-23355
|
|
222
|
-
* @default false
|
|
223
|
-
*/
|
|
224
|
-
commentsOnMediaAnalytics?: boolean;
|
|
225
|
-
/**
|
|
226
|
-
* @description
|
|
227
|
-
* Enables fix for comment sidebar is not scrolled into view when adding/viewing a comment on media
|
|
228
|
-
*
|
|
229
|
-
* @see https://product-fabric.atlassian.net/browse/ED-23281
|
|
232
|
+
* Split editor toolbar to two lines when viewport is small
|
|
233
|
+
* @see https://product-fabric.atlassian.net/browse/CERN-1124
|
|
230
234
|
* @default false
|
|
231
|
-
|
|
232
235
|
*/
|
|
233
|
-
|
|
236
|
+
twoLineEditorToolbar?: boolean;
|
|
234
237
|
/**
|
|
235
238
|
* @description
|
|
236
|
-
*
|
|
239
|
+
* Enable undo/redo buttons and functionality within the editor
|
|
237
240
|
*
|
|
238
|
-
* @see https://product-fabric.atlassian.net/browse/ED-
|
|
241
|
+
* @see https://product-fabric.atlassian.net/browse/ED-9537
|
|
239
242
|
* @default false
|
|
240
|
-
|
|
241
243
|
*/
|
|
242
|
-
|
|
244
|
+
undoRedoButtons?: boolean;
|
|
243
245
|
/**
|
|
246
|
+
* @deprecated
|
|
244
247
|
* @description
|
|
245
|
-
*
|
|
246
|
-
*
|
|
247
|
-
* Note: This is hardcoded into the LCM code, it does not exist in Switcheroo.
|
|
248
|
-
*
|
|
249
|
-
* @see https://product-fabric.atlassian.net/browse/ED-26650
|
|
248
|
+
* Enable new collab service
|
|
249
|
+
* @see https://product-fabric.atlassian.net/browse/ED-14097
|
|
250
250
|
* @default false
|
|
251
251
|
*/
|
|
252
|
-
|
|
252
|
+
useNativeCollabPlugin?: boolean;
|
|
253
253
|
};
|
|
254
254
|
export type FeatureFlagKey = keyof FeatureFlags;
|
|
255
255
|
export type GetEditorFeatureFlags = () => FeatureFlags;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export type FeedbackInfo = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
packageName?: string;
|
|
2
|
+
contentId?: string;
|
|
3
|
+
coreVersion?: string;
|
|
5
4
|
labels?: Array<string>;
|
|
5
|
+
packageName?: string;
|
|
6
|
+
packageVersion?: string;
|
|
7
|
+
product?: string;
|
|
6
8
|
sessionId?: string;
|
|
7
|
-
contentId?: string;
|
|
8
9
|
tabId?: string;
|
|
9
|
-
coreVersion?: string;
|
|
10
10
|
};
|