@atlaskit/editor-core 203.2.8 → 203.2.9

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.
@@ -877,7 +877,18 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
877
877
  actions: {
878
878
  applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
879
879
  };
880
- }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
880
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
881
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
882
+ dependencies: [];
883
+ pluginConfiguration?: {
884
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
885
+ } | undefined;
886
+ commands: {
887
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
888
+ };
889
+ }, {
890
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
891
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
881
892
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
882
893
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
883
894
  }, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
@@ -1053,7 +1064,18 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1053
1064
  actions: {
1054
1065
  applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
1055
1066
  };
1056
- }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
1067
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
1068
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
1069
+ dependencies: [];
1070
+ pluginConfiguration?: {
1071
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
1072
+ } | undefined;
1073
+ commands: {
1074
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
1075
+ };
1076
+ }, {
1077
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
1078
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
1057
1079
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
1058
1080
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
1059
1081
  }, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
@@ -2116,7 +2138,18 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
2116
2138
  actions: {
2117
2139
  applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
2118
2140
  };
2119
- }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
2141
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
2142
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
2143
+ dependencies: [];
2144
+ pluginConfiguration?: {
2145
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
2146
+ } | undefined;
2147
+ commands: {
2148
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
2149
+ };
2150
+ }, {
2151
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
2152
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
2120
2153
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
2121
2154
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
2122
2155
  }, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
@@ -2245,7 +2278,18 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
2245
2278
  actions: {
2246
2279
  applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
2247
2280
  };
2248
- }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
2281
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
2282
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
2283
+ dependencies: [];
2284
+ pluginConfiguration?: {
2285
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
2286
+ } | undefined;
2287
+ commands: {
2288
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
2289
+ };
2290
+ }, {
2291
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
2292
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
2249
2293
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
2250
2294
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
2251
2295
  }, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
@@ -2944,7 +2988,18 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
2944
2988
  actions: {
2945
2989
  applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
2946
2990
  };
2947
- }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
2991
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
2992
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
2993
+ dependencies: [];
2994
+ pluginConfiguration?: {
2995
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
2996
+ } | undefined;
2997
+ commands: {
2998
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
2999
+ };
3000
+ }, {
3001
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
3002
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
2948
3003
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
2949
3004
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
2950
3005
  }, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
@@ -3918,7 +3973,18 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
3918
3973
  actions: {
3919
3974
  applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
3920
3975
  };
3921
- }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
3976
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
3977
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
3978
+ dependencies: [];
3979
+ pluginConfiguration?: {
3980
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
3981
+ } | undefined;
3982
+ commands: {
3983
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
3984
+ };
3985
+ }, {
3986
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
3987
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
3922
3988
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
3923
3989
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
3924
3990
  }, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
@@ -4418,7 +4484,18 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
4418
4484
  actions: {
4419
4485
  applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
4420
4486
  };
4421
- }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
4487
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
4488
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
4489
+ dependencies: [];
4490
+ pluginConfiguration?: {
4491
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
4492
+ } | undefined;
4493
+ commands: {
4494
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
4495
+ };
4496
+ }, {
4497
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
4498
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
4422
4499
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
4423
4500
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
4424
4501
  }, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
@@ -4543,7 +4620,18 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
4543
4620
  actions: {
4544
4621
  applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
4545
4622
  };
4546
- }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
4623
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
4624
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
4625
+ dependencies: [];
4626
+ pluginConfiguration?: {
4627
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
4628
+ } | undefined;
4629
+ commands: {
4630
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
4631
+ };
4632
+ }, {
4633
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
4634
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
4547
4635
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
4548
4636
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
4549
4637
  }, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
@@ -5720,7 +5808,18 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
5720
5808
  actions: {
5721
5809
  applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
5722
5810
  };
5723
- }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
5811
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
5812
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
5813
+ dependencies: [];
5814
+ pluginConfiguration?: {
5815
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
5816
+ } | undefined;
5817
+ commands: {
5818
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
5819
+ };
5820
+ }, {
5821
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
5822
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
5724
5823
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
5725
5824
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
5726
5825
  }, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
@@ -7375,7 +7474,18 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
7375
7474
  actions: {
7376
7475
  applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
7377
7476
  };
7378
- }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
7477
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
7478
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
7479
+ dependencies: [];
7480
+ pluginConfiguration?: {
7481
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
7482
+ } | undefined;
7483
+ commands: {
7484
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
7485
+ };
7486
+ }, {
7487
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
7488
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
7379
7489
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
7380
7490
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
7381
7491
  }, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
