@atlaskit/editor-core 194.3.0 → 194.3.4

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.
@@ -219,7 +219,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
219
219
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
220
220
  commands: {
221
221
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
222
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
222
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
223
223
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
224
224
  };
225
225
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
@@ -423,7 +423,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
423
423
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
424
424
  commands: {
425
425
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
426
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
426
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
427
427
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
428
428
  };
429
429
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
@@ -698,7 +698,15 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
698
698
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
699
699
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
700
700
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
701
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
701
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"primaryToolbar", {
702
+ sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
703
+ commands: {
704
+ registerComponent: ({ name, component, }: {
705
+ name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
706
+ component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
707
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
708
+ };
709
+ }, undefined>>];
702
710
  actions: {
703
711
  getToolbarButton: (params: import("@atlaskit/editor-plugin-find-replace").FindReplaceToolbarButtonActionProps) => import("react").ReactNode;
704
712
  };
@@ -772,7 +780,15 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
772
780
  }) => boolean;
773
781
  isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
774
782
  };
775
- }, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>>];
783
+ }, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"primaryToolbar", {
784
+ sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
785
+ commands: {
786
+ registerComponent: ({ name, component, }: {
787
+ name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
788
+ component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
789
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
790
+ };
791
+ }, undefined>>];
776
792
  actions: {
777
793
  getToolbarItem: ({ editorView, inviteToEditHandler, isInviteToEditButtonSelected, inviteToEditComponent, }: {
778
794
  editorView: import("prosemirror-view").EditorView;
@@ -786,6 +802,15 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
786
802
  pluginConfiguration: {
787
803
  beforePrimaryToolbarComponents?: import("@atlaskit/editor-plugin-before-primary-toolbar").ReactComponents | undefined;
788
804
  };
805
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"primaryToolbar", {
806
+ sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
807
+ commands: {
808
+ registerComponent: ({ name, component, }: {
809
+ name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
810
+ component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
811
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
812
+ };
813
+ }, undefined>>];
789
814
  }, {
790
815
  beforePrimaryToolbarComponents?: import("@atlaskit/editor-plugin-before-primary-toolbar").ReactComponents | undefined;
791
816
  }> | undefined, import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"insertBlock", {
@@ -934,7 +959,15 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
934
959
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
935
960
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
936
961
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
937
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
962
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"primaryToolbar", {
963
+ sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
964
+ commands: {
965
+ registerComponent: ({ name, component, }: {
966
+ name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
967
+ component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
968
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
969
+ };
970
+ }, undefined>>];
938
971
  }, {
939
972
  showIndentationButtons: boolean;
940
973
  allowHeadingAndParagraphIndentation: boolean;
@@ -1147,7 +1180,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
1147
1180
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
1148
1181
  commands: {
1149
1182
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
1150
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1183
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
1151
1184
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1152
1185
  };
1153
1186
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
@@ -1657,7 +1690,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
1657
1690
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
1658
1691
  commands: {
1659
1692
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
1660
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1693
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
1661
1694
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1662
1695
  };
1663
1696
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
@@ -2342,7 +2375,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
2342
2375
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
2343
2376
  commands: {
2344
2377
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
2345
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2378
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
2346
2379
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2347
2380
  };
2348
2381
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
@@ -2926,7 +2959,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
2926
2959
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
2927
2960
  commands: {
2928
2961
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
2929
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2962
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
2930
2963
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2931
2964
  };
2932
2965
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
@@ -3132,7 +3165,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
3132
3165
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
3133
3166
  commands: {
3134
3167
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
3135
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3168
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
3136
3169
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3137
3170
  };
3138
3171
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
@@ -3569,7 +3602,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
3569
3602
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
3570
3603
  commands: {
3571
3604
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
3572
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3605
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
3573
3606
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3574
3607
  };
3575
3608
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
@@ -3983,7 +4016,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
3983
4016
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
3984
4017
  commands: {
3985
4018
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
3986
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4019
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
3987
4020
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3988
4021
  };
3989
4022
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
@@ -4187,7 +4220,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
4187
4220
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
4188
4221
  commands: {
4189
4222
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
4190
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4223
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
4191
4224
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4192
4225
  };
4193
4226
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
@@ -347,7 +347,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
347
347
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
348
348
  commands: {
349
349
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
350
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
350
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
351
351
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
352
352
  };
353
353
  }, undefined>>,
@@ -602,7 +602,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
602
602
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
603
603
  commands: {
604
604
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
605
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
605
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
606
606
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
607
607
  };
608
608
  }, undefined>>,
@@ -937,7 +937,16 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
937
937
  }, import("@atlaskit/editor-common/types").FeatureFlags>>
938
938
  ];
939
939
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
940
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
940
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
941
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
942
+ sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
943
+ commands: {
944
+ registerComponent: ({ name, component, }: {
945
+ name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
946
+ component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
947
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
948
+ };
949
+ }, undefined>>
941
950
  ];
942
951
  actions: {
943
952
  getToolbarButton: (params: import("@atlaskit/editor-plugin-find-replace").FindReplaceToolbarButtonActionProps) => import("react").ReactNode;
@@ -1025,7 +1034,16 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
1025
1034
  }) => boolean;
1026
1035
  isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
1027
1036
  };
