@atlaskit/editor-core 203.2.1 → 203.2.3

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.
Files changed (35) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/cjs/composable-editor/core-editor.js +2 -0
  3. package/dist/cjs/composable-editor/editor-internal.js +2 -3
  4. package/dist/cjs/composable-editor/temp_useTrackDangerousPlugins.js +35 -0
  5. package/dist/cjs/create-editor/ReactEditorViewNext.js +1 -1
  6. package/dist/cjs/ui/ContentStyles/layout.js +1 -1
  7. package/dist/cjs/version-wrapper.js +1 -1
  8. package/dist/es2019/composable-editor/core-editor.js +2 -0
  9. package/dist/es2019/composable-editor/editor-internal.js +2 -3
  10. package/dist/es2019/composable-editor/temp_useTrackDangerousPlugins.js +27 -0
  11. package/dist/es2019/create-editor/ReactEditorViewNext.js +1 -1
  12. package/dist/es2019/ui/ContentStyles/layout.js +1 -0
  13. package/dist/es2019/version-wrapper.js +1 -1
  14. package/dist/esm/composable-editor/core-editor.js +2 -0
  15. package/dist/esm/composable-editor/editor-internal.js +2 -3
  16. package/dist/esm/composable-editor/temp_useTrackDangerousPlugins.js +29 -0
  17. package/dist/esm/create-editor/ReactEditorViewNext.js +1 -1
  18. package/dist/esm/ui/ContentStyles/layout.js +1 -1
  19. package/dist/esm/version-wrapper.js +1 -1
  20. package/dist/types/composable-editor/temp_useTrackDangerousPlugins.d.ts +3 -0
  21. package/dist/types/create-editor/create-universal-preset.d.ts +244 -19
  22. package/dist/types/presets/default.d.ts +174 -14
  23. package/dist/types/presets/universal.d.ts +244 -19
  24. package/dist/types/presets/useUniversalPreset.d.ts +244 -19
  25. package/dist/types-ts4.5/composable-editor/temp_useTrackDangerousPlugins.d.ts +3 -0
  26. package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +276 -18
  27. package/dist/types-ts4.5/presets/default.d.ts +198 -14
  28. package/dist/types-ts4.5/presets/universal.d.ts +276 -18
  29. package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +276 -18
  30. package/package.json +20 -9
  31. package/dist/cjs/nodeviews/context-adapter.js +0 -78
  32. package/dist/es2019/nodeviews/context-adapter.js +0 -48
  33. package/dist/esm/nodeviews/context-adapter.js +0 -71
  34. package/dist/types/nodeviews/context-adapter.d.ts +0 -2
  35. package/dist/types-ts4.5/nodeviews/context-adapter.d.ts +0 -2
@@ -527,7 +527,23 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
527
527
  query?: string | undefined;
528
528
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
529
529
  };
530
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
530
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
531
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
532
+ sharedState: {
533
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
534
+ isVisible: boolean;
535
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
536
+ mouseData: {
537
+ isSelecting: boolean;
538
+ };
539
+ };
540
+ actions: {
541
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
542
+ };
543
+ }, undefined>>,
544
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
545
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
546
+ }, undefined>>
531
547
  ];
532
548
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
533
549
  commands: {
@@ -557,7 +573,13 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
557
573
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
558
574
  };
559
575
  sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
560
- }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>
576
+ }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>,
577
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
578
+ sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState;
579
+ actions: {
580
+ setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
581
+ };
582
+ }, undefined>>
561
583
  ];
562
584
  sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
563
585
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
@@ -966,7 +988,23 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
966
988
  query?: string | undefined;
967
989
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
968
990
  };
969
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
991
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
992
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
993
+ sharedState: {
994
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
995
+ isVisible: boolean;
996
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
997
+ mouseData: {
998
+ isSelecting: boolean;
999
+ };
1000
+ };
1001
+ actions: {
1002
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
1003
+ };
1004
+ }, undefined>>,
1005
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
1006
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
1007
+ }, undefined>>
970
1008
  ];
971
1009
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
972
1010
  commands: {
@@ -1870,7 +1908,25 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
1870
1908
  }, import("@atlaskit/editor-common/types").FeatureFlags>>
1871
1909
  ];
