@atlaskit/editor-core 193.10.8 → 193.10.12

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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 193.10.12
4
+
5
+ ### Patch Changes
6
+
7
+ - [#91801](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91801) [`6d8876d9f604`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6d8876d9f604) - [ux] ED-23023: Fix for comments on media button visible in template editor
8
+
9
+ ## 193.10.11
10
+
11
+ ### Patch Changes
12
+
13
+ - [#91808](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91808) [`00e5dcfdf240`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/00e5dcfdf240) - Adds allowCommentsOnMedia in media plugin options to check the appearance of the renderer
14
+
3
15
  ## 193.10.8
4
16
 
5
17
  ### Patch Changes
@@ -108,6 +108,7 @@ function createUniversalPreset(appearance, props, featureFlags, prevAppearance,
108
108
  allowLazyLoading: !isMobile,
109
109
  allowBreakoutSnapPoints: isFullPage,
110
110
  allowAdvancedToolBarOptions: typeof ((_props$media = props.media) === null || _props$media === void 0 ? void 0 : _props$media.allowAdvancedToolBarOptions) !== 'undefined' ? (_props$media2 = props.media) === null || _props$media2 === void 0 ? void 0 : _props$media2.allowAdvancedToolBarOptions : isFullPage || isComment,
111
+ allowCommentsOnMedia: isFullPage && Boolean(props.annotationProviders),
111
112
  allowDropzoneDropLine: isFullPage,
112
113
  allowMediaSingleEditable: !isMobile,
113
114
  allowRemoteDimensionsFetch: !isMobile,
@@ -5,4 +5,4 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
- var version = exports.version = "193.10.8";
8
+ var version = exports.version = "193.10.12";
@@ -97,6 +97,7 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
97
97
  allowLazyLoading: !isMobile,
98
98
  allowBreakoutSnapPoints: isFullPage,
99
99
  allowAdvancedToolBarOptions: typeof ((_props$media = props.media) === null || _props$media === void 0 ? void 0 : _props$media.allowAdvancedToolBarOptions) !== 'undefined' ? (_props$media2 = props.media) === null || _props$media2 === void 0 ? void 0 : _props$media2.allowAdvancedToolBarOptions : isFullPage || isComment,
100
+ allowCommentsOnMedia: isFullPage && Boolean(props.annotationProviders),
100
101
  allowDropzoneDropLine: isFullPage,
101
102
  allowMediaSingleEditable: !isMobile,
102
103
  allowRemoteDimensionsFetch: !isMobile,
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "193.10.8";
2
+ export const version = "193.10.12";
@@ -100,6 +100,7 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
100
100
  allowLazyLoading: !isMobile,
101
101
  allowBreakoutSnapPoints: isFullPage,
102
102
  allowAdvancedToolBarOptions: typeof ((_props$media = props.media) === null || _props$media === void 0 ? void 0 : _props$media.allowAdvancedToolBarOptions) !== 'undefined' ? (_props$media2 = props.media) === null || _props$media2 === void 0 ? void 0 : _props$media2.allowAdvancedToolBarOptions : isFullPage || isComment,
103
+ allowCommentsOnMedia: isFullPage && Boolean(props.annotationProviders),
103
104
  allowDropzoneDropLine: isFullPage,
104
105
  allowMediaSingleEditable: !isMobile,
105
106
  allowRemoteDimensionsFetch: !isMobile,
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "193.10.8";
2
+ export var version = "193.10.12";
@@ -604,7 +604,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
604
604
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
605
605
  actions: {
606
606
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
607
- 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;
607
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
608
608
  showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
609
609
  };
610
610
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
@@ -723,7 +723,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
723
723
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
724
724
  actions: {
725
725
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
726
- 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;
726
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
727
727
  showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
728
728
  };
729
729
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
@@ -1427,7 +1427,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
1427
1427
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
1428
1428
  actions: {
1429
1429
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1430
- 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;
1430
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
1431
1431
  showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
1432
1432
  };
1433
1433
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
@@ -1836,7 +1836,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
1836
1836
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
1837
1837
  actions: {
1838
1838
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1839
- 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;
1839
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
1840
1840
  showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
1841
1841
  };
1842
1842
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
@@ -2567,7 +2567,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
2567
2567
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
2568
2568
  actions: {
2569
2569
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2570
- 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;
2570
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
2571
2571
  showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
2572
2572
  };
2573
2573
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
@@ -2640,7 +2640,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
2640
2640
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
2641
2641
  actions: {
2642
2642
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2643
- 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;
2643
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
2644
2644
  showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
2645
2645
  };
2646
2646
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
@@ -2691,7 +2691,61 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
2691
2691
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
2692
2692
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
2693
2693
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
2694
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
2694
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selectionMarker", {
2695
+ dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
2696
+ sharedState: {
2697
+ hasFocus: boolean;
2698
+ };
2699
+ }, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"typeAhead", {
2700
+ pluginConfiguration: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined;
2701
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
2702
+ pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
2703
+ sharedState: {
2704
+ createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
2705
+ attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
2706
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
2707
+ };
2708
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
2709
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
2710
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
2711
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
2712
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
2713
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
2714
+ sharedState: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginSharedState;
2715
+ actions: {
2716
+ isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
2717
+ isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
2718
+ insert: (props: {
2719
+ triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
2720
+ contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
2721
+ query: string;
2722
+ sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
2723
+ mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
2724
+ }) => boolean;
2725
+ findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
2726
+ open: (props: {
2727
+ triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
2728
+ inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod;
2729
+ query?: string | undefined;
2730
+ }) => boolean;
2731
+ close: (props: {
2732
+ insertCurrentQueryAsRawText: boolean;
2733
+ attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
2734
+ }) => boolean;
2735
+ openAtTransaction: (props: {
2736
+ triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
2737
+ inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod;
2738
+ query?: string | undefined;
2739
+ }) => (tr: import("prosemirror-state").Transaction) => boolean;
2740
+ };
2741
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>>];
2742
+ sharedState: {
2743
+ isForcedHidden: boolean;
2744
+ } | undefined;
2745
+ actions: {
2746
+ hideDecoration: () => import("@atlaskit/editor-plugin-selection-marker").ReleaseHiddenDecoration | undefined;
2747
+ };
2748
+ }, undefined>>];
2695
2749
  actions: {
2696
2750
  insertExpand: import("@atlaskit/editor-common/types").Command;
2697
2751
  };