@@ -7551,7 +7661,18 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
7551
7661
  actions: {
7552
7662
  applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
7553
7663
  };
7554
- }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
7664
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
7665
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
7666
+ dependencies: [];
7667
+ pluginConfiguration?: {
7668
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
7669
+ } | undefined;
7670
+ commands: {
7671
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
7672
+ };
7673
+ }, {
7674
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
7675
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
7555
7676
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
7556
7677
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
7557
7678
  }, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
@@ -1137,6 +1137,19 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
1137
1137
  applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
1138
1138
  };
1139
1139
  }, undefined>>,
1140
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
1141
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
1142
+ dependencies: [
1143
+ ];
1144
+ pluginConfiguration?: {
1145
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
1146
+ } | undefined;
1147
+ commands: {
1148
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
1149
+ };
1150
+ }, {
1151
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
1152
+ } | undefined>>,
1140
1153
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
1141
1154
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
1142
1155
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
@@ -1348,6 +1361,19 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
1348
1361
  applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
1349
1362
  };
1350
1363
  }, undefined>>,
1364
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
1365
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
1366
+ dependencies: [
1367
+ ];
1368
+ pluginConfiguration?: {
1369
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
1370
+ } | undefined;
1371
+ commands: {
1372
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
1373
+ };
1374
+ }, {
1375
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
1376
+ } | undefined>>,
1351
1377
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
1352
1378
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
1353
1379
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
@@ -2622,6 +2648,19 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
2622
2648
  applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
2623
2649
  };
2624
2650
  }, undefined>>,
2651
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
2652
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
2653
+ dependencies: [
2654
+ ];
2655
+ pluginConfiguration?: {
2656
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
2657
+ } | undefined;
2658
+ commands: {
2659
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
2660
+ };
2661
+ }, {
2662
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
2663
+ } | undefined>>,
2625
2664
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
2626
2665
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
2627
2666
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
@@ -2777,6 +2816,19 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
2777
2816
  applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
2778
2817
  };
2779
2818
  }, undefined>>,
2819
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
2820
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
2821
+ dependencies: [
2822
+ ];
2823
+ pluginConfiguration?: {
2824
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
2825
+ } | undefined;
2826
+ commands: {
2827
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
2828
+ };
2829
+ }, {
2830
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
2831
+ } | undefined>>,
2780
2832
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
2781
2833
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
2782
2834
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
@@ -3614,6 +3666,19 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
3614
3666
  applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
3615
3667
  };
3616
3668
  }, undefined>>,
3669
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
3670
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
3671
+ dependencies: [
3672
+ ];
3673
+ pluginConfiguration?: {
3674
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
3675
+ } | undefined;
3676
+ commands: {
3677
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
3678
+ };
3679
+ }, {
3680
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
3681
+ } | undefined>>,
3617
3682
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
3618
3683
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
3619
3684
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
@@ -4784,6 +4849,19 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
4784
4849
  applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
4785
4850
  };
4786
4851
  }, undefined>>,
4852
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
4853
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
4854
+ dependencies: [
4855
+ ];
4856
+ pluginConfiguration?: {
4857
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
4858
+ } | undefined;
4859
+ commands: {
4860
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
4861
+ };
4862
+ }, {
4863
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
4864
+ } | undefined>>,
4787
4865
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
4788
4866
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
4789
4867
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
@@ -5386,6 +5464,19 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
5386
5464
  applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
5387
5465
  };
5388
5466
  }, undefined>>,
5467
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
5468
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
5469
+ dependencies: [
5470
+ ];
5471
+ pluginConfiguration?: {
5472
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
5473
+ } | undefined;
5474
+ commands: {
5475
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
5476
+ };
5477
+ }, {
5478
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
5479
+ } | undefined>>,
5389
5480
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
5390
5481
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
5391
5482
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
@@ -5536,6 +5627,19 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
5536
5627
  applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
5537
5628
  };
5538
5629
  }, undefined>>,
5630
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
5631
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
5632
+ dependencies: [
5633
+ ];
5634
+ pluginConfiguration?: {
5635
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
5636
+ } | undefined;
5637
+ commands: {
5638
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
5639
+ };
5640
+ }, {
5641
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
5642
+ } | undefined>>,
5539
5643
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
5540
5644
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
5541
5645
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
@@ -6965,6 +7069,19 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
6965
7069
  applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
6966
7070
  };
6967
7071
  }, undefined>>,
