@atlaskit/editor-core 193.7.0 → 193.8.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.
@@ -3,47 +3,7 @@ import type { EditorProps } from '../types/editor-props';
3
3
  interface PresetProps {
4
4
  props: EditorProps;
5
5
  }
6
- export default function useUniversalPreset({ props }: PresetProps): import("@atlaskit/editor-common/preset").EditorPresetBuilder<[import("@atlaskit/editor-common/types").MaybePluginName<"loom">, "codeBidiWarning", import("@atlaskit/editor-common/types").MaybePluginName<"pasteOptionsToolbarPlugin">, import("@atlaskit/editor-common/types").MaybePluginName<"fragmentPlugin">, import("@atlaskit/editor-common/types").MaybePluginName<"border">, import("@atlaskit/editor-common/types").MaybePluginName<"findReplace">, "avatarGroup", import("@atlaskit/editor-common/types").MaybePluginName<"beforePrimaryToolbar">, "insertBlock", "toolbarListsIndentation", import("@atlaskit/editor-common/types").MaybePluginName<"scrollIntoView">, import("@atlaskit/editor-common/types").MaybePluginName<"indentation">, import("@atlaskit/editor-common/types").MaybePluginName<"status">, import("@atlaskit/editor-common/types").MaybePluginName<"customAutoformat">, import("@atlaskit/editor-common/types").MaybePluginName<"card">, import("@atlaskit/editor-common/types").MaybePluginName<"layout">, import("@atlaskit/editor-common/types").MaybePluginName<"placeholderText">, import("@atlaskit/editor-common/types").MaybePluginName<"date">, import("@atlaskit/editor-common/types").MaybePluginName<"annotation">, import("@atlaskit/editor-common/types").MaybePluginName<"extension">, import("@atlaskit/editor-common/types").MaybePluginName<"contextPanel">, import("@atlaskit/editor-common/types").MaybePluginName<"panel">, import("@atlaskit/editor-common/types").MaybePluginName<"maxContentSize">, import("@atlaskit/editor-common/types").MaybePluginName<"collabEdit">, import("@atlaskit/editor-common/types").MaybePluginName<"media">, import("@atlaskit/editor-common/types").MaybePluginName<"imageUpload">, import("@atlaskit/editor-common/types").MaybePluginName<"saveOnEnter">, import("@atlaskit/editor-common/types").MaybePluginName<"helpDialog">, import("@atlaskit/editor-common/types").MaybePluginName<"feedbackDialog">, import("@atlaskit/editor-common/types").MaybePluginName<"taskDecision">, import("@atlaskit/editor-common/types").MaybePluginName<"table">, import("@atlaskit/editor-common/types").MaybePluginName<"emoji">, import("@atlaskit/editor-common/types").MaybePluginName<"mention">, import("@atlaskit/editor-common/types").MaybePluginName<"caption">, import("@atlaskit/editor-common/types").MaybePluginName<"media">, import("@atlaskit/editor-common/types").MaybePluginName<"annotation">, import("@atlaskit/editor-common/types").MaybePluginName<"grid">, import("@atlaskit/editor-common/types").MaybePluginName<"guideline">, import("@atlaskit/editor-common/types").MaybePluginName<"expand">, import("@atlaskit/editor-common/types").MaybePluginName<"rule">, "list", import("@atlaskit/editor-common/types").MaybePluginName<"textColor">, import("@atlaskit/editor-common/types").MaybePluginName<"alignment">, import("@atlaskit/editor-common/types").MaybePluginName<"breakout">, "contentInsertion", "accessibilityUtils", "dataConsumer", "codeBlock", "selection", "floatingToolbar", "copyButton", "submitEditor", "editorDisabled", "unsupportedContent", "placeholder", "quickInsert", "width", "textFormatting", "hyperlink", import("@atlaskit/editor-common/types").MaybePluginName<"selectionToolbar">, "clearMarksOnEmptyDoc", "blockType", import("@atlaskit/editor-common/types").MaybePluginName<"undoRedoPlugin">, import("@atlaskit/editor-common/types").MaybePluginName<"history">, "typeAhead", "decorations", "base", "contextIdentifier", "composition", "focus", "clipboard", "paste", "betterTypeHistory", import("@atlaskit/editor-common/types").MaybePluginName<"analytics">, "featureFlags"], [import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"loom", {
7
- dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"analytics", {
8
- pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
9
- sharedState: {
10
- createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
11
- attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
12
- performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
13
- };
14
- dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
15
- pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
16
- sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
17
- }, import("@atlaskit/editor-common/types").FeatureFlags>>];
18
- actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
19
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"hyperlink", {
20
- pluginConfiguration: import("@atlaskit/editor-common/types").HyperlinkPluginOptions | undefined;
21
- dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"analytics", {
22
- pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
23
- sharedState: {
24
- createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
25
- attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
26
- performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
27
- };
28
- dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
29
- pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
30
- sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
31
- }, import("@atlaskit/editor-common/types").FeatureFlags>>];
32
- actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
33
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
34
- actions: {
35
- prependToolbarButtons: import("@atlaskit/editor-plugin-hyperlink").PrependToolbarButtons;
36
- hideLinkToolbar: import("@atlaskit/editor-plugin-hyperlink").HideLinkToolbar;
37
- insertLink: import("@atlaskit/editor-plugin-hyperlink").InsertLink;
38
- updateLink: import("@atlaskit/editor-plugin-hyperlink").UpdateLink;
39
- };
40
- commands: {
41
- showLinkToolbar: import("@atlaskit/editor-plugin-hyperlink").ShowLinkToolbar;
42
- };
43
- sharedState: import("@atlaskit/editor-common/link").HyperlinkState | undefined;
44
- }, import("@atlaskit/editor-common/types").HyperlinkPluginOptions | undefined>];
45
- sharedState: import("@atlaskit/editor-plugin-loom").LoomPluginState | undefined;
46
- }, undefined>>, import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"codeBidiWarning", {
6
+ export default function useUniversalPreset({ props }: PresetProps): import("@atlaskit/editor-common/preset").EditorPresetBuilder<["codeBidiWarning", import("@atlaskit/editor-common/types").MaybePluginName<"pasteOptionsToolbarPlugin">, import("@atlaskit/editor-common/types").MaybePluginName<"fragmentPlugin">, import("@atlaskit/editor-common/types").MaybePluginName<"border">, import("@atlaskit/editor-common/types").MaybePluginName<"findReplace">, "avatarGroup", import("@atlaskit/editor-common/types").MaybePluginName<"beforePrimaryToolbar">, "insertBlock", "toolbarListsIndentation", import("@atlaskit/editor-common/types").MaybePluginName<"scrollIntoView">, import("@atlaskit/editor-common/types").MaybePluginName<"indentation">, import("@atlaskit/editor-common/types").MaybePluginName<"status">, import("@atlaskit/editor-common/types").MaybePluginName<"customAutoformat">, import("@atlaskit/editor-common/types").MaybePluginName<"card">, import("@atlaskit/editor-common/types").MaybePluginName<"layout">, import("@atlaskit/editor-common/types").MaybePluginName<"placeholderText">, import("@atlaskit/editor-common/types").MaybePluginName<"date">, import("@atlaskit/editor-common/types").MaybePluginName<"annotation">, import("@atlaskit/editor-common/types").MaybePluginName<"extension">, import("@atlaskit/editor-common/types").MaybePluginName<"contextPanel">, import("@atlaskit/editor-common/types").MaybePluginName<"panel">, import("@atlaskit/editor-common/types").MaybePluginName<"maxContentSize">, import("@atlaskit/editor-common/types").MaybePluginName<"collabEdit">, import("@atlaskit/editor-common/types").MaybePluginName<"media">, import("@atlaskit/editor-common/types").MaybePluginName<"imageUpload">, import("@atlaskit/editor-common/types").MaybePluginName<"saveOnEnter">, import("@atlaskit/editor-common/types").MaybePluginName<"helpDialog">, import("@atlaskit/editor-common/types").MaybePluginName<"feedbackDialog">, import("@atlaskit/editor-common/types").MaybePluginName<"taskDecision">, import("@atlaskit/editor-common/types").MaybePluginName<"table">, import("@atlaskit/editor-common/types").MaybePluginName<"emoji">, import("@atlaskit/editor-common/types").MaybePluginName<"mention">, import("@atlaskit/editor-common/types").MaybePluginName<"caption">, import("@atlaskit/editor-common/types").MaybePluginName<"media">, import("@atlaskit/editor-common/types").MaybePluginName<"annotation">, import("@atlaskit/editor-common/types").MaybePluginName<"grid">, import("@atlaskit/editor-common/types").MaybePluginName<"guideline">, import("@atlaskit/editor-common/types").MaybePluginName<"expand">, import("@atlaskit/editor-common/types").MaybePluginName<"rule">, "list", import("@atlaskit/editor-common/types").MaybePluginName<"textColor">, import("@atlaskit/editor-common/types").MaybePluginName<"alignment">, import("@atlaskit/editor-common/types").MaybePluginName<"breakout">, "contentInsertion", "accessibilityUtils", "dataConsumer", "codeBlock", "selection", "floatingToolbar", "copyButton", "submitEditor", "editorDisabled", "unsupportedContent", "placeholder", "quickInsert", "width", "textFormatting", "hyperlink", import("@atlaskit/editor-common/types").MaybePluginName<"selectionToolbar">, "clearMarksOnEmptyDoc", "blockType", import("@atlaskit/editor-common/types").MaybePluginName<"undoRedoPlugin">, import("@atlaskit/editor-common/types").MaybePluginName<"history">, "typeAhead", "decorations", "base", "contextIdentifier", "composition", "focus", "clipboard", "paste", "betterTypeHistory", import("@atlaskit/editor-common/types").MaybePluginName<"analytics">, "featureFlags"], [import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"codeBidiWarning", {
47
7
  pluginConfiguration: {
48
8
  appearance?: import("@atlaskit/editor-common/types").EditorAppearance | undefined;
49
9
  } | undefined;
@@ -603,7 +563,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
603
563
  actions: {
604
564
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
605
565
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
606
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
566
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
607
567
  };
608
568
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
609
569
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
@@ -722,7 +682,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
722
682
  actions: {
723
683
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
724
684
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
725
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
685
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
726
686
  };
727
687
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
728
688
  sharedState: {
@@ -1381,7 +1341,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
1381
1341
  actions: {
1382
1342
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1383
1343
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
1384
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
1344
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
1385
1345
  };
1386
1346
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"extension", {
1387
1347
  pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
@@ -1790,7 +1750,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
1790
1750
  actions: {
1791
1751
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1792
1752
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
1793
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
1753
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
1794
1754
  };
1795
1755
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
1796
1756
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
@@ -2469,7 +2429,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
2469
2429
  actions: {
2470
2430
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2471
2431
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
2472
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
2432
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
2473
2433
  };
2474
2434
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
2475
2435
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
@@ -2542,7 +2502,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
2542
2502
  actions: {
2543
2503
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2544
2504
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
2545
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
2505
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
2546
2506
  };
2547
2507
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"grid", {
2548
2508
  pluginConfiguration: import("@atlaskit/editor-plugin-grid").GridPluginOptions | undefined;
@@ -3172,7 +3132,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
3172
3132
  actions: {
3173
3133
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3174
3134
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
3175
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
3135
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
3176
3136
  };
3177
3137
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
3178
3138
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
@@ -4077,7 +4037,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
4077
4037
  actions: {
4078
4038
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
4079
4039
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
4080
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
4040
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
4081
4041
  };
4082
4042
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
4083
4043
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
@@ -4196,7 +4156,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
4196
4156
  actions: {
4197
4157
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
4198
4158
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
4199
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
4159
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
4200
4160
  };
4201
4161
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
4202
4162
  sharedState: {
@@ -1,7 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import type { EditorProps } from '../types';
3
3
  export declare function createPreset(props: EditorProps, prevProps?: EditorProps): import("@atlaskit/editor-common/preset").EditorPresetBuilder<[
4
- import("@atlaskit/editor-common/types").MaybePluginName<"loom">,
5
4
  "codeBidiWarning",
6
5
  import("@atlaskit/editor-common/types").MaybePluginName<"pasteOptionsToolbarPlugin">,
7
6
  import("@atlaskit/editor-common/types").MaybePluginName<"fragmentPlugin">,
@@ -77,56 +76,6 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
77
76
  import("@atlaskit/editor-common/types").MaybePluginName<"analytics">,
78
77
  "featureFlags"
79
78
  ], [
80
- import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"loom", {
81
- dependencies: [
82
- import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
83
- pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
84
- sharedState: {
85
- createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
86
- attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
87
- performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
88
- };
89
- dependencies: [
90
- import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
91
- pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
92
- sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
93
- }, import("@atlaskit/editor-common/types").FeatureFlags>>
94
- ];
95
- actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
96
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
97
- import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"hyperlink", {
98
- pluginConfiguration: import("@atlaskit/editor-common/types").HyperlinkPluginOptions | undefined;
99
- dependencies: [
100
- import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
101
- pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
102
- sharedState: {
103
- createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
104
- attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
105
- performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
106
- };
107
- dependencies: [
108
- import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
109
- pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
110
- sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
111
- }, import("@atlaskit/editor-common/types").FeatureFlags>>
112
- ];
113
- actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
114
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
115
- ];
116
- actions: {
117
- prependToolbarButtons: import("@atlaskit/editor-plugin-hyperlink").PrependToolbarButtons;
118
- hideLinkToolbar: import("@atlaskit/editor-plugin-hyperlink").HideLinkToolbar;
119
- insertLink: import("@atlaskit/editor-plugin-hyperlink").InsertLink;
120
- updateLink: import("@atlaskit/editor-plugin-hyperlink").UpdateLink;
121
- };
122
- commands: {
123
- showLinkToolbar: import("@atlaskit/editor-plugin-hyperlink").ShowLinkToolbar;
124
- };
125
- sharedState: import("@atlaskit/editor-common/link").HyperlinkState | undefined;
126
- }, import("@atlaskit/editor-common/types").HyperlinkPluginOptions | undefined>
127
- ];
128
- sharedState: import("@atlaskit/editor-plugin-loom").LoomPluginState | undefined;
129
- }, undefined>>,
130
79
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"codeBidiWarning", {
131
80
  pluginConfiguration: {
132
81
  appearance?: import("@atlaskit/editor-common/types").EditorAppearance | undefined;
@@ -813,7 +762,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
813
762
  actions: {
814
763
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
815
764
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
816
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
765
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
817
766
  };
818
767
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
819
768
  ];
@@ -957,7 +906,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
957
906
  actions: {
958
907
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
959
908
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
960
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
909
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
961
910
  };
962
911
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
963
912
  ];
@@ -1759,7 +1708,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
1759
1708
  actions: {
1760
1709
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1761
1710
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
1762
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
1711
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
1763
1712
  };
1764
1713
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>,
1765
1714
  import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
@@ -2258,7 +2207,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
2258
2207
  actions: {
2259
2208
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2260
2209
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
2261
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
2210
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
2262
2211
  };
2263
2212
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
2264
2213
  ];
@@ -3076,7 +3025,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
3076
3025
  actions: {
3077
3026
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3078
3027
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
3079
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
3028
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
3080
3029
  };
3081
3030
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
3082
3031
  ];
@@ -3164,7 +3113,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
3164
3113
  actions: {
3165
3114
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3166
3115
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
3167
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
3116
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
3168
3117
  };
3169
3118
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>,
3170
3119
  import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
@@ -3943,7 +3892,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
3943
3892
  actions: {
3944
3893
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3945
3894
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
3946
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
3895
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
3947
3896
  };
3948
3897
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
3949
3898
  ];
@@ -5040,7 +4989,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
5040
4989
  actions: {
5041
4990
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
5042
4991
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
5043
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
4992
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
5044
4993
  };
5045
4994
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
5046
4995
  ];
@@ -5184,7 +5133,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
5184
5133
  actions: {
5185
5134
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
5186
5135
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
5187
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
5136
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
5188
5137
  };
5189
5138
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
5190
5139
  ];
@@ -661,7 +661,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
661
661
  actions: {
662
662
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
663
663
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
664
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
664
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
665
665
  };
666
666
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
667
667
  ];
