@atlaskit/editor-core 193.25.3 → 193.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -262,9 +262,14 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
262
262
  }, {
263
263
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
264
264
  } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
265
- dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
265
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorDisabled", {
266
+ sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
267
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
266
268
  sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
267
- }, undefined>>];
269
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
270
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
271
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
272
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
268
273
  sharedState: {
269
274
  isMenuOpen: boolean;
270
275
  activeNode: {
@@ -279,7 +284,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
279
284
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
280
285
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
281
286
  };
282
- }, undefined>>];
287
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
288
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
289
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
290
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
283
291
  actions: {
284
292
  forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
285
293
  };
@@ -518,9 +526,14 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
518
526
  }, {
519
527
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
520
528
  } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
521
- dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
529
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorDisabled", {
530
+ sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
531
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
522
532
  sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
523
- }, undefined>>];
533
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
534
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
535
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
536
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
524
537
  sharedState: {
525
538
  isMenuOpen: boolean;
526
539
  activeNode: {
@@ -535,7 +548,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
535
548
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
536
549
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
537
550
  };
538
- }, undefined>>];
551
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
552
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
553
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
554
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
539
555
  actions: {
540
556
  forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
541
557
  };
@@ -1244,9 +1260,14 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
1244
1260
  }, {
1245
1261
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
1246
1262
  } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
1247
- dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
1263
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorDisabled", {
1264
+ sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
1265
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
1248
1266
  sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
1249
- }, undefined>>];
1267
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
1268
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
1269
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
1270
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
1250
1271
  sharedState: {
1251
1272
  isMenuOpen: boolean;
1252
1273
  activeNode: {
@@ -1261,7 +1282,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
1261
1282
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1262
1283
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1263
1284
  };
1264
- }, undefined>>];
1285
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
1286
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
1287
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
1288
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
1265
1289
  actions: {
1266
1290
  forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
1267
1291
  };
@@ -1772,9 +1796,14 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
1772
1796
  }, {
1773
1797
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
1774
1798
  } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
1775
- dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
1799
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorDisabled", {
1800
+ sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
1801
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
1776
1802
  sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
1777
- }, undefined>>];
1803
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
1804
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
1805
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
1806
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
1778
1807
  sharedState: {
1779
1808
  isMenuOpen: boolean;
1780
1809
  activeNode: {
@@ -1789,7 +1818,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
1789
1818
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1790
1819
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1791
1820
  };
1792
- }, undefined>>];
1821
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
1822
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
1823
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
1824
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
1793
1825
  actions: {
1794
1826
  forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
1795
1827
  };
@@ -2161,7 +2193,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
2161
2193
  };
2162
2194
  }, {
2163
2195
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
2164
- } | undefined>>];
2196
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
2197
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
2198
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
2199
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
2165
2200
  }, import("@atlaskit/editor-plugin-table").TablePluginOptions | undefined>>, import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"emoji", {
2166
2201
  pluginConfiguration: import("@atlaskit/editor-plugin-emoji").EmojiPluginOptions | undefined;
2167
2202
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"analytics", {
@@ -2525,9 +2560,14 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
2525
2560
  }, {
2526
2561
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
2527
2562
  } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
2528
- dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
2563
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorDisabled", {
2564
+ sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
2565
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
2529
2566
  sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
2530
- }, undefined>>];
2567
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
2568
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
2569
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
2570
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
2531
2571
  sharedState: {
2532
2572
  isMenuOpen: boolean;
2533
2573
  activeNode: {
@@ -2542,7 +2582,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
2542
2582
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2543
2583
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2544
2584
  };
2545
- }, undefined>>];
2585
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
2586
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
2587
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
2588
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
2546
2589
  actions: {
2547
2590
  forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
2548
2591
  };
@@ -3129,9 +3172,14 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
3129
3172
  }, {
3130
3173
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
3131
3174
  } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
3132
- dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
3175
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorDisabled", {
3176
+ sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
3177
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
3133
3178
  sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
3134
- }, undefined>>];
3179
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
3180
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
3181
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
3182
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
3135
3183
  sharedState: {
3136
3184
  isMenuOpen: boolean;
3137
3185
  activeNode: {
@@ -3146,7 +3194,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
3146
3194
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3147
3195
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3148
3196
  };
3149
- }, undefined>>];
3197
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
3198
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
3199
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
3200
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
3150
3201
  actions: {
3151
3202
  forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
3152
3203
  };
@@ -3389,9 +3440,14 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
3389
3440
  }, {
3390
3441
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
3391
3442
  } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
3392
- dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
3443
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorDisabled", {
3444
+ sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
3445
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
3393
3446
  sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
3394
- }, undefined>>];
3447
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
3448
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
3449
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
3450
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
3395
3451
  sharedState: {
3396
3452
  isMenuOpen: boolean;
3397
3453
  activeNode: {
@@ -3406,7 +3462,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
3406
3462
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3407
3463
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3408
3464
  };
3409
- }, undefined>>];
3465
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
3466
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
3467
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
3468
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
3410
3469
  actions: {
3411
3470
  forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
3412
3471
  };
@@ -3863,9 +3922,14 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
3863
3922
  }, {
3864
3923
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
3865
3924
  } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
3866
- dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
3925
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorDisabled", {
3926
+ sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
3927
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
3867
3928
  sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
3868
- }, undefined>>];
3929
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
3930
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
3931
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
3932
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
3869
3933
  sharedState: {
3870
3934
  isMenuOpen: boolean;
3871
3935
  activeNode: {
@@ -3880,7 +3944,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
3880
3944
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3881
3945
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3882
3946
  };
3883
- }, undefined>>];
3947
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
3948
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
3949
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
3950
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
3884
3951
  actions: {
3885
3952
  forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
3886
3953
  };
@@ -4363,9 +4430,14 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
4363
4430
  }, {
4364
4431
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
4365
4432
  } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
4366
- dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
4433
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorDisabled", {
4434
+ sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
4435
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
4367
4436
  sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
4368
- }, undefined>>];
4437
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
4438
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
4439
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
4440
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
4369
4441
  sharedState: {
4370
4442
  isMenuOpen: boolean;
4371
4443
  activeNode: {
@@ -4380,7 +4452,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
4380
4452
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4381
4453
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4382
4454
  };
4383
- }, undefined>>];
4455
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
4456
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
4457
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
4458
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
4384
4459
  actions: {
4385
4460
  forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
4386
4461
  };
@@ -4619,9 +4694,14 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
4619
4694
  }, {
4620
4695
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
4621
4696
  } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
4622
- dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
4697
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorDisabled", {
4698
+ sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
4699
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
4623
4700
  sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
4624
- }, undefined>>];
4701
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
4702
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
4703
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
4704
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
4625
4705
  sharedState: {
4626
4706
  isMenuOpen: boolean;
4627
4707
  activeNode: {
@@ -4636,7 +4716,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
4636
4716
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4637
4717
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4638
4718
  };
4639
- }, undefined>>];
4719
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
4720
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
4721
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
4722
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
4640
4723
  actions: {
4641
4724
  forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
4642
4725
  };