@atlaskit/editor-core 194.2.0 → 194.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/dist/cjs/create-editor/ReactEditorView.js +1 -1
- package/dist/cjs/index.js +0 -19
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/create-editor/ReactEditorView.js +2 -2
- package/dist/es2019/index.js +0 -2
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/create-editor/ReactEditorView.js +2 -2
- package/dist/esm/index.js +0 -2
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/ReactEditorView.d.ts +1 -2
- package/dist/types/create-editor/create-preset.d.ts +46 -13
- package/dist/types/index.d.ts +0 -1
- package/dist/types/presets/default.d.ts +10 -10
- package/dist/types/presets/universal.d.ts +46 -13
- package/dist/types/presets/useUniversalPreset.d.ts +46 -13
- package/dist/types-ts4.5/create-editor/ReactEditorView.d.ts +1 -2
- package/dist/types-ts4.5/create-editor/create-preset.d.ts +51 -13
- package/dist/types-ts4.5/index.d.ts +0 -1
- package/dist/types-ts4.5/presets/default.d.ts +10 -10
- package/dist/types-ts4.5/presets/universal.d.ts +51 -13
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +51 -13
- package/package.json +12 -16
- package/report.api.md +0 -3
|
@@ -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", {
|
|
@@ -4,7 +4,6 @@ import type { WrappedComponentProps } from 'react-intl-next';
|
|
|
4
4
|
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
5
5
|
import { FULL_WIDTH_MODE } from '@atlaskit/editor-common/analytics';
|
|
6
6
|
import type { AnalyticsEventPayload, DispatchAnalyticsEvent, FireAnalyticsCallback } from '@atlaskit/editor-common/analytics';
|
|
7
|
-
import type { LegacyPortalProviderAPI } from '@atlaskit/editor-common/portal-provider';
|
|
8
7
|
import type { AllEditorPresetPluginTypes, EditorPresetBuilder } from '@atlaskit/editor-common/preset';
|
|
9
8
|
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
10
9
|
import type { PortalProviderAPI } from '@atlaskit/editor-common/src/portal';
|
|
@@ -27,7 +26,7 @@ export interface EditorViewProps {
|
|
|
27
26
|
};
|
|
28
27
|
createAnalyticsEvent?: CreateUIAnalyticsEvent;
|
|
29
28
|
providerFactory: ProviderFactory;
|
|
30
|
-
portalProviderAPI:
|
|
29
|
+
portalProviderAPI: PortalProviderAPI;
|
|
31
30
|
disabled?: boolean;
|
|
32
31
|
experienceStore?: ExperienceStore;
|
|
33
32
|
setEditorApi?: SetEditorAPI;
|
|
@@ -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>>,
|
|
@@ -34,7 +34,6 @@ export { setTextSelection } from '@atlaskit/editor-common/utils';
|
|
|
34
34
|
export type { Command, EditorPlugin, EditorProps, EditorInstance, CommandDispatch } from './types';
|
|
35
35
|
export { default as EditorActions } from './actions';
|
|
36
36
|
export type { MacroProvider, MacroAttributes, ExtensionType, CardProvider, } from '@atlaskit/editor-common/provider-factory';
|
|
37
|
-
export { PortalProvider, LegacyPortalProviderAPI, PortalRenderer, } from '@atlaskit/editor-common/portal-provider';
|
|
38
37
|
/**
|
|
39
38
|
* @deprecated
|
|
40
39
|
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
@@ -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>>,
|