1028
- }, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>>
1037
+ }, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>>,
1038
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
1039
+ sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
1040
+ commands: {
1041
+ registerComponent: ({ name, component, }: {
1042
+ name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
1043
+ component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
1044
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
1045
+ };
1046
+ }, undefined>>
1029
1047
  ];
1030
1048
  actions: {
1031
1049
  getToolbarItem: ({ editorView, inviteToEditHandler, isInviteToEditButtonSelected, inviteToEditComponent, }: {
@@ -1041,6 +1059,17 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
1041
1059
  pluginConfiguration: {
1042
1060
  beforePrimaryToolbarComponents?: import("@atlaskit/editor-plugin-before-primary-toolbar").ReactComponents | undefined;
1043
1061
  };
1062
+ dependencies: [
1063
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
1064
+ sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
1065
+ commands: {
1066
+ registerComponent: ({ name, component, }: {
1067
+ name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
1068
+ component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
1069
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
1070
+ };
1071
+ }, undefined>>
1072
+ ];
1044
1073
  }, {
1045
1074
  beforePrimaryToolbarComponents?: import("@atlaskit/editor-plugin-before-primary-toolbar").ReactComponents | undefined;
1046
1075
  }> | undefined,
@@ -1217,7 +1246,16 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
1217
1246
  }, import("@atlaskit/editor-common/types").FeatureFlags>>
1218
1247
  ];
1219
1248
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
1220
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
1249
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
1250
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
1251
+ sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
1252
+ commands: {
1253
+ registerComponent: ({ name, component, }: {
1254
+ name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
1255
+ component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
1256
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
1257
+ };
1258
+ }, undefined>>
1221
1259
  ];
1222
1260
  }, {
1223
1261
  showIndentationButtons: boolean;
@@ -1484,7 +1522,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
1484
1522
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
1485
1523
  commands: {
1486
1524
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
1487
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1525
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
1488
1526
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1489
1527
  };
1490
1528
  }, undefined>>,
@@ -2108,7 +2146,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
2108
2146
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
2109
2147
  commands: {
2110
2148
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
2111
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2149
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
2112
2150
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2113
2151
  };
2114
2152
  }, undefined>>,
@@ -2939,7 +2977,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
2939
2977
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
2940
2978
  commands: {
2941
2979
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
2942
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2980
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
2943
2981
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2944
2982
  };
2945
2983
  }, undefined>>,
@@ -3659,7 +3697,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
3659
3697
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
3660
3698
  commands: {
3661
3699
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
3662
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3700
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
3663
3701
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3664
3702
  };
3665
3703
  }, undefined>>,
@@ -3917,7 +3955,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
3917
3955
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
3918
3956
  commands: {
3919
3957
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
3920
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3958
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
3921
3959
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3922
3960
  };
3923
3961
  }, undefined>>,
@@ -4449,7 +4487,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
4449
4487
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
4450
4488
  commands: {
4451
4489
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
4452
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4490
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
4453
4491
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4454
4492
  };
4455
4493
  }, undefined>>,
@@ -4954,7 +4992,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
4954
4992
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
4955
4993
  commands: {
4956
4994
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
4957
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4995
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
4958
4996
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4959
4997
  };
4960
4998
  }, undefined>>,
@@ -5209,7 +5247,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
5209
5247
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
5210
5248
  commands: {
5211
5249
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
5212
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
5250
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
5213
5251
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
5214
5252
  };
5215
5253
  }, undefined>>,
@@ -260,7 +260,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
260
260
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
261
261
  commands: {
262
262
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
263
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
263
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
264
264
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
265
265
  };
266
266
  }, undefined>>,
@@ -518,7 +518,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
518
518
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
519
519
  commands: {
520
520
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
521
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
521
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
522
522
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
523
523
  };
524
524
  }, undefined>>,
@@ -1050,7 +1050,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1050
1050
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
1051
1051
  commands: {
1052
1052
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
1053
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1053
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
1054
1054
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1055
1055
  };
1056
1056
  }, undefined>>,
@@ -1555,7 +1555,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1555
1555
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
1556
1556
  commands: {
1557
1557
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
1558
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1558
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
1559
1559
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1560
1560
  };
1561
1561
  }, undefined>>,
@@ -1810,7 +1810,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1810
1810
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
1811
1811
  commands: {
1812
1812
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
1813
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1813
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
1814
1814
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1815
1815
  };
1816
1816
  }, undefined>>,
@@ -2359,7 +2359,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
2359
2359
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
2360
2360
  commands: {
2361
2361
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
2362
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2362
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
2363
2363
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2364
2364
  };
2365
2365
  }, undefined>>,
@@ -2617,7 +2617,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
2617
2617
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
2618
2618
  commands: {
2619
2619
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
2620
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2620
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
2621
2621
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2622
2622
  };
2623
2623
  }, undefined>>,