@@ -1758,7 +1758,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1758
1758
  actions: {
1759
1759
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1760
1760
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
1761
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
1761
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
1762
1762
  };
1763
1763
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
1764
1764
  ];
@@ -1902,7 +1902,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1902
1902
  actions: {
1903
1903
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1904
1904
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
1905
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
1905
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
1906
1906
  };
1907
1907
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
1908
1908
  ];
@@ -2550,7 +2550,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
2550
2550
  actions: {
2551
2551
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2552
2552
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
2553
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
2553
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
2554
2554
  };
2555
2555
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
2556
2556
  ];
@@ -3647,7 +3647,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3647
3647
  actions: {
3648
3648
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3649
3649
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
3650
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
3650
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
3651
3651
  };
3652
3652
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
3653
3653
  ];
@@ -3791,7 +3791,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3791
3791
  actions: {
3792
3792
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3793
3793
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
3794
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
3794
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
3795
3795
  };
3796
3796
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
3797
3797
  ];
@@ -18,7 +18,6 @@ type UniversalPresetProps = DefaultPresetPluginOptions & EditorSharedPropsWithPl
18
18
  * @returns a full featured preset configured according to the provided props - basis for create-plugins-list
19
19
  */
20
20
  export default function createUniversalPreset(appearance: EditorAppearance | undefined, props: UniversalPresetProps, featureFlags: FeatureFlags, prevAppearance?: EditorAppearance, createAnalyticsEvent?: CreateUIAnalyticsEvent): import("@atlaskit/editor-common/preset").EditorPresetBuilder<[
21
- import("@atlaskit/editor-common/types").MaybePluginName<"loom">,
22
21
  "codeBidiWarning",
23
22
  import("@atlaskit/editor-common/types").MaybePluginName<"pasteOptionsToolbarPlugin">,
24
23
  import("@atlaskit/editor-common/types").MaybePluginName<"fragmentPlugin">,
@@ -94,56 +93,6 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
94
93
  import("@atlaskit/editor-common/types").MaybePluginName<"analytics">,
95
94
  "featureFlags"
96
95
  ], [
97
- import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"loom", {
98
- dependencies: [
99
- import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
100
- pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
101
- sharedState: {
102
- createAnalyticsEvent: CreateUIAnalyticsEvent | null;
103
- attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
104
- performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
105
- };
106
- dependencies: [
107
- import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
108
- pluginConfiguration: FeatureFlags;
109
- sharedState: FeatureFlags;
110
- }, FeatureFlags>>
111
- ];
112
- actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
113
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
114
- import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"hyperlink", {
115
- pluginConfiguration: import("@atlaskit/editor-common/types").HyperlinkPluginOptions | undefined;
116
- dependencies: [
117
- import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
118
- pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
119
- sharedState: {
120
- createAnalyticsEvent: CreateUIAnalyticsEvent | null;
121
- attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
122
- performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
123
- };
124
- dependencies: [
125
- import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
126
- pluginConfiguration: FeatureFlags;
127
- sharedState: FeatureFlags;
128
- }, FeatureFlags>>
129
- ];
130
- actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
131
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
132
- ];
133
- actions: {
134
- prependToolbarButtons: import("@atlaskit/editor-plugin-hyperlink").PrependToolbarButtons;
135
- hideLinkToolbar: import("@atlaskit/editor-plugin-hyperlink").HideLinkToolbar;
136
- insertLink: import("@atlaskit/editor-plugin-hyperlink").InsertLink;
137
- updateLink: import("@atlaskit/editor-plugin-hyperlink").UpdateLink;
138
- };
139
- commands: {
140
- showLinkToolbar: import("@atlaskit/editor-plugin-hyperlink").ShowLinkToolbar;
141
- };
142
- sharedState: import("@atlaskit/editor-common/link").HyperlinkState | undefined;
143
- }, import("@atlaskit/editor-common/types").HyperlinkPluginOptions | undefined>
144
- ];
145
- sharedState: import("@atlaskit/editor-plugins/loom").LoomPluginState | undefined;
146
- }, undefined>>,
147
96
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"codeBidiWarning", {
148
97
  pluginConfiguration: {
149
98
  appearance?: EditorAppearance | undefined;
@@ -830,7 +779,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
830
779
  actions: {
831
780
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
832
781
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
833
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
782
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
834
783
  };
835
784
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
836
785
  ];
@@ -974,7 +923,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
974
923
  actions: {
975
924
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
976
925
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
977
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
926
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
978
927
  };
979
928
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
980
929
  ];
