@atlaskit/editor-core 203.2.1 → 203.2.2

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 (27) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/cjs/composable-editor/core-editor.js +2 -0
  3. package/dist/cjs/composable-editor/temp_useTrackDangerousPlugins.js +35 -0
  4. package/dist/cjs/create-editor/ReactEditorViewNext.js +1 -1
  5. package/dist/cjs/ui/ContentStyles/layout.js +1 -1
  6. package/dist/cjs/version-wrapper.js +1 -1
  7. package/dist/es2019/composable-editor/core-editor.js +2 -0
  8. package/dist/es2019/composable-editor/temp_useTrackDangerousPlugins.js +27 -0
  9. package/dist/es2019/create-editor/ReactEditorViewNext.js +1 -1
  10. package/dist/es2019/ui/ContentStyles/layout.js +1 -0
  11. package/dist/es2019/version-wrapper.js +1 -1
  12. package/dist/esm/composable-editor/core-editor.js +2 -0
  13. package/dist/esm/composable-editor/temp_useTrackDangerousPlugins.js +29 -0
  14. package/dist/esm/create-editor/ReactEditorViewNext.js +1 -1
  15. package/dist/esm/ui/ContentStyles/layout.js +1 -1
  16. package/dist/esm/version-wrapper.js +1 -1
  17. package/dist/types/composable-editor/temp_useTrackDangerousPlugins.d.ts +3 -0
  18. package/dist/types/create-editor/create-universal-preset.d.ts +236 -18
  19. package/dist/types/presets/default.d.ts +174 -14
  20. package/dist/types/presets/universal.d.ts +236 -18
  21. package/dist/types/presets/useUniversalPreset.d.ts +236 -18
  22. package/dist/types-ts4.5/composable-editor/temp_useTrackDangerousPlugins.d.ts +3 -0
  23. package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +268 -18
  24. package/dist/types-ts4.5/presets/default.d.ts +198 -14
  25. package/dist/types-ts4.5/presets/universal.d.ts +268 -18
  26. package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +268 -18
  27. package/package.json +19 -8
@@ -579,7 +579,23 @@ export default function createUniversalPresetInternal({ appearance, props, featu
579
579
  query?: string | undefined;
580
580
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
581
581
  };
582
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
582
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
583
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
584
+ sharedState: {
585
+ annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
586
+ isVisible: boolean;
587
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
588
+ mouseData: {
589
+ isSelecting: boolean;
590
+ };
591
+ };
592
+ actions: {
593
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
594
+ };
595
+ }, undefined>>,
596
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
597
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
598
+ }, undefined>>
583
599
  ];
584
600
  sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
585
601
  commands: {
@@ -609,7 +625,13 @@ export default function createUniversalPresetInternal({ appearance, props, featu
609
625
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
610
626
  };
611
627
  sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
612
- }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>
628
+ }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>,
629
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
630
+ sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState;
631
+ actions: {
632
+ setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
633
+ };
634
+ }, undefined>>
613
635
  ];
614
636
  sharedState: import("@atlaskit/editor-plugins/card").CardPluginState | null;
615
637
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
@@ -1018,7 +1040,23 @@ export default function createUniversalPresetInternal({ appearance, props, featu
1018
1040
  query?: string | undefined;
1019
1041
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
1020
1042
  };
1021
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
1043
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
1044
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
1045
+ sharedState: {
1046
+ annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
1047
+ isVisible: boolean;
1048
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
1049
+ mouseData: {
1050
+ isSelecting: boolean;
1051
+ };
1052
+ };
1053
+ actions: {
1054
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
1055
+ };
1056
+ }, undefined>>,
1057
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
1058
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
1059
+ }, undefined>>
1022
1060
  ];
1023
1061
  sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
1024
1062
  commands: {
@@ -1922,7 +1960,25 @@ export default function createUniversalPresetInternal({ appearance, props, featu
1922
1960
  }, FeatureFlags>>
1923
1961
  ];
1924
1962
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
1925
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
1963
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
1964
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
1965
+ actions: {
1966
+ setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
1967
+ };
1968
+ sharedState: {
1969
+ annotations: Record<string, boolean>;
1970
+ isVisible: boolean;
1971
+ bookmark: boolean;
1972
+ mouseData: {
1973
+ isSelecting: boolean;
1974
+ };
1975
+ };
1976
+ }, undefined>>,
1977
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
1978
+ sharedState: {
1979
+ mode: "edit" | "view";
1980
+ };
1981
+ }, undefined>>
1926
1982
  ];
