@atlaskit/editor-core 193.10.8 → 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 +6 -0
- package/dist/cjs/presets/universal.js +1 -0
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/presets/universal.js +1 -0
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/presets/universal.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 +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
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
|
+
|
|
3
9
|
## 193.10.8
|
|
4
10
|
|
|
5
11
|
### 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,
|
|
@@ -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,
|
|
@@ -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,
|
|
@@ -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>>];
|
|
@@ -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>>];
|
|
@@ -814,7 +814,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
814
814
|
];
|
|
815
815
|
actions: {
|
|
816
816
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
817
|
-
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;
|
|
817
|
+
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;
|
|
818
818
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
819
819
|
};
|
|
820
820
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -958,7 +958,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
958
958
|
];
|
|
959
959
|
actions: {
|
|
960
960
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
961
|
-
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;
|
|
961
|
+
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;
|
|
962
962
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
963
963
|
};
|
|
964
964
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -1813,7 +1813,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
1813
1813
|
];
|
|
1814
1814
|
actions: {
|
|
1815
1815
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
1816
|
-
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;
|
|
1816
|
+
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;
|
|
1817
1817
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
1818
1818
|
};
|
|
1819
1819
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>,
|
|
@@ -2312,7 +2312,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2312
2312
|
];
|
|
2313
2313
|
actions: {
|
|
2314
2314
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2315
|
-
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;
|
|
2315
|
+
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;
|
|
2316
2316
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
2317
2317
|
};
|
|
2318
2318
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -3192,7 +3192,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3192
3192
|
];
|
|
3193
3193
|
actions: {
|
|
3194
3194
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3195
|
-
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;
|
|
3195
|
+
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;
|
|
3196
3196
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
3197
3197
|
};
|
|
3198
3198
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -3280,7 +3280,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3280
3280
|
];
|
|
3281
3281
|
actions: {
|
|
3282
3282
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3283
|
-
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;
|
|
3283
|
+
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;
|
|
3284
3284
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
3285
3285
|
};
|
|
3286
3286
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>,
|
|
@@ -3343,7 +3343,69 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3343
3343
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
3344
3344
|
];
|
|
3345
3345
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3346
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
3346
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
3347
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selectionMarker", {
|
|
3348
|
+
dependencies: [
|
|
3349
|
+
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
3350
|
+
sharedState: {
|
|
3351
|
+
hasFocus: boolean;
|
|
3352
|
+
};
|
|
3353
|
+
}, undefined>,
|
|
3354
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"typeAhead", {
|
|
3355
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined;
|
|
3356
|
+
dependencies: [
|
|
3357
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
3358
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
3359
|
+
sharedState: {
|
|
3360
|
+
createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
|
|
3361
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
|
|
3362
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
3363
|
+
};
|
|
3364
|
+
dependencies: [
|
|
3365
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3366
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3367
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3368
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
3369
|
+
];
|
|
3370
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3371
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
|
|
3372
|
+
];
|
|
3373
|
+
sharedState: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginSharedState;
|
|
3374
|
+
actions: {
|
|
3375
|
+
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
3376
|
+
isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
3377
|
+
insert: (props: {
|
|
3378
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
3379
|
+
contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
|
|
3380
|
+
query: string;
|
|
3381
|
+
sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
|
|
3382
|
+
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
3383
|
+
}) => boolean;
|
|
3384
|
+
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
3385
|
+
open: (props: {
|
|
3386
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
3387
|
+
inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod;
|
|
3388
|
+
query?: string | undefined;
|
|
3389
|
+
}) => boolean;
|
|
3390
|
+
close: (props: {
|
|
3391
|
+
insertCurrentQueryAsRawText: boolean;
|
|
3392
|
+
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
3393
|
+
}) => boolean;
|
|
3394
|
+
openAtTransaction: (props: {
|
|
3395
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
3396
|
+
inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod;
|
|
3397
|
+
query?: string | undefined;
|
|
3398
|
+
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3399
|
+
};
|
|
3400
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>>
|
|
3401
|
+
];
|
|
3402
|
+
sharedState: {
|
|
3403
|
+
isForcedHidden: boolean;
|
|
3404
|
+
} | undefined;
|
|
3405
|
+
actions: {
|
|
3406
|
+
hideDecoration: () => import("@atlaskit/editor-plugin-selection-marker").ReleaseHiddenDecoration | undefined;
|
|
3407
|
+
};
|
|
3408
|
+
}, undefined>>
|
|
3347
3409
|
];
|
|
3348
3410
|
actions: {
|
|
3349
3411
|
insertExpand: import("@atlaskit/editor-common/types").Command;
|
|
@@ -4111,7 +4173,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
4111
4173
|
];
|
|
4112
4174
|
actions: {
|
|
4113
4175
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
4114
|
-
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;
|
|
4176
|
+
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;
|
|
4115
4177
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
4116
4178
|
};
|
|
4117
4179
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -5262,7 +5324,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
5262
5324
|
];
|
|
5263
5325
|
actions: {
|
|
5264
5326
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
5265
|
-
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;
|
|
5327
|
+
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;
|
|
5266
5328
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
5267
5329
|
};
|
|
5268
5330
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -5406,7 +5468,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
5406
5468
|
];
|
|
5407
5469
|
actions: {
|
|
5408
5470
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
5409
|
-
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;
|
|
5471
|
+
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;
|
|
5410
5472
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
5411
5473
|
};
|
|
5412
5474
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -660,7 +660,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
660
660
|
];
|
|
661
661
|
actions: {
|
|
662
662
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
663
|
-
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
663
|
+
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;
|
|
664
664
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
665
665
|
};
|
|
666
666
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -1811,7 +1811,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1811
1811
|
];
|
|
1812
1812
|
actions: {
|
|
1813
1813
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
1814
|
-
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;
|
|
1814
|
+
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;
|
|
1815
1815
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
1816
1816
|
};
|
|
1817
1817
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -1955,7 +1955,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1955
1955
|
];
|
|
1956
1956
|
actions: {
|
|
1957
1957
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
1958
|
-
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;
|
|
1958
|
+
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;
|
|
1959
1959
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
1960
1960
|
};
|
|
1961
1961
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -2603,7 +2603,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
2603
2603
|
];
|
|
2604
2604
|
actions: {
|
|
2605
2605
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2606
|
-
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;
|
|
2606
|
+
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;
|
|
2607
2607
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
2608
2608
|
};
|
|
2609
2609
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -3754,7 +3754,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3754
3754
|
];
|
|
3755
3755
|
actions: {
|
|
3756
3756
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3757
|
-
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;
|
|
3757
|
+
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;
|
|
3758
3758
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
3759
3759
|
};
|
|
3760
3760
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -3898,7 +3898,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3898
3898
|
];
|
|
3899
3899
|
actions: {
|
|
3900
3900
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3901
|
-
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;
|
|
3901
|
+
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;
|
|
3902
3902
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
3903
3903
|
};
|
|
3904
3904
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -831,7 +831,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
831
831
|
];
|
|
832
832
|
actions: {
|
|
833
833
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
834
|
-
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;
|
|
834
|
+
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;
|
|
835
835
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
836
836
|
};
|
|
837
837
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
|
|
@@ -975,7 +975,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
975
975
|
];
|
|
976
976
|
actions: {
|
|
977
977
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
978
|
-
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;
|
|
978
|
+
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;
|
|
979
979
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
980
980
|
};
|
|
981
981
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
|
|
@@ -1830,7 +1830,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
1830
1830
|
];
|
|
1831
1831
|
actions: {
|
|
1832
1832
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
1833
|
-
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;
|
|
1833
|
+
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;
|
|
1834
1834
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
1835
1835
|
};
|
|
1836
1836
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>,
|
|
@@ -2329,7 +2329,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2329
2329
|
];
|
|
2330
2330
|
actions: {
|
|
2331
2331
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2332
|
-
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;
|
|
2332
|
+
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;
|
|
2333
2333
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
2334
2334
|
};
|
|
2335
2335
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
|
|
@@ -3209,7 +3209,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
3209
3209
|
];
|
|
3210
3210
|
actions: {
|
|
3211
3211
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3212
|
-
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;
|
|
3212
|
+
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;
|
|
3213
3213
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
3214
3214
|
};
|
|
3215
3215
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
|
|
@@ -3297,7 +3297,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
3297
3297
|
];
|
|
3298
3298
|
actions: {
|
|
3299
3299
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3300
|
-
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;
|
|
3300
|
+
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;
|
|
3301
3301
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
3302
3302
|
};
|
|
3303
3303
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>,
|
|
@@ -3360,7 +3360,69 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
3360
3360
|
}, FeatureFlags>>
|
|
3361
3361
|
];
|
|
3362
3362
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3363
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
3363
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
3364
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selectionMarker", {
|
|
3365
|
+
dependencies: [
|
|
3366
|
+
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
3367
|
+
sharedState: {
|
|
3368
|
+
hasFocus: boolean;
|
|
3369
|
+
};
|
|
3370
|
+
}, undefined>,
|
|
3371
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"typeAhead", {
|
|
3372
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined;
|
|
3373
|
+
dependencies: [
|
|
3374
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
3375
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
3376
|
+
sharedState: {
|
|
3377
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
3378
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
|
|
3379
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
3380
|
+
};
|
|
3381
|
+
dependencies: [
|
|
3382
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3383
|
+
pluginConfiguration: FeatureFlags;
|
|
3384
|
+
sharedState: FeatureFlags;
|
|
3385
|
+
}, FeatureFlags>>
|
|
3386
|
+
];
|
|
3387
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3388
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
|
|
3389
|
+
];
|
|
3390
|
+
sharedState: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginSharedState;
|
|
3391
|
+
actions: {
|
|
3392
|
+
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
3393
|
+
isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
3394
|
+
insert: (props: {
|
|
3395
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
3396
|
+
contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
|
|
3397
|
+
query: string;
|
|
3398
|
+
sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
|
|
3399
|
+
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
3400
|
+
}) => boolean;
|
|
3401
|
+
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
3402
|
+
open: (props: {
|
|
3403
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
3404
|
+
inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod;
|
|
3405
|
+
query?: string | undefined;
|
|
3406
|
+
}) => boolean;
|
|
3407
|
+
close: (props: {
|
|
3408
|
+
insertCurrentQueryAsRawText: boolean;
|
|
3409
|
+
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
3410
|
+
}) => boolean;
|
|
3411
|
+
openAtTransaction: (props: {
|
|
3412
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
3413
|
+
inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod;
|
|
3414
|
+
query?: string | undefined;
|
|
3415
|
+
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3416
|
+
};
|
|
3417
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>>
|
|
3418
|
+
];
|
|
3419
|
+
sharedState: {
|
|
3420
|
+
isForcedHidden: boolean;
|
|
3421
|
+
} | undefined;
|
|
3422
|
+
actions: {
|
|
3423
|
+
hideDecoration: () => import("@atlaskit/editor-plugin-selection-marker").ReleaseHiddenDecoration | undefined;
|
|
3424
|
+
};
|
|
3425
|
+
}, undefined>>
|
|
3364
3426
|
];
|
|
3365
3427
|
actions: {
|
|
3366
3428
|
insertExpand: import("@atlaskit/editor-common/types").Command;
|
|
@@ -4128,7 +4190,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
4128
4190
|
];
|
|
4129
4191
|
actions: {
|
|
4130
4192
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
4131
|
-
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;
|
|
4193
|
+
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;
|
|
4132
4194
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
4133
4195
|
};
|
|
4134
4196
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
|
|
@@ -5279,7 +5341,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
5279
5341
|
];
|
|
5280
5342
|
actions: {
|
|
5281
5343
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
5282
|
-
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;
|
|
5344
|
+
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;
|
|
5283
5345
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
5284
5346
|
};
|
|
5285
5347
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
|
|
@@ -5423,7 +5485,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
5423
5485
|
];
|
|
5424
5486
|
actions: {
|
|
5425
5487
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
5426
|
-
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;
|
|
5488
|
+
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;
|
|
5427
5489
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
5428
5490
|
};
|
|
5429
5491
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
|
|
@@ -817,7 +817,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
817
817
|
];
|
|
818
818
|
actions: {
|
|
819
819
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
820
|
-
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;
|
|
820
|
+
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;
|
|
821
821
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
822
822
|
};
|
|
823
823
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -961,7 +961,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
961
961
|
];
|
|
962
962
|
actions: {
|
|
963
963
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
964
|
-
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;
|
|
964
|
+
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;
|
|
965
965
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
966
966
|
};
|
|
967
967
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -1816,7 +1816,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1816
1816
|
];
|
|
1817
1817
|
actions: {
|
|
1818
1818
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
1819
|
-
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;
|
|
1819
|
+
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;
|
|
1820
1820
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
1821
1821
|
};
|
|
1822
1822
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>,
|
|
@@ -2315,7 +2315,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2315
2315
|
];
|
|
2316
2316
|
actions: {
|
|
2317
2317
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2318
|
-
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;
|
|
2318
|
+
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;
|
|
2319
2319
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
2320
2320
|
};
|
|
2321
2321
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -3195,7 +3195,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3195
3195
|
];
|
|
3196
3196
|
actions: {
|
|
3197
3197
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3198
|
-
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;
|
|
3198
|
+
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;
|
|
3199
3199
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
3200
3200
|
};
|
|
3201
3201
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -3283,7 +3283,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3283
3283
|
];
|
|
3284
3284
|
actions: {
|
|
3285
3285
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3286
|
-
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;
|
|
3286
|
+
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;
|
|
3287
3287
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
3288
3288
|
};
|
|
3289
3289
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>,
|
|
@@ -3346,7 +3346,69 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3346
3346
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
3347
3347
|
];
|
|
3348
3348
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3349
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
3349
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
3350
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"selectionMarker", {
|
|
3351
|
+
dependencies: [
|
|
3352
|
+
import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"focus", {
|
|
3353
|
+
sharedState: {
|
|
3354
|
+
hasFocus: boolean;
|
|
3355
|
+
};
|
|
3356
|
+
}, undefined>,
|
|
3357
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"typeAhead", {
|
|
3358
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined;
|
|
3359
|
+
dependencies: [
|
|
3360
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"analytics", {
|
|
3361
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
3362
|
+
sharedState: {
|
|
3363
|
+
createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
|
|
3364
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
|
|
3365
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
3366
|
+
};
|
|
3367
|
+
dependencies: [
|
|
3368
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
3369
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3370
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3371
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
3372
|
+
];
|
|
3373
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3374
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
|
|
3375
|
+
];
|
|
3376
|
+
sharedState: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginSharedState;
|
|
3377
|
+
actions: {
|
|
3378
|
+
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
3379
|
+
isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
3380
|
+
insert: (props: {
|
|
3381
|
+
triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
|
|
3382
|
+
contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
|
|
3383
|
+
query: string;
|
|
3384
|
+
sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
|
|
3385
|
+
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
3386
|
+
}) => boolean;
|
|
3387
|
+
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler | null;
|
|
3388
|
+
open: (props: {
|
|
3389
|
+
triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
|
|
3390
|
+
inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod;
|
|
3391
|
+
query?: string | undefined;
|
|
3392
|
+
}) => boolean;
|
|
3393
|
+
close: (props: {
|
|
3394
|
+
insertCurrentQueryAsRawText: boolean;
|
|
3395
|
+
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
3396
|
+
}) => boolean;
|
|
3397
|
+
openAtTransaction: (props: {
|
|
3398
|
+
triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
|
|
3399
|
+
inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod;
|
|
3400
|
+
query?: string | undefined;
|
|
3401
|
+
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3402
|
+
};
|
|
3403
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>>
|
|
3404
|
+
];
|
|
3405
|
+
sharedState: {
|
|
3406
|
+
isForcedHidden: boolean;
|
|
3407
|
+
} | undefined;
|
|
3408
|
+
actions: {
|
|
3409
|
+
hideDecoration: () => import("@atlaskit/editor-plugin-selection-marker").ReleaseHiddenDecoration | undefined;
|
|
3410
|
+
};
|
|
3411
|
+
}, undefined>>
|
|
3350
3412
|
];
|
|
3351
3413
|
actions: {
|
|
3352
3414
|
insertExpand: import("@atlaskit/editor-common/types").Command;
|
|
@@ -4114,7 +4176,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4114
4176
|
];
|
|
4115
4177
|
actions: {
|
|
4116
4178
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
4117
|
-
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;
|
|
4179
|
+
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;
|
|
4118
4180
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
4119
4181
|
};
|
|
4120
4182
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -5265,7 +5327,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
5265
5327
|
];
|
|
5266
5328
|
actions: {
|
|
5267
5329
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
5268
|
-
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;
|
|
5330
|
+
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;
|
|
5269
5331
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
5270
5332
|
};
|
|
5271
5333
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -5409,7 +5471,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
5409
5471
|
];
|
|
5410
5472
|
actions: {
|
|
5411
5473
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
5412
|
-
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;
|
|
5474
|
+
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;
|
|
5413
5475
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
5414
5476
|
};
|
|
5415
5477
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "193.10.
|
|
3
|
+
"version": "193.10.11",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@atlaskit/analytics-next": "^9.2.0",
|
|
46
46
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
47
47
|
"@atlaskit/button": "^17.12.0",
|
|
48
|
-
"@atlaskit/editor-common": "^78.
|
|
48
|
+
"@atlaskit/editor-common": "^78.29.0",
|
|
49
49
|
"@atlaskit/editor-json-transformer": "^8.10.0",
|
|
50
50
|
"@atlaskit/editor-plugins": "^2.2.0",
|
|
51
51
|
"@atlaskit/editor-prosemirror": "3.0.0",
|
|
@@ -102,9 +102,9 @@
|
|
|
102
102
|
"@atlaskit/media-core": "^34.2.0",
|
|
103
103
|
"@atlaskit/media-integration-test-helpers": "^3.0.0",
|
|
104
104
|
"@atlaskit/media-test-helpers": "^33.0.27",
|
|
105
|
-
"@atlaskit/modal-dialog": "^12.
|
|
105
|
+
"@atlaskit/modal-dialog": "^12.11.0",
|
|
106
106
|
"@atlaskit/primitives": "^5.5.0",
|
|
107
|
-
"@atlaskit/renderer": "^109.
|
|
107
|
+
"@atlaskit/renderer": "^109.19.0",
|
|
108
108
|
"@atlaskit/select": "^17.6.0",
|
|
109
109
|
"@atlaskit/smart-card": "^26.56.0",
|
|
110
110
|
"@atlaskit/synchrony-test-helpers": "^2.3.0",
|