@@ -1776,7 +1725,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
1776
1725
  actions: {
1777
1726
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1778
1727
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
1779
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
1728
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
1780
1729
  };
1781
1730
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>,
1782
1731
  import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
@@ -2275,7 +2224,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
2275
2224
  actions: {
2276
2225
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2277
2226
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
2278
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
2227
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
2279
2228
  };
2280
2229
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
2281
2230
  ];
@@ -3093,7 +3042,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
3093
3042
  actions: {
3094
3043
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3095
3044
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
3096
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
3045
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
3097
3046
  };
3098
3047
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
3099
3048
  ];
@@ -3181,7 +3130,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
3181
3130
  actions: {
3182
3131
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3183
3132
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
3184
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
3133
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
3185
3134
  };
3186
3135
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>,
3187
3136
  import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
@@ -3960,7 +3909,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
3960
3909
  actions: {
3961
3910
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3962
3911
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
3963
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
3912
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
3964
3913
  };
3965
3914
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
3966
3915
  ];
@@ -5057,7 +5006,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
5057
5006
  actions: {
5058
5007
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
5059
5008
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
5060
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
5009
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
5061
5010
  };
5062
5011
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
5063
5012
  ];
@@ -5201,7 +5150,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
5201
5150
  actions: {
5202
5151
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
5203
5152
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
5204
- showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
5153
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
5205
5154
  };
5206
5155
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
5207
5156
  ];