1927
1983
  pluginConfiguration: import("@atlaskit/editor-plugins/status").StatusPluginOptions | undefined;
1928
1984
  actions: {
@@ -2317,7 +2373,23 @@ export default function createUniversalPresetInternal({ appearance, props, featu
2317
2373
  query?: string | undefined;
2318
2374
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
2319
2375
  };
2320
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
2376
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
2377
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
2378
+ sharedState: {
2379
+ annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
2380
+ isVisible: boolean;
2381
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
2382
+ mouseData: {
2383
+ isSelecting: boolean;
2384
+ };
2385
+ };
2386
+ actions: {
2387
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
2388
+ };
2389
+ }, undefined>>,
2390
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
2391
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
2392
+ }, undefined>>
2321
2393
  ];
2322
2394
  sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
2323
2395
  commands: {
@@ -2347,7 +2419,13 @@ export default function createUniversalPresetInternal({ appearance, props, featu
2347
2419
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
2348
2420
  };
2349
2421
  sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
2350
- }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>
2422
+ }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>,
2423
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
2424
+ sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState;
2425
+ actions: {
2426
+ setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
2427
+ };
2428
+ }, undefined>>
2351
2429
  ];
2352
2430
  sharedState: import("@atlaskit/editor-plugins/card").CardPluginState | null;
2353
2431
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
@@ -2946,7 +3024,23 @@ export default function createUniversalPresetInternal({ appearance, props, featu
2946
3024
  query?: string | undefined;
2947
3025
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
2948
3026
  };
2949
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
3027
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
3028
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
3029
+ sharedState: {
3030
+ annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
3031
+ isVisible: boolean;
3032
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
3033
+ mouseData: {
3034
+ isSelecting: boolean;
3035
+ };
3036
+ };
3037
+ actions: {
3038
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
3039
+ };
3040
+ }, undefined>>,
3041
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
3042
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
3043
+ }, undefined>>
2950
3044
  ];
2951
3045
  sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
2952
3046
  commands: {
@@ -3415,7 +3509,23 @@ export default function createUniversalPresetInternal({ appearance, props, featu
3415
3509
  query?: string | undefined;
3416
3510
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
3417
3511
  };
3418
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
3512
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
3513
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
3514
+ sharedState: {
3515
+ annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
3516
+ isVisible: boolean;
3517
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
3518
+ mouseData: {
3519
+ isSelecting: boolean;
3520
+ };
3521
+ };
3522
+ actions: {
3523
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
3524
+ };
3525
+ }, undefined>>,
3526
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
3527
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
3528
+ }, undefined>>
3419
3529
  ];
3420
3530
  sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
3421
3531
  commands: {
@@ -4021,7 +4131,23 @@ export default function createUniversalPresetInternal({ appearance, props, featu
4021
4131
  query?: string | undefined;
4022
4132
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
4023
4133
  };
4024
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
4134
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
4135
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
4136
+ sharedState: {
4137
+ annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
4138
+ isVisible: boolean;
4139
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
4140
+ mouseData: {
4141
+ isSelecting: boolean;
4142
+ };
4143
+ };
4144
+ actions: {
4145
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
4146
+ };
4147
+ }, undefined>>,
4148
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
4149
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
4150
+ }, undefined>>
4025
4151
  ];
4026
4152
  sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
4027
4153
  commands: {
@@ -4553,7 +4679,23 @@ export default function createUniversalPresetInternal({ appearance, props, featu
4553
4679
  query?: string | undefined;
4554
4680
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
4555
4681
  };
4556
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
4682
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
4683
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
4684
+ sharedState: {
4685
+ annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
4686
+ isVisible: boolean;
4687
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
4688
+ mouseData: {
4689
+ isSelecting: boolean;
4690
+ };
4691
+ };
4692
+ actions: {
4693
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
4694
+ };
4695
+ }, undefined>>,
4696
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
4697
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
4698
+ }, undefined>>
4557
4699
  ];
4558
4700
  sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
4559
4701
  commands: {
@@ -5139,7 +5281,23 @@ export default function createUniversalPresetInternal({ appearance, props, featu
5139
5281
  query?: string | undefined;
5140
5282
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
5141
5283
  };
5142
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
5284
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
5285
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
5286
+ sharedState: {
5287
+ annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
5288
+ isVisible: boolean;
5289
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
5290
+ mouseData: {
5291
+ isSelecting: boolean;
5292
+ };
5293
+ };
5294
+ actions: {
5295
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
5296
+ };
5297
+ }, undefined>>,
5298
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
5299
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
5300
+ }, undefined>>
5143
5301
  ];