7072
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
7073
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
7074
+ dependencies: [
7075
+ ];
7076
+ pluginConfiguration?: {
7077
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
7078
+ } | undefined;
7079
+ commands: {
7080
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
7081
+ };
7082
+ }, {
7083
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
7084
+ } | undefined>>,
6968
7085
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
6969
7086
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
6970
7087
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
@@ -8956,6 +9073,19 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
8956
9073
  applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
8957
9074
  };
8958
9075
  }, undefined>>,
9076
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
9077
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
9078
+ dependencies: [
9079
+ ];
9080
+ pluginConfiguration?: {
9081
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
9082
+ } | undefined;
9083
+ commands: {
9084
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
9085
+ };
9086
+ }, {
9087
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
9088
+ } | undefined>>,
8959
9089
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
8960
9090
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
8961
9091
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
@@ -9167,6 +9297,19 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
9167
9297
  applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
9168
9298
  };
9169
9299
  }, undefined>>,
9300
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
9301
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
9302
+ dependencies: [
9303
+ ];
9304
+ pluginConfiguration?: {
9305
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
9306
+ } | undefined;
9307
+ commands: {
9308
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
9309
+ };
9310
+ }, {
9311
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
9312
+ } | undefined>>,
9170
9313
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
9171
9314
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
9172
9315
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
@@ -1042,6 +1042,19 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1042
1042
  applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
1043
1043
  };
1044
1044
  }, undefined>>,
1045
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
1046
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
1047
+ dependencies: [
1048
+ ];
1049
+ pluginConfiguration?: {
1050
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
1051
+ } | undefined;
1052
+ commands: {
1053
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
1054
+ };
1055
+ }, {
1056
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
1057
+ } | undefined>>,
1045
1058
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
1046
1059
  pluginConfiguration: FeatureFlags;
1047
1060
  sharedState: FeatureFlags;
@@ -3033,6 +3046,19 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
3033
3046
  applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
3034
3047
  };
3035
3048
  }, undefined>>,
3049
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
3050
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
3051
+ dependencies: [
3052
+ ];
3053
+ pluginConfiguration?: {
3054
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
3055
+ } | undefined;
3056
+ commands: {
3057
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
3058
+ };
3059
+ }, {
3060
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
3061
+ } | undefined>>,
3036
3062
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
3037
3063
  pluginConfiguration: FeatureFlags;
3038
3064
  sharedState: FeatureFlags;
@@ -3244,6 +3270,19 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
3244
3270
  applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
3245
3271
  };
3246
3272
  }, undefined>>,
3273
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
3274
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
3275
+ dependencies: [
3276
+ ];
3277
+ pluginConfiguration?: {
3278
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
3279
+ } | undefined;
3280
+ commands: {
3281
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
3282
+ };
3283
+ }, {
3284
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
3285
+ } | undefined>>,
3247
3286
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
3248
3287
  pluginConfiguration: FeatureFlags;
3249
3288
  sharedState: FeatureFlags;
@@ -4397,6 +4436,19 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
4397
4436
  applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
4398
4437
  };
4399
4438
  }, undefined>>,
4439
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
4440
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
4441
+ dependencies: [
4442
+ ];
4443
+ pluginConfiguration?: {
4444
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
4445
+ } | undefined;
4446
+ commands: {
4447
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
4448
+ };
4449
+ }, {
4450
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
4451
+ } | undefined>>,
4400
4452
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
4401
4453
  pluginConfiguration: FeatureFlags;
4402
4454
  sharedState: FeatureFlags;
@@ -6388,6 +6440,19 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
6388
6440
  applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
6389
6441
  };
6390
6442
  }, undefined>>,
6443
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
6444
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
6445
+ dependencies: [
6446
+ ];
6447
+ pluginConfiguration?: {
6448
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
6449
+ } | undefined;
6450
+ commands: {
6451
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
6452
+ };
6453
+ }, {
6454
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
6455
+ } | undefined>>,
6391
6456
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
6392
6457
  pluginConfiguration: FeatureFlags;
6393
6458
  sharedState: FeatureFlags;
@@ -6599,6 +6664,19 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
6599
6664
  applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
6600
6665
  };
6601
6666
  }, undefined>>,
6667
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
6668
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
6669
+ dependencies: [
6670
+ ];
6671
+ pluginConfiguration?: {
6672
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
6673
+ } | undefined;
6674
+ commands: {
6675
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
6676
+ };
6677
+ }, {
6678
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
6679
+ } | undefined>>,
6602
6680
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
6603
6681
  pluginConfiguration: FeatureFlags;
6604
6682
  sharedState: FeatureFlags;