@atlaskit/editor-core 203.2.10 → 203.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/dist/cjs/utils/extensions.js +1 -0
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/utils/extensions.js +1 -0
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/utils/extensions.js +1 -0
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-universal-preset.d.ts +86 -18
- package/dist/types/presets/default.d.ts +50 -10
- package/dist/types/presets/universal.d.ts +85 -17
- package/dist/types/presets/useUniversalPreset.d.ts +86 -18
- package/dist/types/types/editor-instance.d.ts +2 -1
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +103 -18
- package/dist/types-ts4.5/presets/default.d.ts +60 -10
- package/dist/types-ts4.5/presets/universal.d.ts +102 -17
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +103 -18
- package/dist/types-ts4.5/types/editor-instance.d.ts +2 -1
- package/package.json +4 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 203.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#176529](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/176529)
|
|
8
|
+
[`5c207d4755be8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5c207d4755be8) -
|
|
9
|
+
[ux] Disabled extensions in typeahead list when editor is in offline mode
|
|
10
|
+
|
|
11
|
+
## 203.2.11
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#178005](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/178005)
|
|
16
|
+
[`3a71ff9cf31d4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3a71ff9cf31d4) -
|
|
17
|
+
ED-25723 removing feature flag and use exisiting implementation for handleScrollToSelection for
|
|
18
|
+
singlePlayerExapnd
|
|
19
|
+
|
|
3
20
|
## 203.2.10
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -67,6 +67,7 @@ function _extensionProviderToQuickInsertProvider() {
|
|
|
67
67
|
keywords: item.keywords,
|
|
68
68
|
featured: item.featured,
|
|
69
69
|
categories: item.categories,
|
|
70
|
+
isDisabledOffline: true,
|
|
70
71
|
action: function action(insert, state, source) {
|
|
71
72
|
if (typeof item.node === 'function') {
|
|
72
73
|
(0, _extensions.resolveImport)(item.node()).then(function (node) {
|
|
@@ -42,6 +42,7 @@ export async function extensionProviderToQuickInsertProvider(extensionProvider,
|
|
|
42
42
|
keywords: item.keywords,
|
|
43
43
|
featured: item.featured,
|
|
44
44
|
categories: item.categories,
|
|
45
|
+
isDisabledOffline: true,
|
|
45
46
|
action: (insert, state, source) => {
|
|
46
47
|
if (typeof item.node === 'function') {
|
|
47
48
|
resolveImport(item.node()).then(node => {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "203.
|
|
2
|
+
export const version = "203.3.0";
|
|
@@ -59,6 +59,7 @@ function _extensionProviderToQuickInsertProvider() {
|
|
|
59
59
|
keywords: item.keywords,
|
|
60
60
|
featured: item.featured,
|
|
61
61
|
categories: item.categories,
|
|
62
|
+
isDisabledOffline: true,
|
|
62
63
|
action: function action(insert, state, source) {
|
|
63
64
|
if (typeof item.node === 'function') {
|
|
64
65
|
resolveImport(item.node()).then(function (node) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "203.
|
|
2
|
+
export var version = "203.3.0";
|
|
@@ -911,7 +911,11 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
911
911
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
912
912
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
|
|
913
913
|
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
914
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig
|
|
914
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
915
|
+
sharedState: {
|
|
916
|
+
mode: "offline" | "online";
|
|
917
|
+
};
|
|
918
|
+
}, undefined>>];
|
|
915
919
|
actions: {
|
|
916
920
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
917
921
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -920,7 +924,11 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
920
924
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
921
925
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
922
926
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
923
|
-
}, import("@atlaskit/editor-common/types").FeatureFlags
|
|
927
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
928
|
+
sharedState: {
|
|
929
|
+
mode: "offline" | "online";
|
|
930
|
+
};
|
|
931
|
+
}, undefined>>];
|
|
924
932
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
925
933
|
actions: {
|
|
926
934
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -1098,7 +1106,11 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
1098
1106
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1099
1107
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
|
|
1100
1108
|
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
1101
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig
|
|
1109
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
1110
|
+
sharedState: {
|
|
1111
|
+
mode: "offline" | "online";
|
|
1112
|
+
};
|
|
1113
|
+
}, undefined>>];
|
|
1102
1114
|
actions: {
|
|
1103
1115
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
1104
1116
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -1305,7 +1317,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
1305
1317
|
};
|
|
1306
1318
|
}, undefined>>];
|
|
1307
1319
|
actions: {
|
|
1308
|
-
getToolbarItem: ({ inviteToEditHandler, isInviteToEditButtonSelected, inviteToEditComponent, }: import("@atlaskit/editor-
|
|
1320
|
+
getToolbarItem: ({ inviteToEditHandler, isInviteToEditButtonSelected, inviteToEditComponent, }: import("@atlaskit/editor-common/collab").CollabInviteToEditProps) => JSX.Element | null;
|
|
1309
1321
|
};
|
|
1310
1322
|
}, {
|
|
1311
1323
|
collabEdit?: import("@atlaskit/editor-common/collab").CollabEditOptions | undefined;
|
|
@@ -2172,7 +2184,11 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
2172
2184
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2173
2185
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
|
|
2174
2186
|
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
2175
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig
|
|
2187
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
2188
|
+
sharedState: {
|
|
2189
|
+
mode: "offline" | "online";
|
|
2190
|
+
};
|
|
2191
|
+
}, undefined>>];
|
|
2176
2192
|
actions: {
|
|
2177
2193
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2178
2194
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -2312,7 +2328,11 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
2312
2328
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2313
2329
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
|
|
2314
2330
|
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
2315
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig
|
|
2331
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
2332
|
+
sharedState: {
|
|
2333
|
+
mode: "offline" | "online";
|
|
2334
|
+
};
|
|
2335
|
+
}, undefined>>];
|
|
2316
2336
|
actions: {
|
|
2317
2337
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2318
2338
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -3022,7 +3042,11 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
3022
3042
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3023
3043
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
|
|
3024
3044
|
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
3025
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig
|
|
3045
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
3046
|
+
sharedState: {
|
|
3047
|
+
mode: "offline" | "online";
|
|
3048
|
+
};
|
|
3049
|
+
}, undefined>>];
|
|
3026
3050
|
actions: {
|
|
3027
3051
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3028
3052
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -3031,7 +3055,11 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
3031
3055
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3032
3056
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3033
3057
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3034
|
-
}, import("@atlaskit/editor-common/types").FeatureFlags
|
|
3058
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
3059
|
+
sharedState: {
|
|
3060
|
+
mode: "offline" | "online";
|
|
3061
|
+
};
|
|
3062
|
+
}, undefined>>];
|
|
3035
3063
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
3036
3064
|
actions: {
|
|
3037
3065
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -4007,7 +4035,11 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
4007
4035
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
4008
4036
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
|
|
4009
4037
|
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
4010
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig
|
|
4038
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
4039
|
+
sharedState: {
|
|
4040
|
+
mode: "offline" | "online";
|
|
4041
|
+
};
|
|
4042
|
+
}, undefined>>];
|
|
4011
4043
|
actions: {
|
|
4012
4044
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
4013
4045
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -4016,7 +4048,11 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
4016
4048
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4017
4049
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4018
4050
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4019
|
-
}, import("@atlaskit/editor-common/types").FeatureFlags
|
|
4051
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
4052
|
+
sharedState: {
|
|
4053
|
+
mode: "offline" | "online";
|
|
4054
|
+
};
|
|
4055
|
+
}, undefined>>];
|
|
4020
4056
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
4021
4057
|
actions: {
|
|
4022
4058
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -4518,7 +4554,11 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
4518
4554
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
4519
4555
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
|
|
4520
4556
|
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
4521
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig
|
|
4557
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
4558
|
+
sharedState: {
|
|
4559
|
+
mode: "offline" | "online";
|
|
4560
|
+
};
|
|
4561
|
+
}, undefined>>];
|
|
4522
4562
|
actions: {
|
|
4523
4563
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
4524
4564
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -4527,7 +4567,11 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
4527
4567
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4528
4568
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4529
4569
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4530
|
-
}, import("@atlaskit/editor-common/types").FeatureFlags
|
|
4570
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
4571
|
+
sharedState: {
|
|
4572
|
+
mode: "offline" | "online";
|
|
4573
|
+
};
|
|
4574
|
+
}, undefined>>];
|
|
4531
4575
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
4532
4576
|
actions: {
|
|
4533
4577
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -4654,7 +4698,11 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
4654
4698
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
4655
4699
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
|
|
4656
4700
|
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
4657
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig
|
|
4701
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
4702
|
+
sharedState: {
|
|
4703
|
+
mode: "offline" | "online";
|
|
4704
|
+
};
|
|
4705
|
+
}, undefined>>];
|
|
4658
4706
|
actions: {
|
|
4659
4707
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
4660
4708
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -5842,7 +5890,11 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
5842
5890
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
5843
5891
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
|
|
5844
5892
|
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
5845
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig
|
|
5893
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
5894
|
+
sharedState: {
|
|
5895
|
+
mode: "offline" | "online";
|
|
5896
|
+
};
|
|
5897
|
+
}, undefined>>];
|
|
5846
5898
|
actions: {
|
|
5847
5899
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
5848
5900
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -5851,7 +5903,11 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
5851
5903
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
5852
5904
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
5853
5905
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
5854
|
-
}, import("@atlaskit/editor-common/types").FeatureFlags
|
|
5906
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
5907
|
+
sharedState: {
|
|
5908
|
+
mode: "offline" | "online";
|
|
5909
|
+
};
|
|
5910
|
+
}, undefined>>];
|
|
5855
5911
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
5856
5912
|
actions: {
|
|
5857
5913
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -7508,7 +7564,11 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
7508
7564
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
7509
7565
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
|
|
7510
7566
|
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
7511
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig
|
|
7567
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
7568
|
+
sharedState: {
|
|
7569
|
+
mode: "offline" | "online";
|
|
7570
|
+
};
|
|
7571
|
+
}, undefined>>];
|
|
7512
7572
|
actions: {
|
|
7513
7573
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
7514
7574
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -7517,7 +7577,11 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
7517
7577
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
7518
7578
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
7519
7579
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
7520
|
-
}, import("@atlaskit/editor-common/types").FeatureFlags
|
|
7580
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
7581
|
+
sharedState: {
|
|
7582
|
+
mode: "offline" | "online";
|
|
7583
|
+
};
|
|
7584
|
+
}, undefined>>];
|
|
7521
7585
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
7522
7586
|
actions: {
|
|
7523
7587
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -7695,7 +7759,11 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
7695
7759
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
7696
7760
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
|
|
7697
7761
|
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
7698
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig
|
|
7762
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
7763
|
+
sharedState: {
|
|
7764
|
+
mode: "offline" | "online";
|
|
7765
|
+
};
|
|
7766
|
+
}, undefined>>];
|
|
7699
7767
|
actions: {
|
|
7700
7768
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
7701
7769
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -881,7 +881,11 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
881
881
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
882
882
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
|
|
883
883
|
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
884
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig
|
|
884
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
885
|
+
sharedState: {
|
|
886
|
+
mode: "offline" | "online";
|
|
887
|
+
};
|
|
888
|
+
}, undefined>>];
|
|
885
889
|
actions: {
|
|
886
890
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
887
891
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -890,7 +894,11 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
890
894
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
891
895
|
pluginConfiguration: FeatureFlags;
|
|
892
896
|
sharedState: FeatureFlags;
|
|
893
|
-
}, FeatureFlags
|
|
897
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
898
|
+
sharedState: {
|
|
899
|
+
mode: "offline" | "online";
|
|
900
|
+
};
|
|
901
|
+
}, undefined>>];
|
|
894
902
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
895
903
|
actions: {
|
|
896
904
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -2547,7 +2555,11 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2547
2555
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2548
2556
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
|
|
2549
2557
|
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
2550
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig
|
|
2558
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
2559
|
+
sharedState: {
|
|
2560
|
+
mode: "offline" | "online";
|
|
2561
|
+
};
|
|
2562
|
+
}, undefined>>];
|
|
2551
2563
|
actions: {
|
|
2552
2564
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2553
2565
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -2556,7 +2568,11 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2556
2568
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2557
2569
|
pluginConfiguration: FeatureFlags;
|
|
2558
2570
|
sharedState: FeatureFlags;
|
|
2559
|
-
}, FeatureFlags
|
|
2571
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
2572
|
+
sharedState: {
|
|
2573
|
+
mode: "offline" | "online";
|
|
2574
|
+
};
|
|
2575
|
+
}, undefined>>];
|
|
2560
2576
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
2561
2577
|
actions: {
|
|
2562
2578
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -2734,7 +2750,11 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2734
2750
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2735
2751
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
|
|
2736
2752
|
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
2737
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig
|
|
2753
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
2754
|
+
sharedState: {
|
|
2755
|
+
mode: "offline" | "online";
|
|
2756
|
+
};
|
|
2757
|
+
}, undefined>>];
|
|
2738
2758
|
actions: {
|
|
2739
2759
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2740
2760
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -3677,7 +3697,11 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3677
3697
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3678
3698
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
|
|
3679
3699
|
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
3680
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig
|
|
3700
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
3701
|
+
sharedState: {
|
|
3702
|
+
mode: "offline" | "online";
|
|
3703
|
+
};
|
|
3704
|
+
}, undefined>>];
|
|
3681
3705
|
actions: {
|
|
3682
3706
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3683
3707
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -3686,7 +3710,11 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3686
3710
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3687
3711
|
pluginConfiguration: FeatureFlags;
|
|
3688
3712
|
sharedState: FeatureFlags;
|
|
3689
|
-
}, FeatureFlags
|
|
3713
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
3714
|
+
sharedState: {
|
|
3715
|
+
mode: "offline" | "online";
|
|
3716
|
+
};
|
|
3717
|
+
}, undefined>>];
|
|
3690
3718
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
3691
3719
|
actions: {
|
|
3692
3720
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -5343,7 +5371,11 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5343
5371
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
5344
5372
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
|
|
5345
5373
|
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
5346
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig
|
|
5374
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
5375
|
+
sharedState: {
|
|
5376
|
+
mode: "offline" | "online";
|
|
5377
|
+
};
|
|
5378
|
+
}, undefined>>];
|
|
5347
5379
|
actions: {
|
|
5348
5380
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
5349
5381
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -5352,7 +5384,11 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5352
5384
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
5353
5385
|
pluginConfiguration: FeatureFlags;
|
|
5354
5386
|
sharedState: FeatureFlags;
|
|
5355
|
-
}, FeatureFlags
|
|
5387
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
5388
|
+
sharedState: {
|
|
5389
|
+
mode: "offline" | "online";
|
|
5390
|
+
};
|
|
5391
|
+
}, undefined>>];
|
|
5356
5392
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
5357
5393
|
actions: {
|
|
5358
5394
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -5530,7 +5566,11 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5530
5566
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
5531
5567
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
|
|
5532
5568
|
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
5533
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig
|
|
5569
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
5570
|
+
sharedState: {
|
|
5571
|
+
mode: "offline" | "online";
|
|
5572
|
+
};
|
|
5573
|
+
}, undefined>>];
|
|
5534
5574
|
actions: {
|
|
5535
5575
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
5536
5576
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|