5144
5302
  sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
5145
5303
  commands: {
@@ -6252,7 +6410,23 @@ export default function createUniversalPresetInternal({ appearance, props, featu
6252
6410
  query?: string | undefined;
6253
6411
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
6254
6412
  };
6255
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
6413
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
6414
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
6415
+ sharedState: {
6416
+ annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
6417
+ isVisible: boolean;
6418
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
6419
+ mouseData: {
6420
+ isSelecting: boolean;
6421
+ };
6422
+ };
6423
+ actions: {
6424
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
6425
+ };
6426
+ }, undefined>>,
6427
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
6428
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
6429
+ }, undefined>>
6256
6430
  ];
6257
6431
  sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
6258
6432
  commands: {
@@ -6686,7 +6860,23 @@ export default function createUniversalPresetInternal({ appearance, props, featu
6686
6860
  query?: string | undefined;
6687
6861
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
6688
6862
  };
6689
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
6863
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
6864
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
6865
+ sharedState: {
6866
+ annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
6867
+ isVisible: boolean;
6868
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
6869
+ mouseData: {
6870
+ isSelecting: boolean;
6871
+ };
6872
+ };
6873
+ actions: {
6874
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
6875
+ };
6876
+ }, undefined>>,
6877
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
6878
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
6879
+ }, undefined>>
6690
6880
  ];
6691
6881
  sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
6692
6882
  commands: {
@@ -7454,7 +7644,23 @@ export default function createUniversalPresetInternal({ appearance, props, featu
7454
7644
  query?: string | undefined;
7455
7645
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
7456
7646
  };
7457
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
7647
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
7648
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
7649
+ sharedState: {
7650
+ annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
7651
+ isVisible: boolean;
7652
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
7653
+ mouseData: {
7654
+ isSelecting: boolean;
7655
+ };
7656
+ };
7657
+ actions: {
7658
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
7659
+ };
7660
+ }, undefined>>,
7661
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
7662
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
7663
+ }, undefined>>
7458
7664
  ];
7459
7665
  sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
7460
7666
  commands: {
@@ -7484,7 +7690,13 @@ export default function createUniversalPresetInternal({ appearance, props, featu
7484
7690
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
7485
7691
  };
7486
7692
  sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
7487
- }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>
7693
+ }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>,
7694
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
7695
+ sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState;
7696
+ actions: {
7697
+ setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
7698
+ };
7699
+ }, undefined>>
7488
7700
  ];
7489
7701
  sharedState: import("@atlaskit/editor-plugins/card").CardPluginState | null;
7490
7702
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
@@ -8178,7 +8390,23 @@ export default function createUniversalPresetInternal({ appearance, props, featu
8178
8390
  query?: string | undefined;
8179
8391
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
8180
8392
  };
8181
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
8393
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
8394
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
8395
+ sharedState: {
8396
+ annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
8397
+ isVisible: boolean;
8398
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
8399
+ mouseData: {
8400
+ isSelecting: boolean;
8401
+ };
8402
+ };
8403
+ actions: {
8404
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
8405
+ };
8406
+ }, undefined>>,
8407
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
8408
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
8409
+ }, undefined>>
8182
8410
  ];
8183
8411
  sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
8184
8412
  commands: {
@@ -8208,7 +8436,13 @@ export default function createUniversalPresetInternal({ appearance, props, featu
8208
8436
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
8209
8437
  };
8210
8438
  sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
8211
- }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>
8439
+ }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>,
8440
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
8441
+ sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState;
8442
+ actions: {
8443
+ setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
8444
+ };
8445
+ }, undefined>>
8212
8446
  ];
8213
8447
  sharedState: import("@atlaskit/editor-plugins/card").CardPluginState | null;
8214
8448
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
@@ -8617,7 +8851,23 @@ export default function createUniversalPresetInternal({ appearance, props, featu
8617
8851
  query?: string | undefined;
8618
8852
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
8619
8853
  };
8620
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
8854
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
8855
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
8856
+ sharedState: {
8857
+ annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
8858
+ isVisible: boolean;
8859
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
8860
+ mouseData: {
8861
+ isSelecting: boolean;
8862
+ };
8863
+ };
8864
+ actions: {
8865
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
8866
+ };
8867
+ }, undefined>>,
8868
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
8869
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
8870
+ }, undefined>>
8621
8871
  ];
8622
8872
  sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
8623
8873
  commands: {