@atlaskit/editor-core 203.7.3 → 203.7.5
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 +18 -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/presets/universal.js +2 -2
- 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/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/presets/universal.js +2 -2
- 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/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/presets/universal.js +2 -2
- 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/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 +1770 -1990
- package/dist/types/create-editor/get-plugins.d.ts +2 -2
- package/dist/types/presets/default.d.ts +464 -584
- package/dist/types/presets/universal.d.ts +1339 -1559
- package/dist/types/presets/useUniversalPreset.d.ts +1977 -2197
- 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 +1757 -2032
- package/dist/types-ts4.5/create-editor/get-plugins.d.ts +2 -2
- package/dist/types-ts4.5/presets/default.d.ts +458 -608
- package/dist/types-ts4.5/presets/universal.d.ts +1328 -1603
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +1964 -2239
- 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 +17 -9
- 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,47 +1043,22 @@ 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;
|
|
1060
1060
|
sharedState: FeatureFlags;
|
|
1061
1061
|
}, FeatureFlags>>,
|
|
1062
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
|
|
1063
|
-
actions: {
|
|
1064
|
-
startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
|
|
1065
|
-
stopMessage: (messageId: string) => Promise<boolean>;
|
|
1066
|
-
};
|
|
1067
|
-
pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
|
|
1068
|
-
dependencies: [
|
|
1069
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1070
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1071
|
-
sharedState: {
|
|
1072
|
-
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1073
|
-
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1074
|
-
performanceTracking: PerformanceTracking | undefined;
|
|
1075
|
-
};
|
|
1076
|
-
dependencies: [
|
|
1077
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1078
|
-
pluginConfiguration: FeatureFlags;
|
|
1079
|
-
sharedState: FeatureFlags;
|
|
1080
|
-
}, FeatureFlags>>
|
|
1081
|
-
];
|
|
1082
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1083
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1084
|
-
];
|
|
1085
|
-
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
1086
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>,
|
|
1087
1062
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
1088
1063
|
sharedState: {
|
|
1089
1064
|
mode: "offline" | "online";
|
|
@@ -1092,10 +1067,10 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1092
1067
|
];
|
|
1093
1068
|
actions: {
|
|
1094
1069
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
1095
|
-
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-
|
|
1070
|
+
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
1071
|
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
1072
|
};
|
|
1098
|
-
}, import("@atlaskit/editor-
|
|
1073
|
+
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>,
|
|
1099
1074
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1100
1075
|
pluginConfiguration: FeatureFlags;
|
|
1101
1076
|
sharedState: FeatureFlags;
|
|
@@ -1326,7 +1301,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1326
1301
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1327
1302
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1328
1303
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
|
|
1329
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1304
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined;
|
|
1330
1305
|
dependencies: [
|
|
1331
1306
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1332
1307
|
pluginConfiguration: FeatureFlags;
|
|
@@ -1348,17 +1323,17 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1348
1323
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1349
1324
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1350
1325
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1351
|
-
sharedState: import("@atlaskit/editor-
|
|
1326
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
1352
1327
|
dependencies: [
|
|
1353
1328
|
];
|
|
1354
1329
|
pluginConfiguration?: {
|
|
1355
|
-
mode?: import("@atlaskit/editor-
|
|
1330
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
1356
1331
|
} | undefined;
|
|
1357
1332
|
commands: {
|
|
1358
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
1333
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1359
1334
|
};
|
|
1360
1335
|
}, {
|
|
1361
|
-
mode?: import("@atlaskit/editor-
|
|
1336
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
1362
1337
|
} | undefined>>,
|
|
1363
1338
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
1364
1339
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
@@ -1371,17 +1346,17 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1371
1346
|
};
|
|
1372
1347
|
}, undefined>,
|
|
1373
1348
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
|
|
1374
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1349
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined;
|
|
1375
1350
|
dependencies: [
|
|
1376
1351
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
1377
1352
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
1378
1353
|
}, undefined>
|
|
1379
1354
|
];
|
|
1380
|
-
sharedState: import("@atlaskit/editor-
|
|
1355
|
+
sharedState: import("@atlaskit/editor-plugins/grid").GridPluginState | null;
|
|
1381
1356
|
actions: {
|
|
1382
|
-
displayGrid: import("@atlaskit/editor-
|
|
1357
|
+
displayGrid: import("@atlaskit/editor-plugins/grid").CreateDisplayGrid;
|
|
1383
1358
|
};
|
|
1384
|
-
}, import("@atlaskit/editor-
|
|
1359
|
+
}, import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined>,
|
|
1385
1360
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
1386
1361
|
dependencies: [
|
|
1387
1362
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
@@ -1400,7 +1375,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1400
1375
|
} | undefined;
|
|
1401
1376
|
}, undefined>>,
|
|
1402
1377
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
1403
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1378
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
1404
1379
|
dependencies: [
|
|
1405
1380
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1406
1381
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -1454,12 +1429,12 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1454
1429
|
editSelectedExtension: () => boolean;
|
|
1455
1430
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI;
|
|
1456
1431
|
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-
|
|
1432
|
+
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
1433
|
+
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
1434
|
+
runMacroAutoConvert: import("@atlaskit/editor-plugins/extension").RunMacroAutoConvert;
|
|
1435
|
+
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
1436
|
};
|
|
1462
|
-
}, import("@atlaskit/editor-
|
|
1437
|
+
}, import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined>>,
|
|
1463
1438
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
1464
1439
|
dependencies: [
|
|
1465
1440
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -1486,17 +1461,17 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1486
1461
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
1487
1462
|
}, undefined>,
|
|
1488
1463
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1489
|
-
sharedState: import("@atlaskit/editor-
|
|
1464
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
1490
1465
|
dependencies: [
|
|
1491
1466
|
];
|
|
1492
1467
|
pluginConfiguration?: {
|
|
1493
|
-
mode?: import("@atlaskit/editor-
|
|
1468
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
1494
1469
|
} | undefined;
|
|
1495
1470
|
commands: {
|
|
1496
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
1471
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1497
1472
|
};
|
|
1498
1473
|
}, {
|
|
1499
|
-
mode?: import("@atlaskit/editor-
|
|
1474
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
1500
1475
|
} | undefined>>,
|
|
1501
1476
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
1502
1477
|
dependencies: [
|
|
@@ -1529,9 +1504,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1529
1504
|
dependencies: [
|
|
1530
1505
|
];
|
|
1531
1506
|
actions: {
|
|
1532
|
-
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-
|
|
1507
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
1533
1508
|
};
|
|
1534
|
-
sharedState: import("@atlaskit/editor-
|
|
1509
|
+
sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
|
|
1535
1510
|
}, undefined>>,
|
|
1536
1511
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"quickInsert", {
|
|
1537
1512
|
pluginConfiguration: QuickInsertPluginOptions | undefined;
|
|
@@ -1610,16 +1585,16 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1610
1585
|
};
|
|
1611
1586
|
}, QuickInsertPluginOptions | undefined>>
|
|
1612
1587
|
];
|
|
1613
|
-
sharedState: import("@atlaskit/editor-
|
|
1588
|
+
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
1614
1589
|
commands: {
|
|
1615
1590
|
moveToLayout: (start: number, to: number, options?: {
|
|
1616
1591
|
moveToEnd?: boolean | undefined;
|
|
1617
1592
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1618
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-
|
|
1593
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugins/block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
1619
1594
|
(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
1595
|
(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
1596
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1622
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-
|
|
1597
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugins/block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1623
1598
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1624
1599
|
};
|
|
1625
1600
|
}, undefined>>,
|
|
@@ -1628,7 +1603,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1628
1603
|
sharedState: FeatureFlags;
|
|
1629
1604
|
}, FeatureFlags>>,
|
|
1630
1605
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"emoji", {
|
|
1631
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1606
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined;
|
|
1632
1607
|
dependencies: [
|
|
1633
1608
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1634
1609
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -1703,7 +1678,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1703
1678
|
}, TypeAheadPluginOptions | undefined>,
|
|
1704
1679
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1705
1680
|
sharedState: {
|
|
1706
|
-
annotations: import("@atlaskit/editor-
|
|
1681
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
1707
1682
|
isVisible: boolean;
|
|
1708
1683
|
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
1709
1684
|
mouseData: {
|
|
@@ -1711,14 +1686,14 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1711
1686
|
};
|
|
1712
1687
|
};
|
|
1713
1688
|
actions: {
|
|
1714
|
-
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-
|
|
1689
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
1715
1690
|
};
|
|
1716
1691
|
}, undefined>>,
|
|
1717
1692
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1718
|
-
sharedState: import("@atlaskit/editor-
|
|
1693
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState;
|
|
1719
1694
|
}, undefined>>
|
|
1720
1695
|
];
|
|
1721
|
-
sharedState: import("@atlaskit/editor-
|
|
1696
|
+
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
1722
1697
|
commands: {
|
|
1723
1698
|
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
1699
|
};
|
|
@@ -1726,7 +1701,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1726
1701
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
1727
1702
|
setProvider: (provider: Promise<import("@atlaskit/emoji").EmojiProvider>) => Promise<boolean>;
|
|
1728
1703
|
};
|
|
1729
|
-
}, import("@atlaskit/editor-
|
|
1704
|
+
}, import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined>>
|
|
1730
1705
|
];
|
|
1731
1706
|
actions: {
|
|
1732
1707
|
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
@@ -1748,27 +1723,27 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1748
1723
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
1749
1724
|
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>,
|
|
1750
1725
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1751
|
-
sharedState: import("@atlaskit/editor-
|
|
1726
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState;
|
|
1752
1727
|
actions: {
|
|
1753
1728
|
setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
1754
1729
|
};
|
|
1755
1730
|
}, undefined>>
|
|
1756
1731
|
];
|
|
1757
|
-
sharedState: import("@atlaskit/editor-
|
|
1732
|
+
sharedState: import("@atlaskit/editor-plugins/card").CardPluginState | null;
|
|
1758
1733
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
1759
|
-
}, import("@atlaskit/editor-
|
|
1734
|
+
}, import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined>>,
|
|
1760
1735
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1761
|
-
sharedState: import("@atlaskit/editor-
|
|
1736
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
1762
1737
|
dependencies: [
|
|
1763
1738
|
];
|
|
1764
1739
|
pluginConfiguration?: {
|
|
1765
|
-
mode?: import("@atlaskit/editor-
|
|
1740
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
1766
1741
|
} | undefined;
|
|
1767
1742
|
commands: {
|
|
1768
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
1743
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1769
1744
|
};
|
|
1770
1745
|
}, {
|
|
1771
|
-
mode?: import("@atlaskit/editor-
|
|
1746
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
1772
1747
|
} | undefined>>
|
|
1773
1748
|
];
|
|
1774
1749
|
actions: {
|
|
@@ -1789,17 +1764,17 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1789
1764
|
};
|
|
1790
1765
|
dependencies: [
|
|
1791
1766
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1792
|
-
sharedState: import("@atlaskit/editor-
|
|
1767
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
1793
1768
|
dependencies: [
|
|
1794
1769
|
];
|
|
1795
1770
|
pluginConfiguration?: {
|
|
1796
|
-
mode?: import("@atlaskit/editor-
|
|
1771
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
1797
1772
|
} | undefined;
|
|
1798
1773
|
commands: {
|
|
1799
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
1774
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1800
1775
|
};
|
|
1801
1776
|
}, {
|
|
1802
|
-
mode?: import("@atlaskit/editor-
|
|
1777
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
1803
1778
|
} | undefined>>
|
|
1804
1779
|
];
|
|
1805
1780
|
actions?: {
|
|
@@ -2058,22 +2033,22 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2058
2033
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
2059
2034
|
];
|
|
2060
2035
|
actions: {
|
|
2061
|
-
isInsideListItem: import("@atlaskit/editor-
|
|
2062
|
-
findRootParentListNode: import("@atlaskit/editor-
|
|
2036
|
+
isInsideListItem: import("@atlaskit/editor-plugins/list").IsInsideListItem;
|
|
2037
|
+
findRootParentListNode: import("@atlaskit/editor-plugins/list").FindRootParentListNode;
|
|
2063
2038
|
};
|
|
2064
2039
|
commands: {
|
|
2065
|
-
indentList: import("@atlaskit/editor-
|
|
2066
|
-
outdentList: import("@atlaskit/editor-
|
|
2067
|
-
toggleOrderedList: import("@atlaskit/editor-
|
|
2068
|
-
toggleBulletList: import("@atlaskit/editor-
|
|
2040
|
+
indentList: import("@atlaskit/editor-plugins/list").IndentList;
|
|
2041
|
+
outdentList: import("@atlaskit/editor-plugins/list").OutdentList;
|
|
2042
|
+
toggleOrderedList: import("@atlaskit/editor-plugins/list").ToggleOrderedList;
|
|
2043
|
+
toggleBulletList: import("@atlaskit/editor-plugins/list").ToggleBulletList;
|
|
2069
2044
|
};
|
|
2070
|
-
sharedState: import("@atlaskit/editor-
|
|
2045
|
+
sharedState: import("@atlaskit/editor-plugins/list").ListState | undefined;
|
|
2071
2046
|
}, undefined>>,
|
|
2072
2047
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"betterTypeHistory", {
|
|
2073
2048
|
actions: import("@atlaskit/editor-plugins/better-type-history").BetterTypeHistoryAPI;
|
|
2074
2049
|
}, undefined>,
|
|
2075
2050
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
|
|
2076
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2051
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined;
|
|
2077
2052
|
dependencies: [
|
|
2078
2053
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2079
2054
|
pluginConfiguration: FeatureFlags;
|
|
@@ -2095,17 +2070,17 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2095
2070
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2096
2071
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
2097
2072
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2098
|
-
sharedState: import("@atlaskit/editor-
|
|
2073
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
2099
2074
|
dependencies: [
|
|
2100
2075
|
];
|
|
2101
2076
|
pluginConfiguration?: {
|
|
2102
|
-
mode?: import("@atlaskit/editor-
|
|
2077
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
2103
2078
|
} | undefined;
|
|
2104
2079
|
commands: {
|
|
2105
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
2080
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2106
2081
|
};
|
|
2107
2082
|
}, {
|
|
2108
|
-
mode?: import("@atlaskit/editor-
|
|
2083
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
2109
2084
|
} | undefined>>,
|
|
2110
2085
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
2111
2086
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
@@ -2118,17 +2093,17 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2118
2093
|
};
|
|
2119
2094
|
}, undefined>,
|
|
2120
2095
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
|
|
2121
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2096
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined;
|
|
2122
2097
|
dependencies: [
|
|
2123
2098
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
2124
2099
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
2125
2100
|
}, undefined>
|
|
2126
2101
|
];
|
|
2127
|
-
sharedState: import("@atlaskit/editor-
|
|
2102
|
+
sharedState: import("@atlaskit/editor-plugins/grid").GridPluginState | null;
|
|
2128
2103
|
actions: {
|
|
2129
|
-
displayGrid: import("@atlaskit/editor-
|
|
2104
|
+
displayGrid: import("@atlaskit/editor-plugins/grid").CreateDisplayGrid;
|
|
2130
2105
|
};
|
|
2131
|
-
}, import("@atlaskit/editor-
|
|
2106
|
+
}, import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined>,
|
|
2132
2107
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
2133
2108
|
dependencies: [
|
|
2134
2109
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
@@ -2147,7 +2122,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2147
2122
|
} | undefined;
|
|
2148
2123
|
}, undefined>>,
|
|
2149
2124
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
2150
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2125
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
2151
2126
|
dependencies: [
|
|
2152
2127
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2153
2128
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -2201,12 +2176,12 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2201
2176
|
editSelectedExtension: () => boolean;
|
|
2202
2177
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI;
|
|
2203
2178
|
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-
|
|
2179
|
+
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
2180
|
+
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
2181
|
+
runMacroAutoConvert: import("@atlaskit/editor-plugins/extension").RunMacroAutoConvert;
|
|
2182
|
+
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
2183
|
};
|
|
2209
|
-
}, import("@atlaskit/editor-
|
|
2184
|
+
}, import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined>>,
|
|
2210
2185
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
2211
2186
|
dependencies: [
|
|
2212
2187
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -2233,17 +2208,17 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2233
2208
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
2234
2209
|
}, undefined>,
|
|
2235
2210
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2236
|
-
sharedState: import("@atlaskit/editor-
|
|
2211
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
2237
2212
|
dependencies: [
|
|
2238
2213
|
];
|
|
2239
2214
|
pluginConfiguration?: {
|
|
2240
|
-
mode?: import("@atlaskit/editor-
|
|
2215
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
2241
2216
|
} | undefined;
|
|
2242
2217
|
commands: {
|
|
2243
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
2218
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2244
2219
|
};
|
|
2245
2220
|
}, {
|
|
2246
|
-
mode?: import("@atlaskit/editor-
|
|
2221
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
2247
2222
|
} | undefined>>,
|
|
2248
2223
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
2249
2224
|
dependencies: [
|
|
@@ -2276,9 +2251,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2276
2251
|
dependencies: [
|
|
2277
2252
|
];
|
|
2278
2253
|
actions: {
|
|
2279
|
-
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-
|
|
2254
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
2280
2255
|
};
|
|
2281
|
-
sharedState: import("@atlaskit/editor-
|
|
2256
|
+
sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
|
|
2282
2257
|
}, undefined>>,
|
|
2283
2258
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"quickInsert", {
|
|
2284
2259
|
pluginConfiguration: QuickInsertPluginOptions | undefined;
|
|
@@ -2357,16 +2332,16 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2357
2332
|
};
|
|
2358
2333
|
}, QuickInsertPluginOptions | undefined>>
|
|
2359
2334
|
];
|
|
2360
|
-
sharedState: import("@atlaskit/editor-
|
|
2335
|
+
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
2361
2336
|
commands: {
|
|
2362
2337
|
moveToLayout: (start: number, to: number, options?: {
|
|
2363
2338
|
moveToEnd?: boolean | undefined;
|
|
2364
2339
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2365
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-
|
|
2340
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugins/block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
2366
2341
|
(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
2342
|
(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
2343
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2369
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-
|
|
2344
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugins/block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2370
2345
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2371
2346
|
};
|
|
2372
2347
|
}, undefined>>,
|
|
@@ -2375,7 +2350,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2375
2350
|
sharedState: FeatureFlags;
|
|
2376
2351
|
}, FeatureFlags>>,
|
|
2377
2352
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"emoji", {
|
|
2378
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2353
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined;
|
|
2379
2354
|
dependencies: [
|
|
2380
2355
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2381
2356
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -2450,7 +2425,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2450
2425
|
}, TypeAheadPluginOptions | undefined>,
|
|
2451
2426
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2452
2427
|
sharedState: {
|
|
2453
|
-
annotations: import("@atlaskit/editor-
|
|
2428
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
2454
2429
|
isVisible: boolean;
|
|
2455
2430
|
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
2456
2431
|
mouseData: {
|
|
@@ -2458,14 +2433,14 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2458
2433
|
};
|
|
2459
2434
|
};
|
|
2460
2435
|
actions: {
|
|
2461
|
-
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-
|
|
2436
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
2462
2437
|
};
|
|
2463
2438
|
}, undefined>>,
|
|
2464
2439
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2465
|
-
sharedState: import("@atlaskit/editor-
|
|
2440
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState;
|
|
2466
2441
|
}, undefined>>
|
|
2467
2442
|
];
|
|
2468
|
-
sharedState: import("@atlaskit/editor-
|
|
2443
|
+
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
2469
2444
|
commands: {
|
|
2470
2445
|
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
2446
|
};
|
|
@@ -2473,7 +2448,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2473
2448
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
2474
2449
|
setProvider: (provider: Promise<import("@atlaskit/emoji").EmojiProvider>) => Promise<boolean>;
|
|
2475
2450
|
};
|
|
2476
|
-
}, import("@atlaskit/editor-
|
|
2451
|
+
}, import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined>>
|
|
2477
2452
|
];
|
|
2478
2453
|
actions: {
|
|
2479
2454
|
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
@@ -2495,15 +2470,15 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2495
2470
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2496
2471
|
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>,
|
|
2497
2472
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2498
|
-
sharedState: import("@atlaskit/editor-
|
|
2473
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState;
|
|
2499
2474
|
actions: {
|
|
2500
2475
|
setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
2501
2476
|
};
|
|
2502
2477
|
}, undefined>>
|
|
2503
2478
|
];
|
|
2504
|
-
sharedState: import("@atlaskit/editor-
|
|
2479
|
+
sharedState: import("@atlaskit/editor-plugins/card").CardPluginState | null;
|
|
2505
2480
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
2506
|
-
}, import("@atlaskit/editor-
|
|
2481
|
+
}, import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined>>,
|
|
2507
2482
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2508
2483
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2509
2484
|
sharedState: {
|
|
@@ -2545,17 +2520,17 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2545
2520
|
};
|
|
2546
2521
|
}, import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined>>,
|
|
2547
2522
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2548
|
-
sharedState: import("@atlaskit/editor-
|
|
2523
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
2549
2524
|
dependencies: [
|
|
2550
2525
|
];
|
|
2551
2526
|
pluginConfiguration?: {
|
|
2552
|
-
mode?: import("@atlaskit/editor-
|
|
2527
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
2553
2528
|
} | undefined;
|
|
2554
2529
|
commands: {
|
|
2555
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
2530
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2556
2531
|
};
|
|
2557
2532
|
}, {
|
|
2558
|
-
mode?: import("@atlaskit/editor-
|
|
2533
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
2559
2534
|
} | undefined>>,
|
|
2560
2535
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
|
|
2561
2536
|
dependencies: [
|
|
@@ -2569,17 +2544,17 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2569
2544
|
};
|
|
2570
2545
|
}, undefined>>,
|
|
2571
2546
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
|
|
2572
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2547
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined;
|
|
2573
2548
|
dependencies: [
|
|
2574
2549
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
2575
2550
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
2576
2551
|
}, undefined>
|
|
2577
2552
|
];
|
|
2578
|
-
sharedState: import("@atlaskit/editor-
|
|
2553
|
+
sharedState: import("@atlaskit/editor-plugins/grid").GridPluginState | null;
|
|
2579
2554
|
actions: {
|
|
2580
|
-
displayGrid: import("@atlaskit/editor-
|
|
2555
|
+
displayGrid: import("@atlaskit/editor-plugins/grid").CreateDisplayGrid;
|
|
2581
2556
|
};
|
|
2582
|
-
}, import("@atlaskit/editor-
|
|
2557
|
+
}, import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined>,
|
|
2583
2558
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
2584
2559
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
2585
2560
|
}, undefined>,
|
|
@@ -2608,7 +2583,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2608
2583
|
} | undefined;
|
|
2609
2584
|
}, undefined>>,
|
|
2610
2585
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
2611
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2586
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
2612
2587
|
dependencies: [
|
|
2613
2588
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2614
2589
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -2662,12 +2637,12 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2662
2637
|
editSelectedExtension: () => boolean;
|
|
2663
2638
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI;
|
|
2664
2639
|
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-
|
|
2640
|
+
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
2641
|
+
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
2642
|
+
runMacroAutoConvert: import("@atlaskit/editor-plugins/extension").RunMacroAutoConvert;
|
|
2643
|
+
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
2644
|
};
|
|
2670
|
-
}, import("@atlaskit/editor-
|
|
2645
|
+
}, import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined>>,
|
|
2671
2646
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
2672
2647
|
dependencies: [
|
|
2673
2648
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -2694,17 +2669,17 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2694
2669
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
2695
2670
|
}, undefined>,
|
|
2696
2671
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2697
|
-
sharedState: import("@atlaskit/editor-
|
|
2672
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
2698
2673
|
dependencies: [
|
|
2699
2674
|
];
|
|
2700
2675
|
pluginConfiguration?: {
|
|
2701
|
-
mode?: import("@atlaskit/editor-
|
|
2676
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
2702
2677
|
} | undefined;
|
|
2703
2678
|
commands: {
|
|
2704
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
2679
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2705
2680
|
};
|
|
2706
2681
|
}, {
|
|
2707
|
-
mode?: import("@atlaskit/editor-
|
|
2682
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
2708
2683
|
} | undefined>>,
|
|
2709
2684
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
2710
2685
|
dependencies: [
|
|
@@ -2737,9 +2712,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2737
2712
|
dependencies: [
|
|
2738
2713
|
];
|
|
2739
2714
|
actions: {
|
|
2740
|
-
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-
|
|
2715
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
2741
2716
|
};
|
|
2742
|
-
sharedState: import("@atlaskit/editor-
|
|
2717
|
+
sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
|
|
2743
2718
|
}, undefined>>,
|
|
2744
2719
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"quickInsert", {
|
|
2745
2720
|
pluginConfiguration: QuickInsertPluginOptions | undefined;
|
|
@@ -2818,16 +2793,16 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2818
2793
|
};
|
|
2819
2794
|
}, QuickInsertPluginOptions | undefined>>
|
|
2820
2795
|
];
|
|
2821
|
-
sharedState: import("@atlaskit/editor-
|
|
2796
|
+
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
2822
2797
|
commands: {
|
|
2823
2798
|
moveToLayout: (start: number, to: number, options?: {
|
|
2824
2799
|
moveToEnd?: boolean | undefined;
|
|
2825
2800
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2826
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-
|
|
2801
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugins/block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
2827
2802
|
(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
2803
|
(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
2804
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2830
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-
|
|
2805
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugins/block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2831
2806
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2832
2807
|
};
|
|
2833
2808
|
}, undefined>>,
|
|
@@ -2836,7 +2811,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2836
2811
|
sharedState: FeatureFlags;
|
|
2837
2812
|
}, FeatureFlags>>,
|
|
2838
2813
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"emoji", {
|
|
2839
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2814
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined;
|
|
2840
2815
|
dependencies: [
|
|
2841
2816
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2842
2817
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -2911,7 +2886,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2911
2886
|
}, TypeAheadPluginOptions | undefined>,
|
|
2912
2887
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2913
2888
|
sharedState: {
|
|
2914
|
-
annotations: import("@atlaskit/editor-
|
|
2889
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
2915
2890
|
isVisible: boolean;
|
|
2916
2891
|
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
2917
2892
|
mouseData: {
|
|
@@ -2919,14 +2894,14 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2919
2894
|
};
|
|
2920
2895
|
};
|
|
2921
2896
|
actions: {
|
|
2922
|
-
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-
|
|
2897
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
2923
2898
|
};
|
|
2924
2899
|
}, undefined>>,
|
|
2925
2900
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2926
|
-
sharedState: import("@atlaskit/editor-
|
|
2901
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState;
|
|
2927
2902
|
}, undefined>>
|
|
2928
2903
|
];
|
|
2929
|
-
sharedState: import("@atlaskit/editor-
|
|
2904
|
+
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
2930
2905
|
commands: {
|
|
2931
2906
|
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
2907
|
};
|
|
@@ -2934,7 +2909,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2934
2909
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
2935
2910
|
setProvider: (provider: Promise<import("@atlaskit/emoji").EmojiProvider>) => Promise<boolean>;
|
|
2936
2911
|
};
|
|
2937
|
-
}, import("@atlaskit/editor-
|
|
2912
|
+
}, import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined>>
|
|
2938
2913
|
];
|
|
2939
2914
|
actions: {
|
|
2940
2915
|
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
@@ -2959,8 +2934,8 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2959
2934
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2960
2935
|
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>,
|
|
2961
2936
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2962
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2963
|
-
sharedState: import("@atlaskit/editor-
|
|
2937
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
2938
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
2964
2939
|
dependencies: [
|
|
2965
2940
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2966
2941
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -2980,7 +2955,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2980
2955
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewModeEffects", {
|
|
2981
2956
|
dependencies: [
|
|
2982
2957
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"collabEdit", {
|
|
2983
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2958
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions;
|
|
2984
2959
|
dependencies: [
|
|
2985
2960
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2986
2961
|
pluginConfiguration: FeatureFlags;
|
|
@@ -3002,20 +2977,20 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
3002
2977
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3003
2978
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
3004
2979
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3005
|
-
sharedState: import("@atlaskit/editor-
|
|
2980
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
3006
2981
|
dependencies: [
|
|
3007
2982
|
];
|
|
3008
2983
|
pluginConfiguration?: {
|
|
3009
|
-
mode?: import("@atlaskit/editor-
|
|
2984
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
3010
2985
|
} | undefined;
|
|
3011
2986
|
commands: {
|
|
3012
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
2987
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3013
2988
|
};
|
|
3014
2989
|
}, {
|
|
3015
|
-
mode?: import("@atlaskit/editor-
|
|
2990
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
3016
2991
|
} | undefined>>
|
|
3017
2992
|
];
|
|
3018
|
-
sharedState: import("@atlaskit/editor-
|
|
2993
|
+
sharedState: import("@atlaskit/editor-plugins/collab-edit").CollabEditPluginSharedState;
|
|
3019
2994
|
actions: {
|
|
3020
2995
|
getAvatarColor: (str: string) => {
|
|
3021
2996
|
index: number;
|
|
@@ -3033,24 +3008,24 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
3033
3008
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3034
3009
|
getCurrentCollabState: () => {
|
|
3035
3010
|
version: number | undefined;
|
|
3036
|
-
sendableSteps: import("@atlaskit/editor-
|
|
3011
|
+
sendableSteps: import("@atlaskit/editor-plugins/collab-edit").CollabSendableSteps | null | undefined;
|
|
3037
3012
|
content: import("@atlaskit/editor-json-transformer").JSONNode | undefined;
|
|
3038
3013
|
};
|
|
3039
3014
|
validatePMJSONDocument: (doc: any) => boolean;
|
|
3040
3015
|
};
|
|
3041
|
-
}, import("@atlaskit/editor-
|
|
3016
|
+
}, import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions>,
|
|
3042
3017
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3043
|
-
sharedState: import("@atlaskit/editor-
|
|
3018
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
3044
3019
|
dependencies: [
|
|
3045
3020
|
];
|
|
3046
3021
|
pluginConfiguration?: {
|
|
3047
|
-
mode?: import("@atlaskit/editor-
|
|
3022
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
3048
3023
|
} | undefined;
|
|
3049
3024
|
commands: {
|
|
3050
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
3025
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3051
3026
|
};
|
|
3052
3027
|
}, {
|
|
3053
|
-
mode?: import("@atlaskit/editor-
|
|
3028
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
3054
3029
|
} | undefined>
|
|
3055
3030
|
];
|
|
3056
3031
|
actions: {
|
|
@@ -3058,47 +3033,22 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
3058
3033
|
};
|
|
3059
3034
|
}, undefined>>,
|
|
3060
3035
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3061
|
-
sharedState: import("@atlaskit/editor-
|
|
3036
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
3062
3037
|
dependencies: [
|
|
3063
3038
|
];
|
|
3064
3039
|
pluginConfiguration?: {
|
|
3065
|
-
mode?: import("@atlaskit/editor-
|
|
3040
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
3066
3041
|
} | undefined;
|
|
3067
3042
|
commands: {
|
|
3068
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
3043
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3069
3044
|
};
|
|
3070
3045
|
}, {
|
|
3071
|
-
mode?: import("@atlaskit/editor-
|
|
3046
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
3072
3047
|
} | undefined>>,
|
|
3073
3048
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3074
3049
|
pluginConfiguration: FeatureFlags;
|
|
3075
3050
|
sharedState: FeatureFlags;
|
|
3076
3051
|
}, FeatureFlags>>,
|
|
3077
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
|
|
3078
|
-
actions: {
|
|
3079
|
-
startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
|
|
3080
|
-
stopMessage: (messageId: string) => Promise<boolean>;
|
|
3081
|
-
};
|
|
3082
|
-
pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
|
|
3083
|
-
dependencies: [
|
|
3084
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
3085
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
3086
|
-
sharedState: {
|
|
3087
|
-
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
3088
|
-
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
3089
|
-
performanceTracking: PerformanceTracking | undefined;
|
|
3090
|
-
};
|
|
3091
|
-
dependencies: [
|
|
3092
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3093
|
-
pluginConfiguration: FeatureFlags;
|
|
3094
|
-
sharedState: FeatureFlags;
|
|
3095
|
-
}, FeatureFlags>>
|
|
3096
|
-
];
|
|
3097
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3098
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
3099
|
-
];
|
|
3100
|
-
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
3101
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>,
|
|
3102
3052
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
3103
3053
|
sharedState: {
|
|
3104
3054
|
mode: "offline" | "online";
|
|
@@ -3107,10 +3057,10 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
3107
3057
|
];
|
|
3108
3058
|
actions: {
|
|
3109
3059
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3110
|
-
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-
|
|
3060
|
+
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
3061
|
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
3062
|
};
|
|
3113
|
-
}, import("@atlaskit/editor-
|
|
3063
|
+
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>,
|
|
3114
3064
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3115
3065
|
pluginConfiguration: FeatureFlags;
|
|
3116
3066
|
sharedState: FeatureFlags;
|
|
@@ -3132,7 +3082,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
3132
3082
|
};
|
|
3133
3083
|
}, import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined>>,
|
|
3134
3084
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
3135
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
3085
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
3136
3086
|
dependencies: [
|
|
3137
3087
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
3138
3088
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -3186,15 +3136,15 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
3186
3136
|
editSelectedExtension: () => boolean;
|
|
3187
3137
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI;
|
|
3188
3138
|
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-
|
|
3139
|
+
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
3140
|
+
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
3141
|
+
runMacroAutoConvert: import("@atlaskit/editor-plugins/extension").RunMacroAutoConvert;
|
|
3142
|
+
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
3143
|
};
|
|
3194
|
-
}, import("@atlaskit/editor-
|
|
3144
|
+
}, import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined>>,
|
|
3195
3145
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3196
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
3197
|
-
sharedState: import("@atlaskit/editor-
|
|
3146
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
3147
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
3198
3148
|
dependencies: [
|
|
3199
3149
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
3200
3150
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -3214,7 +3164,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
3214
3164
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewModeEffects", {
|
|
3215
3165
|
dependencies: [
|
|
3216
3166
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"collabEdit", {
|
|
3217
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
3167
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions;
|
|
3218
3168
|
dependencies: [
|
|
3219
3169
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3220
3170
|
pluginConfiguration: FeatureFlags;
|
|
@@ -3236,20 +3186,20 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
3236
3186
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3237
3187
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
3238
3188
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3239
|
-
sharedState: import("@atlaskit/editor-
|
|
3189
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
3240
3190
|
dependencies: [
|
|
3241
3191
|
];
|
|
3242
3192
|
pluginConfiguration?: {
|
|
3243
|
-
mode?: import("@atlaskit/editor-
|
|
3193
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
3244
3194
|
} | undefined;
|
|
3245
3195
|
commands: {
|
|
3246
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
3196
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3247
3197
|
};
|
|
3248
3198
|
}, {
|
|
3249
|
-
mode?: import("@atlaskit/editor-
|
|
3199
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
3250
3200
|
} | undefined>>
|
|
3251
3201
|
];
|
|
3252
|
-
sharedState: import("@atlaskit/editor-
|
|
3202
|
+
sharedState: import("@atlaskit/editor-plugins/collab-edit").CollabEditPluginSharedState;
|
|
3253
3203
|
actions: {
|
|
3254
3204
|
getAvatarColor: (str: string) => {
|
|
3255
3205
|
index: number;
|
|
@@ -3267,24 +3217,24 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
3267
3217
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3268
3218
|
getCurrentCollabState: () => {
|
|
3269
3219
|
version: number | undefined;
|
|
3270
|
-
sendableSteps: import("@atlaskit/editor-
|
|
3220
|
+
sendableSteps: import("@atlaskit/editor-plugins/collab-edit").CollabSendableSteps | null | undefined;
|
|
3271
3221
|
content: import("@atlaskit/editor-json-transformer").JSONNode | undefined;
|
|
3272
3222
|
};
|
|
3273
3223
|
validatePMJSONDocument: (doc: any) => boolean;
|
|
3274
3224
|
};
|
|
3275
|
-
}, import("@atlaskit/editor-
|
|
3225
|
+
}, import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions>,
|
|
3276
3226
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3277
|
-
sharedState: import("@atlaskit/editor-
|
|
3227
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
3278
3228
|
dependencies: [
|
|
3279
3229
|
];
|
|
3280
3230
|
pluginConfiguration?: {
|
|
3281
|
-
mode?: import("@atlaskit/editor-
|
|
3231
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
3282
3232
|
} | undefined;
|
|
3283
3233
|
commands: {
|
|
3284
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
3234
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3285
3235
|
};
|
|
3286
3236
|
}, {
|
|
3287
|
-
mode?: import("@atlaskit/editor-
|
|
3237
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
3288
3238
|
} | undefined>
|
|
3289
3239
|
];
|
|
3290
3240
|
actions: {
|
|
@@ -3292,47 +3242,22 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
3292
3242
|
};
|
|
3293
3243
|
}, undefined>>,
|
|
3294
3244
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3295
|
-
sharedState: import("@atlaskit/editor-
|
|
3245
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
3296
3246
|
dependencies: [
|
|
3297
3247
|
];
|
|
3298
3248
|
pluginConfiguration?: {
|
|
3299
|
-
mode?: import("@atlaskit/editor-
|
|
3249
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
3300
3250
|
} | undefined;
|
|
3301
3251
|
commands: {
|
|
3302
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
3252
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3303
3253
|
};
|
|
3304
3254
|
}, {
|
|
3305
|
-
mode?: import("@atlaskit/editor-
|
|
3255
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
3306
3256
|
} | undefined>>,
|
|
3307
3257
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3308
3258
|
pluginConfiguration: FeatureFlags;
|
|
3309
3259
|
sharedState: FeatureFlags;
|
|
3310
3260
|
}, FeatureFlags>>,
|
|
3311
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
|
|
3312
|
-
actions: {
|
|
3313
|
-
startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
|
|
3314
|
-
stopMessage: (messageId: string) => Promise<boolean>;
|
|
3315
|
-
};
|
|
3316
|
-
pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
|
|
3317
|
-
dependencies: [
|
|
3318
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
3319
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
3320
|
-
sharedState: {
|
|
3321
|
-
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
3322
|
-
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
3323
|
-
performanceTracking: PerformanceTracking | undefined;
|
|
3324
|
-
};
|
|
3325
|
-
dependencies: [
|
|
3326
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3327
|
-
pluginConfiguration: FeatureFlags;
|
|
3328
|
-
sharedState: FeatureFlags;
|
|
3329
|
-
}, FeatureFlags>>
|
|
3330
|
-
];
|
|
3331
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3332
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
3333
|
-
];
|
|
3334
|
-
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
3335
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>,
|
|
3336
3261
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
3337
3262
|
sharedState: {
|
|
3338
3263
|
mode: "offline" | "online";
|
|
@@ -3341,12 +3266,12 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
3341
3266
|
];
|
|
3342
3267
|
actions: {
|
|
3343
3268
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3344
|
-
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-
|
|
3269
|
+
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
3270
|
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
3271
|
};
|
|
3347
|
-
}, import("@atlaskit/editor-
|
|
3272
|
+
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>,
|
|
3348
3273
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"mention", {
|
|
3349
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
3274
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/mentions").MentionPluginOptions | undefined;
|
|
3350
3275
|
dependencies: [
|
|
3351
3276
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
3352
3277
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -3427,7 +3352,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
3427
3352
|
};
|
|
3428
3353
|
}, import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined>>
|
|
3429
3354
|
];
|
|
3430
|
-
sharedState: import("@atlaskit/editor-
|
|
3355
|
+
sharedState: import("@atlaskit/editor-plugins/mentions").MentionSharedState | undefined;
|
|
3431
3356
|
actions: {
|
|
3432
3357
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
3433
3358
|
announceMentionsInsertion: (mentionIds: {
|
|
@@ -3437,7 +3362,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
3437
3362
|
taskLocalId?: string | undefined;
|
|
3438
3363
|
}[]) => void;
|
|
3439
3364
|
};
|
|
3440
|
-
}, import("@atlaskit/editor-
|
|
3365
|
+
}, import("@atlaskit/editor-plugins/mentions").MentionPluginOptions | undefined>>
|
|
3441
3366
|
];
|
|
3442
3367
|
sharedState: {
|
|
3443
3368
|
lastContentPasted: import("@atlaskit/editor-plugins/paste").LastContentPasted | null;
|
|
@@ -3563,7 +3488,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3563
3488
|
} | undefined;
|
|
3564
3489
|
}, undefined>>,
|
|
3565
3490
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
3566
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
3491
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
3567
3492
|
dependencies: [
|
|
3568
3493
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
3569
3494
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -3617,12 +3542,12 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3617
3542
|
editSelectedExtension: () => boolean;
|
|
3618
3543
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI;
|
|
3619
3544
|
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-
|
|
3545
|
+
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
3546
|
+
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
3547
|
+
runMacroAutoConvert: import("@atlaskit/editor-plugins/extension").RunMacroAutoConvert;
|
|
3548
|
+
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
3549
|
};
|
|
3625
|
-
}, import("@atlaskit/editor-
|
|
3550
|
+
}, import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined>>,
|
|
3626
3551
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
3627
3552
|
dependencies: [
|
|
3628
3553
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -3649,17 +3574,17 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3649
3574
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
3650
3575
|
}, undefined>,
|
|
3651
3576
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3652
|
-
sharedState: import("@atlaskit/editor-
|
|
3577
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
3653
3578
|
dependencies: [
|
|
3654
3579
|
];
|
|
3655
3580
|
pluginConfiguration?: {
|
|
3656
|
-
mode?: import("@atlaskit/editor-
|
|
3581
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
3657
3582
|
} | undefined;
|
|
3658
3583
|
commands: {
|
|
3659
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
3584
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3660
3585
|
};
|
|
3661
3586
|
}, {
|
|
3662
|
-
mode?: import("@atlaskit/editor-
|
|
3587
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
3663
3588
|
} | undefined>>,
|
|
3664
3589
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
3665
3590
|
dependencies: [
|
|
@@ -3692,9 +3617,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3692
3617
|
dependencies: [
|
|
3693
3618
|
];
|
|
3694
3619
|
actions: {
|
|
3695
|
-
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-
|
|
3620
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
3696
3621
|
};
|
|
3697
|
-
sharedState: import("@atlaskit/editor-
|
|
3622
|
+
sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
|
|
3698
3623
|
}, undefined>>,
|
|
3699
3624
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"quickInsert", {
|
|
3700
3625
|
pluginConfiguration: QuickInsertPluginOptions | undefined;
|
|
@@ -3773,16 +3698,16 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3773
3698
|
};
|
|
3774
3699
|
}, QuickInsertPluginOptions | undefined>>
|
|
3775
3700
|
];
|
|
3776
|
-
sharedState: import("@atlaskit/editor-
|
|
3701
|
+
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
3777
3702
|
commands: {
|
|
3778
3703
|
moveToLayout: (start: number, to: number, options?: {
|
|
3779
3704
|
moveToEnd?: boolean | undefined;
|
|
3780
3705
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3781
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-
|
|
3706
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugins/block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
3782
3707
|
(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
3708
|
(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
3709
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3785
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-
|
|
3710
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugins/block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3786
3711
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3787
3712
|
};
|
|
3788
3713
|
}, undefined>>,
|
|
@@ -3791,7 +3716,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3791
3716
|
sharedState: FeatureFlags;
|
|
3792
3717
|
}, FeatureFlags>>,
|
|
3793
3718
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"emoji", {
|
|
3794
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
3719
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined;
|
|
3795
3720
|
dependencies: [
|
|
3796
3721
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
3797
3722
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -3866,7 +3791,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3866
3791
|
}, TypeAheadPluginOptions | undefined>,
|
|
3867
3792
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3868
3793
|
sharedState: {
|
|
3869
|
-
annotations: import("@atlaskit/editor-
|
|
3794
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
3870
3795
|
isVisible: boolean;
|
|
3871
3796
|
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
3872
3797
|
mouseData: {
|
|
@@ -3874,14 +3799,14 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3874
3799
|
};
|
|
3875
3800
|
};
|
|
3876
3801
|
actions: {
|
|
3877
|
-
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-
|
|
3802
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
3878
3803
|
};
|
|
3879
3804
|
}, undefined>>,
|
|
3880
3805
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3881
|
-
sharedState: import("@atlaskit/editor-
|
|
3806
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState;
|
|
3882
3807
|
}, undefined>>
|
|
3883
3808
|
];
|
|
3884
|
-
sharedState: import("@atlaskit/editor-
|
|
3809
|
+
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
3885
3810
|
commands: {
|
|
3886
3811
|
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
3812
|
};
|
|
@@ -3889,7 +3814,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3889
3814
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
3890
3815
|
setProvider: (provider: Promise<import("@atlaskit/emoji").EmojiProvider>) => Promise<boolean>;
|
|
3891
3816
|
};
|
|
3892
|
-
}, import("@atlaskit/editor-
|
|
3817
|
+
}, import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined>>
|
|
3893
3818
|
];
|
|
3894
3819
|
actions: {
|
|
3895
3820
|
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
@@ -3950,17 +3875,17 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3950
3875
|
};
|
|
3951
3876
|
}, import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined>>,
|
|
3952
3877
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3953
|
-
sharedState: import("@atlaskit/editor-
|
|
3878
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
3954
3879
|
dependencies: [
|
|
3955
3880
|
];
|
|
3956
3881
|
pluginConfiguration?: {
|
|
3957
|
-
mode?: import("@atlaskit/editor-
|
|
3882
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
3958
3883
|
} | undefined;
|
|
3959
3884
|
commands: {
|
|
3960
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
3885
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3961
3886
|
};
|
|
3962
3887
|
}, {
|
|
3963
|
-
mode?: import("@atlaskit/editor-
|
|
3888
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
3964
3889
|
} | undefined>>,
|
|
3965
3890
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
|
|
3966
3891
|
dependencies: [
|
|
@@ -3974,17 +3899,17 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3974
3899
|
};
|
|
3975
3900
|
}, undefined>>,
|
|
3976
3901
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
|
|
3977
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
3902
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined;
|
|
3978
3903
|
dependencies: [
|
|
3979
3904
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
3980
3905
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
3981
3906
|
}, undefined>
|
|
3982
3907
|
];
|
|
3983
|
-
sharedState: import("@atlaskit/editor-
|
|
3908
|
+
sharedState: import("@atlaskit/editor-plugins/grid").GridPluginState | null;
|
|
3984
3909
|
actions: {
|
|
3985
|
-
displayGrid: import("@atlaskit/editor-
|
|
3910
|
+
displayGrid: import("@atlaskit/editor-plugins/grid").CreateDisplayGrid;
|
|
3986
3911
|
};
|
|
3987
|
-
}, import("@atlaskit/editor-
|
|
3912
|
+
}, import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined>,
|
|
3988
3913
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
3989
3914
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
3990
3915
|
}, undefined>,
|
|
@@ -4013,7 +3938,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4013
3938
|
} | undefined;
|
|
4014
3939
|
}, undefined>>,
|
|
4015
3940
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
4016
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
3941
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
4017
3942
|
dependencies: [
|
|
4018
3943
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
4019
3944
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -4067,12 +3992,12 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4067
3992
|
editSelectedExtension: () => boolean;
|
|
4068
3993
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI;
|
|
4069
3994
|
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-
|
|
3995
|
+
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
3996
|
+
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
3997
|
+
runMacroAutoConvert: import("@atlaskit/editor-plugins/extension").RunMacroAutoConvert;
|
|
3998
|
+
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
3999
|
};
|
|
4075
|
-
}, import("@atlaskit/editor-
|
|
4000
|
+
}, import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined>>,
|
|
4076
4001
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
4077
4002
|
dependencies: [
|
|
4078
4003
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -4099,17 +4024,17 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4099
4024
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
4100
4025
|
}, undefined>,
|
|
4101
4026
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
4102
|
-
sharedState: import("@atlaskit/editor-
|
|
4027
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
4103
4028
|
dependencies: [
|
|
4104
4029
|
];
|
|
4105
4030
|
pluginConfiguration?: {
|
|
4106
|
-
mode?: import("@atlaskit/editor-
|
|
4031
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
4107
4032
|
} | undefined;
|
|
4108
4033
|
commands: {
|
|
4109
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
4034
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4110
4035
|
};
|
|
4111
4036
|
}, {
|
|
4112
|
-
mode?: import("@atlaskit/editor-
|
|
4037
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
4113
4038
|
} | undefined>>,
|
|
4114
4039
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
4115
4040
|
dependencies: [
|
|
@@ -4142,9 +4067,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4142
4067
|
dependencies: [
|
|
4143
4068
|
];
|
|
4144
4069
|
actions: {
|
|
4145
|
-
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-
|
|
4070
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
4146
4071
|
};
|
|
4147
|
-
sharedState: import("@atlaskit/editor-
|
|
4072
|
+
sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
|
|
4148
4073
|
}, undefined>>,
|
|
4149
4074
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"quickInsert", {
|
|
4150
4075
|
pluginConfiguration: QuickInsertPluginOptions | undefined;
|
|
@@ -4223,16 +4148,16 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4223
4148
|
};
|
|
4224
4149
|
}, QuickInsertPluginOptions | undefined>>
|
|
4225
4150
|
];
|
|
4226
|
-
sharedState: import("@atlaskit/editor-
|
|
4151
|
+
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
4227
4152
|
commands: {
|
|
4228
4153
|
moveToLayout: (start: number, to: number, options?: {
|
|
4229
4154
|
moveToEnd?: boolean | undefined;
|
|
4230
4155
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4231
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-
|
|
4156
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugins/block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
4232
4157
|
(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
4158
|
(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
4159
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4235
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-
|
|
4160
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugins/block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4236
4161
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4237
4162
|
};
|
|
4238
4163
|
}, undefined>>,
|
|
@@ -4241,7 +4166,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4241
4166
|
sharedState: FeatureFlags;
|
|
4242
4167
|
}, FeatureFlags>>,
|
|
4243
4168
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"emoji", {
|
|
4244
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
4169
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined;
|
|
4245
4170
|
dependencies: [
|
|
4246
4171
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
4247
4172
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -4316,7 +4241,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4316
4241
|
}, TypeAheadPluginOptions | undefined>,
|
|
4317
4242
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
4318
4243
|
sharedState: {
|
|
4319
|
-
annotations: import("@atlaskit/editor-
|
|
4244
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
4320
4245
|
isVisible: boolean;
|
|
4321
4246
|
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
4322
4247
|
mouseData: {
|
|
@@ -4324,14 +4249,14 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4324
4249
|
};
|
|
4325
4250
|
};
|
|
4326
4251
|
actions: {
|
|
4327
|
-
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-
|
|
4252
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
4328
4253
|
};
|
|
4329
4254
|
}, undefined>>,
|
|
4330
4255
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
4331
|
-
sharedState: import("@atlaskit/editor-
|
|
4256
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState;
|
|
4332
4257
|
}, undefined>>
|
|
4333
4258
|
];
|
|
4334
|
-
sharedState: import("@atlaskit/editor-
|
|
4259
|
+
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
4335
4260
|
commands: {
|
|
4336
4261
|
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
4262
|
};
|
|
@@ -4339,7 +4264,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4339
4264
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
4340
4265
|
setProvider: (provider: Promise<import("@atlaskit/emoji").EmojiProvider>) => Promise<boolean>;
|
|
4341
4266
|
};
|
|
4342
|
-
}, import("@atlaskit/editor-
|
|
4267
|
+
}, import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined>>
|
|
4343
4268
|
];
|
|
4344
4269
|
actions: {
|
|
4345
4270
|
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
@@ -4364,8 +4289,8 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4364
4289
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
4365
4290
|
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>,
|
|
4366
4291
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
4367
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
4368
|
-
sharedState: import("@atlaskit/editor-
|
|
4292
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
4293
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
4369
4294
|
dependencies: [
|
|
4370
4295
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
4371
4296
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -4385,7 +4310,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4385
4310
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewModeEffects", {
|
|
4386
4311
|
dependencies: [
|
|
4387
4312
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"collabEdit", {
|
|
4388
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
4313
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions;
|
|
4389
4314
|
dependencies: [
|
|
4390
4315
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4391
4316
|
pluginConfiguration: FeatureFlags;
|
|
@@ -4407,20 +4332,20 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4407
4332
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
4408
4333
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
4409
4334
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
4410
|
-
sharedState: import("@atlaskit/editor-
|
|
4335
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
4411
4336
|
dependencies: [
|
|
4412
4337
|
];
|
|
4413
4338
|
pluginConfiguration?: {
|
|
4414
|
-
mode?: import("@atlaskit/editor-
|
|
4339
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
4415
4340
|
} | undefined;
|
|
4416
4341
|
commands: {
|
|
4417
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
4342
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4418
4343
|
};
|
|
4419
4344
|
}, {
|
|
4420
|
-
mode?: import("@atlaskit/editor-
|
|
4345
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
4421
4346
|
} | undefined>>
|
|
4422
4347
|
];
|
|
4423
|
-
sharedState: import("@atlaskit/editor-
|
|
4348
|
+
sharedState: import("@atlaskit/editor-plugins/collab-edit").CollabEditPluginSharedState;
|
|
4424
4349
|
actions: {
|
|
4425
4350
|
getAvatarColor: (str: string) => {
|
|
4426
4351
|
index: number;
|
|
@@ -4438,24 +4363,24 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4438
4363
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
4439
4364
|
getCurrentCollabState: () => {
|
|
4440
4365
|
version: number | undefined;
|
|
4441
|
-
sendableSteps: import("@atlaskit/editor-
|
|
4366
|
+
sendableSteps: import("@atlaskit/editor-plugins/collab-edit").CollabSendableSteps | null | undefined;
|
|
4442
4367
|
content: import("@atlaskit/editor-json-transformer").JSONNode | undefined;
|
|
4443
4368
|
};
|
|
4444
4369
|
validatePMJSONDocument: (doc: any) => boolean;
|
|
4445
4370
|
};
|
|
4446
|
-
}, import("@atlaskit/editor-
|
|
4371
|
+
}, import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions>,
|
|
4447
4372
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
4448
|
-
sharedState: import("@atlaskit/editor-
|
|
4373
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
4449
4374
|
dependencies: [
|
|
4450
4375
|
];
|
|
4451
4376
|
pluginConfiguration?: {
|
|
4452
|
-
mode?: import("@atlaskit/editor-
|
|
4377
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
4453
4378
|
} | undefined;
|
|
4454
4379
|
commands: {
|
|
4455
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
4380
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4456
4381
|
};
|
|
4457
4382
|
}, {
|
|
4458
|
-
mode?: import("@atlaskit/editor-
|
|
4383
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
4459
4384
|
} | undefined>
|
|
4460
4385
|
];
|
|
4461
4386
|
actions: {
|
|
@@ -4463,47 +4388,22 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4463
4388
|
};
|
|
4464
4389
|
}, undefined>>,
|
|
4465
4390
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
4466
|
-
sharedState: import("@atlaskit/editor-
|
|
4391
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
4467
4392
|
dependencies: [
|
|
4468
4393
|
];
|
|
4469
4394
|
pluginConfiguration?: {
|
|
4470
|
-
mode?: import("@atlaskit/editor-
|
|
4395
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
4471
4396
|
} | undefined;
|
|
4472
4397
|
commands: {
|
|
4473
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
4398
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4474
4399
|
};
|
|
4475
4400
|
}, {
|
|
4476
|
-
mode?: import("@atlaskit/editor-
|
|
4401
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
4477
4402
|
} | undefined>>,
|
|
4478
4403
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4479
4404
|
pluginConfiguration: FeatureFlags;
|
|
4480
4405
|
sharedState: FeatureFlags;
|
|
4481
4406
|
}, FeatureFlags>>,
|
|
4482
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
|
|
4483
|
-
actions: {
|
|
4484
|
-
startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
|
|
4485
|
-
stopMessage: (messageId: string) => Promise<boolean>;
|
|
4486
|
-
};
|
|
4487
|
-
pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
|
|
4488
|
-
dependencies: [
|
|
4489
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
4490
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
4491
|
-
sharedState: {
|
|
4492
|
-
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
4493
|
-
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
4494
|
-
performanceTracking: PerformanceTracking | undefined;
|
|
4495
|
-
};
|
|
4496
|
-
dependencies: [
|
|
4497
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4498
|
-
pluginConfiguration: FeatureFlags;
|
|
4499
|
-
sharedState: FeatureFlags;
|
|
4500
|
-
}, FeatureFlags>>
|
|
4501
|
-
];
|
|
4502
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
4503
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
4504
|
-
];
|
|
4505
|
-
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
4506
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>,
|
|
4507
4407
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
4508
4408
|
sharedState: {
|
|
4509
4409
|
mode: "offline" | "online";
|
|
@@ -4512,10 +4412,10 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4512
4412
|
];
|
|
4513
4413
|
actions: {
|
|
4514
4414
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
4515
|
-
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-
|
|
4415
|
+
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
4416
|
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
4417
|
};
|
|
4518
|
-
}, import("@atlaskit/editor-
|
|
4418
|
+
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>,
|
|
4519
4419
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4520
4420
|
pluginConfiguration: FeatureFlags;
|
|
4521
4421
|
sharedState: FeatureFlags;
|
|
@@ -4746,7 +4646,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4746
4646
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
4747
4647
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
4748
4648
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
|
|
4749
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
4649
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined;
|
|
4750
4650
|
dependencies: [
|
|
4751
4651
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4752
4652
|
pluginConfiguration: FeatureFlags;
|
|
@@ -4768,17 +4668,17 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4768
4668
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
4769
4669
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
4770
4670
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
4771
|
-
sharedState: import("@atlaskit/editor-
|
|
4671
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
4772
4672
|
dependencies: [
|
|
4773
4673
|
];
|
|
4774
4674
|
pluginConfiguration?: {
|
|
4775
|
-
mode?: import("@atlaskit/editor-
|
|
4675
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
4776
4676
|
} | undefined;
|
|
4777
4677
|
commands: {
|
|
4778
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
4678
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4779
4679
|
};
|
|
4780
4680
|
}, {
|
|
4781
|
-
mode?: import("@atlaskit/editor-
|
|
4681
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
4782
4682
|
} | undefined>>,
|
|
4783
4683
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
4784
4684
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
@@ -4791,17 +4691,17 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4791
4691
|
};
|
|
4792
4692
|
}, undefined>,
|
|
4793
4693
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
|
|
4794
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
4694
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined;
|
|
4795
4695
|
dependencies: [
|
|
4796
4696
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
4797
4697
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
4798
4698
|
}, undefined>
|
|
4799
4699
|
];
|
|
4800
|
-
sharedState: import("@atlaskit/editor-
|
|
4700
|
+
sharedState: import("@atlaskit/editor-plugins/grid").GridPluginState | null;
|
|
4801
4701
|
actions: {
|
|
4802
|
-
displayGrid: import("@atlaskit/editor-
|
|
4702
|
+
displayGrid: import("@atlaskit/editor-plugins/grid").CreateDisplayGrid;
|
|
4803
4703
|
};
|
|
4804
|
-
}, import("@atlaskit/editor-
|
|
4704
|
+
}, import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined>,
|
|
4805
4705
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
4806
4706
|
dependencies: [
|
|
4807
4707
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
@@ -4820,7 +4720,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4820
4720
|
} | undefined;
|
|
4821
4721
|
}, undefined>>,
|
|
4822
4722
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
4823
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
4723
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
4824
4724
|
dependencies: [
|
|
4825
4725
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
4826
4726
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -4874,12 +4774,12 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4874
4774
|
editSelectedExtension: () => boolean;
|
|
4875
4775
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI;
|
|
4876
4776
|
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-
|
|
4777
|
+
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
4778
|
+
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
4779
|
+
runMacroAutoConvert: import("@atlaskit/editor-plugins/extension").RunMacroAutoConvert;
|
|
4780
|
+
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
4781
|
};
|
|
4882
|
-
}, import("@atlaskit/editor-
|
|
4782
|
+
}, import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined>>,
|
|
4883
4783
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
4884
4784
|
dependencies: [
|
|
4885
4785
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -4906,17 +4806,17 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4906
4806
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
4907
4807
|
}, undefined>,
|
|
4908
4808
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
4909
|
-
sharedState: import("@atlaskit/editor-
|
|
4809
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
4910
4810
|
dependencies: [
|
|
4911
4811
|
];
|
|
4912
4812
|
pluginConfiguration?: {
|
|
4913
|
-
mode?: import("@atlaskit/editor-
|
|
4813
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
4914
4814
|
} | undefined;
|
|
4915
4815
|
commands: {
|
|
4916
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
4816
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4917
4817
|
};
|
|
4918
4818
|
}, {
|
|
4919
|
-
mode?: import("@atlaskit/editor-
|
|
4819
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
4920
4820
|
} | undefined>>,
|
|
4921
4821
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
4922
4822
|
dependencies: [
|
|
@@ -4949,9 +4849,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4949
4849
|
dependencies: [
|
|
4950
4850
|
];
|
|
4951
4851
|
actions: {
|
|
4952
|
-
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-
|
|
4852
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
4953
4853
|
};
|
|
4954
|
-
sharedState: import("@atlaskit/editor-
|
|
4854
|
+
sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
|
|
4955
4855
|
}, undefined>>,
|
|
4956
4856
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"quickInsert", {
|
|
4957
4857
|
pluginConfiguration: QuickInsertPluginOptions | undefined;
|
|
@@ -5030,16 +4930,16 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5030
4930
|
};
|
|
5031
4931
|
}, QuickInsertPluginOptions | undefined>>
|
|
5032
4932
|
];
|
|
5033
|
-
sharedState: import("@atlaskit/editor-
|
|
4933
|
+
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
5034
4934
|
commands: {
|
|
5035
4935
|
moveToLayout: (start: number, to: number, options?: {
|
|
5036
4936
|
moveToEnd?: boolean | undefined;
|
|
5037
4937
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5038
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-
|
|
4938
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugins/block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
5039
4939
|
(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
4940
|
(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
4941
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5042
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-
|
|
4942
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugins/block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5043
4943
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5044
4944
|
};
|
|
5045
4945
|
}, undefined>>,
|
|
@@ -5048,7 +4948,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5048
4948
|
sharedState: FeatureFlags;
|
|
5049
4949
|
}, FeatureFlags>>,
|
|
5050
4950
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"emoji", {
|
|
5051
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
4951
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined;
|
|
5052
4952
|
dependencies: [
|
|
5053
4953
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
5054
4954
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -5123,7 +5023,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5123
5023
|
}, TypeAheadPluginOptions | undefined>,
|
|
5124
5024
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
5125
5025
|
sharedState: {
|
|
5126
|
-
annotations: import("@atlaskit/editor-
|
|
5026
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
5127
5027
|
isVisible: boolean;
|
|
5128
5028
|
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
5129
5029
|
mouseData: {
|
|
@@ -5131,14 +5031,14 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5131
5031
|
};
|
|
5132
5032
|
};
|
|
5133
5033
|
actions: {
|
|
5134
|
-
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-
|
|
5034
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
5135
5035
|
};
|
|
5136
5036
|
}, undefined>>,
|
|
5137
5037
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
5138
|
-
sharedState: import("@atlaskit/editor-
|
|
5038
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState;
|
|
5139
5039
|
}, undefined>>
|
|
5140
5040
|
];
|
|
5141
|
-
sharedState: import("@atlaskit/editor-
|
|
5041
|
+
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
5142
5042
|
commands: {
|
|
5143
5043
|
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
5044
|
};
|
|
@@ -5146,7 +5046,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5146
5046
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
5147
5047
|
setProvider: (provider: Promise<import("@atlaskit/emoji").EmojiProvider>) => Promise<boolean>;
|
|
5148
5048
|
};
|
|
5149
|
-
}, import("@atlaskit/editor-
|
|
5049
|
+
}, import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined>>
|
|
5150
5050
|
];
|
|
5151
5051
|
actions: {
|
|
5152
5052
|
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
@@ -5168,27 +5068,27 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5168
5068
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
5169
5069
|
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>,
|
|
5170
5070
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
5171
|
-
sharedState: import("@atlaskit/editor-
|
|
5071
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState;
|
|
5172
5072
|
actions: {
|
|
5173
5073
|
setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
5174
5074
|
};
|
|
5175
5075
|
}, undefined>>
|
|
5176
5076
|
];
|
|
5177
|
-
sharedState: import("@atlaskit/editor-
|
|
5077
|
+
sharedState: import("@atlaskit/editor-plugins/card").CardPluginState | null;
|
|
5178
5078
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
5179
|
-
}, import("@atlaskit/editor-
|
|
5079
|
+
}, import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined>>,
|
|
5180
5080
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
5181
|
-
sharedState: import("@atlaskit/editor-
|
|
5081
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
5182
5082
|
dependencies: [
|
|
5183
5083
|
];
|
|
5184
5084
|
pluginConfiguration?: {
|
|
5185
|
-
mode?: import("@atlaskit/editor-
|
|
5085
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
5186
5086
|
} | undefined;
|
|
5187
5087
|
commands: {
|
|
5188
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
5088
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5189
5089
|
};
|
|
5190
5090
|
}, {
|
|
5191
|
-
mode?: import("@atlaskit/editor-
|
|
5091
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
5192
5092
|
} | undefined>>
|
|
5193
5093
|
];
|
|
5194
5094
|
actions: {
|
|
@@ -5209,17 +5109,17 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5209
5109
|
};
|
|
5210
5110
|
dependencies: [
|
|
5211
5111
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
5212
|
-
sharedState: import("@atlaskit/editor-
|
|
5112
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
5213
5113
|
dependencies: [
|
|
5214
5114
|
];
|
|
5215
5115
|
pluginConfiguration?: {
|
|
5216
|
-
mode?: import("@atlaskit/editor-
|
|
5116
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
5217
5117
|
} | undefined;
|
|
5218
5118
|
commands: {
|
|
5219
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
5119
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5220
5120
|
};
|
|
5221
5121
|
}, {
|
|
5222
|
-
mode?: import("@atlaskit/editor-
|
|
5122
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
5223
5123
|
} | undefined>>
|
|
5224
5124
|
];
|
|
5225
5125
|
actions?: {
|
|
@@ -5478,22 +5378,22 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5478
5378
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
5479
5379
|
];
|
|
5480
5380
|
actions: {
|
|
5481
|
-
isInsideListItem: import("@atlaskit/editor-
|
|
5482
|
-
findRootParentListNode: import("@atlaskit/editor-
|
|
5381
|
+
isInsideListItem: import("@atlaskit/editor-plugins/list").IsInsideListItem;
|
|
5382
|
+
findRootParentListNode: import("@atlaskit/editor-plugins/list").FindRootParentListNode;
|
|
5483
5383
|
};
|
|
5484
5384
|
commands: {
|
|
5485
|
-
indentList: import("@atlaskit/editor-
|
|
5486
|
-
outdentList: import("@atlaskit/editor-
|
|
5487
|
-
toggleOrderedList: import("@atlaskit/editor-
|
|
5488
|
-
toggleBulletList: import("@atlaskit/editor-
|
|
5385
|
+
indentList: import("@atlaskit/editor-plugins/list").IndentList;
|
|
5386
|
+
outdentList: import("@atlaskit/editor-plugins/list").OutdentList;
|
|
5387
|
+
toggleOrderedList: import("@atlaskit/editor-plugins/list").ToggleOrderedList;
|
|
5388
|
+
toggleBulletList: import("@atlaskit/editor-plugins/list").ToggleBulletList;
|
|
5489
5389
|
};
|
|
5490
|
-
sharedState: import("@atlaskit/editor-
|
|
5390
|
+
sharedState: import("@atlaskit/editor-plugins/list").ListState | undefined;
|
|
5491
5391
|
}, undefined>>,
|
|
5492
5392
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"betterTypeHistory", {
|
|
5493
5393
|
actions: import("@atlaskit/editor-plugins/better-type-history").BetterTypeHistoryAPI;
|
|
5494
5394
|
}, undefined>,
|
|
5495
5395
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
|
|
5496
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
5396
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined;
|
|
5497
5397
|
dependencies: [
|
|
5498
5398
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
5499
5399
|
pluginConfiguration: FeatureFlags;
|
|
@@ -5515,17 +5415,17 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5515
5415
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
5516
5416
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
5517
5417
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
5518
|
-
sharedState: import("@atlaskit/editor-
|
|
5418
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
5519
5419
|
dependencies: [
|
|
5520
5420
|
];
|
|
5521
5421
|
pluginConfiguration?: {
|
|
5522
|
-
mode?: import("@atlaskit/editor-
|
|
5422
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
5523
5423
|
} | undefined;
|
|
5524
5424
|
commands: {
|
|
5525
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
5425
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5526
5426
|
};
|
|
5527
5427
|
}, {
|
|
5528
|
-
mode?: import("@atlaskit/editor-
|
|
5428
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
5529
5429
|
} | undefined>>,
|
|
5530
5430
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
5531
5431
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
@@ -5538,17 +5438,17 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5538
5438
|
};
|
|
5539
5439
|
}, undefined>,
|
|
5540
5440
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
|
|
5541
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
5441
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined;
|
|
5542
5442
|
dependencies: [
|
|
5543
5443
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
5544
5444
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
5545
5445
|
}, undefined>
|
|
5546
5446
|
];
|
|
5547
|
-
sharedState: import("@atlaskit/editor-
|
|
5447
|
+
sharedState: import("@atlaskit/editor-plugins/grid").GridPluginState | null;
|
|
5548
5448
|
actions: {
|
|
5549
|
-
displayGrid: import("@atlaskit/editor-
|
|
5449
|
+
displayGrid: import("@atlaskit/editor-plugins/grid").CreateDisplayGrid;
|
|
5550
5450
|
};
|
|
5551
|
-
}, import("@atlaskit/editor-
|
|
5451
|
+
}, import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined>,
|
|
5552
5452
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
5553
5453
|
dependencies: [
|
|
5554
5454
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
@@ -5567,7 +5467,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5567
5467
|
} | undefined;
|
|
5568
5468
|
}, undefined>>,
|
|
5569
5469
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
5570
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
5470
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
5571
5471
|
dependencies: [
|
|
5572
5472
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
5573
5473
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -5621,12 +5521,12 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5621
5521
|
editSelectedExtension: () => boolean;
|
|
5622
5522
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI;
|
|
5623
5523
|
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-
|
|
5524
|
+
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
5525
|
+
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
5526
|
+
runMacroAutoConvert: import("@atlaskit/editor-plugins/extension").RunMacroAutoConvert;
|
|
5527
|
+
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
5528
|
};
|
|
5629
|
-
}, import("@atlaskit/editor-
|
|
5529
|
+
}, import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined>>,
|
|
5630
5530
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
5631
5531
|
dependencies: [
|
|
5632
5532
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -5653,17 +5553,17 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5653
5553
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
5654
5554
|
}, undefined>,
|
|
5655
5555
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
5656
|
-
sharedState: import("@atlaskit/editor-
|
|
5556
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
5657
5557
|
dependencies: [
|
|
5658
5558
|
];
|
|
5659
5559
|
pluginConfiguration?: {
|
|
5660
|
-
mode?: import("@atlaskit/editor-
|
|
5560
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
5661
5561
|
} | undefined;
|
|
5662
5562
|
commands: {
|
|
5663
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
5563
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5664
5564
|
};
|
|
5665
5565
|
}, {
|
|
5666
|
-
mode?: import("@atlaskit/editor-
|
|
5566
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
5667
5567
|
} | undefined>>,
|
|
5668
5568
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
5669
5569
|
dependencies: [
|
|
@@ -5696,9 +5596,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5696
5596
|
dependencies: [
|
|
5697
5597
|
];
|
|
5698
5598
|
actions: {
|
|
5699
|
-
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-
|
|
5599
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
5700
5600
|
};
|
|
5701
|
-
sharedState: import("@atlaskit/editor-
|
|
5601
|
+
sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
|
|
5702
5602
|
}, undefined>>,
|
|
5703
5603
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"quickInsert", {
|
|
5704
5604
|
pluginConfiguration: QuickInsertPluginOptions | undefined;
|
|
@@ -5777,16 +5677,16 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5777
5677
|
};
|
|
5778
5678
|
}, QuickInsertPluginOptions | undefined>>
|
|
5779
5679
|
];
|
|
5780
|
-
sharedState: import("@atlaskit/editor-
|
|
5680
|
+
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
5781
5681
|
commands: {
|
|
5782
5682
|
moveToLayout: (start: number, to: number, options?: {
|
|
5783
5683
|
moveToEnd?: boolean | undefined;
|
|
5784
5684
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5785
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-
|
|
5685
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugins/block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
5786
5686
|
(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
5687
|
(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
5688
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5789
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-
|
|
5689
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugins/block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5790
5690
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5791
5691
|
};
|
|
5792
5692
|
}, undefined>>,
|
|
@@ -5795,7 +5695,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5795
5695
|
sharedState: FeatureFlags;
|
|
5796
5696
|
}, FeatureFlags>>,
|
|
5797
5697
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"emoji", {
|
|
5798
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
5698
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined;
|
|
5799
5699
|
dependencies: [
|
|
5800
5700
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
5801
5701
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -5870,7 +5770,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5870
5770
|
}, TypeAheadPluginOptions | undefined>,
|
|
5871
5771
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
5872
5772
|
sharedState: {
|
|
5873
|
-
annotations: import("@atlaskit/editor-
|
|
5773
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
5874
5774
|
isVisible: boolean;
|
|
5875
5775
|
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
5876
5776
|
mouseData: {
|
|
@@ -5878,14 +5778,14 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5878
5778
|
};
|
|
5879
5779
|
};
|
|
5880
5780
|
actions: {
|
|
5881
|
-
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-
|
|
5781
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
5882
5782
|
};
|
|
5883
5783
|
}, undefined>>,
|
|
5884
5784
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
5885
|
-
sharedState: import("@atlaskit/editor-
|
|
5785
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState;
|
|
5886
5786
|
}, undefined>>
|
|
5887
5787
|
];
|
|
5888
|
-
sharedState: import("@atlaskit/editor-
|
|
5788
|
+
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
5889
5789
|
commands: {
|
|
5890
5790
|
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
5791
|
};
|
|
@@ -5893,7 +5793,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5893
5793
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
5894
5794
|
setProvider: (provider: Promise<import("@atlaskit/emoji").EmojiProvider>) => Promise<boolean>;
|
|
5895
5795
|
};
|
|
5896
|
-
}, import("@atlaskit/editor-
|
|
5796
|
+
}, import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined>>
|
|
5897
5797
|
];
|
|
5898
5798
|
actions: {
|
|
5899
5799
|
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
@@ -5915,15 +5815,15 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5915
5815
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
5916
5816
|
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>,
|
|
5917
5817
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
5918
|
-
sharedState: import("@atlaskit/editor-
|
|
5818
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState;
|
|
5919
5819
|
actions: {
|
|
5920
5820
|
setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
5921
5821
|
};
|
|
5922
5822
|
}, undefined>>
|
|
5923
5823
|
];
|
|
5924
|
-
sharedState: import("@atlaskit/editor-
|
|
5824
|
+
sharedState: import("@atlaskit/editor-plugins/card").CardPluginState | null;
|
|
5925
5825
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
5926
|
-
}, import("@atlaskit/editor-
|
|
5826
|
+
}, import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined>>,
|
|
5927
5827
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
5928
5828
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
5929
5829
|
sharedState: {
|
|
@@ -5965,17 +5865,17 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5965
5865
|
};
|
|
5966
5866
|
}, import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined>>,
|
|
5967
5867
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
5968
|
-
sharedState: import("@atlaskit/editor-
|
|
5868
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
5969
5869
|
dependencies: [
|
|
5970
5870
|
];
|
|
5971
5871
|
pluginConfiguration?: {
|
|
5972
|
-
mode?: import("@atlaskit/editor-
|
|
5872
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
5973
5873
|
} | undefined;
|
|
5974
5874
|
commands: {
|
|
5975
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
5875
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5976
5876
|
};
|
|
5977
5877
|
}, {
|
|
5978
|
-
mode?: import("@atlaskit/editor-
|
|
5878
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
5979
5879
|
} | undefined>>,
|
|
5980
5880
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
|
|
5981
5881
|
dependencies: [
|
|
@@ -5989,17 +5889,17 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5989
5889
|
};
|
|
5990
5890
|
}, undefined>>,
|
|
5991
5891
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
|
|
5992
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
5892
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined;
|
|
5993
5893
|
dependencies: [
|
|
5994
5894
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
5995
5895
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
5996
5896
|
}, undefined>
|
|
5997
5897
|
];
|
|
5998
|
-
sharedState: import("@atlaskit/editor-
|
|
5898
|
+
sharedState: import("@atlaskit/editor-plugins/grid").GridPluginState | null;
|
|
5999
5899
|
actions: {
|
|
6000
|
-
displayGrid: import("@atlaskit/editor-
|
|
5900
|
+
displayGrid: import("@atlaskit/editor-plugins/grid").CreateDisplayGrid;
|
|
6001
5901
|
};
|
|
6002
|
-
}, import("@atlaskit/editor-
|
|
5902
|
+
}, import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined>,
|
|
6003
5903
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
6004
5904
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
6005
5905
|
}, undefined>,
|
|
@@ -6028,7 +5928,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6028
5928
|
} | undefined;
|
|
6029
5929
|
}, undefined>>,
|
|
6030
5930
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
6031
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
5931
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
6032
5932
|
dependencies: [
|
|
6033
5933
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
6034
5934
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -6082,12 +5982,12 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6082
5982
|
editSelectedExtension: () => boolean;
|
|
6083
5983
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI;
|
|
6084
5984
|
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-
|
|
5985
|
+
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
5986
|
+
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
5987
|
+
runMacroAutoConvert: import("@atlaskit/editor-plugins/extension").RunMacroAutoConvert;
|
|
5988
|
+
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
5989
|
};
|
|
6090
|
-
}, import("@atlaskit/editor-
|
|
5990
|
+
}, import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined>>,
|
|
6091
5991
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
6092
5992
|
dependencies: [
|
|
6093
5993
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -6114,17 +6014,17 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6114
6014
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
6115
6015
|
}, undefined>,
|
|
6116
6016
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
6117
|
-
sharedState: import("@atlaskit/editor-
|
|
6017
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
6118
6018
|
dependencies: [
|
|
6119
6019
|
];
|
|
6120
6020
|
pluginConfiguration?: {
|
|
6121
|
-
mode?: import("@atlaskit/editor-
|
|
6021
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
6122
6022
|
} | undefined;
|
|
6123
6023
|
commands: {
|
|
6124
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
6024
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6125
6025
|
};
|
|
6126
6026
|
}, {
|
|
6127
|
-
mode?: import("@atlaskit/editor-
|
|
6027
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
6128
6028
|
} | undefined>>,
|
|
6129
6029
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
6130
6030
|
dependencies: [
|
|
@@ -6157,9 +6057,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6157
6057
|
dependencies: [
|
|
6158
6058
|
];
|
|
6159
6059
|
actions: {
|
|
6160
|
-
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-
|
|
6060
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
6161
6061
|
};
|
|
6162
|
-
sharedState: import("@atlaskit/editor-
|
|
6062
|
+
sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
|
|
6163
6063
|
}, undefined>>,
|
|
6164
6064
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"quickInsert", {
|
|
6165
6065
|
pluginConfiguration: QuickInsertPluginOptions | undefined;
|
|
@@ -6238,16 +6138,16 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6238
6138
|
};
|
|
6239
6139
|
}, QuickInsertPluginOptions | undefined>>
|
|
6240
6140
|
];
|
|
6241
|
-
sharedState: import("@atlaskit/editor-
|
|
6141
|
+
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
6242
6142
|
commands: {
|
|
6243
6143
|
moveToLayout: (start: number, to: number, options?: {
|
|
6244
6144
|
moveToEnd?: boolean | undefined;
|
|
6245
6145
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6246
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-
|
|
6146
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugins/block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
6247
6147
|
(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
6148
|
(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
6149
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6250
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-
|
|
6150
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugins/block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6251
6151
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6252
6152
|
};
|
|
6253
6153
|
}, undefined>>,
|
|
@@ -6256,7 +6156,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6256
6156
|
sharedState: FeatureFlags;
|
|
6257
6157
|
}, FeatureFlags>>,
|
|
6258
6158
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"emoji", {
|
|
6259
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
6159
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined;
|
|
6260
6160
|
dependencies: [
|
|
6261
6161
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
6262
6162
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -6331,7 +6231,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6331
6231
|
}, TypeAheadPluginOptions | undefined>,
|
|
6332
6232
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
6333
6233
|
sharedState: {
|
|
6334
|
-
annotations: import("@atlaskit/editor-
|
|
6234
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
6335
6235
|
isVisible: boolean;
|
|
6336
6236
|
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
6337
6237
|
mouseData: {
|
|
@@ -6339,14 +6239,14 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6339
6239
|
};
|
|
6340
6240
|
};
|
|
6341
6241
|
actions: {
|
|
6342
|
-
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-
|
|
6242
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
6343
6243
|
};
|
|
6344
6244
|
}, undefined>>,
|
|
6345
6245
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
6346
|
-
sharedState: import("@atlaskit/editor-
|
|
6246
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState;
|
|
6347
6247
|
}, undefined>>
|
|
6348
6248
|
];
|
|
6349
|
-
sharedState: import("@atlaskit/editor-
|
|
6249
|
+
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
6350
6250
|
commands: {
|
|
6351
6251
|
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
6252
|
};
|
|
@@ -6354,7 +6254,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6354
6254
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
6355
6255
|
setProvider: (provider: Promise<import("@atlaskit/emoji").EmojiProvider>) => Promise<boolean>;
|
|
6356
6256
|
};
|
|
6357
|
-
}, import("@atlaskit/editor-
|
|
6257
|
+
}, import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined>>
|
|
6358
6258
|
];
|
|
6359
6259
|
actions: {
|
|
6360
6260
|
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
@@ -6379,8 +6279,8 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6379
6279
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
6380
6280
|
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>,
|
|
6381
6281
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
6382
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
6383
|
-
sharedState: import("@atlaskit/editor-
|
|
6282
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
6283
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
6384
6284
|
dependencies: [
|
|
6385
6285
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
6386
6286
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -6400,7 +6300,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6400
6300
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewModeEffects", {
|
|
6401
6301
|
dependencies: [
|
|
6402
6302
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"collabEdit", {
|
|
6403
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
6303
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions;
|
|
6404
6304
|
dependencies: [
|
|
6405
6305
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
6406
6306
|
pluginConfiguration: FeatureFlags;
|
|
@@ -6422,20 +6322,20 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6422
6322
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
6423
6323
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
6424
6324
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
6425
|
-
sharedState: import("@atlaskit/editor-
|
|
6325
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
6426
6326
|
dependencies: [
|
|
6427
6327
|
];
|
|
6428
6328
|
pluginConfiguration?: {
|
|
6429
|
-
mode?: import("@atlaskit/editor-
|
|
6329
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
6430
6330
|
} | undefined;
|
|
6431
6331
|
commands: {
|
|
6432
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
6332
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6433
6333
|
};
|
|
6434
6334
|
}, {
|
|
6435
|
-
mode?: import("@atlaskit/editor-
|
|
6335
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
6436
6336
|
} | undefined>>
|
|
6437
6337
|
];
|
|
6438
|
-
sharedState: import("@atlaskit/editor-
|
|
6338
|
+
sharedState: import("@atlaskit/editor-plugins/collab-edit").CollabEditPluginSharedState;
|
|
6439
6339
|
actions: {
|
|
6440
6340
|
getAvatarColor: (str: string) => {
|
|
6441
6341
|
index: number;
|
|
@@ -6453,24 +6353,24 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6453
6353
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
6454
6354
|
getCurrentCollabState: () => {
|
|
6455
6355
|
version: number | undefined;
|
|
6456
|
-
sendableSteps: import("@atlaskit/editor-
|
|
6356
|
+
sendableSteps: import("@atlaskit/editor-plugins/collab-edit").CollabSendableSteps | null | undefined;
|
|
6457
6357
|
content: import("@atlaskit/editor-json-transformer").JSONNode | undefined;
|
|
6458
6358
|
};
|
|
6459
6359
|
validatePMJSONDocument: (doc: any) => boolean;
|
|
6460
6360
|
};
|
|
6461
|
-
}, import("@atlaskit/editor-
|
|
6361
|
+
}, import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions>,
|
|
6462
6362
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
6463
|
-
sharedState: import("@atlaskit/editor-
|
|
6363
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
6464
6364
|
dependencies: [
|
|
6465
6365
|
];
|
|
6466
6366
|
pluginConfiguration?: {
|
|
6467
|
-
mode?: import("@atlaskit/editor-
|
|
6367
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
6468
6368
|
} | undefined;
|
|
6469
6369
|
commands: {
|
|
6470
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
6370
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6471
6371
|
};
|
|
6472
6372
|
}, {
|
|
6473
|
-
mode?: import("@atlaskit/editor-
|
|
6373
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
6474
6374
|
} | undefined>
|
|
6475
6375
|
];
|
|
6476
6376
|
actions: {
|
|
@@ -6478,47 +6378,22 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6478
6378
|
};
|
|
6479
6379
|
}, undefined>>,
|
|
6480
6380
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
6481
|
-
sharedState: import("@atlaskit/editor-
|
|
6381
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
6482
6382
|
dependencies: [
|
|
6483
6383
|
];
|
|
6484
6384
|
pluginConfiguration?: {
|
|
6485
|
-
mode?: import("@atlaskit/editor-
|
|
6385
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
6486
6386
|
} | undefined;
|
|
6487
6387
|
commands: {
|
|
6488
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
6388
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6489
6389
|
};
|
|
6490
6390
|
}, {
|
|
6491
|
-
mode?: import("@atlaskit/editor-
|
|
6391
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
6492
6392
|
} | undefined>>,
|
|
6493
6393
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
6494
6394
|
pluginConfiguration: FeatureFlags;
|
|
6495
6395
|
sharedState: FeatureFlags;
|
|
6496
6396
|
}, FeatureFlags>>,
|
|
6497
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
|
|
6498
|
-
actions: {
|
|
6499
|
-
startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
|
|
6500
|
-
stopMessage: (messageId: string) => Promise<boolean>;
|
|
6501
|
-
};
|
|
6502
|
-
pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
|
|
6503
|
-
dependencies: [
|
|
6504
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
6505
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
6506
|
-
sharedState: {
|
|
6507
|
-
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
6508
|
-
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
6509
|
-
performanceTracking: PerformanceTracking | undefined;
|
|
6510
|
-
};
|
|
6511
|
-
dependencies: [
|
|
6512
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
6513
|
-
pluginConfiguration: FeatureFlags;
|
|
6514
|
-
sharedState: FeatureFlags;
|
|
6515
|
-
}, FeatureFlags>>
|
|
6516
|
-
];
|
|
6517
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
6518
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
6519
|
-
];
|
|
6520
|
-
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
6521
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>,
|
|
6522
6397
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
6523
6398
|
sharedState: {
|
|
6524
6399
|
mode: "offline" | "online";
|
|
@@ -6527,10 +6402,10 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6527
6402
|
];
|
|
6528
6403
|
actions: {
|
|
6529
6404
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
6530
|
-
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-
|
|
6405
|
+
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
6406
|
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
6407
|
};
|
|
6533
|
-
}, import("@atlaskit/editor-
|
|
6408
|
+
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>,
|
|
6534
6409
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
6535
6410
|
pluginConfiguration: FeatureFlags;
|
|
6536
6411
|
sharedState: FeatureFlags;
|
|
@@ -6552,7 +6427,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6552
6427
|
};
|
|
6553
6428
|
}, import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined>>,
|
|
6554
6429
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
6555
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
6430
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
6556
6431
|
dependencies: [
|
|
6557
6432
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
6558
6433
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -6606,15 +6481,15 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6606
6481
|
editSelectedExtension: () => boolean;
|
|
6607
6482
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI;
|
|
6608
6483
|
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-
|
|
6484
|
+
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
6485
|
+
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugins/extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
6486
|
+
runMacroAutoConvert: import("@atlaskit/editor-plugins/extension").RunMacroAutoConvert;
|
|
6487
|
+
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
6488
|
};
|
|
6614
|
-
}, import("@atlaskit/editor-
|
|
6489
|
+
}, import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined>>,
|
|
6615
6490
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
6616
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
6617
|
-
sharedState: import("@atlaskit/editor-
|
|
6491
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
6492
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
6618
6493
|
dependencies: [
|
|
6619
6494
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
6620
6495
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -6634,7 +6509,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6634
6509
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewModeEffects", {
|
|
6635
6510
|
dependencies: [
|
|
6636
6511
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"collabEdit", {
|
|
6637
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
6512
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions;
|
|
6638
6513
|
dependencies: [
|
|
6639
6514
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
6640
6515
|
pluginConfiguration: FeatureFlags;
|
|
@@ -6656,20 +6531,20 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6656
6531
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
6657
6532
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
6658
6533
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
6659
|
-
sharedState: import("@atlaskit/editor-
|
|
6534
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
6660
6535
|
dependencies: [
|
|
6661
6536
|
];
|
|
6662
6537
|
pluginConfiguration?: {
|
|
6663
|
-
mode?: import("@atlaskit/editor-
|
|
6538
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
6664
6539
|
} | undefined;
|
|
6665
6540
|
commands: {
|
|
6666
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
6541
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6667
6542
|
};
|
|
6668
6543
|
}, {
|
|
6669
|
-
mode?: import("@atlaskit/editor-
|
|
6544
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
6670
6545
|
} | undefined>>
|
|
6671
6546
|
];
|
|
6672
|
-
sharedState: import("@atlaskit/editor-
|
|
6547
|
+
sharedState: import("@atlaskit/editor-plugins/collab-edit").CollabEditPluginSharedState;
|
|
6673
6548
|
actions: {
|
|
6674
6549
|
getAvatarColor: (str: string) => {
|
|
6675
6550
|
index: number;
|
|
@@ -6687,24 +6562,24 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6687
6562
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
6688
6563
|
getCurrentCollabState: () => {
|
|
6689
6564
|
version: number | undefined;
|
|
6690
|
-
sendableSteps: import("@atlaskit/editor-
|
|
6565
|
+
sendableSteps: import("@atlaskit/editor-plugins/collab-edit").CollabSendableSteps | null | undefined;
|
|
6691
6566
|
content: import("@atlaskit/editor-json-transformer").JSONNode | undefined;
|
|
6692
6567
|
};
|
|
6693
6568
|
validatePMJSONDocument: (doc: any) => boolean;
|
|
6694
6569
|
};
|
|
6695
|
-
}, import("@atlaskit/editor-
|
|
6570
|
+
}, import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions>,
|
|
6696
6571
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
6697
|
-
sharedState: import("@atlaskit/editor-
|
|
6572
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
6698
6573
|
dependencies: [
|
|
6699
6574
|
];
|
|
6700
6575
|
pluginConfiguration?: {
|
|
6701
|
-
mode?: import("@atlaskit/editor-
|
|
6576
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
6702
6577
|
} | undefined;
|
|
6703
6578
|
commands: {
|
|
6704
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
6579
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6705
6580
|
};
|
|
6706
6581
|
}, {
|
|
6707
|
-
mode?: import("@atlaskit/editor-
|
|
6582
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
6708
6583
|
} | undefined>
|
|
6709
6584
|
];
|
|
6710
6585
|
actions: {
|
|
@@ -6712,47 +6587,22 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6712
6587
|
};
|
|
6713
6588
|
}, undefined>>,
|
|
6714
6589
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
6715
|
-
sharedState: import("@atlaskit/editor-
|
|
6590
|
+
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
6716
6591
|
dependencies: [
|
|
6717
6592
|
];
|
|
6718
6593
|
pluginConfiguration?: {
|
|
6719
|
-
mode?: import("@atlaskit/editor-
|
|
6594
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
6720
6595
|
} | undefined;
|
|
6721
6596
|
commands: {
|
|
6722
|
-
updateViewMode: (mode: import("@atlaskit/editor-
|
|
6597
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6723
6598
|
};
|
|
6724
6599
|
}, {
|
|
6725
|
-
mode?: import("@atlaskit/editor-
|
|
6600
|
+
mode?: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode | undefined;
|
|
6726
6601
|
} | undefined>>,
|
|
6727
6602
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
6728
6603
|
pluginConfiguration: FeatureFlags;
|
|
6729
6604
|
sharedState: FeatureFlags;
|
|
6730
6605
|
}, FeatureFlags>>,
|
|
6731
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
|
|
6732
|
-
actions: {
|
|
6733
|
-
startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
|
|
6734
|
-
stopMessage: (messageId: string) => Promise<boolean>;
|
|
6735
|
-
};
|
|
6736
|
-
pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
|
|
6737
|
-
dependencies: [
|
|
6738
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
6739
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
6740
|
-
sharedState: {
|
|
6741
|
-
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
6742
|
-
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
6743
|
-
performanceTracking: PerformanceTracking | undefined;
|
|
6744
|
-
};
|
|
6745
|
-
dependencies: [
|
|
6746
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
6747
|
-
pluginConfiguration: FeatureFlags;
|
|
6748
|
-
sharedState: FeatureFlags;
|
|
6749
|
-
}, FeatureFlags>>
|
|
6750
|
-
];
|
|
6751
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
6752
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
6753
|
-
];
|
|
6754
|
-
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
6755
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>,
|
|
6756
6606
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
6757
6607
|
sharedState: {
|
|
6758
6608
|
mode: "offline" | "online";
|
|
@@ -6761,12 +6611,12 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6761
6611
|
];
|
|
6762
6612
|
actions: {
|
|
6763
6613
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
6764
|
-
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-
|
|
6614
|
+
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
6615
|
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
6616
|
};
|
|
6767
|
-
}, import("@atlaskit/editor-
|
|
6617
|
+
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>,
|
|
6768
6618
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"mention", {
|
|
6769
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
6619
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/mentions").MentionPluginOptions | undefined;
|
|
6770
6620
|
dependencies: [
|
|
6771
6621
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
6772
6622
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -6847,7 +6697,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6847
6697
|
};
|
|
6848
6698
|
}, import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined>>
|
|
6849
6699
|
];
|
|
6850
|
-
sharedState: import("@atlaskit/editor-
|
|
6700
|
+
sharedState: import("@atlaskit/editor-plugins/mentions").MentionSharedState | undefined;
|
|
6851
6701
|
actions: {
|
|
6852
6702
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
6853
6703
|
announceMentionsInsertion: (mentionIds: {
|
|
@@ -6857,7 +6707,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6857
6707
|
taskLocalId?: string | undefined;
|
|
6858
6708
|
}[]) => void;
|
|
6859
6709
|
};
|
|
6860
|
-
}, import("@atlaskit/editor-
|
|
6710
|
+
}, import("@atlaskit/editor-plugins/mentions").MentionPluginOptions | undefined>>
|
|
6861
6711
|
];
|
|
6862
6712
|
sharedState: {
|
|
6863
6713
|
lastContentPasted: import("@atlaskit/editor-plugins/paste").LastContentPasted | null;
|