@atlaskit/editor-core 209.3.0 → 209.3.2
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/dist/cjs/ui/Addon/ClickAreaBlock/contentComponentWrapper.js +0 -4
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer.js +3 -1
- package/dist/cjs/ui/EditorContentContainer/styles/smartCardStyles.js +13 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/Addon/ClickAreaBlock/contentComponentWrapper.js +0 -4
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer.js +4 -2
- package/dist/es2019/ui/EditorContentContainer/styles/smartCardStyles.js +18 -0
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/Addon/ClickAreaBlock/contentComponentWrapper.js +0 -4
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer.js +4 -2
- package/dist/esm/ui/EditorContentContainer/styles/smartCardStyles.js +12 -0
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-universal-preset.d.ts +110 -110
- package/dist/types/presets/universal.d.ts +110 -110
- package/dist/types/presets/useUniversalPreset.d.ts +110 -110
- package/dist/types/ui/EditorContentContainer/styles/smartCardStyles.d.ts +1 -0
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +110 -110
- package/dist/types-ts4.5/presets/universal.d.ts +110 -110
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +110 -110
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/smartCardStyles.d.ts +1 -0
- package/package.json +13 -16
|
@@ -56,18 +56,18 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
56
56
|
}): import("@atlaskit/editor-common/preset").EditorPresetBuilder<["codeBidiWarning", "pasteOptionsToolbarPlugin", import("@atlaskit/editor-common/preset").MaybePluginName<"fragmentPlugin">, import("@atlaskit/editor-common/preset").MaybePluginName<"border">, import("@atlaskit/editor-common/preset").MaybePluginName<"findReplace">, "avatarGroup", import("@atlaskit/editor-common/preset").MaybePluginName<"beforePrimaryToolbar">, "insertBlock", "toolbarListsIndentation", import("@atlaskit/editor-common/preset").MaybePluginName<"scrollIntoView">, import("@atlaskit/editor-common/preset").MaybePluginName<"indentation">, import("@atlaskit/editor-common/preset").MaybePluginName<"status">, import("@atlaskit/editor-common/preset").MaybePluginName<"customAutoformat">, import("@atlaskit/editor-common/preset").MaybePluginName<"card">, import("@atlaskit/editor-common/preset").MaybePluginName<"layout">, import("@atlaskit/editor-common/preset").MaybePluginName<"placeholderText">, import("@atlaskit/editor-common/preset").MaybePluginName<"date">, import("@atlaskit/editor-common/preset").MaybePluginName<"annotation">, import("@atlaskit/editor-common/preset").MaybePluginName<"extension">, import("@atlaskit/editor-common/preset").MaybePluginName<"contextPanel">, import("@atlaskit/editor-common/preset").MaybePluginName<"panel">, import("@atlaskit/editor-common/preset").MaybePluginName<"maxContentSize">, import("@atlaskit/editor-common/preset").MaybePluginName<"collabEdit">, import("@atlaskit/editor-common/preset").MaybePluginName<"media">, import("@atlaskit/editor-common/preset").MaybePluginName<"imageUpload">, import("@atlaskit/editor-common/preset").MaybePluginName<"saveOnEnter">, import("@atlaskit/editor-common/preset").MaybePluginName<"helpDialog">, import("@atlaskit/editor-common/preset").MaybePluginName<"feedbackDialog">, import("@atlaskit/editor-common/preset").MaybePluginName<"taskDecision">, import("@atlaskit/editor-common/preset").MaybePluginName<"table">, import("@atlaskit/editor-common/preset").MaybePluginName<"emoji">, import("@atlaskit/editor-common/preset").MaybePluginName<"mention">, import("@atlaskit/editor-common/preset").MaybePluginName<"caption">, import("@atlaskit/editor-common/preset").MaybePluginName<"mediaInsert">, import("@atlaskit/editor-common/preset").MaybePluginName<"media">, import("@atlaskit/editor-common/preset").MaybePluginName<"annotation">, import("@atlaskit/editor-common/preset").MaybePluginName<"grid">, import("@atlaskit/editor-common/preset").MaybePluginName<"guideline">, import("@atlaskit/editor-common/preset").MaybePluginName<"expand">, import("@atlaskit/editor-common/preset").MaybePluginName<"rule">, "list", import("@atlaskit/editor-common/preset").MaybePluginName<"textColor">, import("@atlaskit/editor-common/preset").MaybePluginName<"alignment">, import("@atlaskit/editor-common/preset").MaybePluginName<"breakout">, "batchAttributeUpdates", "contentInsertion", "accessibilityUtils", "dataConsumer", "ufo", "codeBlock", "selection", "floatingToolbar", "copyButton", "submitEditor", "editorDisabled", "unsupportedContent", "placeholder", "quickInsert", "width", "textFormatting", "hyperlink", "selectionToolbar", "clearMarksOnEmptyDoc", "blockType", string, "primaryToolbar", string, "typeAhead", "decorations", "base", "contextIdentifier", "composition", string, string, "focus", "clipboard", "paste", "betterTypeHistory", string, "featureFlags"], [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"codeBidiWarning", {
|
|
57
57
|
pluginConfiguration: import("@atlaskit/editor-plugins/code-bidi-warning").CodeBidiWarningPluginOptions | undefined;
|
|
58
58
|
}, import("@atlaskit/editor-plugins/code-bidi-warning").CodeBidiWarningPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"pasteOptionsToolbarPlugin", {
|
|
59
|
-
dependencies: import("
|
|
59
|
+
dependencies: import("@atlaskit/editor-plugins/paste-options-toolbar").PasteOptionsToolbarPluginDependencies;
|
|
60
60
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"fragmentPlugin", {}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"border", {}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"findReplace", {
|
|
61
61
|
pluginConfiguration: import("@atlaskit/editor-plugins/find-replace").FindReplacePluginOptions;
|
|
62
62
|
sharedState: import("@atlaskit/editor-plugins/find-replace").FindReplacePluginState | undefined;
|
|
63
|
-
dependencies: import("
|
|
63
|
+
dependencies: import("@atlaskit/editor-plugins/find-replace").FindReplacePluginDependencies;
|
|
64
64
|
actions: {
|
|
65
65
|
registerToolbarButton: (params: import("@atlaskit/editor-plugins/find-replace").FindReplaceToolbarButtonActionProps) => import("react").ReactNode;
|
|
66
66
|
activateFindReplace: (triggerMethod?: import("@atlaskit/editor-common/analytics").TRIGGER_METHOD.SHORTCUT | import("@atlaskit/editor-common/analytics").TRIGGER_METHOD.TOOLBAR | import("@atlaskit/editor-common/analytics").TRIGGER_METHOD.EXTERNAL | undefined) => boolean;
|
|
67
67
|
};
|
|
68
68
|
}, import("@atlaskit/editor-plugins/find-replace").FindReplacePluginOptions> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"avatarGroup", {
|
|
69
69
|
pluginConfiguration: import("@atlaskit/editor-plugins/avatar-group").AvatarGroupPluginOptions;
|
|
70
|
-
dependencies: import("
|
|
70
|
+
dependencies: import("@atlaskit/editor-plugins/avatar-group").AvatarGroupPluginDependencies;
|
|
71
71
|
actions: {
|
|
72
72
|
getToolbarItem: ({ inviteToEditHandler, isInviteToEditButtonSelected, inviteToEditComponent, }: import("@atlaskit/editor-common/collab").CollabInviteToEditProps) => JSX.Element | null;
|
|
73
73
|
};
|
|
@@ -87,20 +87,20 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
87
87
|
sharedState: import("@atlaskit/editor-plugins/insert-block").InsertBlockPluginState | undefined;
|
|
88
88
|
}, import("@atlaskit/editor-plugins/insert-block").InsertBlockPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"toolbarListsIndentation", {
|
|
89
89
|
pluginConfiguration: import("@atlaskit/editor-plugins/toolbar-lists-indentation").ToolbarListsIndentationPluginOptions;
|
|
90
|
-
dependencies: import("
|
|
90
|
+
dependencies: import("@atlaskit/editor-plugins/toolbar-lists-indentation").ToolbarListsIndentationPluginDependencies;
|
|
91
91
|
}, import("@atlaskit/editor-plugins/toolbar-lists-indentation").ToolbarListsIndentationPluginOptions>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"scrollIntoView", {}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"indentation", {
|
|
92
|
-
dependencies: import("
|
|
93
|
-
actions: import("
|
|
92
|
+
dependencies: import("@atlaskit/editor-plugins/indentation").IndentationPluginDependencies;
|
|
93
|
+
actions: import("@atlaskit/editor-plugins/indentation").IndentationPluginActions;
|
|
94
94
|
sharedState: {
|
|
95
95
|
isIndentationAllowed: boolean;
|
|
96
96
|
indentDisabled: boolean;
|
|
97
97
|
outdentDisabled: boolean;
|
|
98
98
|
} | undefined;
|
|
99
99
|
}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"status", {
|
|
100
|
-
dependencies: import("
|
|
100
|
+
dependencies: import("@atlaskit/editor-plugins/status").StatusPluginDependencies;
|
|
101
101
|
pluginConfiguration: import("@atlaskit/editor-plugins/status").StatusPluginOptions | undefined;
|
|
102
|
-
actions: import("
|
|
103
|
-
commands: import("
|
|
102
|
+
actions: import("@atlaskit/editor-plugins/status").StatusPluginActions;
|
|
103
|
+
commands: import("@atlaskit/editor-plugins/status").StatusPluginCommands;
|
|
104
104
|
sharedState: import("@atlaskit/editor-plugins/status").StatusState | undefined;
|
|
105
105
|
}, import("@atlaskit/editor-plugins/status").StatusPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"customAutoformat", {
|
|
106
106
|
sharedState: import("@atlaskit/editor-plugins/custom-autoformat").CustomAutoformatPluginSharedState | undefined;
|
|
@@ -110,17 +110,17 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
110
110
|
};
|
|
111
111
|
}, import("@atlaskit/editor-plugins/custom-autoformat").CustomAutoformatPluginOptions> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
|
|
112
112
|
pluginConfiguration: import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined;
|
|
113
|
-
dependencies: import("
|
|
113
|
+
dependencies: import("@atlaskit/editor-plugins/card").CardPluginDependencies;
|
|
114
114
|
sharedState: import("@atlaskit/editor-plugins/card").CardPluginState | null;
|
|
115
115
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
116
116
|
}, import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"layout", {
|
|
117
117
|
pluginConfiguration: import("@atlaskit/editor-plugins/layout").LayoutPluginOptions | undefined;
|
|
118
|
-
dependencies: import("
|
|
118
|
+
dependencies: import("@atlaskit/editor-plugins/layout").LayoutPluginDependencies;
|
|
119
119
|
actions: {
|
|
120
120
|
insertLayoutColumns: (inputMethod: import("@atlaskit/editor-common/types").TOOLBAR_MENU_TYPE) => import("@atlaskit/editor-common/types").Command;
|
|
121
121
|
};
|
|
122
122
|
}, import("@atlaskit/editor-plugins/layout").LayoutPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"placeholderText", {
|
|
123
|
-
dependencies: import("
|
|
123
|
+
dependencies: import("@atlaskit/editor-plugins/placeholder-text").PlaceholderTextPluginDependencies;
|
|
124
124
|
pluginConfiguration: import("@atlaskit/editor-plugins/placeholder-text").PlaceholderTextPluginOptions;
|
|
125
125
|
sharedState: import("@atlaskit/editor-plugins/placeholder-text").PlaceholderTextPluginState | undefined;
|
|
126
126
|
actions: {
|
|
@@ -128,7 +128,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
128
128
|
};
|
|
129
129
|
}, import("@atlaskit/editor-plugins/placeholder-text").PlaceholderTextPluginOptions> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"date", {
|
|
130
130
|
pluginConfiguration: import("@atlaskit/editor-plugins/date").DatePluginOptions | undefined;
|
|
131
|
-
dependencies: import("
|
|
131
|
+
dependencies: import("@atlaskit/editor-plugins/date").DatePluginDependencies;
|
|
132
132
|
sharedState: import("@atlaskit/editor-plugins/date").DatePluginSharedState;
|
|
133
133
|
commands: {
|
|
134
134
|
insertDate: import("@atlaskit/editor-plugins/date").InsertDate;
|
|
@@ -137,7 +137,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
137
137
|
}, import("@atlaskit/editor-plugins/date").DatePluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
138
138
|
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
139
139
|
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
140
|
-
dependencies: import("
|
|
140
|
+
dependencies: import("@atlaskit/editor-plugins/annotation").AnnotationPluginDependencies;
|
|
141
141
|
actions: {
|
|
142
142
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
143
143
|
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;
|
|
@@ -146,27 +146,27 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
146
146
|
};
|
|
147
147
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
148
148
|
pluginConfiguration: ExtensionPluginOptions | undefined;
|
|
149
|
-
dependencies: import("
|
|
149
|
+
dependencies: import("@atlaskit/editor-plugins/extension").ExtensionPluginDependencies;
|
|
150
150
|
sharedState: {
|
|
151
151
|
showContextPanel: boolean | undefined;
|
|
152
152
|
extensionProvider?: import("@atlaskit/editor-common/extensions").ExtensionProvider<import("@atlaskit/editor-common/extensions").Parameters> | undefined;
|
|
153
153
|
processParametersAfter?: import("@atlaskit/editor-common/extensions").TransformAfter<import("@atlaskit/editor-common/extensions").Parameters> | undefined;
|
|
154
154
|
} | undefined;
|
|
155
|
-
actions: import("
|
|
155
|
+
actions: import("@atlaskit/editor-plugins/extension").ExtensionPluginActions;
|
|
156
156
|
}, ExtensionPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextPanel", {
|
|
157
157
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined;
|
|
158
158
|
actions: {
|
|
159
159
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
160
|
-
showPanel?: import("
|
|
161
|
-
closePanel?: import("
|
|
162
|
-
closePanelById?: import("
|
|
160
|
+
showPanel?: import("@atlaskit/editor-plugins/context-panel").ShowObjectSidebar | undefined;
|
|
161
|
+
closePanel?: import("@atlaskit/editor-plugins/context-panel").HideObjectSidebar | undefined;
|
|
162
|
+
closePanelById?: import("@atlaskit/editor-plugins/context-panel").HideObjectSidebarById | undefined;
|
|
163
163
|
};
|
|
164
164
|
sharedState: {
|
|
165
165
|
contents: import("react").ReactNode[] | undefined;
|
|
166
166
|
} | undefined;
|
|
167
167
|
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"panel", {
|
|
168
168
|
pluginConfiguration: import("@atlaskit/editor-plugins/panel").PanelPluginOptions | undefined;
|
|
169
|
-
dependencies: import("
|
|
169
|
+
dependencies: import("@atlaskit/editor-plugins/panel").PanelPluginDependencies;
|
|
170
170
|
actions: {
|
|
171
171
|
insertPanel: (inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
172
172
|
};
|
|
@@ -175,7 +175,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
175
175
|
pluginConfiguration: number | undefined;
|
|
176
176
|
}, number | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"collabEdit", {
|
|
177
177
|
pluginConfiguration: import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions;
|
|
178
|
-
dependencies: import("
|
|
178
|
+
dependencies: import("@atlaskit/editor-plugins/collab-edit").CollabEditPluginDependencies;
|
|
179
179
|
sharedState: import("@atlaskit/editor-plugins/collab-edit").CollabEditPluginSharedState;
|
|
180
180
|
actions: {
|
|
181
181
|
getAvatarColor: (str: string) => {
|
|
@@ -205,7 +205,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
205
205
|
};
|
|
206
206
|
}, import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
207
207
|
pluginConfiguration: import("@atlaskit/editor-plugins/media").MediaPluginOptions | undefined;
|
|
208
|
-
dependencies: import("
|
|
208
|
+
dependencies: import("@atlaskit/editor-plugins/media").MediaPluginDependencies;
|
|
209
209
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
210
210
|
actions: {
|
|
211
211
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -228,7 +228,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
228
228
|
}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"saveOnEnter", {
|
|
229
229
|
pluginConfiguration: import("packages/editor/editor-plugin-save-on-enter/dist/types/saveOnEnterPluginType").Config | undefined;
|
|
230
230
|
}, import("packages/editor/editor-plugin-save-on-enter/dist/types/saveOnEnterPluginType").Config | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"helpDialog", {
|
|
231
|
-
dependencies: import("
|
|
231
|
+
dependencies: import("@atlaskit/editor-plugins/help-dialog").HelpDialogDependencies;
|
|
232
232
|
pluginConfiguration: import("@atlaskit/editor-plugins/help-dialog").HelpDialogPluginOptions;
|
|
233
233
|
sharedState: import("@atlaskit/editor-plugins/help-dialog").HelpDialogSharedState | null;
|
|
234
234
|
actions: {
|
|
@@ -244,7 +244,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
244
244
|
}, import("@atlaskit/editor-common/types").FeedbackInfo> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"taskDecision", {
|
|
245
245
|
pluginConfiguration: import("@atlaskit/editor-plugins/tasks-and-decisions").TasksAndDecisionsPluginOptions | undefined;
|
|
246
246
|
sharedState: import("@atlaskit/editor-plugins/tasks-and-decisions").TaskAndDecisionsSharedState | undefined;
|
|
247
|
-
dependencies: import("
|
|
247
|
+
dependencies: import("@atlaskit/editor-plugins/tasks-and-decisions").TasksAndDecisionsPluginDependencies;
|
|
248
248
|
actions: {
|
|
249
249
|
insertTaskDecision: (listType: import("@atlaskit/editor-plugins/tasks-and-decisions").TaskDecisionListType, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.FORMATTING | import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/types").TOOLBAR_MENU_TYPE | undefined, addItem?: import("@atlaskit/editor-plugins/tasks-and-decisions").AddItemTransactionCreator | undefined, listLocalId?: string | undefined, itemLocalId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
250
250
|
indentTaskList: (inputMethod?: (import("@atlaskit/editor-common/analytics").INPUT_METHOD.FLOATING_TB | import("@atlaskit/editor-common/analytics").INPUT_METHOD.KEYBOARD | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR) | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -257,34 +257,34 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
257
257
|
};
|
|
258
258
|
}, import("@atlaskit/editor-plugins/tasks-and-decisions").TasksAndDecisionsPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"table", {
|
|
259
259
|
pluginConfiguration: import("@atlaskit/editor-plugins/table").TablePluginOptions | undefined;
|
|
260
|
-
actions: import("
|
|
260
|
+
actions: import("@atlaskit/editor-plugins/table").TablePluginActions;
|
|
261
261
|
sharedState?: import("@atlaskit/editor-plugins/table/types").TableSharedState | undefined;
|
|
262
|
-
commands: import("
|
|
263
|
-
dependencies: import("
|
|
262
|
+
commands: import("@atlaskit/editor-plugins/table").TablePluginCommands;
|
|
263
|
+
dependencies: import("@atlaskit/editor-plugins/table").TablePluginDependencies;
|
|
264
264
|
}, import("@atlaskit/editor-plugins/table").TablePluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"emoji", {
|
|
265
265
|
pluginConfiguration: import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined;
|
|
266
|
-
dependencies: import("
|
|
266
|
+
dependencies: import("@atlaskit/editor-plugins/emoji").EmojiPluginDependencies;
|
|
267
267
|
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
268
|
-
commands: import("
|
|
269
|
-
actions: import("
|
|
268
|
+
commands: import("@atlaskit/editor-plugins/emoji").EmojiPluginCommands;
|
|
269
|
+
actions: import("@atlaskit/editor-plugins/emoji").EmojiPluginActions;
|
|
270
270
|
}, import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"mention", {
|
|
271
271
|
pluginConfiguration: import("@atlaskit/editor-plugins/mentions").MentionsPluginOptions | undefined;
|
|
272
|
-
dependencies: import("
|
|
272
|
+
dependencies: import("@atlaskit/editor-plugins/mentions").MentionPluginDependencies;
|
|
273
273
|
sharedState: import("@atlaskit/editor-plugins/mentions").MentionSharedState | undefined;
|
|
274
|
-
actions: import("
|
|
274
|
+
actions: import("@atlaskit/editor-plugins/mentions").MentionActions;
|
|
275
275
|
commands: {
|
|
276
|
-
insertMention: (params: import("
|
|
276
|
+
insertMention: (params: import("@atlaskit/editor-plugins/mentions").InsertMentionParameters) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
277
277
|
};
|
|
278
278
|
}, import("@atlaskit/editor-plugins/mentions").MentionsPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"caption", {
|
|
279
|
-
dependencies: import("
|
|
279
|
+
dependencies: import("@atlaskit/editor-plugins/caption").CaptionPluginDependencies;
|
|
280
280
|
}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"mediaInsert", {
|
|
281
|
-
dependencies: import("
|
|
281
|
+
dependencies: import("@atlaskit/editor-plugins/media-insert").MediaInsertPluginDependencies;
|
|
282
282
|
sharedState: import("@atlaskit/editor-plugins/media-insert").MediaInsertPluginState;
|
|
283
|
-
commands: import("
|
|
284
|
-
pluginConfiguration: import("
|
|
285
|
-
}, import("
|
|
283
|
+
commands: import("@atlaskit/editor-plugins/media-insert").MediaInsertPluginCommands;
|
|
284
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/media-insert").MediaInsertPluginConfig | undefined;
|
|
285
|
+
}, import("@atlaskit/editor-plugins/media-insert").MediaInsertPluginConfig | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
286
286
|
pluginConfiguration: import("@atlaskit/editor-plugins/media").MediaPluginOptions | undefined;
|
|
287
|
-
dependencies: import("
|
|
287
|
+
dependencies: import("@atlaskit/editor-plugins/media").MediaPluginDependencies;
|
|
288
288
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
289
289
|
actions: {
|
|
290
290
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -298,7 +298,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
298
298
|
}, import("@atlaskit/editor-plugins/media").MediaPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
299
299
|
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
300
300
|
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
301
|
-
dependencies: import("
|
|
301
|
+
dependencies: import("@atlaskit/editor-plugins/annotation").AnnotationPluginDependencies;
|
|
302
302
|
actions: {
|
|
303
303
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
304
304
|
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;
|
|
@@ -306,11 +306,11 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
306
306
|
hasAnyUnResolvedAnnotationInPage: (state: import("prosemirror-state").EditorState) => boolean;
|
|
307
307
|
};
|
|
308
308
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
|
|
309
|
-
pluginConfiguration: import("
|
|
310
|
-
dependencies: import("
|
|
311
|
-
sharedState: import("
|
|
312
|
-
actions: import("
|
|
313
|
-
}, import("
|
|
309
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/grid").GridPluginConfiguration;
|
|
310
|
+
dependencies: import("@atlaskit/editor-plugins/grid").GridPluginDependencies;
|
|
311
|
+
sharedState: import("@atlaskit/editor-plugins/grid").GridPluginSharedState;
|
|
312
|
+
actions: import("@atlaskit/editor-plugins/grid").GridPluginActions;
|
|
313
|
+
}, import("@atlaskit/editor-plugins/grid").GridPluginConfiguration> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
|
|
314
314
|
dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
315
315
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
316
316
|
}, undefined>];
|
|
@@ -320,7 +320,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
320
320
|
};
|
|
321
321
|
}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"expand", {
|
|
322
322
|
pluginConfiguration: import("@atlaskit/editor-plugins/expand").ExpandPluginOptions | undefined;
|
|
323
|
-
dependencies: import("
|
|
323
|
+
dependencies: import("@atlaskit/editor-plugins/expand").ExpandPluginDependencies;
|
|
324
324
|
actions: {
|
|
325
325
|
insertExpand: import("@atlaskit/editor-common/types").Command;
|
|
326
326
|
insertExpandWithInputMethod: (inputMethod: import("@atlaskit/editor-plugins/expand").InsertMethod) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -347,30 +347,30 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
347
347
|
insertHorizontalRule: (inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD.FORMATTING | import("@atlaskit/editor-common/analytics").INPUT_METHOD.INSERT_MENU | import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.SHORTCUT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR) => import("@atlaskit/editor-common/types").Command;
|
|
348
348
|
};
|
|
349
349
|
}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"list", {
|
|
350
|
-
dependencies: import("
|
|
351
|
-
actions: import("
|
|
352
|
-
commands: import("
|
|
353
|
-
sharedState: import("
|
|
350
|
+
dependencies: import("@atlaskit/editor-plugins/list").ListPluginDependencies;
|
|
351
|
+
actions: import("@atlaskit/editor-plugins/list").ListPluginActions;
|
|
352
|
+
commands: import("@atlaskit/editor-plugins/list").ListPluginCommands;
|
|
353
|
+
sharedState: import("@atlaskit/editor-plugins/list").ListPluginSharedState;
|
|
354
354
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"textColor", {
|
|
355
355
|
pluginConfiguration: import("@atlaskit/editor-plugins/text-color").TextColorPluginOptions | undefined;
|
|
356
|
-
dependencies: import("
|
|
356
|
+
dependencies: import("@atlaskit/editor-plugins/text-color").Dependencies;
|
|
357
357
|
actions: {
|
|
358
358
|
changeColor: (color: string, inputMethod?: import("@atlaskit/editor-plugins/text-color").TextColorInputMethod | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
359
359
|
};
|
|
360
360
|
sharedState: import("@atlaskit/editor-plugins/text-color").TextColorPluginState | undefined;
|
|
361
361
|
}, import("@atlaskit/editor-plugins/text-color").TextColorPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"alignment", {
|
|
362
362
|
sharedState: import("@atlaskit/editor-plugins/alignment").AlignmentPluginState | undefined;
|
|
363
|
-
dependencies: import("
|
|
363
|
+
dependencies: import("@atlaskit/editor-plugins/alignment").AlignmentPluginDependencies;
|
|
364
364
|
}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"breakout", {
|
|
365
365
|
pluginConfiguration: import("@atlaskit/editor-plugins/breakout").BreakoutPluginOptions | undefined;
|
|
366
|
-
dependencies: import("
|
|
366
|
+
dependencies: import("@atlaskit/editor-plugins/breakout").BreakoutPluginDependencies;
|
|
367
367
|
sharedState: Partial<import("@atlaskit/editor-plugins/breakout").BreakoutPluginState>;
|
|
368
368
|
}, import("@atlaskit/editor-plugins/breakout").BreakoutPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"batchAttributeUpdates", {
|
|
369
369
|
actions: {
|
|
370
370
|
batchSteps: import("@atlaskit/editor-plugins/batch-attribute-updates").BatchStepsAction;
|
|
371
371
|
};
|
|
372
372
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contentInsertion", {
|
|
373
|
-
dependencies: import("
|
|
373
|
+
dependencies: import("@atlaskit/editor-plugins/content-insertion").ContentInsertionDependencies;
|
|
374
374
|
} & import("@atlaskit/editor-plugins/content-insertion").InsertNodeAPI, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
375
375
|
dependencies: [];
|
|
376
376
|
actions: {
|
|
@@ -440,7 +440,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
440
440
|
};
|
|
441
441
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
442
442
|
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
443
|
-
dependencies: import("
|
|
443
|
+
dependencies: import("@atlaskit/editor-plugins/floating-toolbar").FloatingToolbarPluginDependencies;
|
|
444
444
|
actions: {
|
|
445
445
|
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
446
446
|
};
|
|
@@ -473,7 +473,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
473
473
|
};
|
|
474
474
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"submitEditor", {
|
|
475
475
|
pluginConfiguration: import("@atlaskit/editor-plugins/submit-editor").SubmitEditorPluginOptions | undefined;
|
|
476
|
-
dependencies: import("
|
|
476
|
+
dependencies: import("@atlaskit/editor-plugins/submit-editor").SubmitEditorPluginDependencies;
|
|
477
477
|
}, import("@atlaskit/editor-plugins/submit-editor").SubmitEditorPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
478
478
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
479
479
|
pluginConfiguration: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginOptions | undefined;
|
|
@@ -504,7 +504,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
504
504
|
pluginConfiguration: FeatureFlags;
|
|
505
505
|
sharedState: FeatureFlags;
|
|
506
506
|
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
507
|
-
sharedState: import("
|
|
507
|
+
sharedState: import("@atlaskit/editor-plugins/connectivity").PublicPluginState;
|
|
508
508
|
commands: {
|
|
509
509
|
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
510
510
|
};
|
|
@@ -512,9 +512,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
512
512
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined;
|
|
513
513
|
actions: {
|
|
514
514
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
515
|
-
showPanel?: import("
|
|
516
|
-
closePanel?: import("
|
|
517
|
-
closePanelById?: import("
|
|
515
|
+
showPanel?: import("@atlaskit/editor-plugins/context-panel").ShowObjectSidebar | undefined;
|
|
516
|
+
closePanel?: import("@atlaskit/editor-plugins/context-panel").HideObjectSidebar | undefined;
|
|
517
|
+
closePanelById?: import("@atlaskit/editor-plugins/context-panel").HideObjectSidebarById | undefined;
|
|
518
518
|
};
|
|
519
519
|
sharedState: {
|
|
520
520
|
contents: import("react").ReactNode[] | undefined;
|
|
@@ -577,12 +577,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
577
577
|
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
578
578
|
}) => boolean;
|
|
579
579
|
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
580
|
-
open: (props: import("
|
|
580
|
+
open: (props: import("@atlaskit/editor-plugins/type-ahead").OpenTypeAheadProps) => boolean;
|
|
581
581
|
close: (props: {
|
|
582
582
|
insertCurrentQueryAsRawText: boolean;
|
|
583
583
|
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
584
584
|
}) => boolean;
|
|
585
|
-
openAtTransaction: (props: import("
|
|
585
|
+
openAtTransaction: (props: import("@atlaskit/editor-plugins/type-ahead").OpenTypeAheadProps) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
586
586
|
};
|
|
587
587
|
}, import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginOptions | undefined>];
|
|
588
588
|
}, import("@atlaskit/editor-plugins/placeholder").PlaceholderPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"quickInsert", {
|
|
@@ -605,7 +605,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
605
605
|
pluginConfiguration: FeatureFlags;
|
|
606
606
|
sharedState: FeatureFlags;
|
|
607
607
|
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
608
|
-
sharedState: import("
|
|
608
|
+
sharedState: import("@atlaskit/editor-plugins/connectivity").PublicPluginState;
|
|
609
609
|
commands: {
|
|
610
610
|
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
611
611
|
};
|
|
@@ -613,9 +613,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
613
613
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined;
|
|
614
614
|
actions: {
|
|
615
615
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
616
|
-
showPanel?: import("
|
|
617
|
-
closePanel?: import("
|
|
618
|
-
closePanelById?: import("
|
|
616
|
+
showPanel?: import("@atlaskit/editor-plugins/context-panel").ShowObjectSidebar | undefined;
|
|
617
|
+
closePanel?: import("@atlaskit/editor-plugins/context-panel").HideObjectSidebar | undefined;
|
|
618
|
+
closePanelById?: import("@atlaskit/editor-plugins/context-panel").HideObjectSidebarById | undefined;
|
|
619
619
|
};
|
|
620
620
|
sharedState: {
|
|
621
621
|
contents: import("react").ReactNode[] | undefined;
|
|
@@ -678,15 +678,15 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
678
678
|
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
679
679
|
}) => boolean;
|
|
680
680
|
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
681
|
-
open: (props: import("
|
|
681
|
+
open: (props: import("@atlaskit/editor-plugins/type-ahead").OpenTypeAheadProps) => boolean;
|
|
682
682
|
close: (props: {
|
|
683
683
|
insertCurrentQueryAsRawText: boolean;
|
|
684
684
|
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
685
685
|
}) => boolean;
|
|
686
|
-
openAtTransaction: (props: import("
|
|
686
|
+
openAtTransaction: (props: import("@atlaskit/editor-plugins/type-ahead").OpenTypeAheadProps) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
687
687
|
};
|
|
688
688
|
}, import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
689
|
-
sharedState: import("
|
|
689
|
+
sharedState: import("@atlaskit/editor-plugins/connectivity").PublicPluginState;
|
|
690
690
|
commands: {
|
|
691
691
|
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
692
692
|
};
|
|
@@ -786,12 +786,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
786
786
|
sharedState: import("@atlaskit/editor-plugins/base").BasePluginState;
|
|
787
787
|
actions: {
|
|
788
788
|
setKeyboardHeight: (keyboardHeight: number) => import("@atlaskit/editor-common/types").Command;
|
|
789
|
-
registerMarks: (callback: import("
|
|
789
|
+
registerMarks: (callback: import("@atlaskit/editor-plugins/base").Callback) => void;
|
|
790
790
|
resolveMarks: (from: number, to: number, tr: import("prosemirror-state").Transaction) => void;
|
|
791
791
|
};
|
|
792
792
|
}, import("@atlaskit/editor-plugins/base").BasePluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selectionToolbar", {
|
|
793
793
|
sharedState: {
|
|
794
|
-
toolbarDocking: import("
|
|
794
|
+
toolbarDocking: import("@atlaskit/editor-plugins/selection-toolbar").ToolbarDocking;
|
|
795
795
|
};
|
|
796
796
|
pluginConfiguration: import("@atlaskit/editor-plugins/selection-toolbar").SelectionToolbarPluginOptions;
|
|
797
797
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
@@ -823,7 +823,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
823
823
|
}, FeatureFlags>>];
|
|
824
824
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
825
825
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
826
|
-
dependencies: import("
|
|
826
|
+
dependencies: import("@atlaskit/editor-plugins/block-controls").BlockControlsPluginDependencies;
|
|
827
827
|
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
828
828
|
commands: {
|
|
829
829
|
moveToLayout: (start: number, to: number, options?: {
|
|
@@ -831,7 +831,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
831
831
|
selectMovedNode?: boolean | undefined;
|
|
832
832
|
moveNodeAtCursorPos?: boolean | undefined;
|
|
833
833
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
834
|
-
moveNode: import("
|
|
834
|
+
moveNode: import("@atlaskit/editor-plugins/block-controls").MoveNode;
|
|
835
835
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugins/block-controls").HandleOptions, rootPos?: number | undefined, rootAnchorName?: string | undefined, rootNodeType?: string | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
836
836
|
toggleBlockMenu: (options?: {
|
|
837
837
|
closeMenu?: boolean | undefined;
|
|
@@ -842,7 +842,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
842
842
|
setSelectedViaDragHandle: (isSelectedViaDragHandle?: boolean | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
843
843
|
};
|
|
844
844
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
845
|
-
sharedState: import("
|
|
845
|
+
sharedState: import("@atlaskit/editor-plugins/connectivity").PublicPluginState;
|
|
846
846
|
commands: {
|
|
847
847
|
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
848
848
|
};
|
|
@@ -869,8 +869,8 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
869
869
|
actions?: {
|
|
870
870
|
suppressToolbar?: (() => boolean) | undefined;
|
|
871
871
|
unsuppressToolbar?: (() => boolean) | undefined;
|
|
872
|
-
setToolbarDocking?: ((toolbarDocking: import("
|
|
873
|
-
forceToolbarDockingWithoutAnalytics?: ((toolbarDocking: import("
|
|
872
|
+
setToolbarDocking?: ((toolbarDocking: import("@atlaskit/editor-plugins/selection-toolbar").ToolbarDocking) => boolean) | undefined;
|
|
873
|
+
forceToolbarDockingWithoutAnalytics?: ((toolbarDocking: import("@atlaskit/editor-plugins/selection-toolbar").ToolbarDocking) => boolean) | undefined;
|
|
874
874
|
refreshToolbarDocking?: (() => boolean) | undefined;
|
|
875
875
|
} | undefined;
|
|
876
876
|
}, import("@atlaskit/editor-plugins/selection-toolbar").SelectionToolbarPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"userPreferences", {
|
|
@@ -905,17 +905,17 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
905
905
|
sharedState: import("@atlaskit/editor-common/types").TextFormattingState | undefined;
|
|
906
906
|
}, import("@atlaskit/editor-common/types").TextFormattingOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"hyperlink", {
|
|
907
907
|
pluginConfiguration: import("@atlaskit/editor-common/types").HyperlinkPluginOptions | undefined;
|
|
908
|
-
dependencies: import("
|
|
909
|
-
actions: import("
|
|
908
|
+
dependencies: import("@atlaskit/editor-plugins/hyperlink").HyperlinkPluginDependencies;
|
|
909
|
+
actions: import("@atlaskit/editor-plugins/hyperlink").HyperlinkPluginActions;
|
|
910
910
|
commands: {
|
|
911
911
|
showLinkToolbar: import("@atlaskit/editor-plugins/hyperlink").ShowLinkToolbar;
|
|
912
912
|
updateLink: (href: string, text: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
913
913
|
removeLink: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
914
914
|
};
|
|
915
|
-
sharedState: import("
|
|
915
|
+
sharedState: import("@atlaskit/editor-plugins/hyperlink").HyperlinkPluginSharedState;
|
|
916
916
|
}, import("@atlaskit/editor-common/types").HyperlinkPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selectionToolbar", {
|
|
917
917
|
sharedState: {
|
|
918
|
-
toolbarDocking: import("
|
|
918
|
+
toolbarDocking: import("@atlaskit/editor-plugins/selection-toolbar").ToolbarDocking;
|
|
919
919
|
};
|
|
920
920
|
pluginConfiguration: import("@atlaskit/editor-plugins/selection-toolbar").SelectionToolbarPluginOptions;
|
|
921
921
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
@@ -947,7 +947,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
947
947
|
}, FeatureFlags>>];
|
|
948
948
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
949
949
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
950
|
-
dependencies: import("
|
|
950
|
+
dependencies: import("@atlaskit/editor-plugins/block-controls").BlockControlsPluginDependencies;
|
|
951
951
|
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
952
952
|
commands: {
|
|
953
953
|
moveToLayout: (start: number, to: number, options?: {
|
|
@@ -955,7 +955,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
955
955
|
selectMovedNode?: boolean | undefined;
|
|
956
956
|
moveNodeAtCursorPos?: boolean | undefined;
|
|
957
957
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
958
|
-
moveNode: import("
|
|
958
|
+
moveNode: import("@atlaskit/editor-plugins/block-controls").MoveNode;
|
|
959
959
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugins/block-controls").HandleOptions, rootPos?: number | undefined, rootAnchorName?: string | undefined, rootNodeType?: string | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
960
960
|
toggleBlockMenu: (options?: {
|
|
961
961
|
closeMenu?: boolean | undefined;
|
|
@@ -966,7 +966,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
966
966
|
setSelectedViaDragHandle: (isSelectedViaDragHandle?: boolean | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
967
967
|
};
|
|
968
968
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
969
|
-
sharedState: import("
|
|
969
|
+
sharedState: import("@atlaskit/editor-plugins/connectivity").PublicPluginState;
|
|
970
970
|
commands: {
|
|
971
971
|
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
972
972
|
};
|
|
@@ -993,8 +993,8 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
993
993
|
actions?: {
|
|
994
994
|
suppressToolbar?: (() => boolean) | undefined;
|
|
995
995
|
unsuppressToolbar?: (() => boolean) | undefined;
|
|
996
|
-
setToolbarDocking?: ((toolbarDocking: import("
|
|
997
|
-
forceToolbarDockingWithoutAnalytics?: ((toolbarDocking: import("
|
|
996
|
+
setToolbarDocking?: ((toolbarDocking: import("@atlaskit/editor-plugins/selection-toolbar").ToolbarDocking) => boolean) | undefined;
|
|
997
|
+
forceToolbarDockingWithoutAnalytics?: ((toolbarDocking: import("@atlaskit/editor-plugins/selection-toolbar").ToolbarDocking) => boolean) | undefined;
|
|
998
998
|
refreshToolbarDocking?: (() => boolean) | undefined;
|
|
999
999
|
} | undefined;
|
|
1000
1000
|
}, import("@atlaskit/editor-plugins/selection-toolbar").SelectionToolbarPluginOptions>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"clearMarksOnEmptyDoc", {}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockType", {
|
|
@@ -1022,7 +1022,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1022
1022
|
pluginConfiguration?: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined;
|
|
1023
1023
|
}, import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selectionToolbar", {
|
|
1024
1024
|
sharedState: {
|
|
1025
|
-
toolbarDocking: import("
|
|
1025
|
+
toolbarDocking: import("@atlaskit/editor-plugins/selection-toolbar").ToolbarDocking;
|
|
1026
1026
|
};
|
|
1027
1027
|
pluginConfiguration: import("@atlaskit/editor-plugins/selection-toolbar").SelectionToolbarPluginOptions;
|
|
1028
1028
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
@@ -1054,7 +1054,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1054
1054
|
}, FeatureFlags>>];
|
|
1055
1055
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1056
1056
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
1057
|
-
dependencies: import("
|
|
1057
|
+
dependencies: import("@atlaskit/editor-plugins/block-controls").BlockControlsPluginDependencies;
|
|
1058
1058
|
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
1059
1059
|
commands: {
|
|
1060
1060
|
moveToLayout: (start: number, to: number, options?: {
|
|
@@ -1062,7 +1062,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1062
1062
|
selectMovedNode?: boolean | undefined;
|
|
1063
1063
|
moveNodeAtCursorPos?: boolean | undefined;
|
|
1064
1064
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1065
|
-
moveNode: import("
|
|
1065
|
+
moveNode: import("@atlaskit/editor-plugins/block-controls").MoveNode;
|
|
1066
1066
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugins/block-controls").HandleOptions, rootPos?: number | undefined, rootAnchorName?: string | undefined, rootNodeType?: string | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1067
1067
|
toggleBlockMenu: (options?: {
|
|
1068
1068
|
closeMenu?: boolean | undefined;
|
|
@@ -1073,7 +1073,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1073
1073
|
setSelectedViaDragHandle: (isSelectedViaDragHandle?: boolean | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1074
1074
|
};
|
|
1075
1075
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
1076
|
-
sharedState: import("
|
|
1076
|
+
sharedState: import("@atlaskit/editor-plugins/connectivity").PublicPluginState;
|
|
1077
1077
|
commands: {
|
|
1078
1078
|
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1079
1079
|
};
|
|
@@ -1100,8 +1100,8 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1100
1100
|
actions?: {
|
|
1101
1101
|
suppressToolbar?: (() => boolean) | undefined;
|
|
1102
1102
|
unsuppressToolbar?: (() => boolean) | undefined;
|
|
1103
|
-
setToolbarDocking?: ((toolbarDocking: import("
|
|
1104
|
-
forceToolbarDockingWithoutAnalytics?: ((toolbarDocking: import("
|
|
1103
|
+
setToolbarDocking?: ((toolbarDocking: import("@atlaskit/editor-plugins/selection-toolbar").ToolbarDocking) => boolean) | undefined;
|
|
1104
|
+
forceToolbarDockingWithoutAnalytics?: ((toolbarDocking: import("@atlaskit/editor-plugins/selection-toolbar").ToolbarDocking) => boolean) | undefined;
|
|
1105
1105
|
refreshToolbarDocking?: (() => boolean) | undefined;
|
|
1106
1106
|
} | undefined;
|
|
1107
1107
|
}, import("@atlaskit/editor-plugins/selection-toolbar").SelectionToolbarPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"userPreferences", {
|
|
@@ -1131,7 +1131,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1131
1131
|
commands: {
|
|
1132
1132
|
setTextLevel: (level: import("@atlaskit/editor-plugins/block-type").TextBlockTypes, inputMethod: import("@atlaskit/editor-plugins/block-type").InputMethod, fromBlockQuote?: boolean | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1133
1133
|
insertBlockQuote: (inputMethod: import("@atlaskit/editor-plugins/block-type").InputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1134
|
-
clearFormatting: (inputMethod: import("
|
|
1134
|
+
clearFormatting: (inputMethod: import("@atlaskit/editor-plugins/block-type").ClearFormattingInputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1135
1135
|
};
|
|
1136
1136
|
}, import("@atlaskit/editor-plugins/block-type").BlockTypePluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"undoRedoPlugin", {
|
|
1137
1137
|
dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"typeAhead", {
|
|
@@ -1152,7 +1152,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1152
1152
|
pluginConfiguration: FeatureFlags;
|
|
1153
1153
|
sharedState: FeatureFlags;
|
|
1154
1154
|
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
1155
|
-
sharedState: import("
|
|
1155
|
+
sharedState: import("@atlaskit/editor-plugins/connectivity").PublicPluginState;
|
|
1156
1156
|
commands: {
|
|
1157
1157
|
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1158
1158
|
};
|
|
@@ -1160,9 +1160,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1160
1160
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined;
|
|
1161
1161
|
actions: {
|
|
1162
1162
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1163
|
-
showPanel?: import("
|
|
1164
|
-
closePanel?: import("
|
|
1165
|
-
closePanelById?: import("
|
|
1163
|
+
showPanel?: import("@atlaskit/editor-plugins/context-panel").ShowObjectSidebar | undefined;
|
|
1164
|
+
closePanel?: import("@atlaskit/editor-plugins/context-panel").HideObjectSidebar | undefined;
|
|
1165
|
+
closePanelById?: import("@atlaskit/editor-plugins/context-panel").HideObjectSidebarById | undefined;
|
|
1166
1166
|
};
|
|
1167
1167
|
sharedState: {
|
|
1168
1168
|
contents: import("react").ReactNode[] | undefined;
|
|
@@ -1225,15 +1225,15 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1225
1225
|
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
1226
1226
|
}) => boolean;
|
|
1227
1227
|
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
1228
|
-
open: (props: import("
|
|
1228
|
+
open: (props: import("@atlaskit/editor-plugins/type-ahead").OpenTypeAheadProps) => boolean;
|
|
1229
1229
|
close: (props: {
|
|
1230
1230
|
insertCurrentQueryAsRawText: boolean;
|
|
1231
1231
|
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
1232
1232
|
}) => boolean;
|
|
1233
|
-
openAtTransaction: (props: import("
|
|
1233
|
+
openAtTransaction: (props: import("@atlaskit/editor-plugins/type-ahead").OpenTypeAheadProps) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1234
1234
|
};
|
|
1235
1235
|
}, import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"history", {
|
|
1236
|
-
sharedState: import("
|
|
1236
|
+
sharedState: import("@atlaskit/editor-plugins/history").HistoryPluginSharedState | undefined;
|
|
1237
1237
|
commands: {
|
|
1238
1238
|
updatePluginState: import("@atlaskit/editor-common/types").EditorCommand;
|
|
1239
1239
|
};
|
|
@@ -1260,8 +1260,8 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1260
1260
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1261
1261
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
|
|
1262
1262
|
actions: {
|
|
1263
|
-
undo: import("
|
|
1264
|
-
redo: import("
|
|
1263
|
+
undo: import("@atlaskit/editor-plugins/undo-redo").UndoRedoAction;
|
|
1264
|
+
redo: import("@atlaskit/editor-plugins/undo-redo").UndoRedoAction;
|
|
1265
1265
|
};
|
|
1266
1266
|
}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
|
|
1267
1267
|
sharedState: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
@@ -1273,7 +1273,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1273
1273
|
};
|
|
1274
1274
|
pluginConfiguration?: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined;
|
|
1275
1275
|
}, import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"history", {
|
|
1276
|
-
sharedState: import("
|
|
1276
|
+
sharedState: import("@atlaskit/editor-plugins/history").HistoryPluginSharedState | undefined;
|
|
1277
1277
|
commands: {
|
|
1278
1278
|
updatePluginState: import("@atlaskit/editor-common/types").EditorCommand;
|
|
1279
1279
|
};
|
|
@@ -1295,7 +1295,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1295
1295
|
pluginConfiguration: FeatureFlags;
|
|
1296
1296
|
sharedState: FeatureFlags;
|
|
1297
1297
|
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
1298
|
-
sharedState: import("
|
|
1298
|
+
sharedState: import("@atlaskit/editor-plugins/connectivity").PublicPluginState;
|
|
1299
1299
|
commands: {
|
|
1300
1300
|
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1301
1301
|
};
|
|
@@ -1303,9 +1303,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1303
1303
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined;
|
|
1304
1304
|
actions: {
|
|
1305
1305
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1306
|
-
showPanel?: import("
|
|
1307
|
-
closePanel?: import("
|
|
1308
|
-
closePanelById?: import("
|
|
1306
|
+
showPanel?: import("@atlaskit/editor-plugins/context-panel").ShowObjectSidebar | undefined;
|
|
1307
|
+
closePanel?: import("@atlaskit/editor-plugins/context-panel").HideObjectSidebar | undefined;
|
|
1308
|
+
closePanelById?: import("@atlaskit/editor-plugins/context-panel").HideObjectSidebarById | undefined;
|
|
1309
1309
|
};
|
|
1310
1310
|
sharedState: {
|
|
1311
1311
|
contents: import("react").ReactNode[] | undefined;
|
|
@@ -1368,12 +1368,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1368
1368
|
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
1369
1369
|
}) => boolean;
|
|
1370
1370
|
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
1371
|
-
open: (props: import("
|
|
1371
|
+
open: (props: import("@atlaskit/editor-plugins/type-ahead").OpenTypeAheadProps) => boolean;
|
|
1372
1372
|
close: (props: {
|
|
1373
1373
|
insertCurrentQueryAsRawText: boolean;
|
|
1374
1374
|
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
1375
1375
|
}) => boolean;
|
|
1376
|
-
openAtTransaction: (props: import("
|
|
1376
|
+
openAtTransaction: (props: import("@atlaskit/editor-plugins/type-ahead").OpenTypeAheadProps) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1377
1377
|
};
|
|
1378
1378
|
}, import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
1379
1379
|
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
@@ -1396,7 +1396,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1396
1396
|
sharedState: import("@atlaskit/editor-plugins/base").BasePluginState;
|
|
1397
1397
|
actions: {
|
|
1398
1398
|
setKeyboardHeight: (keyboardHeight: number) => import("@atlaskit/editor-common/types").Command;
|
|
1399
|
-
registerMarks: (callback: import("
|
|
1399
|
+
registerMarks: (callback: import("@atlaskit/editor-plugins/base").Callback) => void;
|
|
1400
1400
|
resolveMarks: (from: number, to: number, tr: import("prosemirror-state").Transaction) => void;
|
|
1401
1401
|
};
|
|
1402
1402
|
}, import("@atlaskit/editor-plugins/base").BasePluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
@@ -1435,7 +1435,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1435
1435
|
sharedState: import("@atlaskit/editor-plugins/focus").FocusState;
|
|
1436
1436
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"clipboard", {}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"paste", {
|
|
1437
1437
|
pluginConfiguration: import("@atlaskit/editor-plugins/paste").PastePluginOptions;
|
|
1438
|
-
dependencies: import("
|
|
1438
|
+
dependencies: import("@atlaskit/editor-plugins/paste").PastePluginDependencies;
|
|
1439
1439
|
sharedState: {
|
|
1440
1440
|
lastContentPasted: import("@atlaskit/editor-plugins/paste").LastContentPasted | null;
|
|
1441
1441
|
};
|