@atlaskit/editor-core 193.25.4 → 193.27.0
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 +32 -0
- package/compass.yml +0 -1
- package/dist/cjs/nodeviews/getInlineNodeViewProducer.styles.js +6 -0
- package/dist/cjs/presets/universal.js +19 -8
- package/dist/cjs/ui/Addon/ClickAreaMobile/index.js +4 -1
- package/dist/cjs/ui/Addon/Dropdown/index.js +2 -0
- package/dist/cjs/ui/Addon/Dropdown/styles.js +2 -0
- package/dist/cjs/ui/Addon/DropdownItem/index.js +1 -0
- package/dist/cjs/ui/Addon/DropdownItem/styles.js +2 -0
- package/dist/cjs/ui/Appearance/Chromeless.js +13 -3
- package/dist/cjs/ui/Appearance/Comment/Comment.js +25 -5
- package/dist/cjs/ui/Appearance/Comment/Toolbar.js +3 -1
- package/dist/cjs/ui/Appearance/FullPage/FullPage.js +1 -0
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea.js +9 -1
- package/dist/cjs/ui/Appearance/FullPage/FullPageToolbar.js +9 -2
- package/dist/cjs/ui/Appearance/FullPage/MainToolbar.js +19 -1
- package/dist/cjs/ui/Appearance/FullPage/StyledComponents.js +51 -5
- package/dist/cjs/ui/AppearanceComponents/Mobile.js +1 -0
- package/dist/cjs/ui/ChromeCollapsed/index.js +3 -1
- package/dist/cjs/ui/ChromeCollapsed/styles.js +5 -0
- package/dist/cjs/ui/ContentStyles/ai-panels.js +19 -1
- package/dist/cjs/ui/ContentStyles/date.js +1 -1
- package/dist/cjs/ui/ContentStyles/extension.js +3 -2
- package/dist/cjs/ui/ContentStyles/index.js +4 -2
- package/dist/cjs/ui/ContentStyles/media.js +1 -1
- package/dist/cjs/ui/ContentStyles/status.js +1 -1
- package/dist/cjs/ui/ContentStyles/tasks-and-decisions.js +1 -1
- package/dist/cjs/ui/ContextPanel/index.js +9 -0
- package/dist/cjs/ui/Toolbar/ToolbarWithSizeDetector.js +12 -9
- package/dist/cjs/ui/ToolbarFeedback/index.js +3 -1
- package/dist/cjs/ui/ToolbarFeedback/styles.js +16 -0
- package/dist/cjs/ui/WithFlash/index.js +2 -0
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/nodeviews/getInlineNodeViewProducer.styles.js +11 -0
- package/dist/es2019/presets/universal.js +20 -8
- package/dist/es2019/ui/Addon/ClickAreaMobile/index.js +4 -1
- package/dist/es2019/ui/Addon/Dropdown/index.js +2 -0
- package/dist/es2019/ui/Addon/Dropdown/styles.js +2 -0
- package/dist/es2019/ui/Addon/DropdownItem/index.js +1 -0
- package/dist/es2019/ui/Addon/DropdownItem/styles.js +2 -0
- package/dist/es2019/ui/Appearance/Chromeless.js +13 -3
- package/dist/es2019/ui/Appearance/Comment/Comment.js +25 -5
- package/dist/es2019/ui/Appearance/Comment/Toolbar.js +3 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPage.js +1 -0
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea.js +9 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPageToolbar.js +9 -2
- package/dist/es2019/ui/Appearance/FullPage/MainToolbar.js +26 -1
- package/dist/es2019/ui/Appearance/FullPage/StyledComponents.js +54 -5
- package/dist/es2019/ui/AppearanceComponents/Mobile.js +1 -0
- package/dist/es2019/ui/ChromeCollapsed/index.js +3 -1
- package/dist/es2019/ui/ChromeCollapsed/styles.js +5 -0
- package/dist/es2019/ui/ContentStyles/ai-panels.js +19 -1
- package/dist/es2019/ui/ContentStyles/date.js +1 -1
- package/dist/es2019/ui/ContentStyles/extension.js +4 -3
- package/dist/es2019/ui/ContentStyles/index.js +4 -2
- package/dist/es2019/ui/ContentStyles/media.js +1 -1
- package/dist/es2019/ui/ContentStyles/status.js +1 -1
- package/dist/es2019/ui/ContentStyles/tasks-and-decisions.js +1 -1
- package/dist/es2019/ui/ContextPanel/index.js +9 -0
- package/dist/es2019/ui/Toolbar/ToolbarInner.js +1 -0
- package/dist/es2019/ui/Toolbar/ToolbarWithSizeDetector.js +13 -9
- package/dist/es2019/ui/ToolbarFeedback/index.js +3 -1
- package/dist/es2019/ui/ToolbarFeedback/styles.js +16 -0
- package/dist/es2019/ui/WithFlash/index.js +3 -0
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/nodeviews/getInlineNodeViewProducer.styles.js +6 -0
- package/dist/esm/presets/universal.js +19 -8
- package/dist/esm/ui/Addon/ClickAreaMobile/index.js +4 -1
- package/dist/esm/ui/Addon/Dropdown/index.js +2 -0
- package/dist/esm/ui/Addon/Dropdown/styles.js +2 -0
- package/dist/esm/ui/Addon/DropdownItem/index.js +1 -0
- package/dist/esm/ui/Addon/DropdownItem/styles.js +2 -0
- package/dist/esm/ui/Appearance/Chromeless.js +13 -3
- package/dist/esm/ui/Appearance/Comment/Comment.js +25 -5
- package/dist/esm/ui/Appearance/Comment/Toolbar.js +3 -1
- package/dist/esm/ui/Appearance/FullPage/FullPage.js +1 -0
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea.js +9 -1
- package/dist/esm/ui/Appearance/FullPage/FullPageToolbar.js +9 -2
- package/dist/esm/ui/Appearance/FullPage/MainToolbar.js +19 -1
- package/dist/esm/ui/Appearance/FullPage/StyledComponents.js +52 -5
- package/dist/esm/ui/AppearanceComponents/Mobile.js +1 -0
- package/dist/esm/ui/ChromeCollapsed/index.js +3 -1
- package/dist/esm/ui/ChromeCollapsed/styles.js +5 -0
- package/dist/esm/ui/ContentStyles/ai-panels.js +19 -1
- package/dist/esm/ui/ContentStyles/date.js +1 -1
- package/dist/esm/ui/ContentStyles/extension.js +3 -2
- package/dist/esm/ui/ContentStyles/index.js +4 -2
- package/dist/esm/ui/ContentStyles/media.js +1 -1
- package/dist/esm/ui/ContentStyles/status.js +1 -1
- package/dist/esm/ui/ContentStyles/tasks-and-decisions.js +1 -1
- package/dist/esm/ui/ContextPanel/index.js +9 -0
- package/dist/esm/ui/Toolbar/ToolbarWithSizeDetector.js +12 -9
- package/dist/esm/ui/ToolbarFeedback/index.js +3 -1
- package/dist/esm/ui/ToolbarFeedback/styles.js +16 -0
- package/dist/esm/ui/WithFlash/index.js +2 -0
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-preset.d.ts +362 -31
- package/dist/types/presets/default.d.ts +328 -30
- package/dist/types/presets/universal.d.ts +362 -31
- package/dist/types/presets/useUniversalPreset.d.ts +362 -31
- package/dist/types-ts4.5/create-editor/create-preset.d.ts +403 -21
- package/dist/types-ts4.5/presets/default.d.ts +368 -20
- package/dist/types-ts4.5/presets/universal.d.ts +403 -21
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +403 -21
- package/package.json +379 -381
|
@@ -105,6 +105,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
105
105
|
to: number;
|
|
106
106
|
mark: import("prosemirror-model").Mark;
|
|
107
107
|
}) => boolean;
|
|
108
|
+
addInlineCommentNodeMark: (props: {
|
|
109
|
+
pos: number;
|
|
110
|
+
mark: import("prosemirror-model").Mark;
|
|
111
|
+
}) => boolean;
|
|
108
112
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
109
113
|
};
|
|
110
114
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>];
|
|
@@ -194,6 +198,8 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
194
198
|
editSelectedExtension: () => boolean;
|
|
195
199
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI;
|
|
196
200
|
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: import("prosemirror-view").EditorView) => Promise<boolean>;
|
|
201
|
+
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugin-extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
202
|
+
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugin-extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
197
203
|
runMacroAutoConvert: import("@atlaskit/editor-plugin-extension").RunMacroAutoConvert;
|
|
198
204
|
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugin-context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugin-extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
199
205
|
};
|
|
@@ -247,6 +253,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
247
253
|
to: number;
|
|
248
254
|
mark: import("prosemirror-model").Mark;
|
|
249
255
|
}) => boolean;
|
|
256
|
+
addInlineCommentNodeMark: (props: {
|
|
257
|
+
pos: number;
|
|
258
|
+
mark: import("prosemirror-model").Mark;
|
|
259
|
+
}) => boolean;
|
|
250
260
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
251
261
|
};
|
|
252
262
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>];
|
|
@@ -262,12 +272,26 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
262
272
|
}, {
|
|
263
273
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
264
274
|
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
|
|
265
|
-
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"
|
|
275
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorDisabled", {
|
|
276
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
277
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
|
|
266
278
|
sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
|
|
267
279
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
268
280
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
269
281
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
270
|
-
}, import("@atlaskit/editor-common/types").FeatureFlags
|
|
282
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"analytics", {
|
|
283
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
284
|
+
sharedState: {
|
|
285
|
+
createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
|
|
286
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
|
|
287
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
288
|
+
};
|
|
289
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
290
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
291
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
292
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
293
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
294
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
|
|
271
295
|
sharedState: {
|
|
272
296
|
isMenuOpen: boolean;
|
|
273
297
|
activeNode: {
|
|
@@ -282,7 +306,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
282
306
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
283
307
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
284
308
|
};
|
|
285
|
-
}, undefined
|
|
309
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
310
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
311
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
312
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
286
313
|
actions: {
|
|
287
314
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
288
315
|
};
|
|
@@ -356,6 +383,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
356
383
|
to: number;
|
|
357
384
|
mark: import("prosemirror-model").Mark;
|
|
358
385
|
}) => boolean;
|
|
386
|
+
addInlineCommentNodeMark: (props: {
|
|
387
|
+
pos: number;
|
|
388
|
+
mark: import("prosemirror-model").Mark;
|
|
389
|
+
}) => boolean;
|
|
359
390
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
360
391
|
};
|
|
361
392
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>];
|
|
@@ -453,6 +484,8 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
453
484
|
editSelectedExtension: () => boolean;
|
|
454
485
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI;
|
|
455
486
|
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: import("prosemirror-view").EditorView) => Promise<boolean>;
|
|
487
|
+
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugin-extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
488
|
+
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugin-extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
456
489
|
runMacroAutoConvert: import("@atlaskit/editor-plugin-extension").RunMacroAutoConvert;
|
|
457
490
|
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugin-context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugin-extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
458
491
|
};
|
|
@@ -506,6 +539,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
506
539
|
to: number;
|
|
507
540
|
mark: import("prosemirror-model").Mark;
|
|
508
541
|
}) => boolean;
|
|
542
|
+
addInlineCommentNodeMark: (props: {
|
|
543
|
+
pos: number;
|
|
544
|
+
mark: import("prosemirror-model").Mark;
|
|
545
|
+
}) => boolean;
|
|
509
546
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
510
547
|
};
|
|
511
548
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>];
|
|
@@ -521,12 +558,26 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
521
558
|
}, {
|
|
522
559
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
523
560
|
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
|
|
524
|
-
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"
|
|
561
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorDisabled", {
|
|
562
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
563
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
|
|
525
564
|
sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
|
|
526
565
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
527
566
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
528
567
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
529
|
-
}, import("@atlaskit/editor-common/types").FeatureFlags
|
|
568
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"analytics", {
|
|
569
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
570
|
+
sharedState: {
|
|
571
|
+
createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
|
|
572
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
|
|
573
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
574
|
+
};
|
|
575
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
576
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
577
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
578
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
579
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
580
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
|
|
530
581
|
sharedState: {
|
|
531
582
|
isMenuOpen: boolean;
|
|
532
583
|
activeNode: {
|
|
@@ -541,7 +592,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
541
592
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
542
593
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
543
594
|
};
|
|
544
|
-
}, undefined
|
|
595
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
596
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
597
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
598
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
545
599
|
actions: {
|
|
546
600
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
547
601
|
};
|
|
@@ -608,6 +662,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
608
662
|
to: number;
|
|
609
663
|
mark: import("prosemirror-model").Mark;
|
|
610
664
|
}) => boolean;
|
|
665
|
+
addInlineCommentNodeMark: (props: {
|
|
666
|
+
pos: number;
|
|
667
|
+
mark: import("prosemirror-model").Mark;
|
|
668
|
+
}) => boolean;
|
|
611
669
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
612
670
|
};
|
|
613
671
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>];
|
|
@@ -679,6 +737,8 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
679
737
|
editSelectedExtension: () => boolean;
|
|
680
738
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI;
|
|
681
739
|
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: import("prosemirror-view").EditorView) => Promise<boolean>;
|
|
740
|
+
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugin-extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
741
|
+
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugin-extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
682
742
|
runMacroAutoConvert: import("@atlaskit/editor-plugin-extension").RunMacroAutoConvert;
|
|
683
743
|
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugin-context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugin-extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
684
744
|
};
|
|
@@ -728,6 +788,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
728
788
|
to: number;
|
|
729
789
|
mark: import("prosemirror-model").Mark;
|
|
730
790
|
}) => boolean;
|
|
791
|
+
addInlineCommentNodeMark: (props: {
|
|
792
|
+
pos: number;
|
|
793
|
+
mark: import("prosemirror-model").Mark;
|
|
794
|
+
}) => boolean;
|
|
731
795
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
732
796
|
};
|
|
733
797
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>];
|
|
@@ -831,6 +895,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
831
895
|
to: number;
|
|
832
896
|
mark: import("prosemirror-model").Mark;
|
|
833
897
|
}) => boolean;
|
|
898
|
+
addInlineCommentNodeMark: (props: {
|
|
899
|
+
pos: number;
|
|
900
|
+
mark: import("prosemirror-model").Mark;
|
|
901
|
+
}) => boolean;
|
|
834
902
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
835
903
|
};
|
|
836
904
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>>];
|
|
@@ -1093,6 +1161,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1093
1161
|
to: number;
|
|
1094
1162
|
mark: import("prosemirror-model").Mark;
|
|
1095
1163
|
}) => boolean;
|
|
1164
|
+
addInlineCommentNodeMark: (props: {
|
|
1165
|
+
pos: number;
|
|
1166
|
+
mark: import("prosemirror-model").Mark;
|
|
1167
|
+
}) => boolean;
|
|
1096
1168
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1097
1169
|
};
|
|
1098
1170
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>];
|
|
@@ -1182,6 +1254,8 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1182
1254
|
editSelectedExtension: () => boolean;
|
|
1183
1255
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI;
|
|
1184
1256
|
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: import("prosemirror-view").EditorView) => Promise<boolean>;
|
|
1257
|
+
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugin-extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
1258
|
+
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugin-extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
1185
1259
|
runMacroAutoConvert: import("@atlaskit/editor-plugin-extension").RunMacroAutoConvert;
|
|
1186
1260
|
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugin-context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugin-extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1187
1261
|
};
|
|
@@ -1235,6 +1309,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1235
1309
|
to: number;
|
|
1236
1310
|
mark: import("prosemirror-model").Mark;
|
|
1237
1311
|
}) => boolean;
|
|
1312
|
+
addInlineCommentNodeMark: (props: {
|
|
1313
|
+
pos: number;
|
|
1314
|
+
mark: import("prosemirror-model").Mark;
|
|
1315
|
+
}) => boolean;
|
|
1238
1316
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1239
1317
|
};
|
|
1240
1318
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>];
|
|
@@ -1250,12 +1328,26 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1250
1328
|
}, {
|
|
1251
1329
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1252
1330
|
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
|
|
1253
|
-
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"
|
|
1331
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorDisabled", {
|
|
1332
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
1333
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
|
|
1254
1334
|
sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
|
|
1255
1335
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
1256
1336
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1257
1337
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1258
|
-
}, import("@atlaskit/editor-common/types").FeatureFlags
|
|
1338
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"analytics", {
|
|
1339
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
1340
|
+
sharedState: {
|
|
1341
|
+
createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
|
|
1342
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1343
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
1344
|
+
};
|
|
1345
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
1346
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1347
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1348
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
1349
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1350
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
|
|
1259
1351
|
sharedState: {
|
|
1260
1352
|
isMenuOpen: boolean;
|
|
1261
1353
|
activeNode: {
|
|
@@ -1270,7 +1362,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1270
1362
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1271
1363
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1272
1364
|
};
|
|
1273
|
-
}, undefined
|
|
1365
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
1366
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1367
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1368
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
1274
1369
|
actions: {
|
|
1275
1370
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
1276
1371
|
};
|
|
@@ -1434,6 +1529,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1434
1529
|
to: number;
|
|
1435
1530
|
mark: import("prosemirror-model").Mark;
|
|
1436
1531
|
}) => boolean;
|
|
1532
|
+
addInlineCommentNodeMark: (props: {
|
|
1533
|
+
pos: number;
|
|
1534
|
+
mark: import("prosemirror-model").Mark;
|
|
1535
|
+
}) => boolean;
|
|
1437
1536
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1438
1537
|
};
|
|
1439
1538
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>];
|
|
@@ -1500,6 +1599,8 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1500
1599
|
editSelectedExtension: () => boolean;
|
|
1501
1600
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI;
|
|
1502
1601
|
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: import("prosemirror-view").EditorView) => Promise<boolean>;
|
|
1602
|
+
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugin-extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
1603
|
+
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugin-extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
1503
1604
|
runMacroAutoConvert: import("@atlaskit/editor-plugin-extension").RunMacroAutoConvert;
|
|
1504
1605
|
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugin-context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugin-extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1505
1606
|
};
|
|
@@ -1563,6 +1664,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1563
1664
|
to: number;
|
|
1564
1665
|
mark: import("prosemirror-model").Mark;
|
|
1565
1666
|
}) => boolean;
|
|
1667
|
+
addInlineCommentNodeMark: (props: {
|
|
1668
|
+
pos: number;
|
|
1669
|
+
mark: import("prosemirror-model").Mark;
|
|
1670
|
+
}) => boolean;
|
|
1566
1671
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1567
1672
|
};
|
|
1568
1673
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>>, import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"media", {
|
|
@@ -1616,6 +1721,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1616
1721
|
to: number;
|
|
1617
1722
|
mark: import("prosemirror-model").Mark;
|
|
1618
1723
|
}) => boolean;
|
|
1724
|
+
addInlineCommentNodeMark: (props: {
|
|
1725
|
+
pos: number;
|
|
1726
|
+
mark: import("prosemirror-model").Mark;
|
|
1727
|
+
}) => boolean;
|
|
1619
1728
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1620
1729
|
};
|
|
1621
1730
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>];
|
|
@@ -1713,6 +1822,8 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1713
1822
|
editSelectedExtension: () => boolean;
|
|
1714
1823
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI;
|
|
1715
1824
|
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: import("prosemirror-view").EditorView) => Promise<boolean>;
|
|
1825
|
+
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugin-extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
1826
|
+
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugin-extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
1716
1827
|
runMacroAutoConvert: import("@atlaskit/editor-plugin-extension").RunMacroAutoConvert;
|
|
1717
1828
|
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugin-context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugin-extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1718
1829
|
};
|
|
@@ -1766,6 +1877,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1766
1877
|
to: number;
|
|
1767
1878
|
mark: import("prosemirror-model").Mark;
|
|
1768
1879
|
}) => boolean;
|
|
1880
|
+
addInlineCommentNodeMark: (props: {
|
|
1881
|
+
pos: number;
|
|
1882
|
+
mark: import("prosemirror-model").Mark;
|
|
1883
|
+
}) => boolean;
|
|
1769
1884
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1770
1885
|
};
|
|
1771
1886
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>];
|
|
@@ -1781,12 +1896,26 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1781
1896
|
}, {
|
|
1782
1897
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1783
1898
|
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
|
|
1784
|
-
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"
|
|
1899
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorDisabled", {
|
|
1900
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
1901
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
|
|
1785
1902
|
sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
|
|
1786
1903
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
1787
1904
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1788
1905
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1789
|
-
}, import("@atlaskit/editor-common/types").FeatureFlags
|
|
1906
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"analytics", {
|
|
1907
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
1908
|
+
sharedState: {
|
|
1909
|
+
createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
|
|
1910
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1911
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
1912
|
+
};
|
|
1913
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
1914
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1915
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1916
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
1917
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1918
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
|
|
1790
1919
|
sharedState: {
|
|
1791
1920
|
isMenuOpen: boolean;
|
|
1792
1921
|
activeNode: {
|
|
@@ -1801,7 +1930,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1801
1930
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1802
1931
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1803
1932
|
};
|
|
1804
|
-
}, undefined
|
|
1933
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
1934
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1935
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1936
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
1805
1937
|
actions: {
|
|
1806
1938
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
1807
1939
|
};
|
|
@@ -1868,6 +2000,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1868
2000
|
to: number;
|
|
1869
2001
|
mark: import("prosemirror-model").Mark;
|
|
1870
2002
|
}) => boolean;
|
|
2003
|
+
addInlineCommentNodeMark: (props: {
|
|
2004
|
+
pos: number;
|
|
2005
|
+
mark: import("prosemirror-model").Mark;
|
|
2006
|
+
}) => boolean;
|
|
1871
2007
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1872
2008
|
};
|
|
1873
2009
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>];
|
|
@@ -2159,6 +2295,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2159
2295
|
to: number;
|
|
2160
2296
|
mark: import("prosemirror-model").Mark;
|
|
2161
2297
|
}) => boolean;
|
|
2298
|
+
addInlineCommentNodeMark: (props: {
|
|
2299
|
+
pos: number;
|
|
2300
|
+
mark: import("prosemirror-model").Mark;
|
|
2301
|
+
}) => boolean;
|
|
2162
2302
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2163
2303
|
};
|
|
2164
2304
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>];
|
|
@@ -2173,7 +2313,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2173
2313
|
};
|
|
2174
2314
|
}, {
|
|
2175
2315
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2176
|
-
} | undefined
|
|
2316
|
+
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
2317
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2318
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2319
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
2177
2320
|
}, import("@atlaskit/editor-plugin-table").TablePluginOptions | undefined>>, import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"emoji", {
|
|
2178
2321
|
pluginConfiguration: import("@atlaskit/editor-plugin-emoji").EmojiPluginOptions | undefined;
|
|
2179
2322
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"analytics", {
|
|
@@ -2372,6 +2515,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2372
2515
|
to: number;
|
|
2373
2516
|
mark: import("prosemirror-model").Mark;
|
|
2374
2517
|
}) => boolean;
|
|
2518
|
+
addInlineCommentNodeMark: (props: {
|
|
2519
|
+
pos: number;
|
|
2520
|
+
mark: import("prosemirror-model").Mark;
|
|
2521
|
+
}) => boolean;
|
|
2375
2522
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2376
2523
|
};
|
|
2377
2524
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>];
|
|
@@ -2469,6 +2616,8 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2469
2616
|
editSelectedExtension: () => boolean;
|
|
2470
2617
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI;
|
|
2471
2618
|
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: import("prosemirror-view").EditorView) => Promise<boolean>;
|
|
2619
|
+
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugin-extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
2620
|
+
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugin-extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
2472
2621
|
runMacroAutoConvert: import("@atlaskit/editor-plugin-extension").RunMacroAutoConvert;
|
|
2473
2622
|
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugin-context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugin-extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2474
2623
|
};
|
|
@@ -2522,6 +2671,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2522
2671
|
to: number;
|
|
2523
2672
|
mark: import("prosemirror-model").Mark;
|
|
2524
2673
|
}) => boolean;
|
|
2674
|
+
addInlineCommentNodeMark: (props: {
|
|
2675
|
+
pos: number;
|
|
2676
|
+
mark: import("prosemirror-model").Mark;
|
|
2677
|
+
}) => boolean;
|
|
2525
2678
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2526
2679
|
};
|
|
2527
2680
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>];
|
|
@@ -2537,12 +2690,26 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2537
2690
|
}, {
|
|
2538
2691
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2539
2692
|
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
|
|
2540
|
-
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"
|
|
2693
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorDisabled", {
|
|
2694
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
2695
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
|
|
2541
2696
|
sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
|
|
2542
2697
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
2543
2698
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2544
2699
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2545
|
-
}, import("@atlaskit/editor-common/types").FeatureFlags
|
|
2700
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"analytics", {
|
|
2701
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
2702
|
+
sharedState: {
|
|
2703
|
+
createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
|
|
2704
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2705
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
2706
|
+
};
|
|
2707
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
2708
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2709
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2710
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
2711
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2712
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
|
|
2546
2713
|
sharedState: {
|
|
2547
2714
|
isMenuOpen: boolean;
|
|
2548
2715
|
activeNode: {
|
|
@@ -2557,7 +2724,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2557
2724
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2558
2725
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2559
2726
|
};
|
|
2560
|
-
}, undefined
|
|
2727
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
2728
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2729
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2730
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
2561
2731
|
actions: {
|
|
2562
2732
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
2563
2733
|
};
|
|
@@ -2624,6 +2794,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2624
2794
|
to: number;
|
|
2625
2795
|
mark: import("prosemirror-model").Mark;
|
|
2626
2796
|
}) => boolean;
|
|
2797
|
+
addInlineCommentNodeMark: (props: {
|
|
2798
|
+
pos: number;
|
|
2799
|
+
mark: import("prosemirror-model").Mark;
|
|
2800
|
+
}) => boolean;
|
|
2627
2801
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2628
2802
|
};
|
|
2629
2803
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>];
|
|
@@ -2698,6 +2872,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2698
2872
|
to: number;
|
|
2699
2873
|
mark: import("prosemirror-model").Mark;
|
|
2700
2874
|
}) => boolean;
|
|
2875
|
+
addInlineCommentNodeMark: (props: {
|
|
2876
|
+
pos: number;
|
|
2877
|
+
mark: import("prosemirror-model").Mark;
|
|
2878
|
+
}) => boolean;
|
|
2701
2879
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2702
2880
|
};
|
|
2703
2881
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>];
|
|
@@ -2950,6 +3128,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2950
3128
|
to: number;
|
|
2951
3129
|
mark: import("prosemirror-model").Mark;
|
|
2952
3130
|
}) => boolean;
|
|
3131
|
+
addInlineCommentNodeMark: (props: {
|
|
3132
|
+
pos: number;
|
|
3133
|
+
mark: import("prosemirror-model").Mark;
|
|
3134
|
+
}) => boolean;
|
|
2953
3135
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2954
3136
|
};
|
|
2955
3137
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>];
|
|
@@ -3076,6 +3258,8 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3076
3258
|
editSelectedExtension: () => boolean;
|
|
3077
3259
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI;
|
|
3078
3260
|
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: import("prosemirror-view").EditorView) => Promise<boolean>;
|
|
3261
|
+
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugin-extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
3262
|
+
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugin-extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
3079
3263
|
runMacroAutoConvert: import("@atlaskit/editor-plugin-extension").RunMacroAutoConvert;
|
|
3080
3264
|
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugin-context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugin-extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
3081
3265
|
};
|
|
@@ -3129,6 +3313,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3129
3313
|
to: number;
|
|
3130
3314
|
mark: import("prosemirror-model").Mark;
|
|
3131
3315
|
}) => boolean;
|
|
3316
|
+
addInlineCommentNodeMark: (props: {
|
|
3317
|
+
pos: number;
|
|
3318
|
+
mark: import("prosemirror-model").Mark;
|
|
3319
|
+
}) => boolean;
|
|
3132
3320
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3133
3321
|
};
|
|
3134
3322
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>];
|
|
@@ -3144,12 +3332,26 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3144
3332
|
}, {
|
|
3145
3333
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3146
3334
|
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
|
|
3147
|
-
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"
|
|
3335
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorDisabled", {
|
|
3336
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
3337
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
|
|
3148
3338
|
sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
|
|
3149
3339
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
3150
3340
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3151
3341
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3152
|
-
}, import("@atlaskit/editor-common/types").FeatureFlags
|
|
3342
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"analytics", {
|
|
3343
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
3344
|
+
sharedState: {
|
|
3345
|
+
createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
|
|
3346
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
|
|
3347
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
3348
|
+
};
|
|
3349
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
3350
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3351
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3352
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
3353
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3354
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
|
|
3153
3355
|
sharedState: {
|
|
3154
3356
|
isMenuOpen: boolean;
|
|
3155
3357
|
activeNode: {
|
|
@@ -3164,7 +3366,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3164
3366
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3165
3367
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3166
3368
|
};
|
|
3167
|
-
}, undefined
|
|
3369
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
3370
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3371
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3372
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
3168
3373
|
actions: {
|
|
3169
3374
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
3170
3375
|
};
|
|
@@ -3242,6 +3447,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3242
3447
|
to: number;
|
|
3243
3448
|
mark: import("prosemirror-model").Mark;
|
|
3244
3449
|
}) => boolean;
|
|
3450
|
+
addInlineCommentNodeMark: (props: {
|
|
3451
|
+
pos: number;
|
|
3452
|
+
mark: import("prosemirror-model").Mark;
|
|
3453
|
+
}) => boolean;
|
|
3245
3454
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3246
3455
|
};
|
|
3247
3456
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>];
|
|
@@ -3339,6 +3548,8 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3339
3548
|
editSelectedExtension: () => boolean;
|
|
3340
3549
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI;
|
|
3341
3550
|
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: import("prosemirror-view").EditorView) => Promise<boolean>;
|
|
3551
|
+
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugin-extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
3552
|
+
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugin-extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
3342
3553
|
runMacroAutoConvert: import("@atlaskit/editor-plugin-extension").RunMacroAutoConvert;
|
|
3343
3554
|
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugin-context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugin-extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
3344
3555
|
};
|
|
@@ -3392,6 +3603,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3392
3603
|
to: number;
|
|
3393
3604
|
mark: import("prosemirror-model").Mark;
|
|
3394
3605
|
}) => boolean;
|
|
3606
|
+
addInlineCommentNodeMark: (props: {
|
|
3607
|
+
pos: number;
|
|
3608
|
+
mark: import("prosemirror-model").Mark;
|
|
3609
|
+
}) => boolean;
|
|
3395
3610
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3396
3611
|
};
|
|
3397
3612
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>];
|
|
@@ -3407,12 +3622,26 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3407
3622
|
}, {
|
|
3408
3623
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3409
3624
|
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
|
|
3410
|
-
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"
|
|
3625
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorDisabled", {
|
|
3626
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
3627
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
|
|
3411
3628
|
sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
|
|
3412
3629
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
3413
3630
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3414
3631
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3415
|
-
}, import("@atlaskit/editor-common/types").FeatureFlags
|
|
3632
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"analytics", {
|
|
3633
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
3634
|
+
sharedState: {
|
|
3635
|
+
createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
|
|
3636
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
|
|
3637
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
3638
|
+
};
|
|
3639
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
3640
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3641
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3642
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
3643
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3644
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
|
|
3416
3645
|
sharedState: {
|
|
3417
3646
|
isMenuOpen: boolean;
|
|
3418
3647
|
activeNode: {
|
|
@@ -3427,7 +3656,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3427
3656
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3428
3657
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3429
3658
|
};
|
|
3430
|
-
}, undefined
|
|
3659
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
3660
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3661
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3662
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
3431
3663
|
actions: {
|
|
3432
3664
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
3433
3665
|
};
|
|
@@ -3494,6 +3726,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3494
3726
|
to: number;
|
|
3495
3727
|
mark: import("prosemirror-model").Mark;
|
|
3496
3728
|
}) => boolean;
|
|
3729
|
+
addInlineCommentNodeMark: (props: {
|
|
3730
|
+
pos: number;
|
|
3731
|
+
mark: import("prosemirror-model").Mark;
|
|
3732
|
+
}) => boolean;
|
|
3497
3733
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3498
3734
|
};
|
|
3499
3735
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>];
|
|
@@ -3727,6 +3963,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3727
3963
|
to: number;
|
|
3728
3964
|
mark: import("prosemirror-model").Mark;
|
|
3729
3965
|
}) => boolean;
|
|
3966
|
+
addInlineCommentNodeMark: (props: {
|
|
3967
|
+
pos: number;
|
|
3968
|
+
mark: import("prosemirror-model").Mark;
|
|
3969
|
+
}) => boolean;
|
|
3730
3970
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3731
3971
|
};
|
|
3732
3972
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>];
|
|
@@ -3816,6 +4056,8 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3816
4056
|
editSelectedExtension: () => boolean;
|
|
3817
4057
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI;
|
|
3818
4058
|
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: import("prosemirror-view").EditorView) => Promise<boolean>;
|
|
4059
|
+
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugin-extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
4060
|
+
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugin-extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
3819
4061
|
runMacroAutoConvert: import("@atlaskit/editor-plugin-extension").RunMacroAutoConvert;
|
|
3820
4062
|
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugin-context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugin-extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
3821
4063
|
};
|
|
@@ -3869,6 +4111,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3869
4111
|
to: number;
|
|
3870
4112
|
mark: import("prosemirror-model").Mark;
|
|
3871
4113
|
}) => boolean;
|
|
4114
|
+
addInlineCommentNodeMark: (props: {
|
|
4115
|
+
pos: number;
|
|
4116
|
+
mark: import("prosemirror-model").Mark;
|
|
4117
|
+
}) => boolean;
|
|
3872
4118
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3873
4119
|
};
|
|
3874
4120
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>];
|
|
@@ -3884,12 +4130,26 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3884
4130
|
}, {
|
|
3885
4131
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3886
4132
|
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
|
|
3887
|
-
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"
|
|
4133
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorDisabled", {
|
|
4134
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
4135
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
|
|
3888
4136
|
sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
|
|
3889
4137
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
3890
4138
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3891
4139
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3892
|
-
}, import("@atlaskit/editor-common/types").FeatureFlags
|
|
4140
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"analytics", {
|
|
4141
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
4142
|
+
sharedState: {
|
|
4143
|
+
createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
|
|
4144
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
|
|
4145
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
4146
|
+
};
|
|
4147
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
4148
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4149
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4150
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
4151
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
4152
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
|
|
3893
4153
|
sharedState: {
|
|
3894
4154
|
isMenuOpen: boolean;
|
|
3895
4155
|
activeNode: {
|
|
@@ -3904,7 +4164,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3904
4164
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3905
4165
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3906
4166
|
};
|
|
3907
|
-
}, undefined
|
|
4167
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
4168
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4169
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4170
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
3908
4171
|
actions: {
|
|
3909
4172
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
3910
4173
|
};
|
|
@@ -3960,6 +4223,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3960
4223
|
to: number;
|
|
3961
4224
|
mark: import("prosemirror-model").Mark;
|
|
3962
4225
|
}) => boolean;
|
|
4226
|
+
addInlineCommentNodeMark: (props: {
|
|
4227
|
+
pos: number;
|
|
4228
|
+
mark: import("prosemirror-model").Mark;
|
|
4229
|
+
}) => boolean;
|
|
3963
4230
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3964
4231
|
};
|
|
3965
4232
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>];
|
|
@@ -4230,6 +4497,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4230
4497
|
to: number;
|
|
4231
4498
|
mark: import("prosemirror-model").Mark;
|
|
4232
4499
|
}) => boolean;
|
|
4500
|
+
addInlineCommentNodeMark: (props: {
|
|
4501
|
+
pos: number;
|
|
4502
|
+
mark: import("prosemirror-model").Mark;
|
|
4503
|
+
}) => boolean;
|
|
4233
4504
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
4234
4505
|
};
|
|
4235
4506
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>];
|
|
@@ -4319,6 +4590,8 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4319
4590
|
editSelectedExtension: () => boolean;
|
|
4320
4591
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI;
|
|
4321
4592
|
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: import("prosemirror-view").EditorView) => Promise<boolean>;
|
|
4593
|
+
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugin-extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
4594
|
+
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugin-extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
4322
4595
|
runMacroAutoConvert: import("@atlaskit/editor-plugin-extension").RunMacroAutoConvert;
|
|
4323
4596
|
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugin-context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugin-extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
4324
4597
|
};
|
|
@@ -4372,6 +4645,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4372
4645
|
to: number;
|
|
4373
4646
|
mark: import("prosemirror-model").Mark;
|
|
4374
4647
|
}) => boolean;
|
|
4648
|
+
addInlineCommentNodeMark: (props: {
|
|
4649
|
+
pos: number;
|
|
4650
|
+
mark: import("prosemirror-model").Mark;
|
|
4651
|
+
}) => boolean;
|
|
4375
4652
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
4376
4653
|
};
|
|
4377
4654
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>];
|
|
@@ -4387,12 +4664,26 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4387
4664
|
}, {
|
|
4388
4665
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
4389
4666
|
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
|
|
4390
|
-
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"
|
|
4667
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorDisabled", {
|
|
4668
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
4669
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
|
|
4391
4670
|
sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
|
|
4392
4671
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
4393
4672
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4394
4673
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4395
|
-
}, import("@atlaskit/editor-common/types").FeatureFlags
|
|
4674
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"analytics", {
|
|
4675
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
4676
|
+
sharedState: {
|
|
4677
|
+
createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
|
|
4678
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
|
|
4679
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
4680
|
+
};
|
|
4681
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
4682
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4683
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4684
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
4685
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
4686
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
|
|
4396
4687
|
sharedState: {
|
|
4397
4688
|
isMenuOpen: boolean;
|
|
4398
4689
|
activeNode: {
|
|
@@ -4407,7 +4698,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4407
4698
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4408
4699
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4409
4700
|
};
|
|
4410
|
-
}, undefined
|
|
4701
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
4702
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4703
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4704
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
4411
4705
|
actions: {
|
|
4412
4706
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
4413
4707
|
};
|
|
@@ -4481,6 +4775,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4481
4775
|
to: number;
|
|
4482
4776
|
mark: import("prosemirror-model").Mark;
|
|
4483
4777
|
}) => boolean;
|
|
4778
|
+
addInlineCommentNodeMark: (props: {
|
|
4779
|
+
pos: number;
|
|
4780
|
+
mark: import("prosemirror-model").Mark;
|
|
4781
|
+
}) => boolean;
|
|
4484
4782
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
4485
4783
|
};
|
|
4486
4784
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>];
|
|
@@ -4578,6 +4876,8 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4578
4876
|
editSelectedExtension: () => boolean;
|
|
4579
4877
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI;
|
|
4580
4878
|
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: import("prosemirror-view").EditorView) => Promise<boolean>;
|
|
4879
|
+
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugin-extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
4880
|
+
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugin-extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
4581
4881
|
runMacroAutoConvert: import("@atlaskit/editor-plugin-extension").RunMacroAutoConvert;
|
|
4582
4882
|
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugin-context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugin-extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
4583
4883
|
};
|
|
@@ -4631,6 +4931,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4631
4931
|
to: number;
|
|
4632
4932
|
mark: import("prosemirror-model").Mark;
|
|
4633
4933
|
}) => boolean;
|
|
4934
|
+
addInlineCommentNodeMark: (props: {
|
|
4935
|
+
pos: number;
|
|
4936
|
+
mark: import("prosemirror-model").Mark;
|
|
4937
|
+
}) => boolean;
|
|
4634
4938
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
4635
4939
|
};
|
|
4636
4940
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>];
|
|
@@ -4646,12 +4950,26 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4646
4950
|
}, {
|
|
4647
4951
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
4648
4952
|
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
|
|
4649
|
-
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"
|
|
4953
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorDisabled", {
|
|
4954
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
4955
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
|
|
4650
4956
|
sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
|
|
4651
4957
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
4652
4958
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4653
4959
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4654
|
-
}, import("@atlaskit/editor-common/types").FeatureFlags
|
|
4960
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"analytics", {
|
|
4961
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
4962
|
+
sharedState: {
|
|
4963
|
+
createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
|
|
4964
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
|
|
4965
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
4966
|
+
};
|
|
4967
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
4968
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4969
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4970
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
4971
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
4972
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
|
|
4655
4973
|
sharedState: {
|
|
4656
4974
|
isMenuOpen: boolean;
|
|
4657
4975
|
activeNode: {
|
|
@@ -4666,7 +4984,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4666
4984
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4667
4985
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4668
4986
|
};
|
|
4669
|
-
}, undefined
|
|
4987
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
4988
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4989
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4990
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
4670
4991
|
actions: {
|
|
4671
4992
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
4672
4993
|
};
|
|
@@ -4733,6 +5054,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4733
5054
|
to: number;
|
|
4734
5055
|
mark: import("prosemirror-model").Mark;
|
|
4735
5056
|
}) => boolean;
|
|
5057
|
+
addInlineCommentNodeMark: (props: {
|
|
5058
|
+
pos: number;
|
|
5059
|
+
mark: import("prosemirror-model").Mark;
|
|
5060
|
+
}) => boolean;
|
|
4736
5061
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
4737
5062
|
};
|
|
4738
5063
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>];
|
|
@@ -4804,6 +5129,8 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4804
5129
|
editSelectedExtension: () => boolean;
|
|
4805
5130
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI;
|
|
4806
5131
|
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: import("prosemirror-view").EditorView) => Promise<boolean>;
|
|
5132
|
+
insertOrReplaceExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugin-extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
5133
|
+
insertOrReplaceBodiedExtension: ({ editorView, action, attrs, content, position, size, tr, }: import("@atlaskit/editor-plugin-extension").InsertOrReplaceExtensionType) => import("prosemirror-state").Transaction;
|
|
4807
5134
|
runMacroAutoConvert: import("@atlaskit/editor-plugin-extension").RunMacroAutoConvert;
|
|
4808
5135
|
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugin-context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugin-extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
4809
5136
|
};
|
|
@@ -4853,6 +5180,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4853
5180
|
to: number;
|
|
4854
5181
|
mark: import("prosemirror-model").Mark;
|
|
4855
5182
|
}) => boolean;
|
|
5183
|
+
addInlineCommentNodeMark: (props: {
|
|
5184
|
+
pos: number;
|
|
5185
|
+
mark: import("prosemirror-model").Mark;
|
|
5186
|
+
}) => boolean;
|
|
4856
5187
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
4857
5188
|
};
|
|
4858
5189
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>];
|