@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
|
@@ -139,14 +139,14 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
139
139
|
pluginConfiguration: import("@atlaskit/editor-plugins/code-bidi-warning").CodeBidiWarningPluginOptions | undefined;
|
|
140
140
|
}, import("@atlaskit/editor-plugins/code-bidi-warning").CodeBidiWarningPluginOptions | undefined>,
|
|
141
141
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"pasteOptionsToolbarPlugin", {
|
|
142
|
-
dependencies: import("
|
|
142
|
+
dependencies: import("@atlaskit/editor-plugins/paste-options-toolbar").PasteOptionsToolbarPluginDependencies;
|
|
143
143
|
}, undefined>,
|
|
144
144
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"fragmentPlugin", {}, undefined> | undefined,
|
|
145
145
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"border", {}, undefined> | undefined,
|
|
146
146
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"findReplace", {
|
|
147
147
|
pluginConfiguration: import("@atlaskit/editor-plugins/find-replace").FindReplacePluginOptions;
|
|
148
148
|
sharedState: import("@atlaskit/editor-plugins/find-replace").FindReplacePluginState | undefined;
|
|
149
|
-
dependencies: import("
|
|
149
|
+
dependencies: import("@atlaskit/editor-plugins/find-replace").FindReplacePluginDependencies;
|
|
150
150
|
actions: {
|
|
151
151
|
registerToolbarButton: (params: import("@atlaskit/editor-plugins/find-replace").FindReplaceToolbarButtonActionProps) => import("react").ReactNode;
|
|
152
152
|
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;
|
|
@@ -154,7 +154,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
154
154
|
}, import("@atlaskit/editor-plugins/find-replace").FindReplacePluginOptions> | undefined,
|
|
155
155
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"avatarGroup", {
|
|
156
156
|
pluginConfiguration: import("@atlaskit/editor-plugins/avatar-group").AvatarGroupPluginOptions;
|
|
157
|
-
dependencies: import("
|
|
157
|
+
dependencies: import("@atlaskit/editor-plugins/avatar-group").AvatarGroupPluginDependencies;
|
|
158
158
|
actions: {
|
|
159
159
|
getToolbarItem: ({ inviteToEditHandler, isInviteToEditButtonSelected, inviteToEditComponent, }: import("@atlaskit/editor-common/collab").CollabInviteToEditProps) => JSX.Element | null;
|
|
160
160
|
};
|
|
@@ -177,12 +177,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
177
177
|
}, import("@atlaskit/editor-plugins/insert-block").InsertBlockPluginOptions | undefined>,
|
|
178
178
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"toolbarListsIndentation", {
|
|
179
179
|
pluginConfiguration: import("@atlaskit/editor-plugins/toolbar-lists-indentation").ToolbarListsIndentationPluginOptions;
|
|
180
|
-
dependencies: import("
|
|
180
|
+
dependencies: import("@atlaskit/editor-plugins/toolbar-lists-indentation").ToolbarListsIndentationPluginDependencies;
|
|
181
181
|
}, import("@atlaskit/editor-plugins/toolbar-lists-indentation").ToolbarListsIndentationPluginOptions>,
|
|
182
182
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"scrollIntoView", {}, undefined> | undefined,
|
|
183
183
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"indentation", {
|
|
184
|
-
dependencies: import("
|
|
185
|
-
actions: import("
|
|
184
|
+
dependencies: import("@atlaskit/editor-plugins/indentation").IndentationPluginDependencies;
|
|
185
|
+
actions: import("@atlaskit/editor-plugins/indentation").IndentationPluginActions;
|
|
186
186
|
sharedState: {
|
|
187
187
|
isIndentationAllowed: boolean;
|
|
188
188
|
indentDisabled: boolean;
|
|
@@ -190,10 +190,10 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
190
190
|
} | undefined;
|
|
191
191
|
}, undefined> | undefined,
|
|
192
192
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"status", {
|
|
193
|
-
dependencies: import("
|
|
193
|
+
dependencies: import("@atlaskit/editor-plugins/status").StatusPluginDependencies;
|
|
194
194
|
pluginConfiguration: import("@atlaskit/editor-plugins/status").StatusPluginOptions | undefined;
|
|
195
|
-
actions: import("
|
|
196
|
-
commands: import("
|
|
195
|
+
actions: import("@atlaskit/editor-plugins/status").StatusPluginActions;
|
|
196
|
+
commands: import("@atlaskit/editor-plugins/status").StatusPluginCommands;
|
|
197
197
|
sharedState: import("@atlaskit/editor-plugins/status").StatusState | undefined;
|
|
198
198
|
}, import("@atlaskit/editor-plugins/status").StatusPluginOptions | undefined> | undefined,
|
|
199
199
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"customAutoformat", {
|
|
@@ -205,19 +205,19 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
205
205
|
}, import("@atlaskit/editor-plugins/custom-autoformat").CustomAutoformatPluginOptions> | undefined,
|
|
206
206
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
|
|
207
207
|
pluginConfiguration: import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined;
|
|
208
|
-
dependencies: import("
|
|
208
|
+
dependencies: import("@atlaskit/editor-plugins/card").CardPluginDependencies;
|
|
209
209
|
sharedState: import("@atlaskit/editor-plugins/card").CardPluginState | null;
|
|
210
210
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
211
211
|
}, import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined> | undefined,
|
|
212
212
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"layout", {
|
|
213
213
|
pluginConfiguration: import("@atlaskit/editor-plugins/layout").LayoutPluginOptions | undefined;
|
|
214
|
-
dependencies: import("
|
|
214
|
+
dependencies: import("@atlaskit/editor-plugins/layout").LayoutPluginDependencies;
|
|
215
215
|
actions: {
|
|
216
216
|
insertLayoutColumns: (inputMethod: import("@atlaskit/editor-common/types").TOOLBAR_MENU_TYPE) => import("@atlaskit/editor-common/types").Command;
|
|
217
217
|
};
|
|
218
218
|
}, import("@atlaskit/editor-plugins/layout").LayoutPluginOptions | undefined> | undefined,
|
|
219
219
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"placeholderText", {
|
|
220
|
-
dependencies: import("
|
|
220
|
+
dependencies: import("@atlaskit/editor-plugins/placeholder-text").PlaceholderTextPluginDependencies;
|
|
221
221
|
pluginConfiguration: import("@atlaskit/editor-plugins/placeholder-text").PlaceholderTextPluginOptions;
|
|
222
222
|
sharedState: import("@atlaskit/editor-plugins/placeholder-text").PlaceholderTextPluginState | undefined;
|
|
223
223
|
actions: {
|
|
@@ -226,7 +226,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
226
226
|
}, import("@atlaskit/editor-plugins/placeholder-text").PlaceholderTextPluginOptions> | undefined,
|
|
227
227
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"date", {
|
|
228
228
|
pluginConfiguration: import("@atlaskit/editor-plugins/date").DatePluginOptions | undefined;
|
|
229
|
-
dependencies: import("
|
|
229
|
+
dependencies: import("@atlaskit/editor-plugins/date").DatePluginDependencies;
|
|
230
230
|
sharedState: import("@atlaskit/editor-plugins/date").DatePluginSharedState;
|
|
231
231
|
commands: {
|
|
232
232
|
insertDate: import("@atlaskit/editor-plugins/date").InsertDate;
|
|
@@ -236,7 +236,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
236
236
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
237
237
|
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
238
238
|
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
239
|
-
dependencies: import("
|
|
239
|
+
dependencies: import("@atlaskit/editor-plugins/annotation").AnnotationPluginDependencies;
|
|
240
240
|
actions: {
|
|
241
241
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
242
242
|
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;
|
|
@@ -246,21 +246,21 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
246
246
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined> | undefined,
|
|
247
247
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
248
248
|
pluginConfiguration: ExtensionPluginOptions | undefined;
|
|
249
|
-
dependencies: import("
|
|
249
|
+
dependencies: import("@atlaskit/editor-plugins/extension").ExtensionPluginDependencies;
|
|
250
250
|
sharedState: {
|
|
251
251
|
showContextPanel: boolean | undefined;
|
|
252
252
|
extensionProvider?: import("@atlaskit/editor-common/extensions").ExtensionProvider<import("@atlaskit/editor-common/extensions").Parameters> | undefined;
|
|
253
253
|
processParametersAfter?: import("@atlaskit/editor-common/extensions").TransformAfter<import("@atlaskit/editor-common/extensions").Parameters> | undefined;
|
|
254
254
|
} | undefined;
|
|
255
|
-
actions: import("
|
|
255
|
+
actions: import("@atlaskit/editor-plugins/extension").ExtensionPluginActions;
|
|
256
256
|
}, ExtensionPluginOptions | undefined> | undefined,
|
|
257
257
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextPanel", {
|
|
258
258
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined;
|
|
259
259
|
actions: {
|
|
260
260
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
261
|
-
showPanel?: import("
|
|
262
|
-
closePanel?: import("
|
|
263
|
-
closePanelById?: import("
|
|
261
|
+
showPanel?: import("@atlaskit/editor-plugins/context-panel").ShowObjectSidebar | undefined;
|
|
262
|
+
closePanel?: import("@atlaskit/editor-plugins/context-panel").HideObjectSidebar | undefined;
|
|
263
|
+
closePanelById?: import("@atlaskit/editor-plugins/context-panel").HideObjectSidebarById | undefined;
|
|
264
264
|
};
|
|
265
265
|
sharedState: {
|
|
266
266
|
contents: import("react").ReactNode[] | undefined;
|
|
@@ -268,7 +268,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
268
268
|
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined> | undefined,
|
|
269
269
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"panel", {
|
|
270
270
|
pluginConfiguration: import("@atlaskit/editor-plugins/panel").PanelPluginOptions | undefined;
|
|
271
|
-
dependencies: import("
|
|
271
|
+
dependencies: import("@atlaskit/editor-plugins/panel").PanelPluginDependencies;
|
|
272
272
|
actions: {
|
|
273
273
|
insertPanel: (inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
274
274
|
};
|
|
@@ -279,7 +279,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
279
279
|
}, number | undefined> | undefined,
|
|
280
280
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"collabEdit", {
|
|
281
281
|
pluginConfiguration: import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions;
|
|
282
|
-
dependencies: import("
|
|
282
|
+
dependencies: import("@atlaskit/editor-plugins/collab-edit").CollabEditPluginDependencies;
|
|
283
283
|
sharedState: import("@atlaskit/editor-plugins/collab-edit").CollabEditPluginSharedState;
|
|
284
284
|
actions: {
|
|
285
285
|
getAvatarColor: (str: string) => {
|
|
@@ -310,7 +310,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
310
310
|
}, import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions> | undefined,
|
|
311
311
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
312
312
|
pluginConfiguration: import("@atlaskit/editor-plugins/media").MediaPluginOptions | undefined;
|
|
313
|
-
dependencies: import("
|
|
313
|
+
dependencies: import("@atlaskit/editor-plugins/media").MediaPluginDependencies;
|
|
314
314
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
315
315
|
actions: {
|
|
316
316
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -336,7 +336,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
336
336
|
pluginConfiguration: import("packages/editor/editor-plugin-save-on-enter/dist/types/saveOnEnterPluginType").Config | undefined;
|
|
337
337
|
}, import("packages/editor/editor-plugin-save-on-enter/dist/types/saveOnEnterPluginType").Config | undefined> | undefined,
|
|
338
338
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"helpDialog", {
|
|
339
|
-
dependencies: import("
|
|
339
|
+
dependencies: import("@atlaskit/editor-plugins/help-dialog").HelpDialogDependencies;
|
|
340
340
|
pluginConfiguration: import("@atlaskit/editor-plugins/help-dialog").HelpDialogPluginOptions;
|
|
341
341
|
sharedState: import("@atlaskit/editor-plugins/help-dialog").HelpDialogSharedState | null;
|
|
342
342
|
actions: {
|
|
@@ -354,7 +354,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
354
354
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"taskDecision", {
|
|
355
355
|
pluginConfiguration: import("@atlaskit/editor-plugins/tasks-and-decisions").TasksAndDecisionsPluginOptions | undefined;
|
|
356
356
|
sharedState: import("@atlaskit/editor-plugins/tasks-and-decisions").TaskAndDecisionsSharedState | undefined;
|
|
357
|
-
dependencies: import("
|
|
357
|
+
dependencies: import("@atlaskit/editor-plugins/tasks-and-decisions").TasksAndDecisionsPluginDependencies;
|
|
358
358
|
actions: {
|
|
359
359
|
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;
|
|
360
360
|
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;
|
|
@@ -368,39 +368,39 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
368
368
|
}, import("@atlaskit/editor-plugins/tasks-and-decisions").TasksAndDecisionsPluginOptions | undefined> | undefined,
|
|
369
369
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"table", {
|
|
370
370
|
pluginConfiguration: import("@atlaskit/editor-plugins/table").TablePluginOptions | undefined;
|
|
371
|
-
actions: import("
|
|
371
|
+
actions: import("@atlaskit/editor-plugins/table").TablePluginActions;
|
|
372
372
|
sharedState?: import("@atlaskit/editor-plugins/table/types").TableSharedState | undefined;
|
|
373
|
-
commands: import("
|
|
374
|
-
dependencies: import("
|
|
373
|
+
commands: import("@atlaskit/editor-plugins/table").TablePluginCommands;
|
|
374
|
+
dependencies: import("@atlaskit/editor-plugins/table").TablePluginDependencies;
|
|
375
375
|
}, import("@atlaskit/editor-plugins/table").TablePluginOptions | undefined> | undefined,
|
|
376
376
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"emoji", {
|
|
377
377
|
pluginConfiguration: import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined;
|
|
378
|
-
dependencies: import("
|
|
378
|
+
dependencies: import("@atlaskit/editor-plugins/emoji").EmojiPluginDependencies;
|
|
379
379
|
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
380
|
-
commands: import("
|
|
381
|
-
actions: import("
|
|
380
|
+
commands: import("@atlaskit/editor-plugins/emoji").EmojiPluginCommands;
|
|
381
|
+
actions: import("@atlaskit/editor-plugins/emoji").EmojiPluginActions;
|
|
382
382
|
}, import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined> | undefined,
|
|
383
383
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"mention", {
|
|
384
384
|
pluginConfiguration: import("@atlaskit/editor-plugins/mentions").MentionsPluginOptions | undefined;
|
|
385
|
-
dependencies: import("
|
|
385
|
+
dependencies: import("@atlaskit/editor-plugins/mentions").MentionPluginDependencies;
|
|
386
386
|
sharedState: import("@atlaskit/editor-plugins/mentions").MentionSharedState | undefined;
|
|
387
|
-
actions: import("
|
|
387
|
+
actions: import("@atlaskit/editor-plugins/mentions").MentionActions;
|
|
388
388
|
commands: {
|
|
389
|
-
insertMention: (params: import("
|
|
389
|
+
insertMention: (params: import("@atlaskit/editor-plugins/mentions").InsertMentionParameters) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
390
390
|
};
|
|
391
391
|
}, import("@atlaskit/editor-plugins/mentions").MentionsPluginOptions | undefined> | undefined,
|
|
392
392
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"caption", {
|
|
393
|
-
dependencies: import("
|
|
393
|
+
dependencies: import("@atlaskit/editor-plugins/caption").CaptionPluginDependencies;
|
|
394
394
|
}, undefined> | undefined,
|
|
395
395
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"mediaInsert", {
|
|
396
|
-
dependencies: import("
|
|
396
|
+
dependencies: import("@atlaskit/editor-plugins/media-insert").MediaInsertPluginDependencies;
|
|
397
397
|
sharedState: import("@atlaskit/editor-plugins/media-insert").MediaInsertPluginState;
|
|
398
|
-
commands: import("
|
|
399
|
-
pluginConfiguration: import("
|
|
400
|
-
}, import("
|
|
398
|
+
commands: import("@atlaskit/editor-plugins/media-insert").MediaInsertPluginCommands;
|
|
399
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/media-insert").MediaInsertPluginConfig | undefined;
|
|
400
|
+
}, import("@atlaskit/editor-plugins/media-insert").MediaInsertPluginConfig | undefined> | undefined,
|
|
401
401
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
402
402
|
pluginConfiguration: import("@atlaskit/editor-plugins/media").MediaPluginOptions | undefined;
|
|
403
|
-
dependencies: import("
|
|
403
|
+
dependencies: import("@atlaskit/editor-plugins/media").MediaPluginDependencies;
|
|
404
404
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
405
405
|
actions: {
|
|
406
406
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -415,7 +415,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
415
415
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
416
416
|
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
417
417
|
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
418
|
-
dependencies: import("
|
|
418
|
+
dependencies: import("@atlaskit/editor-plugins/annotation").AnnotationPluginDependencies;
|
|
419
419
|
actions: {
|
|
420
420
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
421
421
|
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;
|
|
@@ -424,11 +424,11 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
424
424
|
};
|
|
425
425
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined> | undefined,
|
|
426
426
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
|
|
427
|
-
pluginConfiguration: import("
|
|
428
|
-
dependencies: import("
|
|
429
|
-
sharedState: import("
|
|
430
|
-
actions: import("
|
|
431
|
-
}, import("
|
|
427
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/grid").GridPluginConfiguration;
|
|
428
|
+
dependencies: import("@atlaskit/editor-plugins/grid").GridPluginDependencies;
|
|
429
|
+
sharedState: import("@atlaskit/editor-plugins/grid").GridPluginSharedState;
|
|
430
|
+
actions: import("@atlaskit/editor-plugins/grid").GridPluginActions;
|
|
431
|
+
}, import("@atlaskit/editor-plugins/grid").GridPluginConfiguration> | undefined,
|
|
432
432
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
|
|
433
433
|
dependencies: [
|
|
434
434
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
@@ -442,7 +442,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
442
442
|
}, undefined> | undefined,
|
|
443
443
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"expand", {
|
|
444
444
|
pluginConfiguration: import("@atlaskit/editor-plugins/expand").ExpandPluginOptions | undefined;
|
|
445
|
-
dependencies: import("
|
|
445
|
+
dependencies: import("@atlaskit/editor-plugins/expand").ExpandPluginDependencies;
|
|
446
446
|
actions: {
|
|
447
447
|
insertExpand: import("@atlaskit/editor-common/types").Command;
|
|
448
448
|
insertExpandWithInputMethod: (inputMethod: import("@atlaskit/editor-plugins/expand").InsertMethod) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -475,14 +475,14 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
475
475
|
};
|
|
476
476
|
}, undefined> | undefined,
|
|
477
477
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"list", {
|
|
478
|
-
dependencies: import("
|
|
479
|
-
actions: import("
|
|
480
|
-
commands: import("
|
|
481
|
-
sharedState: import("
|
|
478
|
+
dependencies: import("@atlaskit/editor-plugins/list").ListPluginDependencies;
|
|
479
|
+
actions: import("@atlaskit/editor-plugins/list").ListPluginActions;
|
|
480
|
+
commands: import("@atlaskit/editor-plugins/list").ListPluginCommands;
|
|
481
|
+
sharedState: import("@atlaskit/editor-plugins/list").ListPluginSharedState;
|
|
482
482
|
}, undefined>,
|
|
483
483
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"textColor", {
|
|
484
484
|
pluginConfiguration: import("@atlaskit/editor-plugins/text-color").TextColorPluginOptions | undefined;
|
|
485
|
-
dependencies: import("
|
|
485
|
+
dependencies: import("@atlaskit/editor-plugins/text-color").Dependencies;
|
|
486
486
|
actions: {
|
|
487
487
|
changeColor: (color: string, inputMethod?: import("@atlaskit/editor-plugins/text-color").TextColorInputMethod | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
488
488
|
};
|
|
@@ -490,11 +490,11 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
490
490
|
}, import("@atlaskit/editor-plugins/text-color").TextColorPluginOptions | undefined> | undefined,
|
|
491
491
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"alignment", {
|
|
492
492
|
sharedState: import("@atlaskit/editor-plugins/alignment").AlignmentPluginState | undefined;
|
|
493
|
-
dependencies: import("
|
|
493
|
+
dependencies: import("@atlaskit/editor-plugins/alignment").AlignmentPluginDependencies;
|
|
494
494
|
}, undefined> | undefined,
|
|
495
495
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"breakout", {
|
|
496
496
|
pluginConfiguration: import("@atlaskit/editor-plugins/breakout").BreakoutPluginOptions | undefined;
|
|
497
|
-
dependencies: import("
|
|
497
|
+
dependencies: import("@atlaskit/editor-plugins/breakout").BreakoutPluginDependencies;
|
|
498
498
|
sharedState: Partial<import("@atlaskit/editor-plugins/breakout").BreakoutPluginState>;
|
|
499
499
|
}, import("@atlaskit/editor-plugins/breakout").BreakoutPluginOptions | undefined> | undefined,
|
|
500
500
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"batchAttributeUpdates", {
|
|
@@ -503,7 +503,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
503
503
|
};
|
|
504
504
|
}, undefined>,
|
|
505
505
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contentInsertion", {
|
|
506
|
-
dependencies: import("
|
|
506
|
+
dependencies: import("@atlaskit/editor-plugins/content-insertion").ContentInsertionDependencies;
|
|
507
507
|
} & import("@atlaskit/editor-plugins/content-insertion").InsertNodeAPI, undefined>,
|
|
508
508
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
509
509
|
dependencies: [
|
|
@@ -593,7 +593,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
593
593
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
594
594
|
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>,
|
|
595
595
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
596
|
-
dependencies: import("
|
|
596
|
+
dependencies: import("@atlaskit/editor-plugins/floating-toolbar").FloatingToolbarPluginDependencies;
|
|
597
597
|
actions: {
|
|
598
598
|
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
599
599
|
};
|
|
@@ -634,7 +634,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
634
634
|
}, undefined>,
|
|
635
635
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"submitEditor", {
|
|
636
636
|
pluginConfiguration: import("@atlaskit/editor-plugins/submit-editor").SubmitEditorPluginOptions | undefined;
|
|
637
|
-
dependencies: import("
|
|
637
|
+
dependencies: import("@atlaskit/editor-plugins/submit-editor").SubmitEditorPluginDependencies;
|
|
638
638
|
}, import("@atlaskit/editor-plugins/submit-editor").SubmitEditorPluginOptions | undefined>,
|
|
639
639
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
640
640
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
@@ -676,7 +676,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
676
676
|
sharedState: FeatureFlags;
|
|
677
677
|
}, FeatureFlags>>,
|
|
678
678
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
679
|
-
sharedState: import("
|
|
679
|
+
sharedState: import("@atlaskit/editor-plugins/connectivity").PublicPluginState;
|
|
680
680
|
commands: {
|
|
681
681
|
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
682
682
|
};
|
|
@@ -685,9 +685,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
685
685
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined;
|
|
686
686
|
actions: {
|
|
687
687
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
688
|
-
showPanel?: import("
|
|
689
|
-
closePanel?: import("
|
|
690
|
-
closePanelById?: import("
|
|
688
|
+
showPanel?: import("@atlaskit/editor-plugins/context-panel").ShowObjectSidebar | undefined;
|
|
689
|
+
closePanel?: import("@atlaskit/editor-plugins/context-panel").HideObjectSidebar | undefined;
|
|
690
|
+
closePanelById?: import("@atlaskit/editor-plugins/context-panel").HideObjectSidebarById | undefined;
|
|
691
691
|
};
|
|
692
692
|
sharedState: {
|
|
693
693
|
contents: import("react").ReactNode[] | undefined;
|
|
@@ -761,12 +761,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
761
761
|
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
762
762
|
}) => boolean;
|
|
763
763
|
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
764
|
-
open: (props: import("
|
|
764
|
+
open: (props: import("@atlaskit/editor-plugins/type-ahead").OpenTypeAheadProps) => boolean;
|
|
765
765
|
close: (props: {
|
|
766
766
|
insertCurrentQueryAsRawText: boolean;
|
|
767
767
|
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
768
768
|
}) => boolean;
|
|
769
|
-
openAtTransaction: (props: import("
|
|
769
|
+
openAtTransaction: (props: import("@atlaskit/editor-plugins/type-ahead").OpenTypeAheadProps) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
770
770
|
};
|
|
771
771
|
}, import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginOptions | undefined>
|
|
772
772
|
];
|
|
@@ -797,7 +797,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
797
797
|
sharedState: FeatureFlags;
|
|
798
798
|
}, FeatureFlags>>,
|
|
799
799
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
800
|
-
sharedState: import("
|
|
800
|
+
sharedState: import("@atlaskit/editor-plugins/connectivity").PublicPluginState;
|
|
801
801
|
commands: {
|
|
802
802
|
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
803
803
|
};
|
|
@@ -806,9 +806,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
806
806
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined;
|
|
807
807
|
actions: {
|
|
808
808
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
809
|
-
showPanel?: import("
|
|
810
|
-
closePanel?: import("
|
|
811
|
-
closePanelById?: import("
|
|
809
|
+
showPanel?: import("@atlaskit/editor-plugins/context-panel").ShowObjectSidebar | undefined;
|
|
810
|
+
closePanel?: import("@atlaskit/editor-plugins/context-panel").HideObjectSidebar | undefined;
|
|
811
|
+
closePanelById?: import("@atlaskit/editor-plugins/context-panel").HideObjectSidebarById | undefined;
|
|
812
812
|
};
|
|
813
813
|
sharedState: {
|
|
814
814
|
contents: import("react").ReactNode[] | undefined;
|
|
@@ -882,16 +882,16 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
882
882
|
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
883
883
|
}) => boolean;
|
|
884
884
|
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
885
|
-
open: (props: import("
|
|
885
|
+
open: (props: import("@atlaskit/editor-plugins/type-ahead").OpenTypeAheadProps) => boolean;
|
|
886
886
|
close: (props: {
|
|
887
887
|
insertCurrentQueryAsRawText: boolean;
|
|
888
888
|
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
889
889
|
}) => boolean;
|
|
890
|
-
openAtTransaction: (props: import("
|
|
890
|
+
openAtTransaction: (props: import("@atlaskit/editor-plugins/type-ahead").OpenTypeAheadProps) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
891
891
|
};
|
|
892
892
|
}, import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginOptions | undefined>,
|
|
893
893
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
894
|
-
sharedState: import("
|
|
894
|
+
sharedState: import("@atlaskit/editor-plugins/connectivity").PublicPluginState;
|
|
895
895
|
commands: {
|
|
896
896
|
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
897
897
|
};
|
|
@@ -1012,13 +1012,13 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1012
1012
|
sharedState: import("@atlaskit/editor-plugins/base").BasePluginState;
|
|
1013
1013
|
actions: {
|
|
1014
1014
|
setKeyboardHeight: (keyboardHeight: number) => import("@atlaskit/editor-common/types").Command;
|
|
1015
|
-
registerMarks: (callback: import("
|
|
1015
|
+
registerMarks: (callback: import("@atlaskit/editor-plugins/base").Callback) => void;
|
|
1016
1016
|
resolveMarks: (from: number, to: number, tr: import("prosemirror-state").Transaction) => void;
|
|
1017
1017
|
};
|
|
1018
1018
|
}, import("@atlaskit/editor-plugins/base").BasePluginOptions | undefined>>,
|
|
1019
1019
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selectionToolbar", {
|
|
1020
1020
|
sharedState: {
|
|
1021
|
-
toolbarDocking: import("
|
|
1021
|
+
toolbarDocking: import("@atlaskit/editor-plugins/selection-toolbar").ToolbarDocking;
|
|
1022
1022
|
};
|
|
1023
1023
|
pluginConfiguration: import("@atlaskit/editor-plugins/selection-toolbar").SelectionToolbarPluginOptions;
|
|
1024
1024
|
dependencies: [
|
|
@@ -1057,7 +1057,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1057
1057
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1058
1058
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1059
1059
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
1060
|
-
dependencies: import("
|
|
1060
|
+
dependencies: import("@atlaskit/editor-plugins/block-controls").BlockControlsPluginDependencies;
|
|
1061
1061
|
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
1062
1062
|
commands: {
|
|
1063
1063
|
moveToLayout: (start: number, to: number, options?: {
|
|
@@ -1065,7 +1065,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1065
1065
|
selectMovedNode?: boolean | undefined;
|
|
1066
1066
|
moveNodeAtCursorPos?: boolean | undefined;
|
|
1067
1067
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1068
|
-
moveNode: import("
|
|
1068
|
+
moveNode: import("@atlaskit/editor-plugins/block-controls").MoveNode;
|
|
1069
1069
|
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;
|
|
1070
1070
|
toggleBlockMenu: (options?: {
|
|
1071
1071
|
closeMenu?: boolean | undefined;
|
|
@@ -1077,7 +1077,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1077
1077
|
};
|
|
1078
1078
|
}, undefined>>,
|
|
1079
1079
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
1080
|
-
sharedState: import("
|
|
1080
|
+
sharedState: import("@atlaskit/editor-plugins/connectivity").PublicPluginState;
|
|
1081
1081
|
commands: {
|
|
1082
1082
|
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1083
1083
|
};
|
|
@@ -1110,8 +1110,8 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1110
1110
|
actions?: {
|
|
1111
1111
|
suppressToolbar?: (() => boolean) | undefined;
|
|
1112
1112
|
unsuppressToolbar?: (() => boolean) | undefined;
|
|
1113
|
-
setToolbarDocking?: ((toolbarDocking: import("
|
|
1114
|
-
forceToolbarDockingWithoutAnalytics?: ((toolbarDocking: import("
|
|
1113
|
+
setToolbarDocking?: ((toolbarDocking: import("@atlaskit/editor-plugins/selection-toolbar").ToolbarDocking) => boolean) | undefined;
|
|
1114
|
+
forceToolbarDockingWithoutAnalytics?: ((toolbarDocking: import("@atlaskit/editor-plugins/selection-toolbar").ToolbarDocking) => boolean) | undefined;
|
|
1115
1115
|
refreshToolbarDocking?: (() => boolean) | undefined;
|
|
1116
1116
|
} | undefined;
|
|
1117
1117
|
}, import("@atlaskit/editor-plugins/selection-toolbar").SelectionToolbarPluginOptions>>,
|
|
@@ -1153,18 +1153,18 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1153
1153
|
}, import("@atlaskit/editor-common/types").TextFormattingOptions | undefined>,
|
|
1154
1154
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"hyperlink", {
|
|
1155
1155
|
pluginConfiguration: import("@atlaskit/editor-common/types").HyperlinkPluginOptions | undefined;
|
|
1156
|
-
dependencies: import("
|
|
1157
|
-
actions: import("
|
|
1156
|
+
dependencies: import("@atlaskit/editor-plugins/hyperlink").HyperlinkPluginDependencies;
|
|
1157
|
+
actions: import("@atlaskit/editor-plugins/hyperlink").HyperlinkPluginActions;
|
|
1158
1158
|
commands: {
|
|
1159
1159
|
showLinkToolbar: import("@atlaskit/editor-plugins/hyperlink").ShowLinkToolbar;
|
|
1160
1160
|
updateLink: (href: string, text: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1161
1161
|
removeLink: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1162
1162
|
};
|
|
1163
|
-
sharedState: import("
|
|
1163
|
+
sharedState: import("@atlaskit/editor-plugins/hyperlink").HyperlinkPluginSharedState;
|
|
1164
1164
|
}, import("@atlaskit/editor-common/types").HyperlinkPluginOptions | undefined>,
|
|
1165
1165
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selectionToolbar", {
|
|
1166
1166
|
sharedState: {
|
|
1167
|
-
toolbarDocking: import("
|
|
1167
|
+
toolbarDocking: import("@atlaskit/editor-plugins/selection-toolbar").ToolbarDocking;
|
|
1168
1168
|
};
|
|
1169
1169
|
pluginConfiguration: import("@atlaskit/editor-plugins/selection-toolbar").SelectionToolbarPluginOptions;
|
|
1170
1170
|
dependencies: [
|
|
@@ -1203,7 +1203,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1203
1203
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1204
1204
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1205
1205
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
1206
|
-
dependencies: import("
|
|
1206
|
+
dependencies: import("@atlaskit/editor-plugins/block-controls").BlockControlsPluginDependencies;
|
|
1207
1207
|
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
1208
1208
|
commands: {
|
|
1209
1209
|
moveToLayout: (start: number, to: number, options?: {
|
|
@@ -1211,7 +1211,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1211
1211
|
selectMovedNode?: boolean | undefined;
|
|
1212
1212
|
moveNodeAtCursorPos?: boolean | undefined;
|
|
1213
1213
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1214
|
-
moveNode: import("
|
|
1214
|
+
moveNode: import("@atlaskit/editor-plugins/block-controls").MoveNode;
|
|
1215
1215
|
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;
|
|
1216
1216
|
toggleBlockMenu: (options?: {
|
|
1217
1217
|
closeMenu?: boolean | undefined;
|
|
@@ -1223,7 +1223,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1223
1223
|
};
|
|
1224
1224
|
}, undefined>>,
|
|
1225
1225
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
1226
|
-
sharedState: import("
|
|
1226
|
+
sharedState: import("@atlaskit/editor-plugins/connectivity").PublicPluginState;
|
|
1227
1227
|
commands: {
|
|
1228
1228
|
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1229
1229
|
};
|
|
@@ -1256,8 +1256,8 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1256
1256
|
actions?: {
|
|
1257
1257
|
suppressToolbar?: (() => boolean) | undefined;
|
|
1258
1258
|
unsuppressToolbar?: (() => boolean) | undefined;
|
|
1259
|
-
setToolbarDocking?: ((toolbarDocking: import("
|
|
1260
|
-
forceToolbarDockingWithoutAnalytics?: ((toolbarDocking: import("
|
|
1259
|
+
setToolbarDocking?: ((toolbarDocking: import("@atlaskit/editor-plugins/selection-toolbar").ToolbarDocking) => boolean) | undefined;
|
|
1260
|
+
forceToolbarDockingWithoutAnalytics?: ((toolbarDocking: import("@atlaskit/editor-plugins/selection-toolbar").ToolbarDocking) => boolean) | undefined;
|
|
1261
1261
|
refreshToolbarDocking?: (() => boolean) | undefined;
|
|
1262
1262
|
} | undefined;
|
|
1263
1263
|
}, import("@atlaskit/editor-plugins/selection-toolbar").SelectionToolbarPluginOptions>,
|
|
@@ -1292,7 +1292,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1292
1292
|
}, import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined>>,
|
|
1293
1293
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selectionToolbar", {
|
|
1294
1294
|
sharedState: {
|
|
1295
|
-
toolbarDocking: import("
|
|
1295
|
+
toolbarDocking: import("@atlaskit/editor-plugins/selection-toolbar").ToolbarDocking;
|
|
1296
1296
|
};
|
|
1297
1297
|
pluginConfiguration: import("@atlaskit/editor-plugins/selection-toolbar").SelectionToolbarPluginOptions;
|
|
1298
1298
|
dependencies: [
|
|
@@ -1331,7 +1331,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1331
1331
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1332
1332
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1333
1333
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
1334
|
-
dependencies: import("
|
|
1334
|
+
dependencies: import("@atlaskit/editor-plugins/block-controls").BlockControlsPluginDependencies;
|
|
1335
1335
|
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
1336
1336
|
commands: {
|
|
1337
1337
|
moveToLayout: (start: number, to: number, options?: {
|
|
@@ -1339,7 +1339,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1339
1339
|
selectMovedNode?: boolean | undefined;
|
|
1340
1340
|
moveNodeAtCursorPos?: boolean | undefined;
|
|
1341
1341
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1342
|
-
moveNode: import("
|
|
1342
|
+
moveNode: import("@atlaskit/editor-plugins/block-controls").MoveNode;
|
|
1343
1343
|
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;
|
|
1344
1344
|
toggleBlockMenu: (options?: {
|
|
1345
1345
|
closeMenu?: boolean | undefined;
|
|
@@ -1351,7 +1351,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1351
1351
|
};
|
|
1352
1352
|
}, undefined>>,
|
|
1353
1353
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
1354
|
-
sharedState: import("
|
|
1354
|
+
sharedState: import("@atlaskit/editor-plugins/connectivity").PublicPluginState;
|
|
1355
1355
|
commands: {
|
|
1356
1356
|
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1357
1357
|
};
|
|
@@ -1384,8 +1384,8 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1384
1384
|
actions?: {
|
|
1385
1385
|
suppressToolbar?: (() => boolean) | undefined;
|
|
1386
1386
|
unsuppressToolbar?: (() => boolean) | undefined;
|
|
1387
|
-
setToolbarDocking?: ((toolbarDocking: import("
|
|
1388
|
-
forceToolbarDockingWithoutAnalytics?: ((toolbarDocking: import("
|
|
1387
|
+
setToolbarDocking?: ((toolbarDocking: import("@atlaskit/editor-plugins/selection-toolbar").ToolbarDocking) => boolean) | undefined;
|
|
1388
|
+
forceToolbarDockingWithoutAnalytics?: ((toolbarDocking: import("@atlaskit/editor-plugins/selection-toolbar").ToolbarDocking) => boolean) | undefined;
|
|
1389
1389
|
refreshToolbarDocking?: (() => boolean) | undefined;
|
|
1390
1390
|
} | undefined;
|
|
1391
1391
|
}, import("@atlaskit/editor-plugins/selection-toolbar").SelectionToolbarPluginOptions>>,
|
|
@@ -1421,7 +1421,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1421
1421
|
commands: {
|
|
1422
1422
|
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;
|
|
1423
1423
|
insertBlockQuote: (inputMethod: import("@atlaskit/editor-plugins/block-type").InputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1424
|
-
clearFormatting: (inputMethod: import("
|
|
1424
|
+
clearFormatting: (inputMethod: import("@atlaskit/editor-plugins/block-type").ClearFormattingInputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1425
1425
|
};
|
|
1426
1426
|
}, import("@atlaskit/editor-plugins/block-type").BlockTypePluginOptions | undefined>,
|
|
1427
1427
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"undoRedoPlugin", {
|
|
@@ -1449,7 +1449,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1449
1449
|
sharedState: FeatureFlags;
|
|
1450
1450
|
}, FeatureFlags>>,
|
|
1451
1451
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
1452
|
-
sharedState: import("
|
|
1452
|
+
sharedState: import("@atlaskit/editor-plugins/connectivity").PublicPluginState;
|
|
1453
1453
|
commands: {
|
|
1454
1454
|
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1455
1455
|
};
|
|
@@ -1458,9 +1458,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1458
1458
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined;
|
|
1459
1459
|
actions: {
|
|
1460
1460
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1461
|
-
showPanel?: import("
|
|
1462
|
-
closePanel?: import("
|
|
1463
|
-
closePanelById?: import("
|
|
1461
|
+
showPanel?: import("@atlaskit/editor-plugins/context-panel").ShowObjectSidebar | undefined;
|
|
1462
|
+
closePanel?: import("@atlaskit/editor-plugins/context-panel").HideObjectSidebar | undefined;
|
|
1463
|
+
closePanelById?: import("@atlaskit/editor-plugins/context-panel").HideObjectSidebarById | undefined;
|
|
1464
1464
|
};
|
|
1465
1465
|
sharedState: {
|
|
1466
1466
|
contents: import("react").ReactNode[] | undefined;
|
|
@@ -1534,16 +1534,16 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1534
1534
|
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
1535
1535
|
}) => boolean;
|
|
1536
1536
|
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
1537
|
-
open: (props: import("
|
|
1537
|
+
open: (props: import("@atlaskit/editor-plugins/type-ahead").OpenTypeAheadProps) => boolean;
|
|
1538
1538
|
close: (props: {
|
|
1539
1539
|
insertCurrentQueryAsRawText: boolean;
|
|
1540
1540
|
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
1541
1541
|
}) => boolean;
|
|
1542
|
-
openAtTransaction: (props: import("
|
|
1542
|
+
openAtTransaction: (props: import("@atlaskit/editor-plugins/type-ahead").OpenTypeAheadProps) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1543
1543
|
};
|
|
1544
1544
|
}, import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginOptions | undefined>,
|
|
1545
1545
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"history", {
|
|
1546
|
-
sharedState: import("
|
|
1546
|
+
sharedState: import("@atlaskit/editor-plugins/history").HistoryPluginSharedState | undefined;
|
|
1547
1547
|
commands: {
|
|
1548
1548
|
updatePluginState: import("@atlaskit/editor-common/types").EditorCommand;
|
|
1549
1549
|
};
|
|
@@ -1575,8 +1575,8 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1575
1575
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1576
1576
|
];
|
|
1577
1577
|
actions: {
|
|
1578
|
-
undo: import("
|
|
1579
|
-
redo: import("
|
|
1578
|
+
undo: import("@atlaskit/editor-plugins/undo-redo").UndoRedoAction;
|
|
1579
|
+
redo: import("@atlaskit/editor-plugins/undo-redo").UndoRedoAction;
|
|
1580
1580
|
};
|
|
1581
1581
|
}, undefined> | undefined,
|
|
1582
1582
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
|
|
@@ -1590,7 +1590,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1590
1590
|
pluginConfiguration?: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined;
|
|
1591
1591
|
}, import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined>,
|
|
1592
1592
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"history", {
|
|
1593
|
-
sharedState: import("
|
|
1593
|
+
sharedState: import("@atlaskit/editor-plugins/history").HistoryPluginSharedState | undefined;
|
|
1594
1594
|
commands: {
|
|
1595
1595
|
updatePluginState: import("@atlaskit/editor-common/types").EditorCommand;
|
|
1596
1596
|
};
|
|
@@ -1618,7 +1618,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1618
1618
|
sharedState: FeatureFlags;
|
|
1619
1619
|
}, FeatureFlags>>,
|
|
1620
1620
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
1621
|
-
sharedState: import("
|
|
1621
|
+
sharedState: import("@atlaskit/editor-plugins/connectivity").PublicPluginState;
|
|
1622
1622
|
commands: {
|
|
1623
1623
|
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1624
1624
|
};
|
|
@@ -1627,9 +1627,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1627
1627
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined;
|
|
1628
1628
|
actions: {
|
|
1629
1629
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1630
|
-
showPanel?: import("
|
|
1631
|
-
closePanel?: import("
|
|
1632
|
-
closePanelById?: import("
|
|
1630
|
+
showPanel?: import("@atlaskit/editor-plugins/context-panel").ShowObjectSidebar | undefined;
|
|
1631
|
+
closePanel?: import("@atlaskit/editor-plugins/context-panel").HideObjectSidebar | undefined;
|
|
1632
|
+
closePanelById?: import("@atlaskit/editor-plugins/context-panel").HideObjectSidebarById | undefined;
|
|
1633
1633
|
};
|
|
1634
1634
|
sharedState: {
|
|
1635
1635
|
contents: import("react").ReactNode[] | undefined;
|
|
@@ -1703,12 +1703,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1703
1703
|
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
1704
1704
|
}) => boolean;
|
|
1705
1705
|
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
1706
|
-
open: (props: import("
|
|
1706
|
+
open: (props: import("@atlaskit/editor-plugins/type-ahead").OpenTypeAheadProps) => boolean;
|
|
1707
1707
|
close: (props: {
|
|
1708
1708
|
insertCurrentQueryAsRawText: boolean;
|
|
1709
1709
|
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
1710
1710
|
}) => boolean;
|
|
1711
|
-
openAtTransaction: (props: import("
|
|
1711
|
+
openAtTransaction: (props: import("@atlaskit/editor-plugins/type-ahead").OpenTypeAheadProps) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1712
1712
|
};
|
|
1713
1713
|
}, import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginOptions | undefined>,
|
|
1714
1714
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
@@ -1736,7 +1736,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1736
1736
|
sharedState: import("@atlaskit/editor-plugins/base").BasePluginState;
|
|
1737
1737
|
actions: {
|
|
1738
1738
|
setKeyboardHeight: (keyboardHeight: number) => import("@atlaskit/editor-common/types").Command;
|
|
1739
|
-
registerMarks: (callback: import("
|
|
1739
|
+
registerMarks: (callback: import("@atlaskit/editor-plugins/base").Callback) => void;
|
|
1740
1740
|
resolveMarks: (from: number, to: number, tr: import("prosemirror-state").Transaction) => void;
|
|
1741
1741
|
};
|
|
1742
1742
|
}, import("@atlaskit/editor-plugins/base").BasePluginOptions | undefined>,
|
|
@@ -1786,7 +1786,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1786
1786
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"clipboard", {}, undefined>,
|
|
1787
1787
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"paste", {
|
|
1788
1788
|
pluginConfiguration: import("@atlaskit/editor-plugins/paste").PastePluginOptions;
|
|
1789
|
-
dependencies: import("
|
|
1789
|
+
dependencies: import("@atlaskit/editor-plugins/paste").PastePluginDependencies;
|
|
1790
1790
|
sharedState: {
|
|
1791
1791
|
lastContentPasted: import("@atlaskit/editor-plugins/paste").LastContentPasted | null;
|
|
1792
1792
|
};
|