@atlaskit/editor-core 203.7.2 → 203.7.4
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 +14 -0
- package/codemods/__tests__/next-remove-allow-more-text-colors-prop.ts +2 -0
- package/codemods/__tests__/remove-config-panel-width-prop.ts +2 -0
- package/codemods/__tests__/rename-editor-to-editor-migration-component.ts +2 -0
- package/codemods/__tests__/rename-smartlinks-prop.ts +2 -0
- package/codemods/__tests__/rename-unsafe-allowUndoRedoButtons-prop.ts +2 -0
- package/codemods/__tests__/rename-unsafe-cards-prop.ts +2 -0
- package/codemods/utils.ts +2 -0
- package/dist/cjs/CollapsedEditor/index.js +4 -1
- package/dist/cjs/actions/index.js +7 -0
- package/dist/cjs/composable-editor/composable-editor.js +4 -0
- package/dist/cjs/composable-editor/core-editor.js +6 -1
- package/dist/cjs/composable-editor/editor-internal.js +13 -2
- package/dist/cjs/composable-editor/hooks/useProviderFactory.js +6 -1
- package/dist/cjs/composable-editor/utils/handleProviders.js +2 -0
- package/dist/cjs/create-editor/ErrorBoundary.js +2 -0
- package/dist/cjs/create-editor/ReactEditorView.js +8 -1
- package/dist/cjs/create-editor/WithEditorView.js +8 -3
- package/dist/cjs/create-editor/create-editor.js +2 -0
- package/dist/cjs/create-editor/feature-flags-from-props.js +2 -0
- package/dist/cjs/editor-appearances/ChromelessEditor.js +2 -0
- package/dist/cjs/editor-appearances/CommentEditor.js +2 -0
- package/dist/cjs/editor-appearances/FullPageEditor.js +4 -1
- package/dist/cjs/editor-appearances/FullWidthEditor.js +2 -0
- package/dist/cjs/editor.js +4 -0
- package/dist/cjs/test-utils.js +2 -0
- package/dist/cjs/ui/Addon/ClickAreaMobile/index.js +2 -0
- package/dist/cjs/ui/Addon/Dropdown/index.js +2 -0
- package/dist/cjs/ui/Addon/click-area-helper.js +13 -2
- package/dist/cjs/ui/Appearance/Chromeless.js +2 -0
- package/dist/cjs/ui/Appearance/Comment/Comment.js +15 -3
- package/dist/cjs/ui/Appearance/Comment/Toolbar.js +4 -1
- package/dist/cjs/ui/Appearance/FullPage/FullPage.js +12 -3
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea.js +3 -0
- package/dist/cjs/ui/Appearance/FullPage/FullPageToolbar.js +4 -0
- package/dist/cjs/ui/ChromeCollapsed/index.js +2 -0
- package/dist/cjs/ui/CollapsedEditor/index.js +2 -0
- package/dist/cjs/ui/ContentStyles/status.js +13 -2
- package/dist/cjs/ui/ContextPanel/index.js +10 -4
- package/dist/cjs/ui/EditorContext/index.js +11 -0
- package/dist/cjs/ui/ErrorBoundary/index.js +2 -0
- package/dist/cjs/ui/PluginSlot/index.js +10 -0
- package/dist/cjs/ui/PluginSlot/mount-plugin-hooks.js +4 -1
- package/dist/cjs/ui/Toolbar/ToolbarInner.js +5 -0
- package/dist/cjs/ui/Toolbar/ToolbarWithSizeDetector.js +8 -2
- package/dist/cjs/ui/WithEditorActions/index.js +11 -1
- package/dist/cjs/ui/WithFlash/index.js +2 -0
- package/dist/cjs/ui/WithHelpTrigger/index.js +4 -0
- package/dist/cjs/utils/extensions.js +5 -1
- package/dist/cjs/utils/findChangedNodesFromTransaction.js +2 -0
- package/dist/cjs/utils/outdatedBrowsers.js +21 -1
- package/dist/cjs/utils/prepare-quick-insert-provider.js +2 -0
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/CollapsedEditor/index.js +6 -0
- package/dist/es2019/actions/index.js +8 -0
- package/dist/es2019/composable-editor/composable-editor.js +4 -0
- package/dist/es2019/composable-editor/core-editor.js +6 -1
- package/dist/es2019/composable-editor/editor-internal.js +13 -2
- package/dist/es2019/composable-editor/hooks/useProviderFactory.js +6 -1
- package/dist/es2019/composable-editor/utils/handleProviders.js +2 -0
- package/dist/es2019/create-editor/ErrorBoundary.js +2 -0
- package/dist/es2019/create-editor/ReactEditorView.js +6 -0
- package/dist/es2019/create-editor/WithEditorView.js +8 -3
- package/dist/es2019/create-editor/create-editor.js +2 -0
- package/dist/es2019/create-editor/feature-flags-from-props.js +2 -0
- package/dist/es2019/editor-appearances/ChromelessEditor.js +2 -0
- package/dist/es2019/editor-appearances/CommentEditor.js +2 -0
- package/dist/es2019/editor-appearances/FullPageEditor.js +4 -1
- package/dist/es2019/editor-appearances/FullWidthEditor.js +2 -0
- package/dist/es2019/editor.js +4 -0
- package/dist/es2019/test-utils.js +2 -0
- package/dist/es2019/ui/Addon/ClickAreaMobile/index.js +2 -0
- package/dist/es2019/ui/Addon/Dropdown/index.js +2 -0
- package/dist/es2019/ui/Addon/click-area-helper.js +13 -2
- package/dist/es2019/ui/Appearance/Chromeless.js +2 -0
- package/dist/es2019/ui/Appearance/Comment/Comment.js +14 -3
- package/dist/es2019/ui/Appearance/Comment/Toolbar.js +4 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPage.js +12 -3
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea.js +2 -0
- package/dist/es2019/ui/Appearance/FullPage/FullPageToolbar.js +4 -0
- package/dist/es2019/ui/ChromeCollapsed/index.js +3 -2
- package/dist/es2019/ui/CollapsedEditor/index.js +2 -0
- package/dist/es2019/ui/ContentStyles/status.js +23 -5
- package/dist/es2019/ui/ContextPanel/index.js +10 -4
- package/dist/es2019/ui/EditorContext/index.js +11 -0
- package/dist/es2019/ui/ErrorBoundary/index.js +2 -0
- package/dist/es2019/ui/PluginSlot/index.js +10 -0
- package/dist/es2019/ui/PluginSlot/mount-plugin-hooks.js +4 -1
- package/dist/es2019/ui/Toolbar/ToolbarInner.js +5 -0
- package/dist/es2019/ui/Toolbar/ToolbarWithSizeDetector.js +8 -2
- package/dist/es2019/ui/WithEditorActions/index.js +12 -0
- package/dist/es2019/ui/WithFlash/index.js +2 -0
- package/dist/es2019/ui/WithHelpTrigger/index.js +4 -0
- package/dist/es2019/utils/extensions.js +6 -0
- package/dist/es2019/utils/findChangedNodesFromTransaction.js +2 -0
- package/dist/es2019/utils/outdatedBrowsers.js +21 -1
- package/dist/es2019/utils/prepare-quick-insert-provider.js +2 -0
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/CollapsedEditor/index.js +6 -0
- package/dist/esm/actions/index.js +7 -0
- package/dist/esm/composable-editor/composable-editor.js +4 -0
- package/dist/esm/composable-editor/core-editor.js +6 -1
- package/dist/esm/composable-editor/editor-internal.js +13 -2
- package/dist/esm/composable-editor/hooks/useProviderFactory.js +6 -1
- package/dist/esm/composable-editor/utils/handleProviders.js +2 -0
- package/dist/esm/create-editor/ErrorBoundary.js +2 -0
- package/dist/esm/create-editor/ReactEditorView.js +8 -1
- package/dist/esm/create-editor/WithEditorView.js +8 -3
- package/dist/esm/create-editor/create-editor.js +2 -0
- package/dist/esm/create-editor/feature-flags-from-props.js +2 -0
- package/dist/esm/editor-appearances/ChromelessEditor.js +2 -0
- package/dist/esm/editor-appearances/CommentEditor.js +2 -0
- package/dist/esm/editor-appearances/FullPageEditor.js +4 -1
- package/dist/esm/editor-appearances/FullWidthEditor.js +2 -0
- package/dist/esm/editor.js +4 -0
- package/dist/esm/test-utils.js +2 -0
- package/dist/esm/ui/Addon/ClickAreaMobile/index.js +2 -0
- package/dist/esm/ui/Addon/Dropdown/index.js +2 -0
- package/dist/esm/ui/Addon/click-area-helper.js +13 -2
- package/dist/esm/ui/Appearance/Chromeless.js +2 -0
- package/dist/esm/ui/Appearance/Comment/Comment.js +14 -3
- package/dist/esm/ui/Appearance/Comment/Toolbar.js +4 -1
- package/dist/esm/ui/Appearance/FullPage/FullPage.js +12 -3
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea.js +2 -0
- package/dist/esm/ui/Appearance/FullPage/FullPageToolbar.js +4 -0
- package/dist/esm/ui/ChromeCollapsed/index.js +3 -2
- package/dist/esm/ui/CollapsedEditor/index.js +2 -0
- package/dist/esm/ui/ContentStyles/status.js +15 -4
- package/dist/esm/ui/ContextPanel/index.js +10 -4
- package/dist/esm/ui/EditorContext/index.js +11 -0
- package/dist/esm/ui/ErrorBoundary/index.js +2 -0
- package/dist/esm/ui/PluginSlot/index.js +10 -0
- package/dist/esm/ui/PluginSlot/mount-plugin-hooks.js +4 -1
- package/dist/esm/ui/Toolbar/ToolbarInner.js +5 -0
- package/dist/esm/ui/Toolbar/ToolbarWithSizeDetector.js +8 -2
- package/dist/esm/ui/WithEditorActions/index.js +11 -1
- package/dist/esm/ui/WithFlash/index.js +2 -0
- package/dist/esm/ui/WithHelpTrigger/index.js +4 -0
- package/dist/esm/utils/extensions.js +6 -0
- package/dist/esm/utils/findChangedNodesFromTransaction.js +2 -0
- package/dist/esm/utils/outdatedBrowsers.js +21 -1
- package/dist/esm/utils/prepare-quick-insert-provider.js +2 -0
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/ReactEditorView.d.ts +1 -1
- package/dist/types/create-editor/create-universal-preset.d.ts +1825 -1825
- package/dist/types/create-editor/get-plugins.d.ts +2 -2
- package/dist/types/presets/default.d.ts +476 -476
- package/dist/types/presets/universal.d.ts +1394 -1394
- package/dist/types/presets/useUniversalPreset.d.ts +2032 -2032
- package/dist/types/ui/CollapsedEditor/index.d.ts +1 -2
- package/dist/types/ui/EditorContext/index.d.ts +2 -2
- package/dist/types/ui/WithEditorActions/index.d.ts +1 -1
- package/dist/types-ts4.5/create-editor/ReactEditorView.d.ts +1 -1
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +1823 -1823
- package/dist/types-ts4.5/create-editor/get-plugins.d.ts +2 -2
- package/dist/types-ts4.5/presets/default.d.ts +476 -476
- package/dist/types-ts4.5/presets/universal.d.ts +1394 -1394
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +2030 -2030
- package/dist/types-ts4.5/ui/CollapsedEditor/index.d.ts +1 -2
- package/dist/types-ts4.5/ui/EditorContext/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/WithEditorActions/index.d.ts +1 -1
- package/docs/0-intro.tsx +6 -0
- package/docs/1-legacy-editor.tsx +6 -0
- package/docs/4-annotations.tsx +2 -0
- package/package.json +12 -8
- package/tsconfig.json +0 -1
|
@@ -143,7 +143,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
143
143
|
} | undefined;
|
|
144
144
|
}, undefined>>,
|
|
145
145
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
146
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
146
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
147
147
|
dependencies: [
|
|
148
148
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
149
149
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -197,12 +197,12 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
197
197
|
editSelectedExtension: () => boolean;
|
|
198
198
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI;
|
|
199
199
|
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: EditorView) => Promise<boolean>;
|
|
200
|
-
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-
|
|
201
|
-
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-
|
|
202
|
-
runMacroAutoConvert: import("@atlaskit/editor-
|
|
203
|
-
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-
|
|
200
|
+
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
201
|
+
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
202
|
+
runMacroAutoConvert: import("@atlaskit/editor-plugins/extension").RunMacroAutoConvert;
|
|
203
|
+
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugins/context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugins/extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
204
204
|
};
|
|
205
|
-
}, import("@atlaskit/editor-
|
|
205
|
+
}, import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined>>,
|
|
206
206
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
207
207
|
dependencies: [
|
|
208
208
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -229,17 +229,17 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
229
229
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
230
230
|
}, undefined>,
|
|
231
231
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
232
|
-
sharedState: import("@atlaskit/editor-
|
|
232
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
233
233
|
dependencies: [
|
|
234
234
|
];
|
|
235
235
|
pluginConfiguration?: {
|
|
236
|
-
mode?: import("@atlaskit/editor-
|
|
236
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
237
237
|
} | undefined;
|
|
238
238
|
commands: {
|
|
239
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
239
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
240
240
|
};
|
|
241
241
|
}, {
|
|
242
|
-
mode?: import("@atlaskit/editor-
|
|
242
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
243
243
|
} | undefined>>,
|
|
244
244
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
245
245
|
dependencies: [
|
|
@@ -272,9 +272,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
272
272
|
dependencies: [
|
|
273
273
|
];
|
|
274
274
|
actions: {
|
|
275
|
-
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-
|
|
275
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
276
276
|
};
|
|
277
|
-
sharedState: import("@atlaskit/editor-
|
|
277
|
+
sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
|
|
278
278
|
}, undefined>>,
|
|
279
279
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"quickInsert", {
|
|
280
280
|
pluginConfiguration: QuickInsertPluginOptions | undefined;
|
|
@@ -353,16 +353,16 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
353
353
|
};
|
|
354
354
|
}, QuickInsertPluginOptions | undefined>>
|
|
355
355
|
];
|
|
356
|
-
sharedState: import("@atlaskit/editor-
|
|
356
|
+
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
357
357
|
commands: {
|
|
358
358
|
moveToLayout: (start: number, to: number, options?: {
|
|
359
359
|
moveToEnd?: boolean | undefined;
|
|
360
360
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
361
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-
|
|
361
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugins/block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
362
362
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
363
363
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | import("react").ReactPortal | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
364
364
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
365
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-
|
|
365
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugins/block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
366
366
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
367
367
|
};
|
|
368
368
|
}, undefined>>,
|
|
@@ -371,7 +371,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
371
371
|
sharedState: FeatureFlags;
|
|
372
372
|
}, FeatureFlags>>,
|
|
373
373
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"emoji", {
|
|
374
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
374
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined;
|
|
375
375
|
dependencies: [
|
|
376
376
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
377
377
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -446,7 +446,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
446
446
|
}, TypeAheadPluginOptions | undefined>,
|
|
447
447
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
448
448
|
sharedState: {
|
|
449
|
-
annotations: import("@atlaskit/editor-
|
|
449
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
450
450
|
isVisible: boolean;
|
|
451
451
|
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
452
452
|
mouseData: {
|
|
@@ -454,14 +454,14 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
454
454
|
};
|
|
455
455
|
};
|
|
456
456
|
actions: {
|
|
457
|
-
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-
|
|
457
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
458
458
|
};
|
|
459
459
|
}, undefined>>,
|
|
460
460
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
461
|
-
sharedState: import("@atlaskit/editor-
|
|
461
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState;
|
|
462
462
|
}, undefined>>
|
|
463
463
|
];
|
|
464
|
-
sharedState: import("@atlaskit/editor-
|
|
464
|
+
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
465
465
|
commands: {
|
|
466
466
|
insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
467
467
|
};
|
|
@@ -469,7 +469,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
469
469
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
470
470
|
setProvider: (provider: Promise<import("@atlaskit/emoji").EmojiProvider>) => Promise<boolean>;
|
|
471
471
|
};
|
|
472
|
-
}, import("@atlaskit/editor-
|
|
472
|
+
}, import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined>>
|
|
473
473
|
];
|
|
474
474
|
actions: {
|
|
475
475
|
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
@@ -530,17 +530,17 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
530
530
|
};
|
|
531
531
|
}, import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined>>,
|
|
532
532
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
533
|
-
sharedState: import("@atlaskit/editor-
|
|
533
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
534
534
|
dependencies: [
|
|
535
535
|
];
|
|
536
536
|
pluginConfiguration?: {
|
|
537
|
-
mode?: import("@atlaskit/editor-
|
|
537
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
538
538
|
} | undefined;
|
|
539
539
|
commands: {
|
|
540
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
540
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
541
541
|
};
|
|
542
542
|
}, {
|
|
543
|
-
mode?: import("@atlaskit/editor-
|
|
543
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
544
544
|
} | undefined>>,
|
|
545
545
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
|
|
546
546
|
dependencies: [
|
|
@@ -554,17 +554,17 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
554
554
|
};
|
|
555
555
|
}, undefined>>,
|
|
556
556
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
|
|
557
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
557
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined;
|
|
558
558
|
dependencies: [
|
|
559
559
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
560
560
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
561
561
|
}, undefined>
|
|
562
562
|
];
|
|
563
|
-
sharedState: import("@atlaskit/editor-
|
|
563
|
+
sharedState: import("@atlaskit/editor-plugins/grid").GridPluginState | null;
|
|
564
564
|
actions: {
|
|
565
|
-
displayGrid: import("@atlaskit/editor-
|
|
565
|
+
displayGrid: import("@atlaskit/editor-plugins/grid").CreateDisplayGrid;
|
|
566
566
|
};
|
|
567
|
-
}, import("@atlaskit/editor-
|
|
567
|
+
}, import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined>,
|
|
568
568
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
569
569
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
570
570
|
}, undefined>,
|
|
@@ -593,7 +593,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
593
593
|
} | undefined;
|
|
594
594
|
}, undefined>>,
|
|
595
595
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
596
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
596
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
597
597
|
dependencies: [
|
|
598
598
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
599
599
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -647,12 +647,12 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
647
647
|
editSelectedExtension: () => boolean;
|
|
648
648
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI;
|
|
649
649
|
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: EditorView) => Promise<boolean>;
|
|
650
|
-
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-
|
|
651
|
-
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-
|
|
652
|
-
runMacroAutoConvert: import("@atlaskit/editor-
|
|
653
|
-
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-
|
|
650
|
+
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
651
|
+
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
652
|
+
runMacroAutoConvert: import("@atlaskit/editor-plugins/extension").RunMacroAutoConvert;
|
|
653
|
+
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugins/context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugins/extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
654
654
|
};
|
|
655
|
-
}, import("@atlaskit/editor-
|
|
655
|
+
}, import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined>>,
|
|
656
656
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
657
657
|
dependencies: [
|
|
658
658
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -679,17 +679,17 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
679
679
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
680
680
|
}, undefined>,
|
|
681
681
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
682
|
-
sharedState: import("@atlaskit/editor-
|
|
682
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
683
683
|
dependencies: [
|
|
684
684
|
];
|
|
685
685
|
pluginConfiguration?: {
|
|
686
|
-
mode?: import("@atlaskit/editor-
|
|
686
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
687
687
|
} | undefined;
|
|
688
688
|
commands: {
|
|
689
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
689
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
690
690
|
};
|
|
691
691
|
}, {
|
|
692
|
-
mode?: import("@atlaskit/editor-
|
|
692
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
693
693
|
} | undefined>>,
|
|
694
694
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
695
695
|
dependencies: [
|
|
@@ -722,9 +722,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
722
722
|
dependencies: [
|
|
723
723
|
];
|
|
724
724
|
actions: {
|
|
725
|
-
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-
|
|
725
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
726
726
|
};
|
|
727
|
-
sharedState: import("@atlaskit/editor-
|
|
727
|
+
sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
|
|
728
728
|
}, undefined>>,
|
|
729
729
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"quickInsert", {
|
|
730
730
|
pluginConfiguration: QuickInsertPluginOptions | undefined;
|
|
@@ -803,16 +803,16 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
803
803
|
};
|
|
804
804
|
}, QuickInsertPluginOptions | undefined>>
|
|
805
805
|
];
|
|
806
|
-
sharedState: import("@atlaskit/editor-
|
|
806
|
+
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
807
807
|
commands: {
|
|
808
808
|
moveToLayout: (start: number, to: number, options?: {
|
|
809
809
|
moveToEnd?: boolean | undefined;
|
|
810
810
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
811
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-
|
|
811
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugins/block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
812
812
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
813
813
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | import("react").ReactPortal | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
814
814
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
815
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-
|
|
815
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugins/block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
816
816
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
817
817
|
};
|
|
818
818
|
}, undefined>>,
|
|
@@ -821,7 +821,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
821
821
|
sharedState: FeatureFlags;
|
|
822
822
|
}, FeatureFlags>>,
|
|
823
823
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"emoji", {
|
|
824
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
824
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined;
|
|
825
825
|
dependencies: [
|
|
826
826
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
827
827
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -896,7 +896,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
896
896
|
}, TypeAheadPluginOptions | undefined>,
|
|
897
897
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
898
898
|
sharedState: {
|
|
899
|
-
annotations: import("@atlaskit/editor-
|
|
899
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
900
900
|
isVisible: boolean;
|
|
901
901
|
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
902
902
|
mouseData: {
|
|
@@ -904,14 +904,14 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
904
904
|
};
|
|
905
905
|
};
|
|
906
906
|
actions: {
|
|
907
|
-
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-
|
|
907
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
908
908
|
};
|
|
909
909
|
}, undefined>>,
|
|
910
910
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
911
|
-
sharedState: import("@atlaskit/editor-
|
|
911
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState;
|
|
912
912
|
}, undefined>>
|
|
913
913
|
];
|
|
914
|
-
sharedState: import("@atlaskit/editor-
|
|
914
|
+
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
915
915
|
commands: {
|
|
916
916
|
insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
917
917
|
};
|
|
@@ -919,7 +919,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
919
919
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
920
920
|
setProvider: (provider: Promise<import("@atlaskit/emoji").EmojiProvider>) => Promise<boolean>;
|
|
921
921
|
};
|
|
922
|
-
}, import("@atlaskit/editor-
|
|
922
|
+
}, import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined>>
|
|
923
923
|
];
|
|
924
924
|
actions: {
|
|
925
925
|
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
@@ -944,8 +944,8 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
944
944
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
945
945
|
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>,
|
|
946
946
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
947
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
948
|
-
sharedState: import("@atlaskit/editor-
|
|
947
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
948
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
949
949
|
dependencies: [
|
|
950
950
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
951
951
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -965,7 +965,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
965
965
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewModeEffects", {
|
|
966
966
|
dependencies: [
|
|
967
967
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"collabEdit", {
|
|
968
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
968
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions;
|
|
969
969
|
dependencies: [
|
|
970
970
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
971
971
|
pluginConfiguration: FeatureFlags;
|
|
@@ -987,20 +987,20 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
987
987
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
988
988
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
989
989
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
990
|
-
sharedState: import("@atlaskit/editor-
|
|
990
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
991
991
|
dependencies: [
|
|
992
992
|
];
|
|
993
993
|
pluginConfiguration?: {
|
|
994
|
-
mode?: import("@atlaskit/editor-
|
|
994
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
995
995
|
} | undefined;
|
|
996
996
|
commands: {
|
|
997
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
997
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
998
998
|
};
|
|
999
999
|
}, {
|
|
1000
|
-
mode?: import("@atlaskit/editor-
|
|
1000
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
1001
1001
|
} | undefined>>
|
|
1002
1002
|
];
|
|
1003
|
-
sharedState: import("@atlaskit/editor-
|
|
1003
|
+
sharedState: import("@atlaskit/editor-plugins/collab-edit").CollabEditPluginSharedState;
|
|
1004
1004
|
actions: {
|
|
1005
1005
|
getAvatarColor: (str: string) => {
|
|
1006
1006
|
index: number;
|
|
@@ -1018,24 +1018,24 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1018
1018
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1019
1019
|
getCurrentCollabState: () => {
|
|
1020
1020
|
version: number | undefined;
|
|
1021
|
-
sendableSteps: import("@atlaskit/editor-
|
|
1021
|
+
sendableSteps: import("@atlaskit/editor-plugins/collab-edit").CollabSendableSteps | null | undefined;
|
|
1022
1022
|
content: import("@atlaskit/editor-json-transformer").JSONNode | undefined;
|
|
1023
1023
|
};
|
|
1024
1024
|
validatePMJSONDocument: (doc: any) => boolean;
|
|
1025
1025
|
};
|
|
1026
|
-
}, import("@atlaskit/editor-
|
|
1026
|
+
}, import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions>,
|
|
1027
1027
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1028
|
-
sharedState: import("@atlaskit/editor-
|
|
1028
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
1029
1029
|
dependencies: [
|
|
1030
1030
|
];
|
|
1031
1031
|
pluginConfiguration?: {
|
|
1032
|
-
mode?: import("@atlaskit/editor-
|
|
1032
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
1033
1033
|
} | undefined;
|
|
1034
1034
|
commands: {
|
|
1035
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
1035
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1036
1036
|
};
|
|
1037
1037
|
}, {
|
|
1038
|
-
mode?: import("@atlaskit/editor-
|
|
1038
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
1039
1039
|
} | undefined>
|
|
1040
1040
|
];
|
|
1041
1041
|
actions: {
|
|
@@ -1043,17 +1043,17 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1043
1043
|
};
|
|
1044
1044
|
}, undefined>>,
|
|
1045
1045
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1046
|
-
sharedState: import("@atlaskit/editor-
|
|
1046
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
1047
1047
|
dependencies: [
|
|
1048
1048
|
];
|
|
1049
1049
|
pluginConfiguration?: {
|
|
1050
|
-
mode?: import("@atlaskit/editor-
|
|
1050
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
1051
1051
|
} | undefined;
|
|
1052
1052
|
commands: {
|
|
1053
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
1053
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1054
1054
|
};
|
|
1055
1055
|
}, {
|
|
1056
|
-
mode?: import("@atlaskit/editor-
|
|
1056
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
1057
1057
|
} | undefined>>,
|
|
1058
1058
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1059
1059
|
pluginConfiguration: FeatureFlags;
|
|
@@ -1064,7 +1064,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1064
1064
|
startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
|
|
1065
1065
|
stopMessage: (messageId: string) => Promise<boolean>;
|
|
1066
1066
|
};
|
|
1067
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1067
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/engagement-platform").EngagementPlatformPluginConfig;
|
|
1068
1068
|
dependencies: [
|
|
1069
1069
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1070
1070
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -1082,8 +1082,8 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1082
1082
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1083
1083
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1084
1084
|
];
|
|
1085
|
-
sharedState: import("@atlaskit/editor-
|
|
1086
|
-
}, import("@atlaskit/editor-
|
|
1085
|
+
sharedState: import("@atlaskit/editor-plugins/engagement-platform").EngagementPlatformPluginState;
|
|
1086
|
+
}, import("@atlaskit/editor-plugins/engagement-platform").EngagementPlatformPluginConfig>>,
|
|
1087
1087
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
1088
1088
|
sharedState: {
|
|
1089
1089
|
mode: "offline" | "online";
|
|
@@ -1092,10 +1092,10 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1092
1092
|
];
|
|
1093
1093
|
actions: {
|
|
1094
1094
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
1095
|
-
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-
|
|
1095
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1096
1096
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null, viewMethod?: import("@atlaskit/editor-common/analytics").VIEW_METHOD | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1097
1097
|
};
|
|
1098
|
-
}, import("@atlaskit/editor-
|
|
1098
|
+
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>,
|
|
1099
1099
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1100
1100
|
pluginConfiguration: FeatureFlags;
|
|
1101
1101
|
sharedState: FeatureFlags;
|
|
@@ -1326,7 +1326,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1326
1326
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1327
1327
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1328
1328
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
|
|
1329
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1329
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined;
|
|
1330
1330
|
dependencies: [
|
|
1331
1331
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1332
1332
|
pluginConfiguration: FeatureFlags;
|
|
@@ -1348,17 +1348,17 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1348
1348
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1349
1349
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1350
1350
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1351
|
-
sharedState: import("@atlaskit/editor-
|
|
1351
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
1352
1352
|
dependencies: [
|
|
1353
1353
|
];
|
|
1354
1354
|
pluginConfiguration?: {
|
|
1355
|
-
mode?: import("@atlaskit/editor-
|
|
1355
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
1356
1356
|
} | undefined;
|
|
1357
1357
|
commands: {
|
|
1358
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
1358
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1359
1359
|
};
|
|
1360
1360
|
}, {
|
|
1361
|
-
mode?: import("@atlaskit/editor-
|
|
1361
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
1362
1362
|
} | undefined>>,
|
|
1363
1363
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
1364
1364
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
@@ -1371,17 +1371,17 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1371
1371
|
};
|
|
1372
1372
|
}, undefined>,
|
|
1373
1373
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
|
|
1374
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1374
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined;
|
|
1375
1375
|
dependencies: [
|
|
1376
1376
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
1377
1377
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
1378
1378
|
}, undefined>
|
|
1379
1379
|
];
|
|
1380
|
-
sharedState: import("@atlaskit/editor-
|
|
1380
|
+
sharedState: import("@atlaskit/editor-plugins/grid").GridPluginState | null;
|
|
1381
1381
|
actions: {
|
|
1382
|
-
displayGrid: import("@atlaskit/editor-
|
|
1382
|
+
displayGrid: import("@atlaskit/editor-plugins/grid").CreateDisplayGrid;
|
|
1383
1383
|
};
|
|
1384
|
-
}, import("@atlaskit/editor-
|
|
1384
|
+
}, import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined>,
|
|
1385
1385
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
1386
1386
|
dependencies: [
|
|
1387
1387
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
@@ -1400,7 +1400,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1400
1400
|
} | undefined;
|
|
1401
1401
|
}, undefined>>,
|
|
1402
1402
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
1403
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1403
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
1404
1404
|
dependencies: [
|
|
1405
1405
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1406
1406
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -1454,12 +1454,12 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1454
1454
|
editSelectedExtension: () => boolean;
|
|
1455
1455
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI;
|
|
1456
1456
|
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: EditorView) => Promise<boolean>;
|
|
1457
|
-
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-
|
|
1458
|
-
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-
|
|
1459
|
-
runMacroAutoConvert: import("@atlaskit/editor-
|
|
1460
|
-
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-
|
|
1457
|
+
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
1458
|
+
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
1459
|
+
runMacroAutoConvert: import("@atlaskit/editor-plugins/extension").RunMacroAutoConvert;
|
|
1460
|
+
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugins/context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugins/extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1461
1461
|
};
|
|
1462
|
-
}, import("@atlaskit/editor-
|
|
1462
|
+
}, import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined>>,
|
|
1463
1463
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
1464
1464
|
dependencies: [
|
|
1465
1465
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -1486,17 +1486,17 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1486
1486
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
1487
1487
|
}, undefined>,
|
|
1488
1488
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1489
|
-
sharedState: import("@atlaskit/editor-
|
|
1489
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
1490
1490
|
dependencies: [
|
|
1491
1491
|
];
|
|
1492
1492
|
pluginConfiguration?: {
|
|
1493
|
-
mode?: import("@atlaskit/editor-
|
|
1493
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
1494
1494
|
} | undefined;
|
|
1495
1495
|
commands: {
|
|
1496
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
1496
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1497
1497
|
};
|
|
1498
1498
|
}, {
|
|
1499
|
-
mode?: import("@atlaskit/editor-
|
|
1499
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
1500
1500
|
} | undefined>>,
|
|
1501
1501
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
1502
1502
|
dependencies: [
|
|
@@ -1529,9 +1529,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1529
1529
|
dependencies: [
|
|
1530
1530
|
];
|
|
1531
1531
|
actions: {
|
|
1532
|
-
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-
|
|
1532
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
1533
1533
|
};
|
|
1534
|
-
sharedState: import("@atlaskit/editor-
|
|
1534
|
+
sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
|
|
1535
1535
|
}, undefined>>,
|
|
1536
1536
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"quickInsert", {
|
|
1537
1537
|
pluginConfiguration: QuickInsertPluginOptions | undefined;
|
|
@@ -1610,16 +1610,16 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1610
1610
|
};
|
|
1611
1611
|
}, QuickInsertPluginOptions | undefined>>
|
|
1612
1612
|
];
|
|
1613
|
-
sharedState: import("@atlaskit/editor-
|
|
1613
|
+
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
1614
1614
|
commands: {
|
|
1615
1615
|
moveToLayout: (start: number, to: number, options?: {
|
|
1616
1616
|
moveToEnd?: boolean | undefined;
|
|
1617
1617
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1618
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-
|
|
1618
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugins/block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
1619
1619
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
1620
1620
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | import("react").ReactPortal | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
1621
1621
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1622
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-
|
|
1622
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugins/block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1623
1623
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1624
1624
|
};
|
|
1625
1625
|
}, undefined>>,
|
|
@@ -1628,7 +1628,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1628
1628
|
sharedState: FeatureFlags;
|
|
1629
1629
|
}, FeatureFlags>>,
|
|
1630
1630
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"emoji", {
|
|
1631
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1631
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined;
|
|
1632
1632
|
dependencies: [
|
|
1633
1633
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1634
1634
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -1703,7 +1703,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1703
1703
|
}, TypeAheadPluginOptions | undefined>,
|
|
1704
1704
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1705
1705
|
sharedState: {
|
|
1706
|
-
annotations: import("@atlaskit/editor-
|
|
1706
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
1707
1707
|
isVisible: boolean;
|
|
1708
1708
|
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
1709
1709
|
mouseData: {
|
|
@@ -1711,14 +1711,14 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1711
1711
|
};
|
|
1712
1712
|
};
|
|
1713
1713
|
actions: {
|
|
1714
|
-
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-
|
|
1714
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
1715
1715
|
};
|
|
1716
1716
|
}, undefined>>,
|
|
1717
1717
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1718
|
-
sharedState: import("@atlaskit/editor-
|
|
1718
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState;
|
|
1719
1719
|
}, undefined>>
|
|
1720
1720
|
];
|
|
1721
|
-
sharedState: import("@atlaskit/editor-
|
|
1721
|
+
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
1722
1722
|
commands: {
|
|
1723
1723
|
insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1724
1724
|
};
|
|
@@ -1726,7 +1726,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1726
1726
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
1727
1727
|
setProvider: (provider: Promise<import("@atlaskit/emoji").EmojiProvider>) => Promise<boolean>;
|
|
1728
1728
|
};
|
|
1729
|
-
}, import("@atlaskit/editor-
|
|
1729
|
+
}, import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined>>
|
|
1730
1730
|
];
|
|
1731
1731
|
actions: {
|
|
1732
1732
|
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
@@ -1748,27 +1748,27 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1748
1748
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
1749
1749
|
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>,
|
|
1750
1750
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1751
|
-
sharedState: import("@atlaskit/editor-
|
|
1751
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState;
|
|
1752
1752
|
actions: {
|
|
1753
1753
|
setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
1754
1754
|
};
|
|
1755
1755
|
}, undefined>>
|
|
1756
1756
|
];
|
|
1757
|
-
sharedState: import("@atlaskit/editor-
|
|
1757
|
+
sharedState: import("@atlaskit/editor-plugins/card").CardPluginState | null;
|
|
1758
1758
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
1759
|
-
}, import("@atlaskit/editor-
|
|
1759
|
+
}, import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined>>,
|
|
1760
1760
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1761
|
-
sharedState: import("@atlaskit/editor-
|
|
1761
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
1762
1762
|
dependencies: [
|
|
1763
1763
|
];
|
|
1764
1764
|
pluginConfiguration?: {
|
|
1765
|
-
mode?: import("@atlaskit/editor-
|
|
1765
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
1766
1766
|
} | undefined;
|
|
1767
1767
|
commands: {
|
|
1768
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
1768
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1769
1769
|
};
|
|
1770
1770
|
}, {
|
|
1771
|
-
mode?: import("@atlaskit/editor-
|
|
1771
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
1772
1772
|
} | undefined>>
|
|
1773
1773
|
];
|
|
1774
1774
|
actions: {
|
|
@@ -1789,17 +1789,17 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1789
1789
|
};
|
|
1790
1790
|
dependencies: [
|
|
1791
1791
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1792
|
-
sharedState: import("@atlaskit/editor-
|
|
1792
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
1793
1793
|
dependencies: [
|
|
1794
1794
|
];
|
|
1795
1795
|
pluginConfiguration?: {
|
|
1796
|
-
mode?: import("@atlaskit/editor-
|
|
1796
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
1797
1797
|
} | undefined;
|
|
1798
1798
|
commands: {
|
|
1799
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
1799
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1800
1800
|
};
|
|
1801
1801
|
}, {
|
|
1802
|
-
mode?: import("@atlaskit/editor-
|
|
1802
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
1803
1803
|
} | undefined>>
|
|
1804
1804
|
];
|
|
1805
1805
|
actions?: {
|
|
@@ -2058,22 +2058,22 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2058
2058
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
2059
2059
|
];
|
|
2060
2060
|
actions: {
|
|
2061
|
-
isInsideListItem: import("@atlaskit/editor-
|
|
2062
|
-
findRootParentListNode: import("@atlaskit/editor-
|
|
2061
|
+
isInsideListItem: import("@atlaskit/editor-plugins/list").IsInsideListItem;
|
|
2062
|
+
findRootParentListNode: import("@atlaskit/editor-plugins/list").FindRootParentListNode;
|
|
2063
2063
|
};
|
|
2064
2064
|
commands: {
|
|
2065
|
-
indentList: import("@atlaskit/editor-
|
|
2066
|
-
outdentList: import("@atlaskit/editor-
|
|
2067
|
-
toggleOrderedList: import("@atlaskit/editor-
|
|
2068
|
-
toggleBulletList: import("@atlaskit/editor-
|
|
2065
|
+
indentList: import("@atlaskit/editor-plugins/list").IndentList;
|
|
2066
|
+
outdentList: import("@atlaskit/editor-plugins/list").OutdentList;
|
|
2067
|
+
toggleOrderedList: import("@atlaskit/editor-plugins/list").ToggleOrderedList;
|
|
2068
|
+
toggleBulletList: import("@atlaskit/editor-plugins/list").ToggleBulletList;
|
|
2069
2069
|
};
|
|
2070
|
-
sharedState: import("@atlaskit/editor-
|
|
2070
|
+
sharedState: import("@atlaskit/editor-plugins/list").ListState | undefined;
|
|
2071
2071
|
}, undefined>>,
|
|
2072
2072
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"betterTypeHistory", {
|
|
2073
2073
|
actions: import("@atlaskit/editor-plugins/better-type-history").BetterTypeHistoryAPI;
|
|
2074
2074
|
}, undefined>,
|
|
2075
2075
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
|
|
2076
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2076
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined;
|
|
2077
2077
|
dependencies: [
|
|
2078
2078
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2079
2079
|
pluginConfiguration: FeatureFlags;
|
|
@@ -2095,17 +2095,17 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2095
2095
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2096
2096
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
2097
2097
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2098
|
-
sharedState: import("@atlaskit/editor-
|
|
2098
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
2099
2099
|
dependencies: [
|
|
2100
2100
|
];
|
|
2101
2101
|
pluginConfiguration?: {
|
|
2102
|
-
mode?: import("@atlaskit/editor-
|
|
2102
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
2103
2103
|
} | undefined;
|
|
2104
2104
|
commands: {
|
|
2105
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
2105
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2106
2106
|
};
|
|
2107
2107
|
}, {
|
|
2108
|
-
mode?: import("@atlaskit/editor-
|
|
2108
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
2109
2109
|
} | undefined>>,
|
|
2110
2110
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
2111
2111
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
@@ -2118,17 +2118,17 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2118
2118
|
};
|
|
2119
2119
|
}, undefined>,
|
|
2120
2120
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
|
|
2121
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2121
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined;
|
|
2122
2122
|
dependencies: [
|
|
2123
2123
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
2124
2124
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
2125
2125
|
}, undefined>
|
|
2126
2126
|
];
|
|
2127
|
-
sharedState: import("@atlaskit/editor-
|
|
2127
|
+
sharedState: import("@atlaskit/editor-plugins/grid").GridPluginState | null;
|
|
2128
2128
|
actions: {
|
|
2129
|
-
displayGrid: import("@atlaskit/editor-
|
|
2129
|
+
displayGrid: import("@atlaskit/editor-plugins/grid").CreateDisplayGrid;
|
|
2130
2130
|
};
|
|
2131
|
-
}, import("@atlaskit/editor-
|
|
2131
|
+
}, import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined>,
|
|
2132
2132
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
2133
2133
|
dependencies: [
|
|
2134
2134
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
@@ -2147,7 +2147,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2147
2147
|
} | undefined;
|
|
2148
2148
|
}, undefined>>,
|
|
2149
2149
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
2150
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2150
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
2151
2151
|
dependencies: [
|
|
2152
2152
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2153
2153
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -2201,12 +2201,12 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2201
2201
|
editSelectedExtension: () => boolean;
|
|
2202
2202
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI;
|
|
2203
2203
|
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: EditorView) => Promise<boolean>;
|
|
2204
|
-
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-
|
|
2205
|
-
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-
|
|
2206
|
-
runMacroAutoConvert: import("@atlaskit/editor-
|
|
2207
|
-
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-
|
|
2204
|
+
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
2205
|
+
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
2206
|
+
runMacroAutoConvert: import("@atlaskit/editor-plugins/extension").RunMacroAutoConvert;
|
|
2207
|
+
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugins/context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugins/extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2208
2208
|
};
|
|
2209
|
-
}, import("@atlaskit/editor-
|
|
2209
|
+
}, import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined>>,
|
|
2210
2210
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
2211
2211
|
dependencies: [
|
|
2212
2212
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -2233,17 +2233,17 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2233
2233
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
2234
2234
|
}, undefined>,
|
|
2235
2235
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2236
|
-
sharedState: import("@atlaskit/editor-
|
|
2236
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
2237
2237
|
dependencies: [
|
|
2238
2238
|
];
|
|
2239
2239
|
pluginConfiguration?: {
|
|
2240
|
-
mode?: import("@atlaskit/editor-
|
|
2240
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
2241
2241
|
} | undefined;
|
|
2242
2242
|
commands: {
|
|
2243
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
2243
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2244
2244
|
};
|
|
2245
2245
|
}, {
|
|
2246
|
-
mode?: import("@atlaskit/editor-
|
|
2246
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
2247
2247
|
} | undefined>>,
|
|
2248
2248
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
2249
2249
|
dependencies: [
|
|
@@ -2276,9 +2276,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2276
2276
|
dependencies: [
|
|
2277
2277
|
];
|
|
2278
2278
|
actions: {
|
|
2279
|
-
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-
|
|
2279
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
2280
2280
|
};
|
|
2281
|
-
sharedState: import("@atlaskit/editor-
|
|
2281
|
+
sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
|
|
2282
2282
|
}, undefined>>,
|
|
2283
2283
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"quickInsert", {
|
|
2284
2284
|
pluginConfiguration: QuickInsertPluginOptions | undefined;
|
|
@@ -2357,16 +2357,16 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2357
2357
|
};
|
|
2358
2358
|
}, QuickInsertPluginOptions | undefined>>
|
|
2359
2359
|
];
|
|
2360
|
-
sharedState: import("@atlaskit/editor-
|
|
2360
|
+
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
2361
2361
|
commands: {
|
|
2362
2362
|
moveToLayout: (start: number, to: number, options?: {
|
|
2363
2363
|
moveToEnd?: boolean | undefined;
|
|
2364
2364
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2365
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-
|
|
2365
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugins/block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
2366
2366
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
2367
2367
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | import("react").ReactPortal | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
2368
2368
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2369
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-
|
|
2369
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugins/block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2370
2370
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2371
2371
|
};
|
|
2372
2372
|
}, undefined>>,
|
|
@@ -2375,7 +2375,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2375
2375
|
sharedState: FeatureFlags;
|
|
2376
2376
|
}, FeatureFlags>>,
|
|
2377
2377
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"emoji", {
|
|
2378
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2378
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined;
|
|
2379
2379
|
dependencies: [
|
|
2380
2380
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2381
2381
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -2450,7 +2450,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2450
2450
|
}, TypeAheadPluginOptions | undefined>,
|
|
2451
2451
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2452
2452
|
sharedState: {
|
|
2453
|
-
annotations: import("@atlaskit/editor-
|
|
2453
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
2454
2454
|
isVisible: boolean;
|
|
2455
2455
|
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
2456
2456
|
mouseData: {
|
|
@@ -2458,14 +2458,14 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2458
2458
|
};
|
|
2459
2459
|
};
|
|
2460
2460
|
actions: {
|
|
2461
|
-
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-
|
|
2461
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
2462
2462
|
};
|
|
2463
2463
|
}, undefined>>,
|
|
2464
2464
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2465
|
-
sharedState: import("@atlaskit/editor-
|
|
2465
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState;
|
|
2466
2466
|
}, undefined>>
|
|
2467
2467
|
];
|
|
2468
|
-
sharedState: import("@atlaskit/editor-
|
|
2468
|
+
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
2469
2469
|
commands: {
|
|
2470
2470
|
insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2471
2471
|
};
|
|
@@ -2473,7 +2473,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2473
2473
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
2474
2474
|
setProvider: (provider: Promise<import("@atlaskit/emoji").EmojiProvider>) => Promise<boolean>;
|
|
2475
2475
|
};
|
|
2476
|
-
}, import("@atlaskit/editor-
|
|
2476
|
+
}, import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined>>
|
|
2477
2477
|
];
|
|
2478
2478
|
actions: {
|
|
2479
2479
|
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
@@ -2495,15 +2495,15 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2495
2495
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2496
2496
|
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>,
|
|
2497
2497
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2498
|
-
sharedState: import("@atlaskit/editor-
|
|
2498
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState;
|
|
2499
2499
|
actions: {
|
|
2500
2500
|
setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
2501
2501
|
};
|
|
2502
2502
|
}, undefined>>
|
|
2503
2503
|
];
|
|
2504
|
-
sharedState: import("@atlaskit/editor-
|
|
2504
|
+
sharedState: import("@atlaskit/editor-plugins/card").CardPluginState | null;
|
|
2505
2505
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
2506
|
-
}, import("@atlaskit/editor-
|
|
2506
|
+
}, import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined>>,
|
|
2507
2507
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2508
2508
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2509
2509
|
sharedState: {
|
|
@@ -2545,17 +2545,17 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2545
2545
|
};
|
|
2546
2546
|
}, import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined>>,
|
|
2547
2547
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2548
|
-
sharedState: import("@atlaskit/editor-
|
|
2548
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
2549
2549
|
dependencies: [
|
|
2550
2550
|
];
|
|
2551
2551
|
pluginConfiguration?: {
|
|
2552
|
-
mode?: import("@atlaskit/editor-
|
|
2552
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
2553
2553
|
} | undefined;
|
|
2554
2554
|
commands: {
|
|
2555
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
2555
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2556
2556
|
};
|
|
2557
2557
|
}, {
|
|
2558
|
-
mode?: import("@atlaskit/editor-
|
|
2558
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
2559
2559
|
} | undefined>>,
|
|
2560
2560
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
|
|
2561
2561
|
dependencies: [
|
|
@@ -2569,17 +2569,17 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2569
2569
|
};
|
|
2570
2570
|
}, undefined>>,
|
|
2571
2571
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
|
|
2572
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2572
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined;
|
|
2573
2573
|
dependencies: [
|
|
2574
2574
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
2575
2575
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
2576
2576
|
}, undefined>
|
|
2577
2577
|
];
|
|
2578
|
-
sharedState: import("@atlaskit/editor-
|
|
2578
|
+
sharedState: import("@atlaskit/editor-plugins/grid").GridPluginState | null;
|
|
2579
2579
|
actions: {
|
|
2580
|
-
displayGrid: import("@atlaskit/editor-
|
|
2580
|
+
displayGrid: import("@atlaskit/editor-plugins/grid").CreateDisplayGrid;
|
|
2581
2581
|
};
|
|
2582
|
-
}, import("@atlaskit/editor-
|
|
2582
|
+
}, import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined>,
|
|
2583
2583
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
2584
2584
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
2585
2585
|
}, undefined>,
|
|
@@ -2608,7 +2608,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2608
2608
|
} | undefined;
|
|
2609
2609
|
}, undefined>>,
|
|
2610
2610
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
2611
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2611
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
2612
2612
|
dependencies: [
|
|
2613
2613
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2614
2614
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -2662,12 +2662,12 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2662
2662
|
editSelectedExtension: () => boolean;
|
|
2663
2663
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI;
|
|
2664
2664
|
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: EditorView) => Promise<boolean>;
|
|
2665
|
-
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-
|
|
2666
|
-
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-
|
|
2667
|
-
runMacroAutoConvert: import("@atlaskit/editor-
|
|
2668
|
-
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-
|
|
2665
|
+
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
2666
|
+
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
2667
|
+
runMacroAutoConvert: import("@atlaskit/editor-plugins/extension").RunMacroAutoConvert;
|
|
2668
|
+
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugins/context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugins/extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2669
2669
|
};
|
|
2670
|
-
}, import("@atlaskit/editor-
|
|
2670
|
+
}, import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined>>,
|
|
2671
2671
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
2672
2672
|
dependencies: [
|
|
2673
2673
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -2694,17 +2694,17 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2694
2694
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
2695
2695
|
}, undefined>,
|
|
2696
2696
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2697
|
-
sharedState: import("@atlaskit/editor-
|
|
2697
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
2698
2698
|
dependencies: [
|
|
2699
2699
|
];
|
|
2700
2700
|
pluginConfiguration?: {
|
|
2701
|
-
mode?: import("@atlaskit/editor-
|
|
2701
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
2702
2702
|
} | undefined;
|
|
2703
2703
|
commands: {
|
|
2704
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
2704
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2705
2705
|
};
|
|
2706
2706
|
}, {
|
|
2707
|
-
mode?: import("@atlaskit/editor-
|
|
2707
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
2708
2708
|
} | undefined>>,
|
|
2709
2709
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
2710
2710
|
dependencies: [
|
|
@@ -2737,9 +2737,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2737
2737
|
dependencies: [
|
|
2738
2738
|
];
|
|
2739
2739
|
actions: {
|
|
2740
|
-
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-
|
|
2740
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
2741
2741
|
};
|
|
2742
|
-
sharedState: import("@atlaskit/editor-
|
|
2742
|
+
sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
|
|
2743
2743
|
}, undefined>>,
|
|
2744
2744
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"quickInsert", {
|
|
2745
2745
|
pluginConfiguration: QuickInsertPluginOptions | undefined;
|
|
@@ -2818,16 +2818,16 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2818
2818
|
};
|
|
2819
2819
|
}, QuickInsertPluginOptions | undefined>>
|
|
2820
2820
|
];
|
|
2821
|
-
sharedState: import("@atlaskit/editor-
|
|
2821
|
+
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
2822
2822
|
commands: {
|
|
2823
2823
|
moveToLayout: (start: number, to: number, options?: {
|
|
2824
2824
|
moveToEnd?: boolean | undefined;
|
|
2825
2825
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2826
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-
|
|
2826
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugins/block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
2827
2827
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
2828
2828
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | import("react").ReactPortal | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
2829
2829
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2830
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-
|
|
2830
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugins/block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2831
2831
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2832
2832
|
};
|
|
2833
2833
|
}, undefined>>,
|
|
@@ -2836,7 +2836,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2836
2836
|
sharedState: FeatureFlags;
|
|
2837
2837
|
}, FeatureFlags>>,
|
|
2838
2838
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"emoji", {
|
|
2839
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2839
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined;
|
|
2840
2840
|
dependencies: [
|
|
2841
2841
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2842
2842
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -2911,7 +2911,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2911
2911
|
}, TypeAheadPluginOptions | undefined>,
|
|
2912
2912
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2913
2913
|
sharedState: {
|
|
2914
|
-
annotations: import("@atlaskit/editor-
|
|
2914
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
2915
2915
|
isVisible: boolean;
|
|
2916
2916
|
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
2917
2917
|
mouseData: {
|
|
@@ -2919,14 +2919,14 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2919
2919
|
};
|
|
2920
2920
|
};
|
|
2921
2921
|
actions: {
|
|
2922
|
-
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-
|
|
2922
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
2923
2923
|
};
|
|
2924
2924
|
}, undefined>>,
|
|
2925
2925
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2926
|
-
sharedState: import("@atlaskit/editor-
|
|
2926
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState;
|
|
2927
2927
|
}, undefined>>
|
|
2928
2928
|
];
|
|
2929
|
-
sharedState: import("@atlaskit/editor-
|
|
2929
|
+
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
2930
2930
|
commands: {
|
|
2931
2931
|
insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2932
2932
|
};
|
|
@@ -2934,7 +2934,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2934
2934
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
2935
2935
|
setProvider: (provider: Promise<import("@atlaskit/emoji").EmojiProvider>) => Promise<boolean>;
|
|
2936
2936
|
};
|
|
2937
|
-
}, import("@atlaskit/editor-
|
|
2937
|
+
}, import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined>>
|
|
2938
2938
|
];
|
|
2939
2939
|
actions: {
|
|
2940
2940
|
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
@@ -2959,8 +2959,8 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2959
2959
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2960
2960
|
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>,
|
|
2961
2961
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2962
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2963
|
-
sharedState: import("@atlaskit/editor-
|
|
2962
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
2963
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
2964
2964
|
dependencies: [
|
|
2965
2965
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2966
2966
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -2980,7 +2980,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2980
2980
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewModeEffects", {
|
|
2981
2981
|
dependencies: [
|
|
2982
2982
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"collabEdit", {
|
|
2983
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2983
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions;
|
|
2984
2984
|
dependencies: [
|
|
2985
2985
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2986
2986
|
pluginConfiguration: FeatureFlags;
|
|
@@ -3002,20 +3002,20 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
3002
3002
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3003
3003
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
3004
3004
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3005
|
-
sharedState: import("@atlaskit/editor-
|
|
3005
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
3006
3006
|
dependencies: [
|
|
3007
3007
|
];
|
|
3008
3008
|
pluginConfiguration?: {
|
|
3009
|
-
mode?: import("@atlaskit/editor-
|
|
3009
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
3010
3010
|
} | undefined;
|
|
3011
3011
|
commands: {
|
|
3012
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
3012
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3013
3013
|
};
|
|
3014
3014
|
}, {
|
|
3015
|
-
mode?: import("@atlaskit/editor-
|
|
3015
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
3016
3016
|
} | undefined>>
|
|
3017
3017
|
];
|
|
3018
|
-
sharedState: import("@atlaskit/editor-
|
|
3018
|
+
sharedState: import("@atlaskit/editor-plugins/collab-edit").CollabEditPluginSharedState;
|
|
3019
3019
|
actions: {
|
|
3020
3020
|
getAvatarColor: (str: string) => {
|
|
3021
3021
|
index: number;
|
|
@@ -3033,24 +3033,24 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
3033
3033
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3034
3034
|
getCurrentCollabState: () => {
|
|
3035
3035
|
version: number | undefined;
|
|
3036
|
-
sendableSteps: import("@atlaskit/editor-
|
|
3036
|
+
sendableSteps: import("@atlaskit/editor-plugins/collab-edit").CollabSendableSteps | null | undefined;
|
|
3037
3037
|
content: import("@atlaskit/editor-json-transformer").JSONNode | undefined;
|
|
3038
3038
|
};
|
|
3039
3039
|
validatePMJSONDocument: (doc: any) => boolean;
|
|
3040
3040
|
};
|
|
3041
|
-
}, import("@atlaskit/editor-
|
|
3041
|
+
}, import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions>,
|
|
3042
3042
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3043
|
-
sharedState: import("@atlaskit/editor-
|
|
3043
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
3044
3044
|
dependencies: [
|
|
3045
3045
|
];
|
|
3046
3046
|
pluginConfiguration?: {
|
|
3047
|
-
mode?: import("@atlaskit/editor-
|
|
3047
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
3048
3048
|
} | undefined;
|
|
3049
3049
|
commands: {
|
|
3050
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
3050
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3051
3051
|
};
|
|
3052
3052
|
}, {
|
|
3053
|
-
mode?: import("@atlaskit/editor-
|
|
3053
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
3054
3054
|
} | undefined>
|
|
3055
3055
|
];
|
|
3056
3056
|
actions: {
|
|
@@ -3058,17 +3058,17 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
3058
3058
|
};
|
|
3059
3059
|
}, undefined>>,
|
|
3060
3060
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3061
|
-
sharedState: import("@atlaskit/editor-
|
|
3061
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
3062
3062
|
dependencies: [
|
|
3063
3063
|
];
|
|
3064
3064
|
pluginConfiguration?: {
|
|
3065
|
-
mode?: import("@atlaskit/editor-
|
|
3065
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
3066
3066
|
} | undefined;
|
|
3067
3067
|
commands: {
|
|
3068
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
3068
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3069
3069
|
};
|
|
3070
3070
|
}, {
|
|
3071
|
-
mode?: import("@atlaskit/editor-
|
|
3071
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
3072
3072
|
} | undefined>>,
|
|
3073
3073
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3074
3074
|
pluginConfiguration: FeatureFlags;
|
|
@@ -3079,7 +3079,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
3079
3079
|
startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
|
|
3080
3080
|
stopMessage: (messageId: string) => Promise<boolean>;
|
|
3081
3081
|
};
|
|
3082
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
3082
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/engagement-platform").EngagementPlatformPluginConfig;
|
|
3083
3083
|
dependencies: [
|
|
3084
3084
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
3085
3085
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -3097,8 +3097,8 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
3097
3097
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3098
3098
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
3099
3099
|
];
|
|
3100
|
-
sharedState: import("@atlaskit/editor-
|
|
3101
|
-
}, import("@atlaskit/editor-
|
|
3100
|
+
sharedState: import("@atlaskit/editor-plugins/engagement-platform").EngagementPlatformPluginState;
|
|
3101
|
+
}, import("@atlaskit/editor-plugins/engagement-platform").EngagementPlatformPluginConfig>>,
|
|
3102
3102
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
3103
3103
|
sharedState: {
|
|
3104
3104
|
mode: "offline" | "online";
|
|
@@ -3107,10 +3107,10 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
3107
3107
|
];
|
|
3108
3108
|
actions: {
|
|
3109
3109
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3110
|
-
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-
|
|
3110
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
3111
3111
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null, viewMethod?: import("@atlaskit/editor-common/analytics").VIEW_METHOD | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
3112
3112
|
};
|
|
3113
|
-
}, import("@atlaskit/editor-
|
|
3113
|
+
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>,
|
|
3114
3114
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3115
3115
|
pluginConfiguration: FeatureFlags;
|
|
3116
3116
|
sharedState: FeatureFlags;
|
|
@@ -3132,7 +3132,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
3132
3132
|
};
|
|
3133
3133
|
}, import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined>>,
|
|
3134
3134
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
3135
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
3135
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
3136
3136
|
dependencies: [
|
|
3137
3137
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
3138
3138
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -3186,15 +3186,15 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
3186
3186
|
editSelectedExtension: () => boolean;
|
|
3187
3187
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI;
|
|
3188
3188
|
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: EditorView) => Promise<boolean>;
|
|
3189
|
-
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-
|
|
3190
|
-
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-
|
|
3191
|
-
runMacroAutoConvert: import("@atlaskit/editor-
|
|
3192
|
-
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-
|
|
3189
|
+
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
3190
|
+
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
3191
|
+
runMacroAutoConvert: import("@atlaskit/editor-plugins/extension").RunMacroAutoConvert;
|
|
3192
|
+
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugins/context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugins/extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
3193
3193
|
};
|
|
3194
|
-
}, import("@atlaskit/editor-
|
|
3194
|
+
}, import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined>>,
|
|
3195
3195
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3196
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
3197
|
-
sharedState: import("@atlaskit/editor-
|
|
3196
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
3197
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
3198
3198
|
dependencies: [
|
|
3199
3199
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
3200
3200
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -3214,7 +3214,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
3214
3214
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewModeEffects", {
|
|
3215
3215
|
dependencies: [
|
|
3216
3216
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"collabEdit", {
|
|
3217
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
3217
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions;
|
|
3218
3218
|
dependencies: [
|
|
3219
3219
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3220
3220
|
pluginConfiguration: FeatureFlags;
|
|
@@ -3236,20 +3236,20 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
3236
3236
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3237
3237
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
3238
3238
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3239
|
-
sharedState: import("@atlaskit/editor-
|
|
3239
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
3240
3240
|
dependencies: [
|
|
3241
3241
|
];
|
|
3242
3242
|
pluginConfiguration?: {
|
|
3243
|
-
mode?: import("@atlaskit/editor-
|
|
3243
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
3244
3244
|
} | undefined;
|
|
3245
3245
|
commands: {
|
|
3246
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
3246
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3247
3247
|
};
|
|
3248
3248
|
}, {
|
|
3249
|
-
mode?: import("@atlaskit/editor-
|
|
3249
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
3250
3250
|
} | undefined>>
|
|
3251
3251
|
];
|
|
3252
|
-
sharedState: import("@atlaskit/editor-
|
|
3252
|
+
sharedState: import("@atlaskit/editor-plugins/collab-edit").CollabEditPluginSharedState;
|
|
3253
3253
|
actions: {
|
|
3254
3254
|
getAvatarColor: (str: string) => {
|
|
3255
3255
|
index: number;
|
|
@@ -3267,24 +3267,24 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
3267
3267
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3268
3268
|
getCurrentCollabState: () => {
|
|
3269
3269
|
version: number | undefined;
|
|
3270
|
-
sendableSteps: import("@atlaskit/editor-
|
|
3270
|
+
sendableSteps: import("@atlaskit/editor-plugins/collab-edit").CollabSendableSteps | null | undefined;
|
|
3271
3271
|
content: import("@atlaskit/editor-json-transformer").JSONNode | undefined;
|
|
3272
3272
|
};
|
|
3273
3273
|
validatePMJSONDocument: (doc: any) => boolean;
|
|
3274
3274
|
};
|
|
3275
|
-
}, import("@atlaskit/editor-
|
|
3275
|
+
}, import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions>,
|
|
3276
3276
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3277
|
-
sharedState: import("@atlaskit/editor-
|
|
3277
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
3278
3278
|
dependencies: [
|
|
3279
3279
|
];
|
|
3280
3280
|
pluginConfiguration?: {
|
|
3281
|
-
mode?: import("@atlaskit/editor-
|
|
3281
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
3282
3282
|
} | undefined;
|
|
3283
3283
|
commands: {
|
|
3284
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
3284
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3285
3285
|
};
|
|
3286
3286
|
}, {
|
|
3287
|
-
mode?: import("@atlaskit/editor-
|
|
3287
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
3288
3288
|
} | undefined>
|
|
3289
3289
|
];
|
|
3290
3290
|
actions: {
|
|
@@ -3292,17 +3292,17 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
3292
3292
|
};
|
|
3293
3293
|
}, undefined>>,
|
|
3294
3294
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3295
|
-
sharedState: import("@atlaskit/editor-
|
|
3295
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
3296
3296
|
dependencies: [
|
|
3297
3297
|
];
|
|
3298
3298
|
pluginConfiguration?: {
|
|
3299
|
-
mode?: import("@atlaskit/editor-
|
|
3299
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
3300
3300
|
} | undefined;
|
|
3301
3301
|
commands: {
|
|
3302
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
3302
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3303
3303
|
};
|
|
3304
3304
|
}, {
|
|
3305
|
-
mode?: import("@atlaskit/editor-
|
|
3305
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
3306
3306
|
} | undefined>>,
|
|
3307
3307
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3308
3308
|
pluginConfiguration: FeatureFlags;
|
|
@@ -3313,7 +3313,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
3313
3313
|
startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
|
|
3314
3314
|
stopMessage: (messageId: string) => Promise<boolean>;
|
|
3315
3315
|
};
|
|
3316
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
3316
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/engagement-platform").EngagementPlatformPluginConfig;
|
|
3317
3317
|
dependencies: [
|
|
3318
3318
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
3319
3319
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -3331,8 +3331,8 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
3331
3331
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3332
3332
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
3333
3333
|
];
|
|
3334
|
-
sharedState: import("@atlaskit/editor-
|
|
3335
|
-
}, import("@atlaskit/editor-
|
|
3334
|
+
sharedState: import("@atlaskit/editor-plugins/engagement-platform").EngagementPlatformPluginState;
|
|
3335
|
+
}, import("@atlaskit/editor-plugins/engagement-platform").EngagementPlatformPluginConfig>>,
|
|
3336
3336
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
3337
3337
|
sharedState: {
|
|
3338
3338
|
mode: "offline" | "online";
|
|
@@ -3341,12 +3341,12 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
3341
3341
|
];
|
|
3342
3342
|
actions: {
|
|
3343
3343
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3344
|
-
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-
|
|
3344
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
3345
3345
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null, viewMethod?: import("@atlaskit/editor-common/analytics").VIEW_METHOD | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
3346
3346
|
};
|
|
3347
|
-
}, import("@atlaskit/editor-
|
|
3347
|
+
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>,
|
|
3348
3348
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"mention", {
|
|
3349
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
3349
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/mentions").MentionPluginOptions | undefined;
|
|
3350
3350
|
dependencies: [
|
|
3351
3351
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
3352
3352
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -3427,7 +3427,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
3427
3427
|
};
|
|
3428
3428
|
}, import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined>>
|
|
3429
3429
|
];
|
|
3430
|
-
sharedState: import("@atlaskit/editor-
|
|
3430
|
+
sharedState: import("@atlaskit/editor-plugins/mentions").MentionSharedState | undefined;
|
|
3431
3431
|
actions: {
|
|
3432
3432
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
3433
3433
|
announceMentionsInsertion: (mentionIds: {
|
|
@@ -3437,7 +3437,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
3437
3437
|
taskLocalId?: string | undefined;
|
|
3438
3438
|
}[]) => void;
|
|
3439
3439
|
};
|
|
3440
|
-
}, import("@atlaskit/editor-
|
|
3440
|
+
}, import("@atlaskit/editor-plugins/mentions").MentionPluginOptions | undefined>>
|
|
3441
3441
|
];
|
|
3442
3442
|
sharedState: {
|
|
3443
3443
|
lastContentPasted: import("@atlaskit/editor-plugins/paste").LastContentPasted | null;
|
|
@@ -3563,7 +3563,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3563
3563
|
} | undefined;
|
|
3564
3564
|
}, undefined>>,
|
|
3565
3565
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
3566
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
3566
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
3567
3567
|
dependencies: [
|
|
3568
3568
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
3569
3569
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -3617,12 +3617,12 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3617
3617
|
editSelectedExtension: () => boolean;
|
|
3618
3618
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI;
|
|
3619
3619
|
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: EditorView) => Promise<boolean>;
|
|
3620
|
-
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-
|
|
3621
|
-
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-
|
|
3622
|
-
runMacroAutoConvert: import("@atlaskit/editor-
|
|
3623
|
-
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-
|
|
3620
|
+
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
3621
|
+
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
3622
|
+
runMacroAutoConvert: import("@atlaskit/editor-plugins/extension").RunMacroAutoConvert;
|
|
3623
|
+
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugins/context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugins/extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
3624
3624
|
};
|
|
3625
|
-
}, import("@atlaskit/editor-
|
|
3625
|
+
}, import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined>>,
|
|
3626
3626
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
3627
3627
|
dependencies: [
|
|
3628
3628
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -3649,17 +3649,17 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3649
3649
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
3650
3650
|
}, undefined>,
|
|
3651
3651
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3652
|
-
sharedState: import("@atlaskit/editor-
|
|
3652
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
3653
3653
|
dependencies: [
|
|
3654
3654
|
];
|
|
3655
3655
|
pluginConfiguration?: {
|
|
3656
|
-
mode?: import("@atlaskit/editor-
|
|
3656
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
3657
3657
|
} | undefined;
|
|
3658
3658
|
commands: {
|
|
3659
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
3659
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3660
3660
|
};
|
|
3661
3661
|
}, {
|
|
3662
|
-
mode?: import("@atlaskit/editor-
|
|
3662
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
3663
3663
|
} | undefined>>,
|
|
3664
3664
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
3665
3665
|
dependencies: [
|
|
@@ -3692,9 +3692,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3692
3692
|
dependencies: [
|
|
3693
3693
|
];
|
|
3694
3694
|
actions: {
|
|
3695
|
-
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-
|
|
3695
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
3696
3696
|
};
|
|
3697
|
-
sharedState: import("@atlaskit/editor-
|
|
3697
|
+
sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
|
|
3698
3698
|
}, undefined>>,
|
|
3699
3699
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"quickInsert", {
|
|
3700
3700
|
pluginConfiguration: QuickInsertPluginOptions | undefined;
|
|
@@ -3773,16 +3773,16 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3773
3773
|
};
|
|
3774
3774
|
}, QuickInsertPluginOptions | undefined>>
|
|
3775
3775
|
];
|
|
3776
|
-
sharedState: import("@atlaskit/editor-
|
|
3776
|
+
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
3777
3777
|
commands: {
|
|
3778
3778
|
moveToLayout: (start: number, to: number, options?: {
|
|
3779
3779
|
moveToEnd?: boolean | undefined;
|
|
3780
3780
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3781
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-
|
|
3781
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugins/block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
3782
3782
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
3783
3783
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | import("react").ReactPortal | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
3784
3784
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3785
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-
|
|
3785
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugins/block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3786
3786
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3787
3787
|
};
|
|
3788
3788
|
}, undefined>>,
|
|
@@ -3791,7 +3791,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3791
3791
|
sharedState: FeatureFlags;
|
|
3792
3792
|
}, FeatureFlags>>,
|
|
3793
3793
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"emoji", {
|
|
3794
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
3794
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined;
|
|
3795
3795
|
dependencies: [
|
|
3796
3796
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
3797
3797
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -3866,7 +3866,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3866
3866
|
}, TypeAheadPluginOptions | undefined>,
|
|
3867
3867
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3868
3868
|
sharedState: {
|
|
3869
|
-
annotations: import("@atlaskit/editor-
|
|
3869
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
3870
3870
|
isVisible: boolean;
|
|
3871
3871
|
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
3872
3872
|
mouseData: {
|
|
@@ -3874,14 +3874,14 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3874
3874
|
};
|
|
3875
3875
|
};
|
|
3876
3876
|
actions: {
|
|
3877
|
-
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-
|
|
3877
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
3878
3878
|
};
|
|
3879
3879
|
}, undefined>>,
|
|
3880
3880
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3881
|
-
sharedState: import("@atlaskit/editor-
|
|
3881
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState;
|
|
3882
3882
|
}, undefined>>
|
|
3883
3883
|
];
|
|
3884
|
-
sharedState: import("@atlaskit/editor-
|
|
3884
|
+
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
3885
3885
|
commands: {
|
|
3886
3886
|
insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3887
3887
|
};
|
|
@@ -3889,7 +3889,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3889
3889
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
3890
3890
|
setProvider: (provider: Promise<import("@atlaskit/emoji").EmojiProvider>) => Promise<boolean>;
|
|
3891
3891
|
};
|
|
3892
|
-
}, import("@atlaskit/editor-
|
|
3892
|
+
}, import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined>>
|
|
3893
3893
|
];
|
|
3894
3894
|
actions: {
|
|
3895
3895
|
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
@@ -3950,17 +3950,17 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3950
3950
|
};
|
|
3951
3951
|
}, import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined>>,
|
|
3952
3952
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3953
|
-
sharedState: import("@atlaskit/editor-
|
|
3953
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
3954
3954
|
dependencies: [
|
|
3955
3955
|
];
|
|
3956
3956
|
pluginConfiguration?: {
|
|
3957
|
-
mode?: import("@atlaskit/editor-
|
|
3957
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
3958
3958
|
} | undefined;
|
|
3959
3959
|
commands: {
|
|
3960
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
3960
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3961
3961
|
};
|
|
3962
3962
|
}, {
|
|
3963
|
-
mode?: import("@atlaskit/editor-
|
|
3963
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
3964
3964
|
} | undefined>>,
|
|
3965
3965
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
|
|
3966
3966
|
dependencies: [
|
|
@@ -3974,17 +3974,17 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3974
3974
|
};
|
|
3975
3975
|
}, undefined>>,
|
|
3976
3976
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
|
|
3977
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
3977
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined;
|
|
3978
3978
|
dependencies: [
|
|
3979
3979
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
3980
3980
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
3981
3981
|
}, undefined>
|
|
3982
3982
|
];
|
|
3983
|
-
sharedState: import("@atlaskit/editor-
|
|
3983
|
+
sharedState: import("@atlaskit/editor-plugins/grid").GridPluginState | null;
|
|
3984
3984
|
actions: {
|
|
3985
|
-
displayGrid: import("@atlaskit/editor-
|
|
3985
|
+
displayGrid: import("@atlaskit/editor-plugins/grid").CreateDisplayGrid;
|
|
3986
3986
|
};
|
|
3987
|
-
}, import("@atlaskit/editor-
|
|
3987
|
+
}, import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined>,
|
|
3988
3988
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
3989
3989
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
3990
3990
|
}, undefined>,
|
|
@@ -4013,7 +4013,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4013
4013
|
} | undefined;
|
|
4014
4014
|
}, undefined>>,
|
|
4015
4015
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
4016
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
4016
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
4017
4017
|
dependencies: [
|
|
4018
4018
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
4019
4019
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -4067,12 +4067,12 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4067
4067
|
editSelectedExtension: () => boolean;
|
|
4068
4068
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI;
|
|
4069
4069
|
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: EditorView) => Promise<boolean>;
|
|
4070
|
-
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-
|
|
4071
|
-
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-
|
|
4072
|
-
runMacroAutoConvert: import("@atlaskit/editor-
|
|
4073
|
-
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-
|
|
4070
|
+
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
4071
|
+
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
4072
|
+
runMacroAutoConvert: import("@atlaskit/editor-plugins/extension").RunMacroAutoConvert;
|
|
4073
|
+
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugins/context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugins/extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
4074
4074
|
};
|
|
4075
|
-
}, import("@atlaskit/editor-
|
|
4075
|
+
}, import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined>>,
|
|
4076
4076
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
4077
4077
|
dependencies: [
|
|
4078
4078
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -4099,17 +4099,17 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4099
4099
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
4100
4100
|
}, undefined>,
|
|
4101
4101
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
4102
|
-
sharedState: import("@atlaskit/editor-
|
|
4102
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
4103
4103
|
dependencies: [
|
|
4104
4104
|
];
|
|
4105
4105
|
pluginConfiguration?: {
|
|
4106
|
-
mode?: import("@atlaskit/editor-
|
|
4106
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
4107
4107
|
} | undefined;
|
|
4108
4108
|
commands: {
|
|
4109
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
4109
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4110
4110
|
};
|
|
4111
4111
|
}, {
|
|
4112
|
-
mode?: import("@atlaskit/editor-
|
|
4112
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
4113
4113
|
} | undefined>>,
|
|
4114
4114
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
4115
4115
|
dependencies: [
|
|
@@ -4142,9 +4142,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4142
4142
|
dependencies: [
|
|
4143
4143
|
];
|
|
4144
4144
|
actions: {
|
|
4145
|
-
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-
|
|
4145
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
4146
4146
|
};
|
|
4147
|
-
sharedState: import("@atlaskit/editor-
|
|
4147
|
+
sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
|
|
4148
4148
|
}, undefined>>,
|
|
4149
4149
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"quickInsert", {
|
|
4150
4150
|
pluginConfiguration: QuickInsertPluginOptions | undefined;
|
|
@@ -4223,16 +4223,16 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4223
4223
|
};
|
|
4224
4224
|
}, QuickInsertPluginOptions | undefined>>
|
|
4225
4225
|
];
|
|
4226
|
-
sharedState: import("@atlaskit/editor-
|
|
4226
|
+
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
4227
4227
|
commands: {
|
|
4228
4228
|
moveToLayout: (start: number, to: number, options?: {
|
|
4229
4229
|
moveToEnd?: boolean | undefined;
|
|
4230
4230
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4231
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-
|
|
4231
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugins/block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
4232
4232
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
4233
4233
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | import("react").ReactPortal | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
4234
4234
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4235
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-
|
|
4235
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugins/block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4236
4236
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4237
4237
|
};
|
|
4238
4238
|
}, undefined>>,
|
|
@@ -4241,7 +4241,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4241
4241
|
sharedState: FeatureFlags;
|
|
4242
4242
|
}, FeatureFlags>>,
|
|
4243
4243
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"emoji", {
|
|
4244
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
4244
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined;
|
|
4245
4245
|
dependencies: [
|
|
4246
4246
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
4247
4247
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -4316,7 +4316,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4316
4316
|
}, TypeAheadPluginOptions | undefined>,
|
|
4317
4317
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
4318
4318
|
sharedState: {
|
|
4319
|
-
annotations: import("@atlaskit/editor-
|
|
4319
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
4320
4320
|
isVisible: boolean;
|
|
4321
4321
|
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
4322
4322
|
mouseData: {
|
|
@@ -4324,14 +4324,14 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4324
4324
|
};
|
|
4325
4325
|
};
|
|
4326
4326
|
actions: {
|
|
4327
|
-
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-
|
|
4327
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
4328
4328
|
};
|
|
4329
4329
|
}, undefined>>,
|
|
4330
4330
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
4331
|
-
sharedState: import("@atlaskit/editor-
|
|
4331
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState;
|
|
4332
4332
|
}, undefined>>
|
|
4333
4333
|
];
|
|
4334
|
-
sharedState: import("@atlaskit/editor-
|
|
4334
|
+
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
4335
4335
|
commands: {
|
|
4336
4336
|
insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4337
4337
|
};
|
|
@@ -4339,7 +4339,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4339
4339
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
4340
4340
|
setProvider: (provider: Promise<import("@atlaskit/emoji").EmojiProvider>) => Promise<boolean>;
|
|
4341
4341
|
};
|
|
4342
|
-
}, import("@atlaskit/editor-
|
|
4342
|
+
}, import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined>>
|
|
4343
4343
|
];
|
|
4344
4344
|
actions: {
|
|
4345
4345
|
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
@@ -4364,8 +4364,8 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4364
4364
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
4365
4365
|
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>,
|
|
4366
4366
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
4367
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
4368
|
-
sharedState: import("@atlaskit/editor-
|
|
4367
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
4368
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
4369
4369
|
dependencies: [
|
|
4370
4370
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
4371
4371
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -4385,7 +4385,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4385
4385
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewModeEffects", {
|
|
4386
4386
|
dependencies: [
|
|
4387
4387
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"collabEdit", {
|
|
4388
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
4388
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions;
|
|
4389
4389
|
dependencies: [
|
|
4390
4390
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4391
4391
|
pluginConfiguration: FeatureFlags;
|
|
@@ -4407,20 +4407,20 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4407
4407
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
4408
4408
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
4409
4409
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
4410
|
-
sharedState: import("@atlaskit/editor-
|
|
4410
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
4411
4411
|
dependencies: [
|
|
4412
4412
|
];
|
|
4413
4413
|
pluginConfiguration?: {
|
|
4414
|
-
mode?: import("@atlaskit/editor-
|
|
4414
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
4415
4415
|
} | undefined;
|
|
4416
4416
|
commands: {
|
|
4417
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
4417
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4418
4418
|
};
|
|
4419
4419
|
}, {
|
|
4420
|
-
mode?: import("@atlaskit/editor-
|
|
4420
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
4421
4421
|
} | undefined>>
|
|
4422
4422
|
];
|
|
4423
|
-
sharedState: import("@atlaskit/editor-
|
|
4423
|
+
sharedState: import("@atlaskit/editor-plugins/collab-edit").CollabEditPluginSharedState;
|
|
4424
4424
|
actions: {
|
|
4425
4425
|
getAvatarColor: (str: string) => {
|
|
4426
4426
|
index: number;
|
|
@@ -4438,24 +4438,24 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4438
4438
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
4439
4439
|
getCurrentCollabState: () => {
|
|
4440
4440
|
version: number | undefined;
|
|
4441
|
-
sendableSteps: import("@atlaskit/editor-
|
|
4441
|
+
sendableSteps: import("@atlaskit/editor-plugins/collab-edit").CollabSendableSteps | null | undefined;
|
|
4442
4442
|
content: import("@atlaskit/editor-json-transformer").JSONNode | undefined;
|
|
4443
4443
|
};
|
|
4444
4444
|
validatePMJSONDocument: (doc: any) => boolean;
|
|
4445
4445
|
};
|
|
4446
|
-
}, import("@atlaskit/editor-
|
|
4446
|
+
}, import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions>,
|
|
4447
4447
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
4448
|
-
sharedState: import("@atlaskit/editor-
|
|
4448
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
4449
4449
|
dependencies: [
|
|
4450
4450
|
];
|
|
4451
4451
|
pluginConfiguration?: {
|
|
4452
|
-
mode?: import("@atlaskit/editor-
|
|
4452
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
4453
4453
|
} | undefined;
|
|
4454
4454
|
commands: {
|
|
4455
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
4455
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4456
4456
|
};
|
|
4457
4457
|
}, {
|
|
4458
|
-
mode?: import("@atlaskit/editor-
|
|
4458
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
4459
4459
|
} | undefined>
|
|
4460
4460
|
];
|
|
4461
4461
|
actions: {
|
|
@@ -4463,17 +4463,17 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4463
4463
|
};
|
|
4464
4464
|
}, undefined>>,
|
|
4465
4465
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
4466
|
-
sharedState: import("@atlaskit/editor-
|
|
4466
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
4467
4467
|
dependencies: [
|
|
4468
4468
|
];
|
|
4469
4469
|
pluginConfiguration?: {
|
|
4470
|
-
mode?: import("@atlaskit/editor-
|
|
4470
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
4471
4471
|
} | undefined;
|
|
4472
4472
|
commands: {
|
|
4473
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
4473
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4474
4474
|
};
|
|
4475
4475
|
}, {
|
|
4476
|
-
mode?: import("@atlaskit/editor-
|
|
4476
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
4477
4477
|
} | undefined>>,
|
|
4478
4478
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4479
4479
|
pluginConfiguration: FeatureFlags;
|
|
@@ -4484,7 +4484,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4484
4484
|
startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
|
|
4485
4485
|
stopMessage: (messageId: string) => Promise<boolean>;
|
|
4486
4486
|
};
|
|
4487
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
4487
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/engagement-platform").EngagementPlatformPluginConfig;
|
|
4488
4488
|
dependencies: [
|
|
4489
4489
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
4490
4490
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -4502,8 +4502,8 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4502
4502
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
4503
4503
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
4504
4504
|
];
|
|
4505
|
-
sharedState: import("@atlaskit/editor-
|
|
4506
|
-
}, import("@atlaskit/editor-
|
|
4505
|
+
sharedState: import("@atlaskit/editor-plugins/engagement-platform").EngagementPlatformPluginState;
|
|
4506
|
+
}, import("@atlaskit/editor-plugins/engagement-platform").EngagementPlatformPluginConfig>>,
|
|
4507
4507
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
4508
4508
|
sharedState: {
|
|
4509
4509
|
mode: "offline" | "online";
|
|
@@ -4512,10 +4512,10 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4512
4512
|
];
|
|
4513
4513
|
actions: {
|
|
4514
4514
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
4515
|
-
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-
|
|
4515
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
4516
4516
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null, viewMethod?: import("@atlaskit/editor-common/analytics").VIEW_METHOD | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
4517
4517
|
};
|
|
4518
|
-
}, import("@atlaskit/editor-
|
|
4518
|
+
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>,
|
|
4519
4519
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4520
4520
|
pluginConfiguration: FeatureFlags;
|
|
4521
4521
|
sharedState: FeatureFlags;
|
|
@@ -4746,7 +4746,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4746
4746
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
4747
4747
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
4748
4748
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
|
|
4749
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
4749
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined;
|
|
4750
4750
|
dependencies: [
|
|
4751
4751
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4752
4752
|
pluginConfiguration: FeatureFlags;
|
|
@@ -4768,17 +4768,17 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4768
4768
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
4769
4769
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
4770
4770
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
4771
|
-
sharedState: import("@atlaskit/editor-
|
|
4771
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
4772
4772
|
dependencies: [
|
|
4773
4773
|
];
|
|
4774
4774
|
pluginConfiguration?: {
|
|
4775
|
-
mode?: import("@atlaskit/editor-
|
|
4775
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
4776
4776
|
} | undefined;
|
|
4777
4777
|
commands: {
|
|
4778
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
4778
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4779
4779
|
};
|
|
4780
4780
|
}, {
|
|
4781
|
-
mode?: import("@atlaskit/editor-
|
|
4781
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
4782
4782
|
} | undefined>>,
|
|
4783
4783
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
4784
4784
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
@@ -4791,17 +4791,17 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4791
4791
|
};
|
|
4792
4792
|
}, undefined>,
|
|
4793
4793
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
|
|
4794
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
4794
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined;
|
|
4795
4795
|
dependencies: [
|
|
4796
4796
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
4797
4797
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
4798
4798
|
}, undefined>
|
|
4799
4799
|
];
|
|
4800
|
-
sharedState: import("@atlaskit/editor-
|
|
4800
|
+
sharedState: import("@atlaskit/editor-plugins/grid").GridPluginState | null;
|
|
4801
4801
|
actions: {
|
|
4802
|
-
displayGrid: import("@atlaskit/editor-
|
|
4802
|
+
displayGrid: import("@atlaskit/editor-plugins/grid").CreateDisplayGrid;
|
|
4803
4803
|
};
|
|
4804
|
-
}, import("@atlaskit/editor-
|
|
4804
|
+
}, import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined>,
|
|
4805
4805
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
4806
4806
|
dependencies: [
|
|
4807
4807
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
@@ -4820,7 +4820,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4820
4820
|
} | undefined;
|
|
4821
4821
|
}, undefined>>,
|
|
4822
4822
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
4823
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
4823
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
4824
4824
|
dependencies: [
|
|
4825
4825
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
4826
4826
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -4874,12 +4874,12 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4874
4874
|
editSelectedExtension: () => boolean;
|
|
4875
4875
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI;
|
|
4876
4876
|
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: EditorView) => Promise<boolean>;
|
|
4877
|
-
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-
|
|
4878
|
-
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-
|
|
4879
|
-
runMacroAutoConvert: import("@atlaskit/editor-
|
|
4880
|
-
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-
|
|
4877
|
+
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
4878
|
+
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
4879
|
+
runMacroAutoConvert: import("@atlaskit/editor-plugins/extension").RunMacroAutoConvert;
|
|
4880
|
+
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugins/context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugins/extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
4881
4881
|
};
|
|
4882
|
-
}, import("@atlaskit/editor-
|
|
4882
|
+
}, import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined>>,
|
|
4883
4883
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
4884
4884
|
dependencies: [
|
|
4885
4885
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -4906,17 +4906,17 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4906
4906
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
4907
4907
|
}, undefined>,
|
|
4908
4908
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
4909
|
-
sharedState: import("@atlaskit/editor-
|
|
4909
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
4910
4910
|
dependencies: [
|
|
4911
4911
|
];
|
|
4912
4912
|
pluginConfiguration?: {
|
|
4913
|
-
mode?: import("@atlaskit/editor-
|
|
4913
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
4914
4914
|
} | undefined;
|
|
4915
4915
|
commands: {
|
|
4916
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
4916
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4917
4917
|
};
|
|
4918
4918
|
}, {
|
|
4919
|
-
mode?: import("@atlaskit/editor-
|
|
4919
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
4920
4920
|
} | undefined>>,
|
|
4921
4921
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
4922
4922
|
dependencies: [
|
|
@@ -4949,9 +4949,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4949
4949
|
dependencies: [
|
|
4950
4950
|
];
|
|
4951
4951
|
actions: {
|
|
4952
|
-
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-
|
|
4952
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
4953
4953
|
};
|
|
4954
|
-
sharedState: import("@atlaskit/editor-
|
|
4954
|
+
sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
|
|
4955
4955
|
}, undefined>>,
|
|
4956
4956
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"quickInsert", {
|
|
4957
4957
|
pluginConfiguration: QuickInsertPluginOptions | undefined;
|
|
@@ -5030,16 +5030,16 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5030
5030
|
};
|
|
5031
5031
|
}, QuickInsertPluginOptions | undefined>>
|
|
5032
5032
|
];
|
|
5033
|
-
sharedState: import("@atlaskit/editor-
|
|
5033
|
+
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
5034
5034
|
commands: {
|
|
5035
5035
|
moveToLayout: (start: number, to: number, options?: {
|
|
5036
5036
|
moveToEnd?: boolean | undefined;
|
|
5037
5037
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5038
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-
|
|
5038
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugins/block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
5039
5039
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
5040
5040
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | import("react").ReactPortal | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
5041
5041
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5042
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-
|
|
5042
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugins/block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5043
5043
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5044
5044
|
};
|
|
5045
5045
|
}, undefined>>,
|
|
@@ -5048,7 +5048,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5048
5048
|
sharedState: FeatureFlags;
|
|
5049
5049
|
}, FeatureFlags>>,
|
|
5050
5050
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"emoji", {
|
|
5051
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
5051
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined;
|
|
5052
5052
|
dependencies: [
|
|
5053
5053
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
5054
5054
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -5123,7 +5123,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5123
5123
|
}, TypeAheadPluginOptions | undefined>,
|
|
5124
5124
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
5125
5125
|
sharedState: {
|
|
5126
|
-
annotations: import("@atlaskit/editor-
|
|
5126
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
5127
5127
|
isVisible: boolean;
|
|
5128
5128
|
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
5129
5129
|
mouseData: {
|
|
@@ -5131,14 +5131,14 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5131
5131
|
};
|
|
5132
5132
|
};
|
|
5133
5133
|
actions: {
|
|
5134
|
-
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-
|
|
5134
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
5135
5135
|
};
|
|
5136
5136
|
}, undefined>>,
|
|
5137
5137
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
5138
|
-
sharedState: import("@atlaskit/editor-
|
|
5138
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState;
|
|
5139
5139
|
}, undefined>>
|
|
5140
5140
|
];
|
|
5141
|
-
sharedState: import("@atlaskit/editor-
|
|
5141
|
+
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
5142
5142
|
commands: {
|
|
5143
5143
|
insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5144
5144
|
};
|
|
@@ -5146,7 +5146,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5146
5146
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
5147
5147
|
setProvider: (provider: Promise<import("@atlaskit/emoji").EmojiProvider>) => Promise<boolean>;
|
|
5148
5148
|
};
|
|
5149
|
-
}, import("@atlaskit/editor-
|
|
5149
|
+
}, import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined>>
|
|
5150
5150
|
];
|
|
5151
5151
|
actions: {
|
|
5152
5152
|
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
@@ -5168,27 +5168,27 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5168
5168
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
5169
5169
|
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>,
|
|
5170
5170
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
5171
|
-
sharedState: import("@atlaskit/editor-
|
|
5171
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState;
|
|
5172
5172
|
actions: {
|
|
5173
5173
|
setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
5174
5174
|
};
|
|
5175
5175
|
}, undefined>>
|
|
5176
5176
|
];
|
|
5177
|
-
sharedState: import("@atlaskit/editor-
|
|
5177
|
+
sharedState: import("@atlaskit/editor-plugins/card").CardPluginState | null;
|
|
5178
5178
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
5179
|
-
}, import("@atlaskit/editor-
|
|
5179
|
+
}, import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined>>,
|
|
5180
5180
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
5181
|
-
sharedState: import("@atlaskit/editor-
|
|
5181
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
5182
5182
|
dependencies: [
|
|
5183
5183
|
];
|
|
5184
5184
|
pluginConfiguration?: {
|
|
5185
|
-
mode?: import("@atlaskit/editor-
|
|
5185
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
5186
5186
|
} | undefined;
|
|
5187
5187
|
commands: {
|
|
5188
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
5188
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5189
5189
|
};
|
|
5190
5190
|
}, {
|
|
5191
|
-
mode?: import("@atlaskit/editor-
|
|
5191
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
5192
5192
|
} | undefined>>
|
|
5193
5193
|
];
|
|
5194
5194
|
actions: {
|
|
@@ -5209,17 +5209,17 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5209
5209
|
};
|
|
5210
5210
|
dependencies: [
|
|
5211
5211
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
5212
|
-
sharedState: import("@atlaskit/editor-
|
|
5212
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
5213
5213
|
dependencies: [
|
|
5214
5214
|
];
|
|
5215
5215
|
pluginConfiguration?: {
|
|
5216
|
-
mode?: import("@atlaskit/editor-
|
|
5216
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
5217
5217
|
} | undefined;
|
|
5218
5218
|
commands: {
|
|
5219
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
5219
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5220
5220
|
};
|
|
5221
5221
|
}, {
|
|
5222
|
-
mode?: import("@atlaskit/editor-
|
|
5222
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
5223
5223
|
} | undefined>>
|
|
5224
5224
|
];
|
|
5225
5225
|
actions?: {
|
|
@@ -5478,22 +5478,22 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5478
5478
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
5479
5479
|
];
|
|
5480
5480
|
actions: {
|
|
5481
|
-
isInsideListItem: import("@atlaskit/editor-
|
|
5482
|
-
findRootParentListNode: import("@atlaskit/editor-
|
|
5481
|
+
isInsideListItem: import("@atlaskit/editor-plugins/list").IsInsideListItem;
|
|
5482
|
+
findRootParentListNode: import("@atlaskit/editor-plugins/list").FindRootParentListNode;
|
|
5483
5483
|
};
|
|
5484
5484
|
commands: {
|
|
5485
|
-
indentList: import("@atlaskit/editor-
|
|
5486
|
-
outdentList: import("@atlaskit/editor-
|
|
5487
|
-
toggleOrderedList: import("@atlaskit/editor-
|
|
5488
|
-
toggleBulletList: import("@atlaskit/editor-
|
|
5485
|
+
indentList: import("@atlaskit/editor-plugins/list").IndentList;
|
|
5486
|
+
outdentList: import("@atlaskit/editor-plugins/list").OutdentList;
|
|
5487
|
+
toggleOrderedList: import("@atlaskit/editor-plugins/list").ToggleOrderedList;
|
|
5488
|
+
toggleBulletList: import("@atlaskit/editor-plugins/list").ToggleBulletList;
|
|
5489
5489
|
};
|
|
5490
|
-
sharedState: import("@atlaskit/editor-
|
|
5490
|
+
sharedState: import("@atlaskit/editor-plugins/list").ListState | undefined;
|
|
5491
5491
|
}, undefined>>,
|
|
5492
5492
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"betterTypeHistory", {
|
|
5493
5493
|
actions: import("@atlaskit/editor-plugins/better-type-history").BetterTypeHistoryAPI;
|
|
5494
5494
|
}, undefined>,
|
|
5495
5495
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
|
|
5496
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
5496
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined;
|
|
5497
5497
|
dependencies: [
|
|
5498
5498
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
5499
5499
|
pluginConfiguration: FeatureFlags;
|
|
@@ -5515,17 +5515,17 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5515
5515
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
5516
5516
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
5517
5517
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
5518
|
-
sharedState: import("@atlaskit/editor-
|
|
5518
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
5519
5519
|
dependencies: [
|
|
5520
5520
|
];
|
|
5521
5521
|
pluginConfiguration?: {
|
|
5522
|
-
mode?: import("@atlaskit/editor-
|
|
5522
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
5523
5523
|
} | undefined;
|
|
5524
5524
|
commands: {
|
|
5525
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
5525
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5526
5526
|
};
|
|
5527
5527
|
}, {
|
|
5528
|
-
mode?: import("@atlaskit/editor-
|
|
5528
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
5529
5529
|
} | undefined>>,
|
|
5530
5530
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
5531
5531
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
@@ -5538,17 +5538,17 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5538
5538
|
};
|
|
5539
5539
|
}, undefined>,
|
|
5540
5540
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
|
|
5541
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
5541
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined;
|
|
5542
5542
|
dependencies: [
|
|
5543
5543
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
5544
5544
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
5545
5545
|
}, undefined>
|
|
5546
5546
|
];
|
|
5547
|
-
sharedState: import("@atlaskit/editor-
|
|
5547
|
+
sharedState: import("@atlaskit/editor-plugins/grid").GridPluginState | null;
|
|
5548
5548
|
actions: {
|
|
5549
|
-
displayGrid: import("@atlaskit/editor-
|
|
5549
|
+
displayGrid: import("@atlaskit/editor-plugins/grid").CreateDisplayGrid;
|
|
5550
5550
|
};
|
|
5551
|
-
}, import("@atlaskit/editor-
|
|
5551
|
+
}, import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined>,
|
|
5552
5552
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
5553
5553
|
dependencies: [
|
|
5554
5554
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
@@ -5567,7 +5567,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5567
5567
|
} | undefined;
|
|
5568
5568
|
}, undefined>>,
|
|
5569
5569
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
5570
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
5570
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
5571
5571
|
dependencies: [
|
|
5572
5572
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
5573
5573
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -5621,12 +5621,12 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5621
5621
|
editSelectedExtension: () => boolean;
|
|
5622
5622
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI;
|
|
5623
5623
|
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: EditorView) => Promise<boolean>;
|
|
5624
|
-
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-
|
|
5625
|
-
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-
|
|
5626
|
-
runMacroAutoConvert: import("@atlaskit/editor-
|
|
5627
|
-
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-
|
|
5624
|
+
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
5625
|
+
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
5626
|
+
runMacroAutoConvert: import("@atlaskit/editor-plugins/extension").RunMacroAutoConvert;
|
|
5627
|
+
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugins/context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugins/extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
5628
5628
|
};
|
|
5629
|
-
}, import("@atlaskit/editor-
|
|
5629
|
+
}, import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined>>,
|
|
5630
5630
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
5631
5631
|
dependencies: [
|
|
5632
5632
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -5653,17 +5653,17 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5653
5653
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
5654
5654
|
}, undefined>,
|
|
5655
5655
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
5656
|
-
sharedState: import("@atlaskit/editor-
|
|
5656
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
5657
5657
|
dependencies: [
|
|
5658
5658
|
];
|
|
5659
5659
|
pluginConfiguration?: {
|
|
5660
|
-
mode?: import("@atlaskit/editor-
|
|
5660
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
5661
5661
|
} | undefined;
|
|
5662
5662
|
commands: {
|
|
5663
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
5663
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5664
5664
|
};
|
|
5665
5665
|
}, {
|
|
5666
|
-
mode?: import("@atlaskit/editor-
|
|
5666
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
5667
5667
|
} | undefined>>,
|
|
5668
5668
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
5669
5669
|
dependencies: [
|
|
@@ -5696,9 +5696,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5696
5696
|
dependencies: [
|
|
5697
5697
|
];
|
|
5698
5698
|
actions: {
|
|
5699
|
-
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-
|
|
5699
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
5700
5700
|
};
|
|
5701
|
-
sharedState: import("@atlaskit/editor-
|
|
5701
|
+
sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
|
|
5702
5702
|
}, undefined>>,
|
|
5703
5703
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"quickInsert", {
|
|
5704
5704
|
pluginConfiguration: QuickInsertPluginOptions | undefined;
|
|
@@ -5777,16 +5777,16 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5777
5777
|
};
|
|
5778
5778
|
}, QuickInsertPluginOptions | undefined>>
|
|
5779
5779
|
];
|
|
5780
|
-
sharedState: import("@atlaskit/editor-
|
|
5780
|
+
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
5781
5781
|
commands: {
|
|
5782
5782
|
moveToLayout: (start: number, to: number, options?: {
|
|
5783
5783
|
moveToEnd?: boolean | undefined;
|
|
5784
5784
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5785
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-
|
|
5785
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugins/block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
5786
5786
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
5787
5787
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | import("react").ReactPortal | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
5788
5788
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5789
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-
|
|
5789
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugins/block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5790
5790
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5791
5791
|
};
|
|
5792
5792
|
}, undefined>>,
|
|
@@ -5795,7 +5795,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5795
5795
|
sharedState: FeatureFlags;
|
|
5796
5796
|
}, FeatureFlags>>,
|
|
5797
5797
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"emoji", {
|
|
5798
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
5798
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined;
|
|
5799
5799
|
dependencies: [
|
|
5800
5800
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
5801
5801
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -5870,7 +5870,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5870
5870
|
}, TypeAheadPluginOptions | undefined>,
|
|
5871
5871
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
5872
5872
|
sharedState: {
|
|
5873
|
-
annotations: import("@atlaskit/editor-
|
|
5873
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
5874
5874
|
isVisible: boolean;
|
|
5875
5875
|
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
5876
5876
|
mouseData: {
|
|
@@ -5878,14 +5878,14 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5878
5878
|
};
|
|
5879
5879
|
};
|
|
5880
5880
|
actions: {
|
|
5881
|
-
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-
|
|
5881
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
5882
5882
|
};
|
|
5883
5883
|
}, undefined>>,
|
|
5884
5884
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
5885
|
-
sharedState: import("@atlaskit/editor-
|
|
5885
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState;
|
|
5886
5886
|
}, undefined>>
|
|
5887
5887
|
];
|
|
5888
|
-
sharedState: import("@atlaskit/editor-
|
|
5888
|
+
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
5889
5889
|
commands: {
|
|
5890
5890
|
insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5891
5891
|
};
|
|
@@ -5893,7 +5893,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5893
5893
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
5894
5894
|
setProvider: (provider: Promise<import("@atlaskit/emoji").EmojiProvider>) => Promise<boolean>;
|
|
5895
5895
|
};
|
|
5896
|
-
}, import("@atlaskit/editor-
|
|
5896
|
+
}, import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined>>
|
|
5897
5897
|
];
|
|
5898
5898
|
actions: {
|
|
5899
5899
|
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
@@ -5915,15 +5915,15 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5915
5915
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
5916
5916
|
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>,
|
|
5917
5917
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
5918
|
-
sharedState: import("@atlaskit/editor-
|
|
5918
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState;
|
|
5919
5919
|
actions: {
|
|
5920
5920
|
setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
5921
5921
|
};
|
|
5922
5922
|
}, undefined>>
|
|
5923
5923
|
];
|
|
5924
|
-
sharedState: import("@atlaskit/editor-
|
|
5924
|
+
sharedState: import("@atlaskit/editor-plugins/card").CardPluginState | null;
|
|
5925
5925
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
5926
|
-
}, import("@atlaskit/editor-
|
|
5926
|
+
}, import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined>>,
|
|
5927
5927
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
5928
5928
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
5929
5929
|
sharedState: {
|
|
@@ -5965,17 +5965,17 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5965
5965
|
};
|
|
5966
5966
|
}, import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined>>,
|
|
5967
5967
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
5968
|
-
sharedState: import("@atlaskit/editor-
|
|
5968
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
5969
5969
|
dependencies: [
|
|
5970
5970
|
];
|
|
5971
5971
|
pluginConfiguration?: {
|
|
5972
|
-
mode?: import("@atlaskit/editor-
|
|
5972
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
5973
5973
|
} | undefined;
|
|
5974
5974
|
commands: {
|
|
5975
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
5975
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5976
5976
|
};
|
|
5977
5977
|
}, {
|
|
5978
|
-
mode?: import("@atlaskit/editor-
|
|
5978
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
5979
5979
|
} | undefined>>,
|
|
5980
5980
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
|
|
5981
5981
|
dependencies: [
|
|
@@ -5989,17 +5989,17 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5989
5989
|
};
|
|
5990
5990
|
}, undefined>>,
|
|
5991
5991
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
|
|
5992
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
5992
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined;
|
|
5993
5993
|
dependencies: [
|
|
5994
5994
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
5995
5995
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
5996
5996
|
}, undefined>
|
|
5997
5997
|
];
|
|
5998
|
-
sharedState: import("@atlaskit/editor-
|
|
5998
|
+
sharedState: import("@atlaskit/editor-plugins/grid").GridPluginState | null;
|
|
5999
5999
|
actions: {
|
|
6000
|
-
displayGrid: import("@atlaskit/editor-
|
|
6000
|
+
displayGrid: import("@atlaskit/editor-plugins/grid").CreateDisplayGrid;
|
|
6001
6001
|
};
|
|
6002
|
-
}, import("@atlaskit/editor-
|
|
6002
|
+
}, import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined>,
|
|
6003
6003
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
6004
6004
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
6005
6005
|
}, undefined>,
|
|
@@ -6028,7 +6028,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6028
6028
|
} | undefined;
|
|
6029
6029
|
}, undefined>>,
|
|
6030
6030
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
6031
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
6031
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
6032
6032
|
dependencies: [
|
|
6033
6033
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
6034
6034
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -6082,12 +6082,12 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6082
6082
|
editSelectedExtension: () => boolean;
|
|
6083
6083
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI;
|
|
6084
6084
|
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: EditorView) => Promise<boolean>;
|
|
6085
|
-
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-
|
|
6086
|
-
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-
|
|
6087
|
-
runMacroAutoConvert: import("@atlaskit/editor-
|
|
6088
|
-
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-
|
|
6085
|
+
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
6086
|
+
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
6087
|
+
runMacroAutoConvert: import("@atlaskit/editor-plugins/extension").RunMacroAutoConvert;
|
|
6088
|
+
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugins/context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugins/extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
6089
6089
|
};
|
|
6090
|
-
}, import("@atlaskit/editor-
|
|
6090
|
+
}, import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined>>,
|
|
6091
6091
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
6092
6092
|
dependencies: [
|
|
6093
6093
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -6114,17 +6114,17 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6114
6114
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
6115
6115
|
}, undefined>,
|
|
6116
6116
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
6117
|
-
sharedState: import("@atlaskit/editor-
|
|
6117
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
6118
6118
|
dependencies: [
|
|
6119
6119
|
];
|
|
6120
6120
|
pluginConfiguration?: {
|
|
6121
|
-
mode?: import("@atlaskit/editor-
|
|
6121
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
6122
6122
|
} | undefined;
|
|
6123
6123
|
commands: {
|
|
6124
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
6124
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6125
6125
|
};
|
|
6126
6126
|
}, {
|
|
6127
|
-
mode?: import("@atlaskit/editor-
|
|
6127
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
6128
6128
|
} | undefined>>,
|
|
6129
6129
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
6130
6130
|
dependencies: [
|
|
@@ -6157,9 +6157,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6157
6157
|
dependencies: [
|
|
6158
6158
|
];
|
|
6159
6159
|
actions: {
|
|
6160
|
-
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-
|
|
6160
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
6161
6161
|
};
|
|
6162
|
-
sharedState: import("@atlaskit/editor-
|
|
6162
|
+
sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
|
|
6163
6163
|
}, undefined>>,
|
|
6164
6164
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"quickInsert", {
|
|
6165
6165
|
pluginConfiguration: QuickInsertPluginOptions | undefined;
|
|
@@ -6238,16 +6238,16 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6238
6238
|
};
|
|
6239
6239
|
}, QuickInsertPluginOptions | undefined>>
|
|
6240
6240
|
];
|
|
6241
|
-
sharedState: import("@atlaskit/editor-
|
|
6241
|
+
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
6242
6242
|
commands: {
|
|
6243
6243
|
moveToLayout: (start: number, to: number, options?: {
|
|
6244
6244
|
moveToEnd?: boolean | undefined;
|
|
6245
6245
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6246
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-
|
|
6246
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugins/block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
6247
6247
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
6248
6248
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | import("react").ReactPortal | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
6249
6249
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6250
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-
|
|
6250
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugins/block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6251
6251
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6252
6252
|
};
|
|
6253
6253
|
}, undefined>>,
|
|
@@ -6256,7 +6256,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6256
6256
|
sharedState: FeatureFlags;
|
|
6257
6257
|
}, FeatureFlags>>,
|
|
6258
6258
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"emoji", {
|
|
6259
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
6259
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined;
|
|
6260
6260
|
dependencies: [
|
|
6261
6261
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
6262
6262
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -6331,7 +6331,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6331
6331
|
}, TypeAheadPluginOptions | undefined>,
|
|
6332
6332
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
6333
6333
|
sharedState: {
|
|
6334
|
-
annotations: import("@atlaskit/editor-
|
|
6334
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
6335
6335
|
isVisible: boolean;
|
|
6336
6336
|
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
6337
6337
|
mouseData: {
|
|
@@ -6339,14 +6339,14 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6339
6339
|
};
|
|
6340
6340
|
};
|
|
6341
6341
|
actions: {
|
|
6342
|
-
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-
|
|
6342
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
6343
6343
|
};
|
|
6344
6344
|
}, undefined>>,
|
|
6345
6345
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
6346
|
-
sharedState: import("@atlaskit/editor-
|
|
6346
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState;
|
|
6347
6347
|
}, undefined>>
|
|
6348
6348
|
];
|
|
6349
|
-
sharedState: import("@atlaskit/editor-
|
|
6349
|
+
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
6350
6350
|
commands: {
|
|
6351
6351
|
insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6352
6352
|
};
|
|
@@ -6354,7 +6354,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6354
6354
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
6355
6355
|
setProvider: (provider: Promise<import("@atlaskit/emoji").EmojiProvider>) => Promise<boolean>;
|
|
6356
6356
|
};
|
|
6357
|
-
}, import("@atlaskit/editor-
|
|
6357
|
+
}, import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined>>
|
|
6358
6358
|
];
|
|
6359
6359
|
actions: {
|
|
6360
6360
|
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
@@ -6379,8 +6379,8 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6379
6379
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
6380
6380
|
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>,
|
|
6381
6381
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
6382
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
6383
|
-
sharedState: import("@atlaskit/editor-
|
|
6382
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
6383
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
6384
6384
|
dependencies: [
|
|
6385
6385
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
6386
6386
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -6400,7 +6400,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6400
6400
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewModeEffects", {
|
|
6401
6401
|
dependencies: [
|
|
6402
6402
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"collabEdit", {
|
|
6403
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
6403
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions;
|
|
6404
6404
|
dependencies: [
|
|
6405
6405
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
6406
6406
|
pluginConfiguration: FeatureFlags;
|
|
@@ -6422,20 +6422,20 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6422
6422
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
6423
6423
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
6424
6424
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
6425
|
-
sharedState: import("@atlaskit/editor-
|
|
6425
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
6426
6426
|
dependencies: [
|
|
6427
6427
|
];
|
|
6428
6428
|
pluginConfiguration?: {
|
|
6429
|
-
mode?: import("@atlaskit/editor-
|
|
6429
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
6430
6430
|
} | undefined;
|
|
6431
6431
|
commands: {
|
|
6432
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
6432
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6433
6433
|
};
|
|
6434
6434
|
}, {
|
|
6435
|
-
mode?: import("@atlaskit/editor-
|
|
6435
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
6436
6436
|
} | undefined>>
|
|
6437
6437
|
];
|
|
6438
|
-
sharedState: import("@atlaskit/editor-
|
|
6438
|
+
sharedState: import("@atlaskit/editor-plugins/collab-edit").CollabEditPluginSharedState;
|
|
6439
6439
|
actions: {
|
|
6440
6440
|
getAvatarColor: (str: string) => {
|
|
6441
6441
|
index: number;
|
|
@@ -6453,24 +6453,24 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6453
6453
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
6454
6454
|
getCurrentCollabState: () => {
|
|
6455
6455
|
version: number | undefined;
|
|
6456
|
-
sendableSteps: import("@atlaskit/editor-
|
|
6456
|
+
sendableSteps: import("@atlaskit/editor-plugins/collab-edit").CollabSendableSteps | null | undefined;
|
|
6457
6457
|
content: import("@atlaskit/editor-json-transformer").JSONNode | undefined;
|
|
6458
6458
|
};
|
|
6459
6459
|
validatePMJSONDocument: (doc: any) => boolean;
|
|
6460
6460
|
};
|
|
6461
|
-
}, import("@atlaskit/editor-
|
|
6461
|
+
}, import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions>,
|
|
6462
6462
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
6463
|
-
sharedState: import("@atlaskit/editor-
|
|
6463
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
6464
6464
|
dependencies: [
|
|
6465
6465
|
];
|
|
6466
6466
|
pluginConfiguration?: {
|
|
6467
|
-
mode?: import("@atlaskit/editor-
|
|
6467
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
6468
6468
|
} | undefined;
|
|
6469
6469
|
commands: {
|
|
6470
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
6470
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6471
6471
|
};
|
|
6472
6472
|
}, {
|
|
6473
|
-
mode?: import("@atlaskit/editor-
|
|
6473
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
6474
6474
|
} | undefined>
|
|
6475
6475
|
];
|
|
6476
6476
|
actions: {
|
|
@@ -6478,17 +6478,17 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6478
6478
|
};
|
|
6479
6479
|
}, undefined>>,
|
|
6480
6480
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
6481
|
-
sharedState: import("@atlaskit/editor-
|
|
6481
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
6482
6482
|
dependencies: [
|
|
6483
6483
|
];
|
|
6484
6484
|
pluginConfiguration?: {
|
|
6485
|
-
mode?: import("@atlaskit/editor-
|
|
6485
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
6486
6486
|
} | undefined;
|
|
6487
6487
|
commands: {
|
|
6488
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
6488
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6489
6489
|
};
|
|
6490
6490
|
}, {
|
|
6491
|
-
mode?: import("@atlaskit/editor-
|
|
6491
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
6492
6492
|
} | undefined>>,
|
|
6493
6493
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
6494
6494
|
pluginConfiguration: FeatureFlags;
|
|
@@ -6499,7 +6499,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6499
6499
|
startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
|
|
6500
6500
|
stopMessage: (messageId: string) => Promise<boolean>;
|
|
6501
6501
|
};
|
|
6502
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
6502
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/engagement-platform").EngagementPlatformPluginConfig;
|
|
6503
6503
|
dependencies: [
|
|
6504
6504
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
6505
6505
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -6517,8 +6517,8 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6517
6517
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
6518
6518
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
6519
6519
|
];
|
|
6520
|
-
sharedState: import("@atlaskit/editor-
|
|
6521
|
-
}, import("@atlaskit/editor-
|
|
6520
|
+
sharedState: import("@atlaskit/editor-plugins/engagement-platform").EngagementPlatformPluginState;
|
|
6521
|
+
}, import("@atlaskit/editor-plugins/engagement-platform").EngagementPlatformPluginConfig>>,
|
|
6522
6522
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
6523
6523
|
sharedState: {
|
|
6524
6524
|
mode: "offline" | "online";
|
|
@@ -6527,10 +6527,10 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6527
6527
|
];
|
|
6528
6528
|
actions: {
|
|
6529
6529
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
6530
|
-
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-
|
|
6530
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
6531
6531
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null, viewMethod?: import("@atlaskit/editor-common/analytics").VIEW_METHOD | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
6532
6532
|
};
|
|
6533
|
-
}, import("@atlaskit/editor-
|
|
6533
|
+
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>,
|
|
6534
6534
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
6535
6535
|
pluginConfiguration: FeatureFlags;
|
|
6536
6536
|
sharedState: FeatureFlags;
|
|
@@ -6552,7 +6552,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6552
6552
|
};
|
|
6553
6553
|
}, import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined>>,
|
|
6554
6554
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
6555
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
6555
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
6556
6556
|
dependencies: [
|
|
6557
6557
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
6558
6558
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -6606,15 +6606,15 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6606
6606
|
editSelectedExtension: () => boolean;
|
|
6607
6607
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI;
|
|
6608
6608
|
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: EditorView) => Promise<boolean>;
|
|
6609
|
-
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-
|
|
6610
|
-
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-
|
|
6611
|
-
runMacroAutoConvert: import("@atlaskit/editor-
|
|
6612
|
-
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-
|
|
6609
|
+
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
6610
|
+
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
6611
|
+
runMacroAutoConvert: import("@atlaskit/editor-plugins/extension").RunMacroAutoConvert;
|
|
6612
|
+
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugins/context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugins/extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
6613
6613
|
};
|
|
6614
|
-
}, import("@atlaskit/editor-
|
|
6614
|
+
}, import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined>>,
|
|
6615
6615
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
6616
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
6617
|
-
sharedState: import("@atlaskit/editor-
|
|
6616
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
6617
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
6618
6618
|
dependencies: [
|
|
6619
6619
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
6620
6620
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -6634,7 +6634,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6634
6634
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewModeEffects", {
|
|
6635
6635
|
dependencies: [
|
|
6636
6636
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"collabEdit", {
|
|
6637
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
6637
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions;
|
|
6638
6638
|
dependencies: [
|
|
6639
6639
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
6640
6640
|
pluginConfiguration: FeatureFlags;
|
|
@@ -6656,20 +6656,20 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6656
6656
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
6657
6657
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
6658
6658
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
6659
|
-
sharedState: import("@atlaskit/editor-
|
|
6659
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
6660
6660
|
dependencies: [
|
|
6661
6661
|
];
|
|
6662
6662
|
pluginConfiguration?: {
|
|
6663
|
-
mode?: import("@atlaskit/editor-
|
|
6663
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
6664
6664
|
} | undefined;
|
|
6665
6665
|
commands: {
|
|
6666
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
6666
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6667
6667
|
};
|
|
6668
6668
|
}, {
|
|
6669
|
-
mode?: import("@atlaskit/editor-
|
|
6669
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
6670
6670
|
} | undefined>>
|
|
6671
6671
|
];
|
|
6672
|
-
sharedState: import("@atlaskit/editor-
|
|
6672
|
+
sharedState: import("@atlaskit/editor-plugins/collab-edit").CollabEditPluginSharedState;
|
|
6673
6673
|
actions: {
|
|
6674
6674
|
getAvatarColor: (str: string) => {
|
|
6675
6675
|
index: number;
|
|
@@ -6687,24 +6687,24 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6687
6687
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
6688
6688
|
getCurrentCollabState: () => {
|
|
6689
6689
|
version: number | undefined;
|
|
6690
|
-
sendableSteps: import("@atlaskit/editor-
|
|
6690
|
+
sendableSteps: import("@atlaskit/editor-plugins/collab-edit").CollabSendableSteps | null | undefined;
|
|
6691
6691
|
content: import("@atlaskit/editor-json-transformer").JSONNode | undefined;
|
|
6692
6692
|
};
|
|
6693
6693
|
validatePMJSONDocument: (doc: any) => boolean;
|
|
6694
6694
|
};
|
|
6695
|
-
}, import("@atlaskit/editor-
|
|
6695
|
+
}, import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions>,
|
|
6696
6696
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
6697
|
-
sharedState: import("@atlaskit/editor-
|
|
6697
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
6698
6698
|
dependencies: [
|
|
6699
6699
|
];
|
|
6700
6700
|
pluginConfiguration?: {
|
|
6701
|
-
mode?: import("@atlaskit/editor-
|
|
6701
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
6702
6702
|
} | undefined;
|
|
6703
6703
|
commands: {
|
|
6704
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
6704
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6705
6705
|
};
|
|
6706
6706
|
}, {
|
|
6707
|
-
mode?: import("@atlaskit/editor-
|
|
6707
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
6708
6708
|
} | undefined>
|
|
6709
6709
|
];
|
|
6710
6710
|
actions: {
|
|
@@ -6712,17 +6712,17 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6712
6712
|
};
|
|
6713
6713
|
}, undefined>>,
|
|
6714
6714
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
6715
|
-
sharedState: import("@atlaskit/editor-
|
|
6715
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
6716
6716
|
dependencies: [
|
|
6717
6717
|
];
|
|
6718
6718
|
pluginConfiguration?: {
|
|
6719
|
-
mode?: import("@atlaskit/editor-
|
|
6719
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
6720
6720
|
} | undefined;
|
|
6721
6721
|
commands: {
|
|
6722
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
6722
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6723
6723
|
};
|
|
6724
6724
|
}, {
|
|
6725
|
-
mode?: import("@atlaskit/editor-
|
|
6725
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
6726
6726
|
} | undefined>>,
|
|
6727
6727
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
6728
6728
|
pluginConfiguration: FeatureFlags;
|
|
@@ -6733,7 +6733,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6733
6733
|
startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
|
|
6734
6734
|
stopMessage: (messageId: string) => Promise<boolean>;
|
|
6735
6735
|
};
|
|
6736
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
6736
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/engagement-platform").EngagementPlatformPluginConfig;
|
|
6737
6737
|
dependencies: [
|
|
6738
6738
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
6739
6739
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -6751,8 +6751,8 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6751
6751
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
6752
6752
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
6753
6753
|
];
|
|
6754
|
-
sharedState: import("@atlaskit/editor-
|
|
6755
|
-
}, import("@atlaskit/editor-
|
|
6754
|
+
sharedState: import("@atlaskit/editor-plugins/engagement-platform").EngagementPlatformPluginState;
|
|
6755
|
+
}, import("@atlaskit/editor-plugins/engagement-platform").EngagementPlatformPluginConfig>>,
|
|
6756
6756
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
6757
6757
|
sharedState: {
|
|
6758
6758
|
mode: "offline" | "online";
|
|
@@ -6761,12 +6761,12 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6761
6761
|
];
|
|
6762
6762
|
actions: {
|
|
6763
6763
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
6764
|
-
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-
|
|
6764
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
6765
6765
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null, viewMethod?: import("@atlaskit/editor-common/analytics").VIEW_METHOD | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
6766
6766
|
};
|
|
6767
|
-
}, import("@atlaskit/editor-
|
|
6767
|
+
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>,
|
|
6768
6768
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"mention", {
|
|
6769
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
6769
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/mentions").MentionPluginOptions | undefined;
|
|
6770
6770
|
dependencies: [
|
|
6771
6771
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
6772
6772
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -6847,7 +6847,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6847
6847
|
};
|
|
6848
6848
|
}, import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined>>
|
|
6849
6849
|
];
|
|
6850
|
-
sharedState: import("@atlaskit/editor-
|
|
6850
|
+
sharedState: import("@atlaskit/editor-plugins/mentions").MentionSharedState | undefined;
|
|
6851
6851
|
actions: {
|
|
6852
6852
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
6853
6853
|
announceMentionsInsertion: (mentionIds: {
|
|
@@ -6857,7 +6857,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6857
6857
|
taskLocalId?: string | undefined;
|
|
6858
6858
|
}[]) => void;
|
|
6859
6859
|
};
|
|
6860
|
-
}, import("@atlaskit/editor-
|
|
6860
|
+
}, import("@atlaskit/editor-plugins/mentions").MentionPluginOptions | undefined>>
|
|
6861
6861
|
];
|
|
6862
6862
|
sharedState: {
|
|
6863
6863
|
lastContentPasted: import("@atlaskit/editor-plugins/paste").LastContentPasted | null;
|