@atlaskit/editor-core 216.7.7 → 216.7.8
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 +8 -0
- package/dist/cjs/composable-editor/hooks/useMemoEditorProps.js +3 -2
- package/dist/cjs/create-editor/create-plugins-list.js +2 -1
- package/dist/es2019/composable-editor/hooks/useMemoEditorProps.js +3 -2
- package/dist/es2019/create-editor/create-plugins-list.js +2 -1
- package/dist/esm/composable-editor/hooks/useMemoEditorProps.js +3 -2
- package/dist/esm/create-editor/create-plugins-list.js +2 -1
- package/dist/types/create-editor/create-universal-preset.d.ts +8 -7
- package/dist/types/presets/universal.d.ts +8 -7
- package/dist/types/presets/useUniversalPreset.d.ts +8 -7
- package/dist/types/types/editor-props.d.ts +2 -1
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +8 -7
- package/dist/types-ts4.5/presets/universal.d.ts +8 -7
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +8 -7
- package/dist/types-ts4.5/types/editor-props.d.ts +2 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 216.7.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`9068b92adf796`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9068b92adf796) -
|
|
8
|
+
[ux] EDITOR-4439 Implement option to raise warn flag on paste for unsupported content
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 216.7.7
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -108,7 +108,8 @@ var useMemoEditorProps = exports.useMemoEditorProps = function useMemoEditorProp
|
|
|
108
108
|
AppearanceComponent: passedProps.AppearanceComponent,
|
|
109
109
|
skipValidation: passedProps.skipValidation,
|
|
110
110
|
syncBlock: passedProps.syncBlock,
|
|
111
|
-
syncedBlockProvider: passedProps.syncedBlockProvider
|
|
111
|
+
syncedBlockProvider: passedProps.syncedBlockProvider,
|
|
112
|
+
pasteWarningOptions: passedProps.pasteWarningOptions
|
|
112
113
|
};
|
|
113
114
|
var defaultProps = {
|
|
114
115
|
appearance: 'comment',
|
|
@@ -117,7 +118,7 @@ var useMemoEditorProps = exports.useMemoEditorProps = function useMemoEditorProp
|
|
|
117
118
|
};
|
|
118
119
|
var nextProps = _objectSpread(_objectSpread({}, defaultProps), allProps);
|
|
119
120
|
return nextProps;
|
|
120
|
-
}, [passedProps.preset, passedProps.appearance, passedProps.contentMode, passedProps.contentComponents, passedProps.primaryToolbarIconBefore, passedProps.secondaryToolbarComponents, passedProps.persistScrollGutter, passedProps.quickInsert, passedProps.shouldFocus, passedProps.disabled, passedProps.contextPanel, passedProps.errorReporterHandler, passedProps.contentTransformerProvider, passedProps.maxHeight, passedProps.minHeight, passedProps.placeholder, passedProps.placeholderBracketHint, passedProps.performanceTracking, passedProps.inputSamplingLimit, passedProps.defaultValue, passedProps.assistiveLabel, passedProps.assistiveDescribedBy, passedProps.popupsMountPoint, passedProps.popupsBoundariesElement, passedProps.popupsScrollableElement, passedProps.editorActions, passedProps.onEditorReady, passedProps.onDestroy, passedProps.onChange, passedProps.onCancel, passedProps.extensionProviders, passedProps.UNSAFE_useAnalyticsContext, passedProps.useStickyToolbar, passedProps.featureFlags, passedProps.onSave, passedProps.sanitizePrivateContent, passedProps.media, passedProps.collabEdit, passedProps.primaryToolbarComponents, passedProps.allowUndoRedoButtons, passedProps.linking, passedProps.activityProvider, passedProps.searchProvider, passedProps.annotationProviders, passedProps.collabEditProvider, passedProps.presenceProvider, passedProps.emojiProvider, passedProps.taskDecisionProvider, passedProps.legacyImageUploadProvider, passedProps.mentionProvider, passedProps.autoformattingProvider, passedProps.macroProvider, passedProps.contextIdentifierProvider, passedProps.allowExpand, passedProps.allowNestedTasks, passedProps.allowBlockType, passedProps.allowTasksAndDecisions, passedProps.allowBreakout, passedProps.allowRule, passedProps.allowHelpDialog, passedProps.allowPanel, passedProps.allowExtension, passedProps.allowConfluenceInlineComment, passedProps.allowTemplatePlaceholders, passedProps.allowDate, passedProps.allowLayouts, passedProps.allowStatus, passedProps.allowTextAlignment, passedProps.allowIndentation, passedProps.showIndentationButtons, passedProps.allowFindReplace, passedProps.allowBorderMark, passedProps.allowFragmentMark, passedProps.autoScrollIntoView, passedProps.elementBrowser, passedProps.maxContentSize, passedProps.saveOnEnter, passedProps.feedbackInfo, passedProps.mention, passedProps.mentionInsertDisplayName, passedProps.uploadErrorHandler, passedProps.waitForMediaUpload, passedProps.extensionHandlers, passedProps.allowTextColor, passedProps.allowTables, passedProps.insertMenuItems, passedProps.UNSAFE_cards, passedProps.smartLinks, passedProps.allowAnalyticsGASV3, passedProps.codeBlock, passedProps.textFormatting, passedProps.__livePage, passedProps.AppearanceComponent, passedProps.skipValidation, passedProps.syncBlock, passedProps.syncedBlockProvider]);
|
|
121
|
+
}, [passedProps.preset, passedProps.appearance, passedProps.contentMode, passedProps.contentComponents, passedProps.primaryToolbarIconBefore, passedProps.secondaryToolbarComponents, passedProps.persistScrollGutter, passedProps.quickInsert, passedProps.shouldFocus, passedProps.disabled, passedProps.contextPanel, passedProps.errorReporterHandler, passedProps.contentTransformerProvider, passedProps.maxHeight, passedProps.minHeight, passedProps.placeholder, passedProps.placeholderBracketHint, passedProps.performanceTracking, passedProps.inputSamplingLimit, passedProps.defaultValue, passedProps.assistiveLabel, passedProps.assistiveDescribedBy, passedProps.popupsMountPoint, passedProps.popupsBoundariesElement, passedProps.popupsScrollableElement, passedProps.editorActions, passedProps.onEditorReady, passedProps.onDestroy, passedProps.onChange, passedProps.onCancel, passedProps.extensionProviders, passedProps.UNSAFE_useAnalyticsContext, passedProps.useStickyToolbar, passedProps.featureFlags, passedProps.onSave, passedProps.sanitizePrivateContent, passedProps.media, passedProps.collabEdit, passedProps.primaryToolbarComponents, passedProps.allowUndoRedoButtons, passedProps.linking, passedProps.activityProvider, passedProps.searchProvider, passedProps.annotationProviders, passedProps.collabEditProvider, passedProps.presenceProvider, passedProps.emojiProvider, passedProps.taskDecisionProvider, passedProps.legacyImageUploadProvider, passedProps.mentionProvider, passedProps.autoformattingProvider, passedProps.macroProvider, passedProps.contextIdentifierProvider, passedProps.allowExpand, passedProps.allowNestedTasks, passedProps.allowBlockType, passedProps.allowTasksAndDecisions, passedProps.allowBreakout, passedProps.allowRule, passedProps.allowHelpDialog, passedProps.allowPanel, passedProps.allowExtension, passedProps.allowConfluenceInlineComment, passedProps.allowTemplatePlaceholders, passedProps.allowDate, passedProps.allowLayouts, passedProps.allowStatus, passedProps.allowTextAlignment, passedProps.allowIndentation, passedProps.showIndentationButtons, passedProps.allowFindReplace, passedProps.allowBorderMark, passedProps.allowFragmentMark, passedProps.autoScrollIntoView, passedProps.elementBrowser, passedProps.maxContentSize, passedProps.saveOnEnter, passedProps.feedbackInfo, passedProps.mention, passedProps.mentionInsertDisplayName, passedProps.uploadErrorHandler, passedProps.waitForMediaUpload, passedProps.extensionHandlers, passedProps.allowTextColor, passedProps.allowTables, passedProps.insertMenuItems, passedProps.UNSAFE_cards, passedProps.smartLinks, passedProps.allowAnalyticsGASV3, passedProps.codeBlock, passedProps.textFormatting, passedProps.__livePage, passedProps.AppearanceComponent, passedProps.skipValidation, passedProps.syncBlock, passedProps.syncedBlockProvider, passedProps.pasteWarningOptions]);
|
|
121
122
|
return memodProps;
|
|
122
123
|
};
|
|
123
124
|
var _default = exports.default = useMemoEditorProps;
|
|
@@ -42,7 +42,8 @@ function getDefaultPresetOptionsFromEditorProps(props, createAnalyticsEvent
|
|
|
42
42
|
featureFlags: (0, _featureFlagsFromProps.createFeatureFlagsFromProps)(props.featureFlags),
|
|
43
43
|
paste: {
|
|
44
44
|
cardOptions: cardOptions,
|
|
45
|
-
sanitizePrivateContent: props.sanitizePrivateContent
|
|
45
|
+
sanitizePrivateContent: props.sanitizePrivateContent,
|
|
46
|
+
pasteWarningOptions: props.pasteWarningOptions
|
|
46
47
|
},
|
|
47
48
|
base: {
|
|
48
49
|
allowInlineCursorTarget: true,
|
|
@@ -98,7 +98,8 @@ export const useMemoEditorProps = passedProps => {
|
|
|
98
98
|
AppearanceComponent: passedProps.AppearanceComponent,
|
|
99
99
|
skipValidation: passedProps.skipValidation,
|
|
100
100
|
syncBlock: passedProps.syncBlock,
|
|
101
|
-
syncedBlockProvider: passedProps.syncedBlockProvider
|
|
101
|
+
syncedBlockProvider: passedProps.syncedBlockProvider,
|
|
102
|
+
pasteWarningOptions: passedProps.pasteWarningOptions
|
|
102
103
|
};
|
|
103
104
|
const defaultProps = {
|
|
104
105
|
appearance: 'comment',
|
|
@@ -110,7 +111,7 @@ export const useMemoEditorProps = passedProps => {
|
|
|
110
111
|
...allProps
|
|
111
112
|
};
|
|
112
113
|
return nextProps;
|
|
113
|
-
}, [passedProps.preset, passedProps.appearance, passedProps.contentMode, passedProps.contentComponents, passedProps.primaryToolbarIconBefore, passedProps.secondaryToolbarComponents, passedProps.persistScrollGutter, passedProps.quickInsert, passedProps.shouldFocus, passedProps.disabled, passedProps.contextPanel, passedProps.errorReporterHandler, passedProps.contentTransformerProvider, passedProps.maxHeight, passedProps.minHeight, passedProps.placeholder, passedProps.placeholderBracketHint, passedProps.performanceTracking, passedProps.inputSamplingLimit, passedProps.defaultValue, passedProps.assistiveLabel, passedProps.assistiveDescribedBy, passedProps.popupsMountPoint, passedProps.popupsBoundariesElement, passedProps.popupsScrollableElement, passedProps.editorActions, passedProps.onEditorReady, passedProps.onDestroy, passedProps.onChange, passedProps.onCancel, passedProps.extensionProviders, passedProps.UNSAFE_useAnalyticsContext, passedProps.useStickyToolbar, passedProps.featureFlags, passedProps.onSave, passedProps.sanitizePrivateContent, passedProps.media, passedProps.collabEdit, passedProps.primaryToolbarComponents, passedProps.allowUndoRedoButtons, passedProps.linking, passedProps.activityProvider, passedProps.searchProvider, passedProps.annotationProviders, passedProps.collabEditProvider, passedProps.presenceProvider, passedProps.emojiProvider, passedProps.taskDecisionProvider, passedProps.legacyImageUploadProvider, passedProps.mentionProvider, passedProps.autoformattingProvider, passedProps.macroProvider, passedProps.contextIdentifierProvider, passedProps.allowExpand, passedProps.allowNestedTasks, passedProps.allowBlockType, passedProps.allowTasksAndDecisions, passedProps.allowBreakout, passedProps.allowRule, passedProps.allowHelpDialog, passedProps.allowPanel, passedProps.allowExtension, passedProps.allowConfluenceInlineComment, passedProps.allowTemplatePlaceholders, passedProps.allowDate, passedProps.allowLayouts, passedProps.allowStatus, passedProps.allowTextAlignment, passedProps.allowIndentation, passedProps.showIndentationButtons, passedProps.allowFindReplace, passedProps.allowBorderMark, passedProps.allowFragmentMark, passedProps.autoScrollIntoView, passedProps.elementBrowser, passedProps.maxContentSize, passedProps.saveOnEnter, passedProps.feedbackInfo, passedProps.mention, passedProps.mentionInsertDisplayName, passedProps.uploadErrorHandler, passedProps.waitForMediaUpload, passedProps.extensionHandlers, passedProps.allowTextColor, passedProps.allowTables, passedProps.insertMenuItems, passedProps.UNSAFE_cards, passedProps.smartLinks, passedProps.allowAnalyticsGASV3, passedProps.codeBlock, passedProps.textFormatting, passedProps.__livePage, passedProps.AppearanceComponent, passedProps.skipValidation, passedProps.syncBlock, passedProps.syncedBlockProvider]);
|
|
114
|
+
}, [passedProps.preset, passedProps.appearance, passedProps.contentMode, passedProps.contentComponents, passedProps.primaryToolbarIconBefore, passedProps.secondaryToolbarComponents, passedProps.persistScrollGutter, passedProps.quickInsert, passedProps.shouldFocus, passedProps.disabled, passedProps.contextPanel, passedProps.errorReporterHandler, passedProps.contentTransformerProvider, passedProps.maxHeight, passedProps.minHeight, passedProps.placeholder, passedProps.placeholderBracketHint, passedProps.performanceTracking, passedProps.inputSamplingLimit, passedProps.defaultValue, passedProps.assistiveLabel, passedProps.assistiveDescribedBy, passedProps.popupsMountPoint, passedProps.popupsBoundariesElement, passedProps.popupsScrollableElement, passedProps.editorActions, passedProps.onEditorReady, passedProps.onDestroy, passedProps.onChange, passedProps.onCancel, passedProps.extensionProviders, passedProps.UNSAFE_useAnalyticsContext, passedProps.useStickyToolbar, passedProps.featureFlags, passedProps.onSave, passedProps.sanitizePrivateContent, passedProps.media, passedProps.collabEdit, passedProps.primaryToolbarComponents, passedProps.allowUndoRedoButtons, passedProps.linking, passedProps.activityProvider, passedProps.searchProvider, passedProps.annotationProviders, passedProps.collabEditProvider, passedProps.presenceProvider, passedProps.emojiProvider, passedProps.taskDecisionProvider, passedProps.legacyImageUploadProvider, passedProps.mentionProvider, passedProps.autoformattingProvider, passedProps.macroProvider, passedProps.contextIdentifierProvider, passedProps.allowExpand, passedProps.allowNestedTasks, passedProps.allowBlockType, passedProps.allowTasksAndDecisions, passedProps.allowBreakout, passedProps.allowRule, passedProps.allowHelpDialog, passedProps.allowPanel, passedProps.allowExtension, passedProps.allowConfluenceInlineComment, passedProps.allowTemplatePlaceholders, passedProps.allowDate, passedProps.allowLayouts, passedProps.allowStatus, passedProps.allowTextAlignment, passedProps.allowIndentation, passedProps.showIndentationButtons, passedProps.allowFindReplace, passedProps.allowBorderMark, passedProps.allowFragmentMark, passedProps.autoScrollIntoView, passedProps.elementBrowser, passedProps.maxContentSize, passedProps.saveOnEnter, passedProps.feedbackInfo, passedProps.mention, passedProps.mentionInsertDisplayName, passedProps.uploadErrorHandler, passedProps.waitForMediaUpload, passedProps.extensionHandlers, passedProps.allowTextColor, passedProps.allowTables, passedProps.insertMenuItems, passedProps.UNSAFE_cards, passedProps.smartLinks, passedProps.allowAnalyticsGASV3, passedProps.codeBlock, passedProps.textFormatting, passedProps.__livePage, passedProps.AppearanceComponent, passedProps.skipValidation, passedProps.syncBlock, passedProps.syncedBlockProvider, passedProps.pasteWarningOptions]);
|
|
114
115
|
return memodProps;
|
|
115
116
|
};
|
|
116
117
|
export default useMemoEditorProps;
|
|
@@ -31,7 +31,8 @@ export function getDefaultPresetOptionsFromEditorProps(props, createAnalyticsEve
|
|
|
31
31
|
featureFlags: createFeatureFlagsFromProps(props.featureFlags),
|
|
32
32
|
paste: {
|
|
33
33
|
cardOptions,
|
|
34
|
-
sanitizePrivateContent: props.sanitizePrivateContent
|
|
34
|
+
sanitizePrivateContent: props.sanitizePrivateContent,
|
|
35
|
+
pasteWarningOptions: props.pasteWarningOptions
|
|
35
36
|
},
|
|
36
37
|
base: {
|
|
37
38
|
allowInlineCursorTarget: true,
|
|
@@ -101,7 +101,8 @@ export var useMemoEditorProps = function useMemoEditorProps(passedProps) {
|
|
|
101
101
|
AppearanceComponent: passedProps.AppearanceComponent,
|
|
102
102
|
skipValidation: passedProps.skipValidation,
|
|
103
103
|
syncBlock: passedProps.syncBlock,
|
|
104
|
-
syncedBlockProvider: passedProps.syncedBlockProvider
|
|
104
|
+
syncedBlockProvider: passedProps.syncedBlockProvider,
|
|
105
|
+
pasteWarningOptions: passedProps.pasteWarningOptions
|
|
105
106
|
};
|
|
106
107
|
var defaultProps = {
|
|
107
108
|
appearance: 'comment',
|
|
@@ -110,7 +111,7 @@ export var useMemoEditorProps = function useMemoEditorProps(passedProps) {
|
|
|
110
111
|
};
|
|
111
112
|
var nextProps = _objectSpread(_objectSpread({}, defaultProps), allProps);
|
|
112
113
|
return nextProps;
|
|
113
|
-
}, [passedProps.preset, passedProps.appearance, passedProps.contentMode, passedProps.contentComponents, passedProps.primaryToolbarIconBefore, passedProps.secondaryToolbarComponents, passedProps.persistScrollGutter, passedProps.quickInsert, passedProps.shouldFocus, passedProps.disabled, passedProps.contextPanel, passedProps.errorReporterHandler, passedProps.contentTransformerProvider, passedProps.maxHeight, passedProps.minHeight, passedProps.placeholder, passedProps.placeholderBracketHint, passedProps.performanceTracking, passedProps.inputSamplingLimit, passedProps.defaultValue, passedProps.assistiveLabel, passedProps.assistiveDescribedBy, passedProps.popupsMountPoint, passedProps.popupsBoundariesElement, passedProps.popupsScrollableElement, passedProps.editorActions, passedProps.onEditorReady, passedProps.onDestroy, passedProps.onChange, passedProps.onCancel, passedProps.extensionProviders, passedProps.UNSAFE_useAnalyticsContext, passedProps.useStickyToolbar, passedProps.featureFlags, passedProps.onSave, passedProps.sanitizePrivateContent, passedProps.media, passedProps.collabEdit, passedProps.primaryToolbarComponents, passedProps.allowUndoRedoButtons, passedProps.linking, passedProps.activityProvider, passedProps.searchProvider, passedProps.annotationProviders, passedProps.collabEditProvider, passedProps.presenceProvider, passedProps.emojiProvider, passedProps.taskDecisionProvider, passedProps.legacyImageUploadProvider, passedProps.mentionProvider, passedProps.autoformattingProvider, passedProps.macroProvider, passedProps.contextIdentifierProvider, passedProps.allowExpand, passedProps.allowNestedTasks, passedProps.allowBlockType, passedProps.allowTasksAndDecisions, passedProps.allowBreakout, passedProps.allowRule, passedProps.allowHelpDialog, passedProps.allowPanel, passedProps.allowExtension, passedProps.allowConfluenceInlineComment, passedProps.allowTemplatePlaceholders, passedProps.allowDate, passedProps.allowLayouts, passedProps.allowStatus, passedProps.allowTextAlignment, passedProps.allowIndentation, passedProps.showIndentationButtons, passedProps.allowFindReplace, passedProps.allowBorderMark, passedProps.allowFragmentMark, passedProps.autoScrollIntoView, passedProps.elementBrowser, passedProps.maxContentSize, passedProps.saveOnEnter, passedProps.feedbackInfo, passedProps.mention, passedProps.mentionInsertDisplayName, passedProps.uploadErrorHandler, passedProps.waitForMediaUpload, passedProps.extensionHandlers, passedProps.allowTextColor, passedProps.allowTables, passedProps.insertMenuItems, passedProps.UNSAFE_cards, passedProps.smartLinks, passedProps.allowAnalyticsGASV3, passedProps.codeBlock, passedProps.textFormatting, passedProps.__livePage, passedProps.AppearanceComponent, passedProps.skipValidation, passedProps.syncBlock, passedProps.syncedBlockProvider]);
|
|
114
|
+
}, [passedProps.preset, passedProps.appearance, passedProps.contentMode, passedProps.contentComponents, passedProps.primaryToolbarIconBefore, passedProps.secondaryToolbarComponents, passedProps.persistScrollGutter, passedProps.quickInsert, passedProps.shouldFocus, passedProps.disabled, passedProps.contextPanel, passedProps.errorReporterHandler, passedProps.contentTransformerProvider, passedProps.maxHeight, passedProps.minHeight, passedProps.placeholder, passedProps.placeholderBracketHint, passedProps.performanceTracking, passedProps.inputSamplingLimit, passedProps.defaultValue, passedProps.assistiveLabel, passedProps.assistiveDescribedBy, passedProps.popupsMountPoint, passedProps.popupsBoundariesElement, passedProps.popupsScrollableElement, passedProps.editorActions, passedProps.onEditorReady, passedProps.onDestroy, passedProps.onChange, passedProps.onCancel, passedProps.extensionProviders, passedProps.UNSAFE_useAnalyticsContext, passedProps.useStickyToolbar, passedProps.featureFlags, passedProps.onSave, passedProps.sanitizePrivateContent, passedProps.media, passedProps.collabEdit, passedProps.primaryToolbarComponents, passedProps.allowUndoRedoButtons, passedProps.linking, passedProps.activityProvider, passedProps.searchProvider, passedProps.annotationProviders, passedProps.collabEditProvider, passedProps.presenceProvider, passedProps.emojiProvider, passedProps.taskDecisionProvider, passedProps.legacyImageUploadProvider, passedProps.mentionProvider, passedProps.autoformattingProvider, passedProps.macroProvider, passedProps.contextIdentifierProvider, passedProps.allowExpand, passedProps.allowNestedTasks, passedProps.allowBlockType, passedProps.allowTasksAndDecisions, passedProps.allowBreakout, passedProps.allowRule, passedProps.allowHelpDialog, passedProps.allowPanel, passedProps.allowExtension, passedProps.allowConfluenceInlineComment, passedProps.allowTemplatePlaceholders, passedProps.allowDate, passedProps.allowLayouts, passedProps.allowStatus, passedProps.allowTextAlignment, passedProps.allowIndentation, passedProps.showIndentationButtons, passedProps.allowFindReplace, passedProps.allowBorderMark, passedProps.allowFragmentMark, passedProps.autoScrollIntoView, passedProps.elementBrowser, passedProps.maxContentSize, passedProps.saveOnEnter, passedProps.feedbackInfo, passedProps.mention, passedProps.mentionInsertDisplayName, passedProps.uploadErrorHandler, passedProps.waitForMediaUpload, passedProps.extensionHandlers, passedProps.allowTextColor, passedProps.allowTables, passedProps.insertMenuItems, passedProps.UNSAFE_cards, passedProps.smartLinks, passedProps.allowAnalyticsGASV3, passedProps.codeBlock, passedProps.textFormatting, passedProps.__livePage, passedProps.AppearanceComponent, passedProps.skipValidation, passedProps.syncBlock, passedProps.syncedBlockProvider, passedProps.pasteWarningOptions]);
|
|
114
115
|
return memodProps;
|
|
115
116
|
};
|
|
116
117
|
export default useMemoEditorProps;
|
|
@@ -33,7 +33,8 @@ export function getDefaultPresetOptionsFromEditorProps(props, createAnalyticsEve
|
|
|
33
33
|
featureFlags: createFeatureFlagsFromProps(props.featureFlags),
|
|
34
34
|
paste: {
|
|
35
35
|
cardOptions: cardOptions,
|
|
36
|
-
sanitizePrivateContent: props.sanitizePrivateContent
|
|
36
|
+
sanitizePrivateContent: props.sanitizePrivateContent,
|
|
37
|
+
pasteWarningOptions: props.pasteWarningOptions
|
|
37
38
|
},
|
|
38
39
|
base: {
|
|
39
40
|
allowInlineCursorTarget: true,
|
|
@@ -358,7 +358,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
358
358
|
removeDecoration: typeof import("packages/editor/editor-plugin-decorations/dist/types/pm-plugins/main").removeDecoration;
|
|
359
359
|
};
|
|
360
360
|
commands: {
|
|
361
|
-
hoverDecoration?: import("
|
|
361
|
+
hoverDecoration?: import("@atlaskit/editor-plugins/decorations").HoverDecorationCommand;
|
|
362
362
|
removeDecoration?: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
363
363
|
};
|
|
364
364
|
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
@@ -401,7 +401,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
401
401
|
registerBlockMenuComponents: (blockMenuComponents: Array<import("@atlaskit/editor-plugins/block-menu").RegisterBlockMenuComponent>) => void;
|
|
402
402
|
};
|
|
403
403
|
commands: {
|
|
404
|
-
formatNode: (targetType: import("
|
|
404
|
+
formatNode: (targetType: import("@atlaskit/editor-plugins/block-menu").FormatNodeTargetType, analyticsAttrs?: import("@atlaskit/editor-plugins/block-menu").FormatNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
405
405
|
transformNode: (targetType: import("prosemirror-model").NodeType, metadata?: import("@atlaskit/editor-plugins/block-menu").TransformNodeMetadata) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
406
406
|
};
|
|
407
407
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-controls").BlockControlsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/selection").SelectionPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/decorations").DecorationsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>];
|
|
@@ -425,11 +425,11 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
425
425
|
contextualFormattingMode: () => import("@atlaskit/editor-common/toolbar").ContextualFormattingEnabledOptions;
|
|
426
426
|
getBreakpointPreset: () => import("@atlaskit/editor-toolbar").BreakpointPreset | undefined;
|
|
427
427
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
428
|
-
registerComponents: import("
|
|
428
|
+
registerComponents: import("@atlaskit/editor-plugins/toolbar").RegisterComponentsAction;
|
|
429
429
|
};
|
|
430
430
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/selection").SelectionPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-connectivity").ConnectivityPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>];
|
|
431
431
|
pluginConfiguration?: import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions;
|
|
432
|
-
sharedState: import("
|
|
432
|
+
sharedState: import("@atlaskit/editor-plugins/toolbar").EditorToolbarPluginState;
|
|
433
433
|
}, import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions | undefined>>];
|
|
434
434
|
pluginConfiguration: import("@atlaskit/editor-plugins/code-block").CodeBlockPluginOptions | undefined;
|
|
435
435
|
sharedState: {
|
|
@@ -572,11 +572,11 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
572
572
|
contextualFormattingMode: () => import("@atlaskit/editor-common/toolbar").ContextualFormattingEnabledOptions;
|
|
573
573
|
getBreakpointPreset: () => import("@atlaskit/editor-toolbar").BreakpointPreset | undefined;
|
|
574
574
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
575
|
-
registerComponents: import("
|
|
575
|
+
registerComponents: import("@atlaskit/editor-plugins/toolbar").RegisterComponentsAction;
|
|
576
576
|
};
|
|
577
577
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/selection").SelectionPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-connectivity").ConnectivityPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>];
|
|
578
578
|
pluginConfiguration?: import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions;
|
|
579
|
-
sharedState: import("
|
|
579
|
+
sharedState: import("@atlaskit/editor-plugins/toolbar").EditorToolbarPluginState;
|
|
580
580
|
}, import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"userIntent", {
|
|
581
581
|
commands: {
|
|
582
582
|
setCurrentUserIntent: (newCurrentUserIntent: import("@atlaskit/editor-plugins/user-intent").UserIntent) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -619,7 +619,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
619
619
|
removeDecoration: typeof import("packages/editor/editor-plugin-decorations/dist/types/pm-plugins/main").removeDecoration;
|
|
620
620
|
};
|
|
621
621
|
commands: {
|
|
622
|
-
hoverDecoration?: import("
|
|
622
|
+
hoverDecoration?: import("@atlaskit/editor-plugins/decorations").HoverDecorationCommand;
|
|
623
623
|
removeDecoration?: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
624
624
|
};
|
|
625
625
|
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
@@ -659,6 +659,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
659
659
|
dependencies: import("@atlaskit/editor-plugins/paste").PastePluginDependencies;
|
|
660
660
|
pluginConfiguration: import("@atlaskit/editor-plugins/paste").PastePluginOptions;
|
|
661
661
|
sharedState: {
|
|
662
|
+
activeFlag: import("@atlaskit/editor-plugins/paste").ActiveFlag | null;
|
|
662
663
|
lastContentPasted: import("@atlaskit/editor-plugins/paste").LastContentPasted | null;
|
|
663
664
|
};
|
|
664
665
|
}, import("@atlaskit/editor-plugins/paste").PastePluginOptions>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"betterTypeHistory", {
|
|
@@ -431,7 +431,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
431
431
|
removeDecoration: typeof import("packages/editor/editor-plugin-decorations/dist/types/pm-plugins/main").removeDecoration;
|
|
432
432
|
};
|
|
433
433
|
commands: {
|
|
434
|
-
hoverDecoration?: import("
|
|
434
|
+
hoverDecoration?: import("@atlaskit/editor-plugins/decorations").HoverDecorationCommand;
|
|
435
435
|
removeDecoration?: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
436
436
|
};
|
|
437
437
|
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
@@ -474,7 +474,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
474
474
|
registerBlockMenuComponents: (blockMenuComponents: Array<import("@atlaskit/editor-plugins/block-menu").RegisterBlockMenuComponent>) => void;
|
|
475
475
|
};
|
|
476
476
|
commands: {
|
|
477
|
-
formatNode: (targetType: import("
|
|
477
|
+
formatNode: (targetType: import("@atlaskit/editor-plugins/block-menu").FormatNodeTargetType, analyticsAttrs?: import("@atlaskit/editor-plugins/block-menu").FormatNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
478
478
|
transformNode: (targetType: import("prosemirror-model").NodeType, metadata?: import("@atlaskit/editor-plugins/block-menu").TransformNodeMetadata) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
479
479
|
};
|
|
480
480
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-controls").BlockControlsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/selection").SelectionPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/decorations").DecorationsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>];
|
|
@@ -498,11 +498,11 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
498
498
|
contextualFormattingMode: () => ContextualFormattingEnabledOptions;
|
|
499
499
|
getBreakpointPreset: () => BreakpointPreset | undefined;
|
|
500
500
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
501
|
-
registerComponents: import("
|
|
501
|
+
registerComponents: import("@atlaskit/editor-plugins/toolbar").RegisterComponentsAction;
|
|
502
502
|
};
|
|
503
503
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/selection").SelectionPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-connectivity").ConnectivityPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>];
|
|
504
504
|
pluginConfiguration?: import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions;
|
|
505
|
-
sharedState: import("
|
|
505
|
+
sharedState: import("@atlaskit/editor-plugins/toolbar").EditorToolbarPluginState;
|
|
506
506
|
}, import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions | undefined>>];
|
|
507
507
|
pluginConfiguration: import("@atlaskit/editor-plugins/code-block").CodeBlockPluginOptions | undefined;
|
|
508
508
|
sharedState: {
|
|
@@ -645,11 +645,11 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
645
645
|
contextualFormattingMode: () => ContextualFormattingEnabledOptions;
|
|
646
646
|
getBreakpointPreset: () => BreakpointPreset | undefined;
|
|
647
647
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
648
|
-
registerComponents: import("
|
|
648
|
+
registerComponents: import("@atlaskit/editor-plugins/toolbar").RegisterComponentsAction;
|
|
649
649
|
};
|
|
650
650
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/selection").SelectionPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-connectivity").ConnectivityPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>];
|
|
651
651
|
pluginConfiguration?: import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions;
|
|
652
|
-
sharedState: import("
|
|
652
|
+
sharedState: import("@atlaskit/editor-plugins/toolbar").EditorToolbarPluginState;
|
|
653
653
|
}, import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"userIntent", {
|
|
654
654
|
commands: {
|
|
655
655
|
setCurrentUserIntent: (newCurrentUserIntent: import("@atlaskit/editor-plugins/user-intent").UserIntent) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -692,7 +692,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
692
692
|
removeDecoration: typeof import("packages/editor/editor-plugin-decorations/dist/types/pm-plugins/main").removeDecoration;
|
|
693
693
|
};
|
|
694
694
|
commands: {
|
|
695
|
-
hoverDecoration?: import("
|
|
695
|
+
hoverDecoration?: import("@atlaskit/editor-plugins/decorations").HoverDecorationCommand;
|
|
696
696
|
removeDecoration?: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
697
697
|
};
|
|
698
698
|
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
@@ -732,6 +732,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
732
732
|
dependencies: import("@atlaskit/editor-plugins/paste").PastePluginDependencies;
|
|
733
733
|
pluginConfiguration: import("@atlaskit/editor-plugins/paste").PastePluginOptions;
|
|
734
734
|
sharedState: {
|
|
735
|
+
activeFlag: import("@atlaskit/editor-plugins/paste").ActiveFlag | null;
|
|
735
736
|
lastContentPasted: import("@atlaskit/editor-plugins/paste").LastContentPasted | null;
|
|
736
737
|
};
|
|
737
738
|
}, import("@atlaskit/editor-plugins/paste").PastePluginOptions>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"betterTypeHistory", {
|
|
@@ -358,7 +358,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
358
358
|
removeDecoration: typeof import("packages/editor/editor-plugin-decorations/dist/types/pm-plugins/main").removeDecoration;
|
|
359
359
|
};
|
|
360
360
|
commands: {
|
|
361
|
-
hoverDecoration?: import("
|
|
361
|
+
hoverDecoration?: import("@atlaskit/editor-plugins/decorations").HoverDecorationCommand;
|
|
362
362
|
removeDecoration?: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
363
363
|
};
|
|
364
364
|
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
@@ -401,7 +401,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
401
401
|
registerBlockMenuComponents: (blockMenuComponents: Array<import("@atlaskit/editor-plugins/block-menu").RegisterBlockMenuComponent>) => void;
|
|
402
402
|
};
|
|
403
403
|
commands: {
|
|
404
|
-
formatNode: (targetType: import("
|
|
404
|
+
formatNode: (targetType: import("@atlaskit/editor-plugins/block-menu").FormatNodeTargetType, analyticsAttrs?: import("@atlaskit/editor-plugins/block-menu").FormatNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
405
405
|
transformNode: (targetType: import("prosemirror-model").NodeType, metadata?: import("@atlaskit/editor-plugins/block-menu").TransformNodeMetadata) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
406
406
|
};
|
|
407
407
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-controls").BlockControlsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/selection").SelectionPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/decorations").DecorationsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>];
|
|
@@ -425,11 +425,11 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
425
425
|
contextualFormattingMode: () => import("@atlaskit/editor-common/toolbar").ContextualFormattingEnabledOptions;
|
|
426
426
|
getBreakpointPreset: () => import("@atlaskit/editor-toolbar").BreakpointPreset | undefined;
|
|
427
427
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
428
|
-
registerComponents: import("
|
|
428
|
+
registerComponents: import("@atlaskit/editor-plugins/toolbar").RegisterComponentsAction;
|
|
429
429
|
};
|
|
430
430
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/selection").SelectionPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-connectivity").ConnectivityPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>];
|
|
431
431
|
pluginConfiguration?: import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions;
|
|
432
|
-
sharedState: import("
|
|
432
|
+
sharedState: import("@atlaskit/editor-plugins/toolbar").EditorToolbarPluginState;
|
|
433
433
|
}, import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions | undefined>>];
|
|
434
434
|
pluginConfiguration: import("@atlaskit/editor-plugins/code-block").CodeBlockPluginOptions | undefined;
|
|
435
435
|
sharedState: {
|
|
@@ -572,11 +572,11 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
572
572
|
contextualFormattingMode: () => import("@atlaskit/editor-common/toolbar").ContextualFormattingEnabledOptions;
|
|
573
573
|
getBreakpointPreset: () => import("@atlaskit/editor-toolbar").BreakpointPreset | undefined;
|
|
574
574
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
575
|
-
registerComponents: import("
|
|
575
|
+
registerComponents: import("@atlaskit/editor-plugins/toolbar").RegisterComponentsAction;
|
|
576
576
|
};
|
|
577
577
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/selection").SelectionPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-connectivity").ConnectivityPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>];
|
|
578
578
|
pluginConfiguration?: import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions;
|
|
579
|
-
sharedState: import("
|
|
579
|
+
sharedState: import("@atlaskit/editor-plugins/toolbar").EditorToolbarPluginState;
|
|
580
580
|
}, import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"userIntent", {
|
|
581
581
|
commands: {
|
|
582
582
|
setCurrentUserIntent: (newCurrentUserIntent: import("@atlaskit/editor-plugins/user-intent").UserIntent) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -619,7 +619,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
619
619
|
removeDecoration: typeof import("packages/editor/editor-plugin-decorations/dist/types/pm-plugins/main").removeDecoration;
|
|
620
620
|
};
|
|
621
621
|
commands: {
|
|
622
|
-
hoverDecoration?: import("
|
|
622
|
+
hoverDecoration?: import("@atlaskit/editor-plugins/decorations").HoverDecorationCommand;
|
|
623
623
|
removeDecoration?: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
624
624
|
};
|
|
625
625
|
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
@@ -659,6 +659,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
659
659
|
dependencies: import("@atlaskit/editor-plugins/paste").PastePluginDependencies;
|
|
660
660
|
pluginConfiguration: import("@atlaskit/editor-plugins/paste").PastePluginOptions;
|
|
661
661
|
sharedState: {
|
|
662
|
+
activeFlag: import("@atlaskit/editor-plugins/paste").ActiveFlag | null;
|
|
662
663
|
lastContentPasted: import("@atlaskit/editor-plugins/paste").LastContentPasted | null;
|
|
663
664
|
};
|
|
664
665
|
}, import("@atlaskit/editor-plugins/paste").PastePluginOptions>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"betterTypeHistory", {
|
|
@@ -6,7 +6,7 @@ import type { ErrorReportingHandler } from '@atlaskit/editor-common/error-report
|
|
|
6
6
|
import type { ExtensionHandlers, ExtensionProvider } from '@atlaskit/editor-common/extensions';
|
|
7
7
|
import type { AllEditorPresetPluginTypes, AllPluginNames, EditorPresetBuilder } from '@atlaskit/editor-common/preset';
|
|
8
8
|
import type { ContextIdentifierProvider, Providers, SearchProvider } from '@atlaskit/editor-common/provider-factory';
|
|
9
|
-
import type { EditorAppearance, EmptyStateHandler, FeedbackInfo, LinkingOptions, PerformanceTracking, QuickInsertOptions, Transformer } from '@atlaskit/editor-common/types';
|
|
9
|
+
import type { EditorAppearance, EmptyStateHandler, FeedbackInfo, LinkingOptions, PerformanceTracking, QuickInsertOptions, PasteWarningOptions, Transformer } from '@atlaskit/editor-common/types';
|
|
10
10
|
import type { UseStickyToolbarType } from '@atlaskit/editor-common/ui';
|
|
11
11
|
import type { MenuItem } from '@atlaskit/editor-common/ui-menu';
|
|
12
12
|
import type { AnnotationProviders } from '@atlaskit/editor-plugins/annotation';
|
|
@@ -273,6 +273,7 @@ export interface EditorPluginFeatureProps {
|
|
|
273
273
|
* @deprecated Use mention.mentionInsertDisplayName instead
|
|
274
274
|
*/
|
|
275
275
|
mentionInsertDisplayName?: boolean;
|
|
276
|
+
pasteWarningOptions?: PasteWarningOptions;
|
|
276
277
|
placeholder?: string;
|
|
277
278
|
placeholderBracketHint?: string;
|
|
278
279
|
saveOnEnter?: boolean;
|
|
@@ -513,7 +513,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
513
513
|
removeDecoration: typeof import("packages/editor/editor-plugin-decorations/dist/types/pm-plugins/main").removeDecoration;
|
|
514
514
|
};
|
|
515
515
|
commands: {
|
|
516
|
-
hoverDecoration?: import("
|
|
516
|
+
hoverDecoration?: import("@atlaskit/editor-plugins/decorations").HoverDecorationCommand;
|
|
517
517
|
removeDecoration?: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
518
518
|
};
|
|
519
519
|
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
@@ -566,7 +566,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
566
566
|
registerBlockMenuComponents: (blockMenuComponents: Array<import("@atlaskit/editor-plugins/block-menu").RegisterBlockMenuComponent>) => void;
|
|
567
567
|
};
|
|
568
568
|
commands: {
|
|
569
|
-
formatNode: (targetType: import("
|
|
569
|
+
formatNode: (targetType: import("@atlaskit/editor-plugins/block-menu").FormatNodeTargetType, analyticsAttrs?: import("@atlaskit/editor-plugins/block-menu").FormatNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
570
570
|
transformNode: (targetType: import("prosemirror-model").NodeType, metadata?: import("@atlaskit/editor-plugins/block-menu").TransformNodeMetadata) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
571
571
|
};
|
|
572
572
|
dependencies: [
|
|
@@ -600,7 +600,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
600
600
|
contextualFormattingMode: () => import("@atlaskit/editor-common/toolbar").ContextualFormattingEnabledOptions;
|
|
601
601
|
getBreakpointPreset: () => import("@atlaskit/editor-toolbar").BreakpointPreset | undefined;
|
|
602
602
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
603
|
-
registerComponents: import("
|
|
603
|
+
registerComponents: import("@atlaskit/editor-plugins/toolbar").RegisterComponentsAction;
|
|
604
604
|
};
|
|
605
605
|
dependencies: [
|
|
606
606
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>,
|
|
@@ -611,7 +611,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
611
611
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>
|
|
612
612
|
];
|
|
613
613
|
pluginConfiguration?: import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions;
|
|
614
|
-
sharedState: import("
|
|
614
|
+
sharedState: import("@atlaskit/editor-plugins/toolbar").EditorToolbarPluginState;
|
|
615
615
|
}, import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions | undefined>>
|
|
616
616
|
];
|
|
617
617
|
pluginConfiguration: import("@atlaskit/editor-plugins/code-block").CodeBlockPluginOptions | undefined;
|
|
@@ -818,7 +818,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
818
818
|
contextualFormattingMode: () => import("@atlaskit/editor-common/toolbar").ContextualFormattingEnabledOptions;
|
|
819
819
|
getBreakpointPreset: () => import("@atlaskit/editor-toolbar").BreakpointPreset | undefined;
|
|
820
820
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
821
|
-
registerComponents: import("
|
|
821
|
+
registerComponents: import("@atlaskit/editor-plugins/toolbar").RegisterComponentsAction;
|
|
822
822
|
};
|
|
823
823
|
dependencies: [
|
|
824
824
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>,
|
|
@@ -829,7 +829,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
829
829
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>
|
|
830
830
|
];
|
|
831
831
|
pluginConfiguration?: import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions;
|
|
832
|
-
sharedState: import("
|
|
832
|
+
sharedState: import("@atlaskit/editor-plugins/toolbar").EditorToolbarPluginState;
|
|
833
833
|
}, import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions | undefined> | undefined,
|
|
834
834
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"userIntent", {
|
|
835
835
|
commands: {
|
|
@@ -882,7 +882,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
882
882
|
removeDecoration: typeof import("packages/editor/editor-plugin-decorations/dist/types/pm-plugins/main").removeDecoration;
|
|
883
883
|
};
|
|
884
884
|
commands: {
|
|
885
|
-
hoverDecoration?: import("
|
|
885
|
+
hoverDecoration?: import("@atlaskit/editor-plugins/decorations").HoverDecorationCommand;
|
|
886
886
|
removeDecoration?: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
887
887
|
};
|
|
888
888
|
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
@@ -935,6 +935,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
935
935
|
dependencies: import("@atlaskit/editor-plugins/paste").PastePluginDependencies;
|
|
936
936
|
pluginConfiguration: import("@atlaskit/editor-plugins/paste").PastePluginOptions;
|
|
937
937
|
sharedState: {
|
|
938
|
+
activeFlag: import("@atlaskit/editor-plugins/paste").ActiveFlag | null;
|
|
938
939
|
lastContentPasted: import("@atlaskit/editor-plugins/paste").LastContentPasted | null;
|
|
939
940
|
};
|
|
940
941
|
}, import("@atlaskit/editor-plugins/paste").PastePluginOptions>,
|
|
@@ -586,7 +586,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
586
586
|
removeDecoration: typeof import("packages/editor/editor-plugin-decorations/dist/types/pm-plugins/main").removeDecoration;
|
|
587
587
|
};
|
|
588
588
|
commands: {
|
|
589
|
-
hoverDecoration?: import("
|
|
589
|
+
hoverDecoration?: import("@atlaskit/editor-plugins/decorations").HoverDecorationCommand;
|
|
590
590
|
removeDecoration?: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
591
591
|
};
|
|
592
592
|
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
@@ -639,7 +639,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
639
639
|
registerBlockMenuComponents: (blockMenuComponents: Array<import("@atlaskit/editor-plugins/block-menu").RegisterBlockMenuComponent>) => void;
|
|
640
640
|
};
|
|
641
641
|
commands: {
|
|
642
|
-
formatNode: (targetType: import("
|
|
642
|
+
formatNode: (targetType: import("@atlaskit/editor-plugins/block-menu").FormatNodeTargetType, analyticsAttrs?: import("@atlaskit/editor-plugins/block-menu").FormatNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
643
643
|
transformNode: (targetType: import("prosemirror-model").NodeType, metadata?: import("@atlaskit/editor-plugins/block-menu").TransformNodeMetadata) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
644
644
|
};
|
|
645
645
|
dependencies: [
|
|
@@ -673,7 +673,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
673
673
|
contextualFormattingMode: () => ContextualFormattingEnabledOptions;
|
|
674
674
|
getBreakpointPreset: () => BreakpointPreset | undefined;
|
|
675
675
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
676
|
-
registerComponents: import("
|
|
676
|
+
registerComponents: import("@atlaskit/editor-plugins/toolbar").RegisterComponentsAction;
|
|
677
677
|
};
|
|
678
678
|
dependencies: [
|
|
679
679
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>,
|
|
@@ -684,7 +684,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
684
684
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>
|
|
685
685
|
];
|
|
686
686
|
pluginConfiguration?: import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions;
|
|
687
|
-
sharedState: import("
|
|
687
|
+
sharedState: import("@atlaskit/editor-plugins/toolbar").EditorToolbarPluginState;
|
|
688
688
|
}, import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions | undefined>>
|
|
689
689
|
];
|
|
690
690
|
pluginConfiguration: import("@atlaskit/editor-plugins/code-block").CodeBlockPluginOptions | undefined;
|
|
@@ -891,7 +891,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
891
891
|
contextualFormattingMode: () => ContextualFormattingEnabledOptions;
|
|
892
892
|
getBreakpointPreset: () => BreakpointPreset | undefined;
|
|
893
893
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
894
|
-
registerComponents: import("
|
|
894
|
+
registerComponents: import("@atlaskit/editor-plugins/toolbar").RegisterComponentsAction;
|
|
895
895
|
};
|
|
896
896
|
dependencies: [
|
|
897
897
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>,
|
|
@@ -902,7 +902,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
902
902
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>
|
|
903
903
|
];
|
|
904
904
|
pluginConfiguration?: import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions;
|
|
905
|
-
sharedState: import("
|
|
905
|
+
sharedState: import("@atlaskit/editor-plugins/toolbar").EditorToolbarPluginState;
|
|
906
906
|
}, import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions | undefined> | undefined,
|
|
907
907
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"userIntent", {
|
|
908
908
|
commands: {
|
|
@@ -955,7 +955,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
955
955
|
removeDecoration: typeof import("packages/editor/editor-plugin-decorations/dist/types/pm-plugins/main").removeDecoration;
|
|
956
956
|
};
|
|
957
957
|
commands: {
|
|
958
|
-
hoverDecoration?: import("
|
|
958
|
+
hoverDecoration?: import("@atlaskit/editor-plugins/decorations").HoverDecorationCommand;
|
|
959
959
|
removeDecoration?: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
960
960
|
};
|
|
961
961
|
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
@@ -1008,6 +1008,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1008
1008
|
dependencies: import("@atlaskit/editor-plugins/paste").PastePluginDependencies;
|
|
1009
1009
|
pluginConfiguration: import("@atlaskit/editor-plugins/paste").PastePluginOptions;
|
|
1010
1010
|
sharedState: {
|
|
1011
|
+
activeFlag: import("@atlaskit/editor-plugins/paste").ActiveFlag | null;
|
|
1011
1012
|
lastContentPasted: import("@atlaskit/editor-plugins/paste").LastContentPasted | null;
|
|
1012
1013
|
};
|
|
1013
1014
|
}, import("@atlaskit/editor-plugins/paste").PastePluginOptions>,
|
|
@@ -513,7 +513,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
513
513
|
removeDecoration: typeof import("packages/editor/editor-plugin-decorations/dist/types/pm-plugins/main").removeDecoration;
|
|
514
514
|
};
|
|
515
515
|
commands: {
|
|
516
|
-
hoverDecoration?: import("
|
|
516
|
+
hoverDecoration?: import("@atlaskit/editor-plugins/decorations").HoverDecorationCommand;
|
|
517
517
|
removeDecoration?: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
518
518
|
};
|
|
519
519
|
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
@@ -566,7 +566,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
566
566
|
registerBlockMenuComponents: (blockMenuComponents: Array<import("@atlaskit/editor-plugins/block-menu").RegisterBlockMenuComponent>) => void;
|
|
567
567
|
};
|
|
568
568
|
commands: {
|
|
569
|
-
formatNode: (targetType: import("
|
|
569
|
+
formatNode: (targetType: import("@atlaskit/editor-plugins/block-menu").FormatNodeTargetType, analyticsAttrs?: import("@atlaskit/editor-plugins/block-menu").FormatNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
570
570
|
transformNode: (targetType: import("prosemirror-model").NodeType, metadata?: import("@atlaskit/editor-plugins/block-menu").TransformNodeMetadata) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
571
571
|
};
|
|
572
572
|
dependencies: [
|
|
@@ -600,7 +600,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
600
600
|
contextualFormattingMode: () => import("@atlaskit/editor-common/toolbar").ContextualFormattingEnabledOptions;
|
|
601
601
|
getBreakpointPreset: () => import("@atlaskit/editor-toolbar").BreakpointPreset | undefined;
|
|
602
602
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
603
|
-
registerComponents: import("
|
|
603
|
+
registerComponents: import("@atlaskit/editor-plugins/toolbar").RegisterComponentsAction;
|
|
604
604
|
};
|
|
605
605
|
dependencies: [
|
|
606
606
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>,
|
|
@@ -611,7 +611,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
611
611
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>
|
|
612
612
|
];
|
|
613
613
|
pluginConfiguration?: import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions;
|
|
614
|
-
sharedState: import("
|
|
614
|
+
sharedState: import("@atlaskit/editor-plugins/toolbar").EditorToolbarPluginState;
|
|
615
615
|
}, import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions | undefined>>
|
|
616
616
|
];
|
|
617
617
|
pluginConfiguration: import("@atlaskit/editor-plugins/code-block").CodeBlockPluginOptions | undefined;
|
|
@@ -818,7 +818,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
818
818
|
contextualFormattingMode: () => import("@atlaskit/editor-common/toolbar").ContextualFormattingEnabledOptions;
|
|
819
819
|
getBreakpointPreset: () => import("@atlaskit/editor-toolbar").BreakpointPreset | undefined;
|
|
820
820
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
821
|
-
registerComponents: import("
|
|
821
|
+
registerComponents: import("@atlaskit/editor-plugins/toolbar").RegisterComponentsAction;
|
|
822
822
|
};
|
|
823
823
|
dependencies: [
|
|
824
824
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>,
|
|
@@ -829,7 +829,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
829
829
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>
|
|
830
830
|
];
|
|
831
831
|
pluginConfiguration?: import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions;
|
|
832
|
-
sharedState: import("
|
|
832
|
+
sharedState: import("@atlaskit/editor-plugins/toolbar").EditorToolbarPluginState;
|
|
833
833
|
}, import("@atlaskit/editor-plugins/toolbar").ToolbarPluginOptions | undefined> | undefined,
|
|
834
834
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"userIntent", {
|
|
835
835
|
commands: {
|
|
@@ -882,7 +882,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
882
882
|
removeDecoration: typeof import("packages/editor/editor-plugin-decorations/dist/types/pm-plugins/main").removeDecoration;
|
|
883
883
|
};
|
|
884
884
|
commands: {
|
|
885
|
-
hoverDecoration?: import("
|
|
885
|
+
hoverDecoration?: import("@atlaskit/editor-plugins/decorations").HoverDecorationCommand;
|
|
886
886
|
removeDecoration?: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
887
887
|
};
|
|
888
888
|
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
@@ -935,6 +935,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
935
935
|
dependencies: import("@atlaskit/editor-plugins/paste").PastePluginDependencies;
|
|
936
936
|
pluginConfiguration: import("@atlaskit/editor-plugins/paste").PastePluginOptions;
|
|
937
937
|
sharedState: {
|
|
938
|
+
activeFlag: import("@atlaskit/editor-plugins/paste").ActiveFlag | null;
|
|
938
939
|
lastContentPasted: import("@atlaskit/editor-plugins/paste").LastContentPasted | null;
|
|
939
940
|
};
|
|
940
941
|
}, import("@atlaskit/editor-plugins/paste").PastePluginOptions>,
|
|
@@ -6,7 +6,7 @@ import type { ErrorReportingHandler } from '@atlaskit/editor-common/error-report
|
|
|
6
6
|
import type { ExtensionHandlers, ExtensionProvider } from '@atlaskit/editor-common/extensions';
|
|
7
7
|
import type { AllEditorPresetPluginTypes, AllPluginNames, EditorPresetBuilder } from '@atlaskit/editor-common/preset';
|
|
8
8
|
import type { ContextIdentifierProvider, Providers, SearchProvider } from '@atlaskit/editor-common/provider-factory';
|
|
9
|
-
import type { EditorAppearance, EmptyStateHandler, FeedbackInfo, LinkingOptions, PerformanceTracking, QuickInsertOptions, Transformer } from '@atlaskit/editor-common/types';
|
|
9
|
+
import type { EditorAppearance, EmptyStateHandler, FeedbackInfo, LinkingOptions, PerformanceTracking, QuickInsertOptions, PasteWarningOptions, Transformer } from '@atlaskit/editor-common/types';
|
|
10
10
|
import type { UseStickyToolbarType } from '@atlaskit/editor-common/ui';
|
|
11
11
|
import type { MenuItem } from '@atlaskit/editor-common/ui-menu';
|
|
12
12
|
import type { AnnotationProviders } from '@atlaskit/editor-plugins/annotation';
|
|
@@ -273,6 +273,7 @@ export interface EditorPluginFeatureProps {
|
|
|
273
273
|
* @deprecated Use mention.mentionInsertDisplayName instead
|
|
274
274
|
*/
|
|
275
275
|
mentionInsertDisplayName?: boolean;
|
|
276
|
+
pasteWarningOptions?: PasteWarningOptions;
|
|
276
277
|
placeholder?: string;
|
|
277
278
|
placeholderBracketHint?: string;
|
|
278
279
|
saveOnEnter?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "216.7.
|
|
3
|
+
"version": "216.7.8",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -60,13 +60,13 @@
|
|
|
60
60
|
"@atlaskit/emoji": "^69.10.0",
|
|
61
61
|
"@atlaskit/icon": "^30.0.0",
|
|
62
62
|
"@atlaskit/link": "^3.3.0",
|
|
63
|
-
"@atlaskit/media-card": "^79.
|
|
63
|
+
"@atlaskit/media-card": "^79.15.0",
|
|
64
64
|
"@atlaskit/mention": "^24.4.0",
|
|
65
65
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
66
66
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
67
67
|
"@atlaskit/react-ufo": "^5.0.0",
|
|
68
68
|
"@atlaskit/task-decision": "^19.2.0",
|
|
69
|
-
"@atlaskit/tmp-editor-statsig": "^16.
|
|
69
|
+
"@atlaskit/tmp-editor-statsig": "^16.32.0",
|
|
70
70
|
"@atlaskit/tokens": "^10.1.0",
|
|
71
71
|
"@atlaskit/tooltip": "^20.14.0",
|
|
72
72
|
"@atlaskit/width-detector": "^5.0.0",
|
|
@@ -97,10 +97,10 @@
|
|
|
97
97
|
"@atlaskit/adf-utils": "^19.27.0",
|
|
98
98
|
"@atlaskit/analytics-listeners": "^9.3.0",
|
|
99
99
|
"@atlaskit/collab-provider": "^15.0.0",
|
|
100
|
-
"@atlaskit/editor-plugin-annotation": "^7.
|
|
100
|
+
"@atlaskit/editor-plugin-annotation": "^7.1.0",
|
|
101
101
|
"@atlaskit/editor-plugin-card": "^12.1.0",
|
|
102
102
|
"@atlaskit/editor-plugin-list": "^9.0.0",
|
|
103
|
-
"@atlaskit/editor-plugin-paste": "^8.
|
|
103
|
+
"@atlaskit/editor-plugin-paste": "^8.1.0",
|
|
104
104
|
"@atlaskit/link-provider": "^4.1.0",
|
|
105
105
|
"@atlaskit/logo": "^19.10.0",
|
|
106
106
|
"@atlaskit/media-core": "^37.0.0",
|