1872
1910
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
1873
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
1911
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
1912
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
1913
+ actions: {
1914
+ setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
1915
+ };
1916
+ sharedState: {
1917
+ annotations: Record<string, boolean>;
1918
+ isVisible: boolean;
1919
+ bookmark: boolean;
1920
+ mouseData: {
1921
+ isSelecting: boolean;
1922
+ };
1923
+ };
1924
+ }, undefined>>,
1925
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
1926
+ sharedState: {
1927
+ mode: "edit" | "view";
1928
+ };
1929
+ }, undefined>>
1874
1930
  ];
1875
1931
  pluginConfiguration: import("@atlaskit/editor-plugin-status").StatusPluginOptions | undefined;
1876
1932
  actions: {
@@ -2265,7 +2321,23 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
2265
2321
  query?: string | undefined;
2266
2322
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
2267
2323
  };
2268
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
2324
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
2325
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
2326
+ sharedState: {
2327
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
2328
+ isVisible: boolean;
2329
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
2330
+ mouseData: {
2331
+ isSelecting: boolean;
2332
+ };
2333
+ };
2334
+ actions: {
2335
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
2336
+ };
2337
+ }, undefined>>,
2338
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
2339
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
2340
+ }, undefined>>
2269
2341
  ];
2270
2342
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
2271
2343
  commands: {
@@ -2295,7 +2367,13 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
2295
2367
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
2296
2368
  };
2297
2369
  sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
2298
- }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>
2370
+ }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>,
2371
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
2372
+ sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState;
2373
+ actions: {
2374
+ setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
2375
+ };
2376
+ }, undefined>>
2299
2377
  ];
2300
2378
  sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
2301
2379
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
@@ -2310,6 +2388,14 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
2310
2388
  removeDecoration: import("@atlaskit/editor-common/types").Command;
2311
2389
  };
2312
2390
  }, undefined>,
2391
+ import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
2392
+ pluginConfiguration: import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined;
2393
+ actions: import("@atlaskit/editor-plugin-selection").EditorSelectionAPI;
2394
+ commands: {
2395
+ displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
2396
+ };
2397
+ sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
2398
+ }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>,
2313
2399
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
2314
2400
  pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
2315
2401
  sharedState: {
@@ -2894,7 +2980,23 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
2894
2980
  query?: string | undefined;
2895
2981
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
2896
2982
  };
2897
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
2983
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
2984
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
2985
+ sharedState: {
2986
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
2987
+ isVisible: boolean;
2988
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
2989
+ mouseData: {
2990
+ isSelecting: boolean;
2991
+ };
2992
+ };
2993
+ actions: {
2994
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
2995
+ };
2996
+ }, undefined>>,
2997
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
2998
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
2999
+ }, undefined>>
2898
3000
  ];
2899
3001
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
2900
3002
  commands: {
@@ -3363,7 +3465,23 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
3363
3465
  query?: string | undefined;
3364
3466
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
3365
3467
  };
3366
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
3468
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
3469
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
3470
+ sharedState: {
3471
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
3472
+ isVisible: boolean;
3473
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
3474
+ mouseData: {
3475
+ isSelecting: boolean;
3476
+ };
3477
+ };
3478
+ actions: {
3479
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
3480
+ };
3481
+ }, undefined>>,
3482
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
3483
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
3484
+ }, undefined>>
3367
3485
  ];
3368
3486
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
3369
3487
  commands: {
@@ -3969,7 +4087,23 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
3969
4087
  query?: string | undefined;
3970
4088
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
3971
4089
  };
3972
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
4090
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
4091
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
4092
+ sharedState: {
4093
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
4094
+ isVisible: boolean;
4095
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
4096
+ mouseData: {
4097
+ isSelecting: boolean;
4098
+ };
4099
+ };
4100
+ actions: {
4101
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
4102
+ };
4103
+ }, undefined>>,
4104
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
4105
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
4106
+ }, undefined>>
3973
4107
  ];
3974
4108
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
3975
4109
  commands: {
@@ -4501,7 +4635,23 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
4501
4635
  query?: string | undefined;
4502
4636
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
4503
4637
  };
4504
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
4638
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
4639
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
4640
+ sharedState: {
4641
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
4642
+ isVisible: boolean;
4643
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
4644
+ mouseData: {
4645
+ isSelecting: boolean;
4646
+ };
4647
+ };
4648
+ actions: {
4649
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
4650
+ };
4651
+ }, undefined>>,
4652
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
4653
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
4654
+ }, undefined>>
4505
4655
  ];
