@atlaskit/editor-core 193.10.7 → 193.10.11
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 +12 -0
- package/dist/cjs/presets/universal.js +1 -0
- package/dist/cjs/utils/extensions.js +1 -0
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/presets/universal.js +1 -0
- package/dist/es2019/utils/extensions.js +1 -0
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/presets/universal.js +1 -0
- package/dist/esm/utils/extensions.js +1 -0
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-preset.d.ts +64 -10
- package/dist/types/presets/default.d.ts +6 -6
- package/dist/types/presets/universal.d.ts +64 -10
- package/dist/types/presets/useUniversalPreset.d.ts +64 -10
- package/dist/types-ts4.5/create-editor/create-preset.d.ts +72 -10
- package/dist/types-ts4.5/presets/default.d.ts +6 -6
- package/dist/types-ts4.5/presets/universal.d.ts +72 -10
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +72 -10
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 193.10.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#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
|
|
8
|
+
|
|
9
|
+
## 193.10.8
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#87119](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87119) [`0cea7cb799c3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0cea7cb799c3) - [EDF-462] Add analytics for AI Blocks
|
|
14
|
+
|
|
3
15
|
## 193.10.7
|
|
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,
|
|
111
112
|
allowDropzoneDropLine: isFullPage,
|
|
112
113
|
allowMediaSingleEditable: !isMobile,
|
|
113
114
|
allowRemoteDimensionsFetch: !isMobile,
|
|
@@ -25,6 +25,7 @@ function sendExtensionQuickInsertAnalytics(item, createAnalyticsEvent) {
|
|
|
25
25
|
actionSubjectId: _analytics.ACTION_SUBJECT_ID.EXTENSION,
|
|
26
26
|
attributes: {
|
|
27
27
|
extensionType: item.extensionType,
|
|
28
|
+
extensionKey: item.extensionKey,
|
|
28
29
|
key: item.key,
|
|
29
30
|
inputMethod: _analytics.INPUT_METHOD.QUICK_INSERT
|
|
30
31
|
},
|
|
@@ -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,
|
|
100
101
|
allowDropzoneDropLine: isFullPage,
|
|
101
102
|
allowMediaSingleEditable: !isMobile,
|
|
102
103
|
allowRemoteDimensionsFetch: !isMobile,
|
|
@@ -15,6 +15,7 @@ function sendExtensionQuickInsertAnalytics(item, createAnalyticsEvent) {
|
|
|
15
15
|
actionSubjectId: ACTION_SUBJECT_ID.EXTENSION,
|
|
16
16
|
attributes: {
|
|
17
17
|
extensionType: item.extensionType,
|
|
18
|
+
extensionKey: item.extensionKey,
|
|
18
19
|
key: item.key,
|
|
19
20
|
inputMethod: INPUT_METHOD.QUICK_INSERT
|
|
20
21
|
},
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "193.10.
|
|
2
|
+
export const version = "193.10.11";
|
|
@@ -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,
|
|
103
104
|
allowDropzoneDropLine: isFullPage,
|
|
104
105
|
allowMediaSingleEditable: !isMobile,
|
|
105
106
|
allowRemoteDimensionsFetch: !isMobile,
|
|
@@ -17,6 +17,7 @@ function sendExtensionQuickInsertAnalytics(item, createAnalyticsEvent) {
|
|
|
17
17
|
actionSubjectId: ACTION_SUBJECT_ID.EXTENSION,
|
|
18
18
|
attributes: {
|
|
19
19
|
extensionType: item.extensionType,
|
|
20
|
+
extensionKey: item.extensionKey,
|
|
20
21
|
key: item.key,
|
|
21
22
|
inputMethod: INPUT_METHOD.QUICK_INSERT
|
|
22
23
|
},
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "193.10.
|
|
2
|
+
export var version = "193.10.11";
|
|
@@ -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>>];
|