@@ -3314,7 +3368,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
3314
3368
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
3315
3369
  actions: {
3316
3370
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3317
- 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;
3371
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
3318
3372
  showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
3319
3373
  };
3320
3374
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
@@ -4265,7 +4319,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
4265
4319
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
4266
4320
  actions: {
4267
4321
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
4268
- 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;
4322
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
4269
4323
  showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
4270
4324
  };
4271
4325
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
@@ -4384,7 +4438,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
4384
4438
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
4385
4439
  actions: {
4386
4440
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
4387
- 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;
4441
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
4388
4442
  showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
4389
4443
  };
4390
4444
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
@@ -523,7 +523,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
523
523
  }, FeatureFlags>>];
524
524
  actions: {
525
525
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
526
- 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;
526
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
527
527
  showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
528
528
  };
529
529
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
@@ -1474,7 +1474,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1474
1474
  }, FeatureFlags>>];
1475
1475
  actions: {
1476
1476
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1477
- 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;
1477
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
1478
1478
  showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
1479
1479
  };
1480
1480
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
@@ -1593,7 +1593,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1593
1593
  }, FeatureFlags>>];
1594
1594
  actions: {
1595
1595
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1596
- 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;
1596
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
1597
1597
  showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
1598
1598
  };
1599
1599
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
@@ -2097,7 +2097,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
2097
2097
  }, FeatureFlags>>];
2098
2098
  actions: {
2099
2099
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2100
- 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;
2100
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
2101
2101
  showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
2102
2102
  };
2103
2103
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
@@ -3048,7 +3048,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3048
3048
  }, FeatureFlags>>];
3049
3049
  actions: {
3050
3050
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3051
- 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;
3051
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
3052
3052
  showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
3053
3053
  };