4506
4656
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
4507
4657
  commands: {
@@ -5087,7 +5237,23 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
5087
5237
  query?: string | undefined;
5088
5238
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
5089
5239
  };
5090
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
5240
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
5241
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
5242
+ sharedState: {
5243
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
5244
+ isVisible: boolean;
5245
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
5246
+ mouseData: {
5247
+ isSelecting: boolean;
5248
+ };
5249
+ };
5250
+ actions: {
5251
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
5252
+ };
5253
+ }, undefined>>,
5254
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
5255
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
5256
+ }, undefined>>
5091
5257
  ];
5092
5258
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
5093
5259
  commands: {
@@ -6200,7 +6366,23 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
6200
6366
  query?: string | undefined;
6201
6367
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
6202
6368
  };
6203
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
6369
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
6370
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
6371
+ sharedState: {
6372
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
6373
+ isVisible: boolean;
6374
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
6375
+ mouseData: {
6376
+ isSelecting: boolean;
6377
+ };
6378
+ };
6379
+ actions: {
6380
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
6381
+ };
6382
+ }, undefined>>,
6383
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
6384
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
6385
+ }, undefined>>
6204
6386
  ];
6205
6387
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
6206
6388
  commands: {
@@ -6634,7 +6816,23 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
6634
6816
  query?: string | undefined;
6635
6817
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
6636
6818
  };
6637
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
6819
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
6820
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
6821
+ sharedState: {
6822
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
6823
+ isVisible: boolean;
6824
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
6825
+ mouseData: {
6826
+ isSelecting: boolean;
6827
+ };
6828
+ };
6829
+ actions: {
6830
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
6831
+ };
6832
+ }, undefined>>,
6833
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
6834
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
6835
+ }, undefined>>
6638
6836
  ];
6639
6837
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
6640
6838
  commands: {
@@ -7402,7 +7600,23 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
7402
7600
  query?: string | undefined;
7403
7601
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
7404
7602
  };
7405
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
7603
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
7604
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
7605
+ sharedState: {
7606
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
7607
+ isVisible: boolean;
7608
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
7609
+ mouseData: {
7610
+ isSelecting: boolean;
7611
+ };
7612
+ };
7613
+ actions: {
7614
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
7615
+ };
7616
+ }, undefined>>,
7617
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
7618
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
7619
+ }, undefined>>
7406
7620
  ];
7407
7621
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
7408
7622
  commands: {
@@ -7432,7 +7646,13 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
7432
7646
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
7433
7647
  };
7434
7648
  sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
7435
- }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>
7649
+ }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>,
7650
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
7651
+ sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState;
7652
+ actions: {
7653
+ setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
7654
+ };
7655
+ }, undefined>>
7436
7656
  ];
7437
7657
  sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
7438
7658
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
@@ -8126,7 +8346,23 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
8126
8346
  query?: string | undefined;
8127
8347
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
8128
8348
  };
8129
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
8349
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
8350
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
8351
+ sharedState: {
8352
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
8353
+ isVisible: boolean;
8354
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
8355
+ mouseData: {
8356
+ isSelecting: boolean;
8357
+ };
8358
+ };
8359
+ actions: {
8360
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
8361
+ };
8362
+ }, undefined>>,
8363
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
8364
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
8365
+ }, undefined>>
8130
8366
  ];
8131
8367
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
8132
8368
  commands: {
@@ -8156,7 +8392,13 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
8156
8392
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
8157
8393
  };
8158
8394
  sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
8159
- }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>
8395
+ }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>,
8396
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
8397
+ sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState;
8398
+ actions: {
8399
+ setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
8400
+ };
8401
+ }, undefined>>
8160
8402
  ];
8161
8403
  sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
8162
8404
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
@@ -8565,7 +8807,23 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
8565
8807
  query?: string | undefined;
8566
8808
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
8567
8809
  };
8568
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
8810
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
8811
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
8812
+ sharedState: {
8813
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
8814
+ isVisible: boolean;
8815
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
8816
+ mouseData: {
8817
+ isSelecting: boolean;
8818
+ };
8819
+ };
8820
+ actions: {
8821
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
8822
+ };
8823
+ }, undefined>>,
8824
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
8825
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
8826
+ }, undefined>>
8569
8827
  ];
8570
8828
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
8571
8829
  commands: {