@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
|
@@ -963,7 +963,11 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
963
963
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
964
964
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
|
|
965
965
|
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
966
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig
|
|
966
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
967
|
+
sharedState: {
|
|
968
|
+
mode: "offline" | "online";
|
|
969
|
+
};
|
|
970
|
+
}, undefined>>];
|
|
967
971
|
actions: {
|
|
968
972
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
969
973
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -972,7 +976,11 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
972
976
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
973
977
|
pluginConfiguration: FeatureFlags;
|
|
974
978
|
sharedState: FeatureFlags;
|
|
975
|
-
}, FeatureFlags
|
|
979
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
980
|
+
sharedState: {
|
|
981
|
+
mode: "offline" | "online";
|
|
982
|
+
};
|
|
983
|
+
}, undefined>>];
|
|
976
984
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
977
985
|
actions: {
|
|
978
986
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -1150,7 +1158,11 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1150
1158
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1151
1159
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
|
|
1152
1160
|
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
1153
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig
|
|
1161
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
1162
|
+
sharedState: {
|
|
1163
|
+
mode: "offline" | "online";
|
|
1164
|
+
};
|
|
1165
|
+
}, undefined>>];
|
|
1154
1166
|
actions: {
|
|
1155
1167
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
1156
1168
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -2224,7 +2236,11 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
2224
2236
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2225
2237
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
|
|
2226
2238
|
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
2227
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig
|
|
2239
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
2240
|
+
sharedState: {
|
|
2241
|
+
mode: "offline" | "online";
|
|
2242
|
+
};
|
|
2243
|
+
}, undefined>>];
|
|
2228
2244
|
actions: {
|
|
2229
2245
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2230
2246
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -2364,7 +2380,11 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
2364
2380
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2365
2381
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
|
|
2366
2382
|
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
2367
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig
|
|
2383
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
2384
|
+
sharedState: {
|
|
2385
|
+
mode: "offline" | "online";
|
|
2386
|
+
};
|
|
2387
|
+
}, undefined>>];
|
|
2368
2388
|
actions: {
|
|
2369
2389
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2370
2390
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -3074,7 +3094,11 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
3074
3094
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3075
3095
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
|
|
3076
3096
|
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
3077
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig
|
|
3097
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
3098
|
+
sharedState: {
|
|
3099
|
+
mode: "offline" | "online";
|
|
3100
|
+
};
|
|
3101
|
+
}, undefined>>];
|
|
3078
3102
|
actions: {
|
|
3079
3103
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3080
3104
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -3083,7 +3107,11 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
3083
3107
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3084
3108
|
pluginConfiguration: FeatureFlags;
|
|
3085
3109
|
sharedState: FeatureFlags;
|
|
3086
|
-
}, FeatureFlags
|
|
3110
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
3111
|
+
sharedState: {
|
|
3112
|
+
mode: "offline" | "online";
|
|
3113
|
+
};
|
|
3114
|
+
}, undefined>>];
|
|
3087
3115
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
3088
3116
|
actions: {
|
|
3089
3117
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -4059,7 +4087,11 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
4059
4087
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
4060
4088
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
|
|
4061
4089
|
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
4062
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig
|
|
4090
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
4091
|
+
sharedState: {
|
|
4092
|
+
mode: "offline" | "online";
|
|
4093
|
+
};
|
|
4094
|
+
}, undefined>>];
|
|
4063
4095
|
actions: {
|
|
4064
4096
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
4065
4097
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -4068,7 +4100,11 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
4068
4100
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4069
4101
|
pluginConfiguration: FeatureFlags;
|
|
4070
4102
|
sharedState: FeatureFlags;
|
|
4071
|
-
}, FeatureFlags
|
|
4103
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
4104
|
+
sharedState: {
|
|
4105
|
+
mode: "offline" | "online";
|
|
4106
|
+
};
|
|
4107
|
+
}, undefined>>];
|
|
4072
4108
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
4073
4109
|
actions: {
|
|
4074
4110
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -4570,7 +4606,11 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
4570
4606
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
4571
4607
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
|
|
4572
4608
|
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
4573
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig
|
|
4609
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
4610
|
+
sharedState: {
|
|
4611
|
+
mode: "offline" | "online";
|
|
4612
|
+
};
|
|
4613
|
+
}, undefined>>];
|
|
4574
4614
|
actions: {
|
|
4575
4615
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
4576
4616
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -4579,7 +4619,11 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
4579
4619
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4580
4620
|
pluginConfiguration: FeatureFlags;
|
|
4581
4621
|
sharedState: FeatureFlags;
|
|
4582
|
-
}, FeatureFlags
|
|
4622
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
4623
|
+
sharedState: {
|
|
4624
|
+
mode: "offline" | "online";
|
|
4625
|
+
};
|
|
4626
|
+
}, undefined>>];
|
|
4583
4627
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
4584
4628
|
actions: {
|
|
4585
4629
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -4706,7 +4750,11 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
4706
4750
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
4707
4751
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
|
|
4708
4752
|
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
4709
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig
|
|
4753
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
4754
|
+
sharedState: {
|
|
4755
|
+
mode: "offline" | "online";
|
|
4756
|
+
};
|
|
4757
|
+
}, undefined>>];
|
|
4710
4758
|
actions: {
|
|
4711
4759
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
4712
4760
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -5894,7 +5942,11 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
5894
5942
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
5895
5943
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
|
|
5896
5944
|
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
5897
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig
|
|
5945
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
5946
|
+
sharedState: {
|
|
5947
|
+
mode: "offline" | "online";
|
|
5948
|
+
};
|
|
5949
|
+
}, undefined>>];
|
|
5898
5950
|
actions: {
|
|
5899
5951
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
5900
5952
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -5903,7 +5955,11 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
5903
5955
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
5904
5956
|
pluginConfiguration: FeatureFlags;
|
|
5905
5957
|
sharedState: FeatureFlags;
|
|
5906
|
-
}, FeatureFlags
|
|
5958
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
5959
|
+
sharedState: {
|
|
5960
|
+
mode: "offline" | "online";
|
|
5961
|
+
};
|
|
5962
|
+
}, undefined>>];
|
|
5907
5963
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
5908
5964
|
actions: {
|
|
5909
5965
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -7560,7 +7616,11 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
7560
7616
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
7561
7617
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
|
|
7562
7618
|
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
7563
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig
|
|
7619
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
7620
|
+
sharedState: {
|
|
7621
|
+
mode: "offline" | "online";
|
|
7622
|
+
};
|
|
7623
|
+
}, undefined>>];
|
|
7564
7624
|
actions: {
|
|
7565
7625
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
7566
7626
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -7569,7 +7629,11 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
7569
7629
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
7570
7630
|
pluginConfiguration: FeatureFlags;
|
|
7571
7631
|
sharedState: FeatureFlags;
|
|
7572
|
-
}, FeatureFlags
|
|
7632
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
7633
|
+
sharedState: {
|
|
7634
|
+
mode: "offline" | "online";
|
|
7635
|
+
};
|
|
7636
|
+
}, undefined>>];
|
|
7573
7637
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
7574
7638
|
actions: {
|
|
7575
7639
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -7747,7 +7811,11 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
7747
7811
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
7748
7812
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
|
|
7749
7813
|
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
7750
|
-
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig
|
|
7814
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
7815
|
+
sharedState: {
|
|
7816
|
+
mode: "offline" | "online";
|
|
7817
|
+
};
|
|
7818
|
+
}, undefined>>];
|
|
7751
7819
|
actions: {
|
|
7752
7820
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
7753
7821
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -911,7 +911,11 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
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 default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
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 default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
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 default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
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 default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
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 default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
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 default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
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 default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
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 default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
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 default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
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 default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
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 default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
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 default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
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 default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
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 default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
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 default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
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 default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
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 default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
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;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
2
|
-
import type { ToolbarUIComponentFactory, UIComponentFactory } from '@atlaskit/editor-common/types';
|
|
2
|
+
import type { ToolbarUIComponentFactory, UIComponentFactory, ReactHookFactory } from '@atlaskit/editor-common/types';
|
|
3
3
|
import type { MenuItem } from '@atlaskit/editor-common/ui-menu';
|
|
4
4
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
5
5
|
import type { OnEditorViewStateUpdated } from '../create-editor/get-plugins';
|
|
@@ -7,6 +7,7 @@ export interface EditorInstance {
|
|
|
7
7
|
editorView: EditorView;
|
|
8
8
|
eventDispatcher: EventDispatcher;
|
|
9
9
|
contentComponents: UIComponentFactory[];
|
|
10
|
+
pluginHooks: ReactHookFactory[];
|
|
10
11
|
primaryToolbarComponents: ToolbarUIComponentFactory[];
|
|
11
12
|
secondaryToolbarComponents: UIComponentFactory[];
|
|
12
13
|
onEditorViewStateUpdatedCallbacks: {
|