3054
3054
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
@@ -3167,7 +3167,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3167
3167
  }, FeatureFlags>>];
3168
3168
  actions: {
3169
3169
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3170
- 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;
3170
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
3171
3171
  showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
3172
3172
  };
3173
3173
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
@@ -621,7 +621,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
621
621
  }, FeatureFlags>>];
622
622
  actions: {
623
623
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
624
- 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;
624
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
625
625
  showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
626
626
  };
627
627
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>];
@@ -740,7 +740,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
740
740
  }, FeatureFlags>>];
741
741
  actions: {
742
742
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
743
- 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;
743
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
744
744
  showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
745
745
  };
746
746
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>];
@@ -1444,7 +1444,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
1444
1444
  }, FeatureFlags>>];
1445
1445
  actions: {
1446
1446
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1447
- 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;
1447
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
1448
1448
  showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
1449
1449
  };
1450
1450
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
@@ -1853,7 +1853,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
1853
1853
  }, FeatureFlags>>];
1854
1854
  actions: {
1855
1855
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1856
- 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;
1856
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
1857
1857
  showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
1858
1858
  };
1859
1859
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>];
@@ -2584,7 +2584,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
2584
2584
  }, FeatureFlags>>];
2585
2585
  actions: {
2586
2586
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2587
- 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;
2587
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
2588
2588
  showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
2589
2589
  };
2590
2590
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>];
@@ -2657,7 +2657,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
2657
2657
  }, FeatureFlags>>];
2658
2658
  actions: {
2659
2659
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2660
- 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;
2660
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
2661
2661
  showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
2662
2662
  };
2663
2663
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
@@ -2708,7 +2708,61 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
2708
2708
  sharedState: FeatureFlags;
2709
2709
  }, FeatureFlags>>];
2710
2710
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
2711
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
2711
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selectionMarker", {
2712
+ dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
2713
+ sharedState: {
2714
+ hasFocus: boolean;
2715
+ };
2716
+ }, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"typeAhead", {
2717
+ pluginConfiguration: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined;
2718
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
2719
+ pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
2720
+ sharedState: {
2721
+ createAnalyticsEvent: CreateUIAnalyticsEvent | null;
2722
+ attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
2723
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
2724
+ };
2725
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
2726
+ pluginConfiguration: FeatureFlags;
2727
+ sharedState: FeatureFlags;
2728
+ }, FeatureFlags>>];
2729
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
2730
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
2731
+ sharedState: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginSharedState;
2732
+ actions: {
2733
+ isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
2734
+ isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
2735
+ insert: (props: {
2736
+ triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
2737
+ contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
2738
+ query: string;
2739
+ sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
2740
+ mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
2741
+ }) => boolean;
2742
+ findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
2743
+ open: (props: {
2744
+ triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
2745
+ inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod;
2746
+ query?: string | undefined;
2747
+ }) => boolean;
2748
+ close: (props: {
2749
+ insertCurrentQueryAsRawText: boolean;
2750
+ attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
2751
+ }) => boolean;
2752
+ openAtTransaction: (props: {
2753
+ triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
2754
+ inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod;
2755
+ query?: string | undefined;
2756
+ }) => (tr: import("prosemirror-state").Transaction) => boolean;
2757
+ };
2758
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>>];
2759
+ sharedState: {
2760
+ isForcedHidden: boolean;
2761
+ } | undefined;
2762
+ actions: {
2763
+ hideDecoration: () => import("@atlaskit/editor-plugin-selection-marker").ReleaseHiddenDecoration | undefined;
2764
+ };
2765
+ }, undefined>>];
2712
2766
  actions: {
2713
2767
  insertExpand: import("@atlaskit/editor-common/types").Command;
2714
2768
  };
@@ -3331,7 +3385,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
3331
3385
  }, FeatureFlags>>];
3332
3386
  actions: {
3333
3387
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3334
- 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;
3388
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
3335
3389
  showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
3336
3390
  };
3337
3391
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>];
@@ -4282,7 +4336,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
4282
4336
  }, FeatureFlags>>];