@@ -3149,7 +3149,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3149
3149
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
3150
3150
  commands: {
3151
3151
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
3152
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3152
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
3153
3153
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3154
3154
  };
3155
3155
  }, undefined>>,
@@ -3654,7 +3654,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3654
3654
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
3655
3655
  commands: {
3656
3656
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
3657
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3657
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
3658
3658
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3659
3659
  };
3660
3660
  }, undefined>>,
@@ -3909,7 +3909,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3909
3909
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
3910
3910
  commands: {
3911
3911
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
3912
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3912
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
3913
3913
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3914
3914
  };
3915
3915
  }, undefined>>,
@@ -364,7 +364,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
364
364
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
365
365
  commands: {
366
366
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
367
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
367
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
368
368
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
369
369
  };
370
370
  }, undefined>>,
@@ -619,7 +619,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
619
619
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
620
620
  commands: {
621
621
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
622
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
622
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
623
623
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
624
624
  };
625
625
  }, undefined>>,
@@ -954,7 +954,16 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
954
954
  }, FeatureFlags>>
955
955
  ];
956
956
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
957
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
957
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
958
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
959
+ sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
960
+ commands: {
961
+ registerComponent: ({ name, component, }: {
962
+ name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
963
+ component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
964
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
965
+ };
966
+ }, undefined>>
958
967
  ];
959
968
  actions: {
960
969
  getToolbarButton: (params: import("@atlaskit/editor-plugins/find-replace").FindReplaceToolbarButtonActionProps) => import("react").ReactNode;
@@ -1042,7 +1051,16 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
1042
1051
  }) => boolean;
1043
1052
  isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
1044
1053
  };
1045
- }, import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions>>
1054
+ }, import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions>>,
1055
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
1056
+ sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
1057
+ commands: {
1058
+ registerComponent: ({ name, component, }: {
1059
+ name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
1060
+ component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
1061
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
1062
+ };
1063
+ }, undefined>>
1046
1064
  ];
1047
1065
  actions: {
1048
1066
  getToolbarItem: ({ editorView, inviteToEditHandler, isInviteToEditButtonSelected, inviteToEditComponent, }: {
@@ -1058,6 +1076,17 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
1058
1076
  pluginConfiguration: {
1059
1077
  beforePrimaryToolbarComponents?: import("@atlaskit/editor-plugins/before-primary-toolbar").ReactComponents | undefined;
1060
1078
  };
1079
+ dependencies: [
1080
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
1081
+ sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
1082
+ commands: {
1083
+ registerComponent: ({ name, component, }: {
1084
+ name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
1085
+ component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
1086
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
1087
+ };
1088
+ }, undefined>>
1089
+ ];
1061
1090
  }, {
1062
1091
  beforePrimaryToolbarComponents?: import("@atlaskit/editor-plugins/before-primary-toolbar").ReactComponents | undefined;
1063
1092
  }> | undefined,
@@ -1234,7 +1263,16 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
1234
1263
  }, FeatureFlags>>
1235
1264
  ];
1236
1265
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
1237
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
1266
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
1267
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
1268
+ sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
1269
+ commands: {
1270
+ registerComponent: ({ name, component, }: {
1271
+ name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
1272
+ component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
1273
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
1274
+ };
1275
+ }, undefined>>
1238
1276
  ];
1239
1277
  }, {
1240
1278
  showIndentationButtons: boolean;
@@ -1501,7 +1539,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
1501
1539
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
1502
1540
  commands: {
1503
1541
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
1504
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1542
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
1505
1543
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1506
1544
  };
1507
1545
  }, undefined>>,
@@ -2125,7 +2163,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
2125
2163
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
2126
2164
  commands: {
2127
2165
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
2128
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2166
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
2129
2167
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2130
2168
  };
2131
2169
  }, undefined>>,
@@ -2956,7 +2994,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
2956
2994
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
2957
2995
  commands: {
2958
2996
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
2959
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2997
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
2960
2998
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2961
2999
  };
2962
3000
  }, undefined>>,
@@ -3676,7 +3714,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
3676
3714
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
3677
3715
  commands: {
3678
3716
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
3679
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3717
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
3680
3718
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3681
3719
  };
3682
3720
  }, undefined>>,
@@ -3934,7 +3972,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
3934
3972
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
3935
3973
  commands: {
3936
3974
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
3937
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3975
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
3938
3976
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3939
3977
  };
3940
3978
  }, undefined>>,
@@ -4466,7 +4504,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
4466
4504
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
4467
4505
  commands: {
4468
4506
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
4469
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4507
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
4470
4508
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4471
4509
  };
4472
4510
  }, undefined>>,
@@ -4971,7 +5009,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
4971
5009
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
4972
5010
  commands: {
4973
5011
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
4974
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
5012
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
4975
5013
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4976
5014
  };
4977
5015
  }, undefined>>,
@@ -5226,7 +5264,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
5226
5264
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
5227
5265
  commands: {
5228
5266
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
5229
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
5267
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
5230
5268
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
5231
5269
  };
5232
5270
  }, undefined>>,