@atlaskit/editor-core 195.6.2 → 195.8.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 +25 -0
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/ui/Appearance/FullPage/FullPage.js +1 -0
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea.js +64 -60
- package/dist/cjs/ui/ContextPanel/deprecated.js +283 -0
- package/dist/cjs/ui/ContextPanel/index.js +26 -133
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/index.js +6 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPage.js +1 -0
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea.js +4 -1
- package/dist/es2019/ui/ContextPanel/deprecated.js +258 -0
- package/dist/es2019/ui/ContextPanel/index.js +24 -133
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/index.js +6 -1
- package/dist/esm/ui/Appearance/FullPage/FullPage.js +1 -0
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea.js +64 -60
- package/dist/esm/ui/ContextPanel/deprecated.js +277 -0
- package/dist/esm/ui/ContextPanel/index.js +24 -132
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-universal-preset.d.ts +81 -0
- package/dist/types/index.d.ts +6 -1
- package/dist/types/presets/default.d.ts +68 -0
- package/dist/types/presets/universal.d.ts +83 -1
- package/dist/types/presets/useUniversalPreset.d.ts +81 -0
- package/dist/types/ui/Appearance/FullPage/FullPageContentArea.d.ts +3 -1
- package/dist/types/ui/ContextPanel/deprecated.d.ts +44 -0
- package/dist/types/ui/ContextPanel/index.d.ts +5 -9
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +81 -0
- package/dist/types-ts4.5/index.d.ts +6 -1
- package/dist/types-ts4.5/presets/default.d.ts +68 -0
- package/dist/types-ts4.5/presets/universal.d.ts +83 -1
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +81 -0
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageContentArea.d.ts +5 -1
- package/dist/types-ts4.5/ui/ContextPanel/deprecated.d.ts +44 -0
- package/dist/types-ts4.5/ui/ContextPanel/index.d.ts +7 -9
- package/package.json +7 -12
|
@@ -92,6 +92,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
92
92
|
actions: {
|
|
93
93
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
94
94
|
};
|
|
95
|
+
sharedState: {
|
|
96
|
+
contents: import("react").ReactNode[] | undefined;
|
|
97
|
+
} | undefined;
|
|
95
98
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
96
99
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
97
100
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -121,6 +124,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
121
124
|
actions: {
|
|
122
125
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
123
126
|
};
|
|
127
|
+
sharedState: {
|
|
128
|
+
contents: import("react").ReactNode[] | undefined;
|
|
129
|
+
} | undefined;
|
|
124
130
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
125
131
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined;
|
|
126
132
|
sharedState: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration | undefined;
|
|
@@ -307,6 +313,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
307
313
|
actions: {
|
|
308
314
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
309
315
|
};
|
|
316
|
+
sharedState: {
|
|
317
|
+
contents: import("react").ReactNode[] | undefined;
|
|
318
|
+
} | undefined;
|
|
310
319
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
311
320
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
312
321
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -336,6 +345,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
336
345
|
actions: {
|
|
337
346
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
338
347
|
};
|
|
348
|
+
sharedState: {
|
|
349
|
+
contents: import("react").ReactNode[] | undefined;
|
|
350
|
+
} | undefined;
|
|
339
351
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
340
352
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined;
|
|
341
353
|
sharedState: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration | undefined;
|
|
@@ -760,6 +772,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
760
772
|
actions: {
|
|
761
773
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
762
774
|
};
|
|
775
|
+
sharedState: {
|
|
776
|
+
contents: import("react").ReactNode[] | undefined;
|
|
777
|
+
} | undefined;
|
|
763
778
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
764
779
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
765
780
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -789,6 +804,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
789
804
|
actions: {
|
|
790
805
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
791
806
|
};
|
|
807
|
+
sharedState: {
|
|
808
|
+
contents: import("react").ReactNode[] | undefined;
|
|
809
|
+
} | undefined;
|
|
792
810
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
793
811
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined;
|
|
794
812
|
sharedState: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration | undefined;
|
|
@@ -1202,6 +1220,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1202
1220
|
actions: {
|
|
1203
1221
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1204
1222
|
};
|
|
1223
|
+
sharedState: {
|
|
1224
|
+
contents: import("react").ReactNode[] | undefined;
|
|
1225
|
+
} | undefined;
|
|
1205
1226
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
1206
1227
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
1207
1228
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -1231,6 +1252,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1231
1252
|
actions: {
|
|
1232
1253
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1233
1254
|
};
|
|
1255
|
+
sharedState: {
|
|
1256
|
+
contents: import("react").ReactNode[] | undefined;
|
|
1257
|
+
} | undefined;
|
|
1234
1258
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
1235
1259
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined;
|
|
1236
1260
|
sharedState: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration | undefined;
|
|
@@ -1415,6 +1439,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1415
1439
|
actions: {
|
|
1416
1440
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1417
1441
|
};
|
|
1442
|
+
sharedState: {
|
|
1443
|
+
contents: import("react").ReactNode[] | undefined;
|
|
1444
|
+
} | undefined;
|
|
1418
1445
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
1419
1446
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
1420
1447
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -1444,6 +1471,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1444
1471
|
actions: {
|
|
1445
1472
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1446
1473
|
};
|
|
1474
|
+
sharedState: {
|
|
1475
|
+
contents: import("react").ReactNode[] | undefined;
|
|
1476
|
+
} | undefined;
|
|
1447
1477
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
1448
1478
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined;
|
|
1449
1479
|
sharedState: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration | undefined;
|
|
@@ -1674,6 +1704,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1674
1704
|
actions: {
|
|
1675
1705
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1676
1706
|
};
|
|
1707
|
+
sharedState: {
|
|
1708
|
+
contents: import("react").ReactNode[] | undefined;
|
|
1709
|
+
} | undefined;
|
|
1677
1710
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
1678
1711
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined;
|
|
1679
1712
|
sharedState: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration | undefined;
|
|
@@ -1849,6 +1882,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1849
1882
|
actions: {
|
|
1850
1883
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
1851
1884
|
announceMentionsInsertion: (mentionIds: {
|
|
1885
|
+
type: "added" | "deleted";
|
|
1852
1886
|
localId: string;
|
|
1853
1887
|
id: string;
|
|
1854
1888
|
}[]) => void;
|
|
@@ -1921,6 +1955,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
1921
1955
|
actions: {
|
|
1922
1956
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1923
1957
|
};
|
|
1958
|
+
sharedState: {
|
|
1959
|
+
contents: import("react").ReactNode[] | undefined;
|
|
1960
|
+
} | undefined;
|
|
1924
1961
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
1925
1962
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
1926
1963
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -1950,6 +1987,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
1950
1987
|
actions: {
|
|
1951
1988
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1952
1989
|
};
|
|
1990
|
+
sharedState: {
|
|
1991
|
+
contents: import("react").ReactNode[] | undefined;
|
|
1992
|
+
} | undefined;
|
|
1953
1993
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
1954
1994
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined;
|
|
1955
1995
|
sharedState: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration | undefined;
|
|
@@ -2136,6 +2176,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
2136
2176
|
actions: {
|
|
2137
2177
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
2138
2178
|
};
|
|
2179
|
+
sharedState: {
|
|
2180
|
+
contents: import("react").ReactNode[] | undefined;
|
|
2181
|
+
} | undefined;
|
|
2139
2182
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
2140
2183
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
2141
2184
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -2165,6 +2208,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
2165
2208
|
actions: {
|
|
2166
2209
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
2167
2210
|
};
|
|
2211
|
+
sharedState: {
|
|
2212
|
+
contents: import("react").ReactNode[] | undefined;
|
|
2213
|
+
} | undefined;
|
|
2168
2214
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
2169
2215
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined;
|
|
2170
2216
|
sharedState: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration | undefined;
|
|
@@ -2589,6 +2635,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
2589
2635
|
actions: {
|
|
2590
2636
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
2591
2637
|
};
|
|
2638
|
+
sharedState: {
|
|
2639
|
+
contents: import("react").ReactNode[] | undefined;
|
|
2640
|
+
} | undefined;
|
|
2592
2641
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
2593
2642
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
2594
2643
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -2618,6 +2667,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
2618
2667
|
actions: {
|
|
2619
2668
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
2620
2669
|
};
|
|
2670
|
+
sharedState: {
|
|
2671
|
+
contents: import("react").ReactNode[] | undefined;
|
|
2672
|
+
} | undefined;
|
|
2621
2673
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
2622
2674
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined;
|
|
2623
2675
|
sharedState: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration | undefined;
|
|
@@ -3031,6 +3083,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3031
3083
|
actions: {
|
|
3032
3084
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
3033
3085
|
};
|
|
3086
|
+
sharedState: {
|
|
3087
|
+
contents: import("react").ReactNode[] | undefined;
|
|
3088
|
+
} | undefined;
|
|
3034
3089
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
3035
3090
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
3036
3091
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -3060,6 +3115,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3060
3115
|
actions: {
|
|
3061
3116
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
3062
3117
|
};
|
|
3118
|
+
sharedState: {
|
|
3119
|
+
contents: import("react").ReactNode[] | undefined;
|
|
3120
|
+
} | undefined;
|
|
3063
3121
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
3064
3122
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined;
|
|
3065
3123
|
sharedState: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration | undefined;
|
|
@@ -3244,6 +3302,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3244
3302
|
actions: {
|
|
3245
3303
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
3246
3304
|
};
|
|
3305
|
+
sharedState: {
|
|
3306
|
+
contents: import("react").ReactNode[] | undefined;
|
|
3307
|
+
} | undefined;
|
|
3247
3308
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
3248
3309
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
3249
3310
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -3273,6 +3334,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3273
3334
|
actions: {
|
|
3274
3335
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
3275
3336
|
};
|
|
3337
|
+
sharedState: {
|
|
3338
|
+
contents: import("react").ReactNode[] | undefined;
|
|
3339
|
+
} | undefined;
|
|
3276
3340
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
3277
3341
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined;
|
|
3278
3342
|
sharedState: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration | undefined;
|
|
@@ -3503,6 +3567,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3503
3567
|
actions: {
|
|
3504
3568
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
3505
3569
|
};
|
|
3570
|
+
sharedState: {
|
|
3571
|
+
contents: import("react").ReactNode[] | undefined;
|
|
3572
|
+
} | undefined;
|
|
3506
3573
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
3507
3574
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-identifier").PluginConfiguration | undefined;
|
|
3508
3575
|
sharedState: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration | undefined;
|
|
@@ -3678,6 +3745,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3678
3745
|
actions: {
|
|
3679
3746
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
3680
3747
|
announceMentionsInsertion: (mentionIds: {
|
|
3748
|
+
type: "added" | "deleted";
|
|
3681
3749
|
localId: string;
|
|
3682
3750
|
id: string;
|
|
3683
3751
|
}[]) => void;
|
|
@@ -12,7 +12,8 @@ type UniversalPresetProps = DefaultPresetPluginOptions & EditorSharedPropsWithPl
|
|
|
12
12
|
*/
|
|
13
13
|
export type InitialPluginConfiguration = {
|
|
14
14
|
mentionsPlugin?: {
|
|
15
|
-
|
|
15
|
+
handleMentionsChanged?: (mentionChanges: {
|
|
16
|
+
type: 'added' | 'deleted';
|
|
16
17
|
localId: string;
|
|
17
18
|
id: string;
|
|
18
19
|
}[]) => void;
|
|
@@ -154,6 +155,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
154
155
|
actions: {
|
|
155
156
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
156
157
|
};
|
|
158
|
+
sharedState: {
|
|
159
|
+
contents: import("react").ReactNode[] | undefined;
|
|
160
|
+
} | undefined;
|
|
157
161
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
158
162
|
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
159
163
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -183,6 +187,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
183
187
|
actions: {
|
|
184
188
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
185
189
|
};
|
|
190
|
+
sharedState: {
|
|
191
|
+
contents: import("react").ReactNode[] | undefined;
|
|
192
|
+
} | undefined;
|
|
186
193
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
187
194
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
188
195
|
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
@@ -367,6 +374,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
367
374
|
actions: {
|
|
368
375
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
369
376
|
};
|
|
377
|
+
sharedState: {
|
|
378
|
+
contents: import("react").ReactNode[] | undefined;
|
|
379
|
+
} | undefined;
|
|
370
380
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
371
381
|
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
372
382
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -396,6 +406,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
396
406
|
actions: {
|
|
397
407
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
398
408
|
};
|
|
409
|
+
sharedState: {
|
|
410
|
+
contents: import("react").ReactNode[] | undefined;
|
|
411
|
+
} | undefined;
|
|
399
412
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
400
413
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
401
414
|
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
@@ -626,6 +639,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
626
639
|
actions: {
|
|
627
640
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
628
641
|
};
|
|
642
|
+
sharedState: {
|
|
643
|
+
contents: import("react").ReactNode[] | undefined;
|
|
644
|
+
} | undefined;
|
|
629
645
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
630
646
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
631
647
|
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
@@ -801,6 +817,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
801
817
|
actions: {
|
|
802
818
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
803
819
|
announceMentionsInsertion: (mentionIds: {
|
|
820
|
+
type: "added" | "deleted";
|
|
804
821
|
localId: string;
|
|
805
822
|
id: string;
|
|
806
823
|
}[]) => void;
|
|
@@ -1211,6 +1228,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1211
1228
|
actions: {
|
|
1212
1229
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1213
1230
|
};
|
|
1231
|
+
sharedState: {
|
|
1232
|
+
contents: import("react").ReactNode[] | undefined;
|
|
1233
|
+
} | undefined;
|
|
1214
1234
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
1215
1235
|
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
1216
1236
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -1240,6 +1260,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1240
1260
|
actions: {
|
|
1241
1261
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1242
1262
|
};
|
|
1263
|
+
sharedState: {
|
|
1264
|
+
contents: import("react").ReactNode[] | undefined;
|
|
1265
|
+
} | undefined;
|
|
1243
1266
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
1244
1267
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
1245
1268
|
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
@@ -1566,6 +1589,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1566
1589
|
actions: {
|
|
1567
1590
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1568
1591
|
};
|
|
1592
|
+
sharedState: {
|
|
1593
|
+
contents: import("react").ReactNode[] | undefined;
|
|
1594
|
+
} | undefined;
|
|
1569
1595
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
1570
1596
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
1571
1597
|
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
@@ -1589,6 +1615,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1589
1615
|
actions: {
|
|
1590
1616
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1591
1617
|
};
|
|
1618
|
+
sharedState: {
|
|
1619
|
+
contents: import("react").ReactNode[] | undefined;
|
|
1620
|
+
} | undefined;
|
|
1592
1621
|
}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"panel", {
|
|
1593
1622
|
pluginConfiguration: import("@atlaskit/editor-plugins/panel").PanelPluginOptions | undefined;
|
|
1594
1623
|
dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
@@ -1733,6 +1762,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1733
1762
|
actions: {
|
|
1734
1763
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1735
1764
|
};
|
|
1765
|
+
sharedState: {
|
|
1766
|
+
contents: import("react").ReactNode[] | undefined;
|
|
1767
|
+
} | undefined;
|
|
1736
1768
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
1737
1769
|
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
1738
1770
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -1762,6 +1794,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1762
1794
|
actions: {
|
|
1763
1795
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1764
1796
|
};
|
|
1797
|
+
sharedState: {
|
|
1798
|
+
contents: import("react").ReactNode[] | undefined;
|
|
1799
|
+
} | undefined;
|
|
1765
1800
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
1766
1801
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
1767
1802
|
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
@@ -2353,6 +2388,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
2353
2388
|
actions: {
|
|
2354
2389
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
2355
2390
|
announceMentionsInsertion: (mentionIds: {
|
|
2391
|
+
type: "added" | "deleted";
|
|
2356
2392
|
localId: string;
|
|
2357
2393
|
id: string;
|
|
2358
2394
|
}[]) => void;
|
|
@@ -2457,6 +2493,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
2457
2493
|
actions: {
|
|
2458
2494
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
2459
2495
|
};
|
|
2496
|
+
sharedState: {
|
|
2497
|
+
contents: import("react").ReactNode[] | undefined;
|
|
2498
|
+
} | undefined;
|
|
2460
2499
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
2461
2500
|
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
2462
2501
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -2486,6 +2525,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
2486
2525
|
actions: {
|
|
2487
2526
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
2488
2527
|
};
|
|
2528
|
+
sharedState: {
|
|
2529
|
+
contents: import("react").ReactNode[] | undefined;
|
|
2530
|
+
} | undefined;
|
|
2489
2531
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
2490
2532
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
2491
2533
|
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
@@ -2760,6 +2802,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
2760
2802
|
actions: {
|
|
2761
2803
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
2762
2804
|
};
|
|
2805
|
+
sharedState: {
|
|
2806
|
+
contents: import("react").ReactNode[] | undefined;
|
|
2807
|
+
} | undefined;
|
|
2763
2808
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
2764
2809
|
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
2765
2810
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -2789,6 +2834,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
2789
2834
|
actions: {
|
|
2790
2835
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
2791
2836
|
};
|
|
2837
|
+
sharedState: {
|
|
2838
|
+
contents: import("react").ReactNode[] | undefined;
|
|
2839
|
+
} | undefined;
|
|
2792
2840
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
2793
2841
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
2794
2842
|
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
@@ -3361,6 +3409,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
3361
3409
|
actions: {
|
|
3362
3410
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
3363
3411
|
};
|
|
3412
|
+
sharedState: {
|
|
3413
|
+
contents: import("react").ReactNode[] | undefined;
|
|
3414
|
+
} | undefined;
|
|
3364
3415
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
3365
3416
|
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
3366
3417
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -3390,6 +3441,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
3390
3441
|
actions: {
|
|
3391
3442
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
3392
3443
|
};
|
|
3444
|
+
sharedState: {
|
|
3445
|
+
contents: import("react").ReactNode[] | undefined;
|
|
3446
|
+
} | undefined;
|
|
3393
3447
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
3394
3448
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
3395
3449
|
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
@@ -3576,6 +3630,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
3576
3630
|
actions: {
|
|
3577
3631
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
3578
3632
|
};
|
|
3633
|
+
sharedState: {
|
|
3634
|
+
contents: import("react").ReactNode[] | undefined;
|
|
3635
|
+
} | undefined;
|
|
3579
3636
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
3580
3637
|
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
3581
3638
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -3605,6 +3662,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
3605
3662
|
actions: {
|
|
3606
3663
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
3607
3664
|
};
|
|
3665
|
+
sharedState: {
|
|
3666
|
+
contents: import("react").ReactNode[] | undefined;
|
|
3667
|
+
} | undefined;
|
|
3608
3668
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
3609
3669
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
3610
3670
|
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
@@ -4029,6 +4089,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
4029
4089
|
actions: {
|
|
4030
4090
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
4031
4091
|
};
|
|
4092
|
+
sharedState: {
|
|
4093
|
+
contents: import("react").ReactNode[] | undefined;
|
|
4094
|
+
} | undefined;
|
|
4032
4095
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
4033
4096
|
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
4034
4097
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -4058,6 +4121,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
4058
4121
|
actions: {
|
|
4059
4122
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
4060
4123
|
};
|
|
4124
|
+
sharedState: {
|
|
4125
|
+
contents: import("react").ReactNode[] | undefined;
|
|
4126
|
+
} | undefined;
|
|
4061
4127
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
4062
4128
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
4063
4129
|
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
@@ -4471,6 +4537,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
4471
4537
|
actions: {
|
|
4472
4538
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
4473
4539
|
};
|
|
4540
|
+
sharedState: {
|
|
4541
|
+
contents: import("react").ReactNode[] | undefined;
|
|
4542
|
+
} | undefined;
|
|
4474
4543
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
4475
4544
|
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
4476
4545
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -4500,6 +4569,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
4500
4569
|
actions: {
|
|
4501
4570
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
4502
4571
|
};
|
|
4572
|
+
sharedState: {
|
|
4573
|
+
contents: import("react").ReactNode[] | undefined;
|
|
4574
|
+
} | undefined;
|
|
4503
4575
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
4504
4576
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
4505
4577
|
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
@@ -4684,6 +4756,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
4684
4756
|
actions: {
|
|
4685
4757
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
4686
4758
|
};
|
|
4759
|
+
sharedState: {
|
|
4760
|
+
contents: import("react").ReactNode[] | undefined;
|
|
4761
|
+
} | undefined;
|
|
4687
4762
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
4688
4763
|
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
4689
4764
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -4713,6 +4788,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
4713
4788
|
actions: {
|
|
4714
4789
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
4715
4790
|
};
|
|
4791
|
+
sharedState: {
|
|
4792
|
+
contents: import("react").ReactNode[] | undefined;
|
|
4793
|
+
} | undefined;
|
|
4716
4794
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
4717
4795
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
4718
4796
|
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
@@ -4943,6 +5021,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
4943
5021
|
actions: {
|
|
4944
5022
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
4945
5023
|
};
|
|
5024
|
+
sharedState: {
|
|
5025
|
+
contents: import("react").ReactNode[] | undefined;
|
|
5026
|
+
} | undefined;
|
|
4946
5027
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
4947
5028
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
4948
5029
|
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
@@ -5118,6 +5199,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
5118
5199
|
actions: {
|
|
5119
5200
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
5120
5201
|
announceMentionsInsertion: (mentionIds: {
|
|
5202
|
+
type: "added" | "deleted";
|
|
5121
5203
|
localId: string;
|
|
5122
5204
|
id: string;
|
|
5123
5205
|
}[]) => void;
|