4283
4337
  actions: {
4284
4338
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
4285
- 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;
4339
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
4286
4340
  showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
4287
4341
  };
4288
4342
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>];
@@ -4401,7 +4455,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
4401
4455
  }, FeatureFlags>>];
4402
4456
  actions: {
4403
4457
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
4404
- 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;
4458
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
4405
4459
  showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
4406
4460
  };
4407
4461
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>];
@@ -607,7 +607,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
607
607
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
608
608
  actions: {
609
609
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
610
- 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;
610
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
611
611
  showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
612
612
  };
613
613
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
@@ -726,7 +726,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
726
726
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
727
727
  actions: {
728
728
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
729
- 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;
729
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
730
730
  showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
731
731
  };
732
732
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
@@ -1430,7 +1430,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
1430
1430
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
1431
1431
  actions: {
1432
1432
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1433
- 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;
1433
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
1434
1434
  showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
1435
1435
  };
1436
1436
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"extension", {
@@ -1839,7 +1839,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
1839
1839
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
1840
1840
  actions: {
1841
1841
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1842
- 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;
1842
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
1843
1843
  showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
1844
1844
  };
1845
1845
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
@@ -2570,7 +2570,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
2570
2570
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
2571
2571
  actions: {
2572
2572
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2573
- 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;
2573
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
2574
2574
  showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
2575
2575
  };
2576
2576
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
@@ -2643,7 +2643,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
2643
2643
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
2644
2644
  actions: {
2645
2645
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2646
- 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;
2646
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
2647
2647
  showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
2648
2648
  };
2649
2649
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"grid", {
@@ -2694,7 +2694,61 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
2694
2694
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
2695
2695
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
2696
2696
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
2697
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
2697
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"selectionMarker", {
2698
+ dependencies: [import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"focus", {
2699
+ sharedState: {
2700
+ hasFocus: boolean;
2701
+ };
2702
+ }, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"typeAhead", {
2703
+ pluginConfiguration: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined;
2704
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"analytics", {
2705
+ pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
2706
+ sharedState: {
2707
+ createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
2708
+ attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
2709
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
2710
+ };
2711
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
2712
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
2713
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
2714
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
2715
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
2716
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
2717
+ sharedState: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginSharedState;
2718
+ actions: {
2719
+ isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
2720
+ isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
2721
+ insert: (props: {
2722
+ triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
2723
+ contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
2724
+ query: string;
2725
+ sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
2726
+ mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
2727
+ }) => boolean;
2728
+ findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler | null;
2729
+ open: (props: {
2730
+ triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
2731
+ inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod;
2732
+ query?: string | undefined;
2733
+ }) => boolean;
2734
+ close: (props: {
2735
+ insertCurrentQueryAsRawText: boolean;
2736
+ attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
2737
+ }) => boolean;
2738
+ openAtTransaction: (props: {
2739
+ triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
2740
+ inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod;
2741
+ query?: string | undefined;
2742
+ }) => (tr: import("prosemirror-state").Transaction) => boolean;
2743
+ };
2744
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>>];
2745
+ sharedState: {
2746
+ isForcedHidden: boolean;
2747
+ } | undefined;
2748
+ actions: {
2749
+ hideDecoration: () => import("@atlaskit/editor-plugin-selection-marker").ReleaseHiddenDecoration | undefined;
2750
+ };
2751
+ }, undefined>>];
2698
2752
  actions: {
2699
2753
  insertExpand: import("@atlaskit/editor-common/types").Command;
2700
2754
  };
@@ -3317,7 +3371,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
3317
3371
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
3318
3372
  actions: {
3319
3373
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3320
- 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;
3374
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
3321
3375
  showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
3322
3376
  };
3323
3377
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
@@ -4268,7 +4322,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
4268
4322
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
4269
4323
  actions: {
4270
4324
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
4271
- 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;
4325
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
4272
4326
  showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
4273
4327
  };
4274
4328
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
@@ -4387,7 +4441,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
4387
4441
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
4388
4442
  actions: {
4389
4443
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
4390
- 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;
4444
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
4391
4445
  showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
4392
4446
  };
4393
4447
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];