@atlaskit/editor-core 194.3.12 → 194.3.15
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 +29 -0
- package/dist/cjs/composable-editor/editor-internal.js +7 -2
- package/dist/cjs/composable-editor/editor.js +4 -1
- package/dist/cjs/composable-editor/hooks/useEditorMeasuresConstructor.js +4 -1
- package/dist/cjs/composable-editor/hooks/useMeasureEditorMountTime.js +4 -1
- package/dist/cjs/composable-editor/hooks/useProviders.js +8 -1
- package/dist/cjs/composable-editor/utils/handleProviders.js +4 -1
- package/dist/cjs/editor.js +4 -1
- package/dist/cjs/ui/Addon/ClickAreaBlock/index.js +4 -1
- package/dist/cjs/ui/Addon/ClickAreaInline/index.js +4 -1
- package/dist/cjs/ui/Addon/ClickAreaMobile/index.js +4 -1
- package/dist/cjs/ui/Addon/Dropdown/index.js +4 -1
- package/dist/cjs/ui/Appearance/Chromeless.js +4 -1
- package/dist/cjs/ui/Appearance/Comment/Comment.js +4 -1
- package/dist/cjs/ui/Appearance/Comment/Toolbar.js +4 -1
- package/dist/cjs/ui/Appearance/FullPage/BeforeWrapper.js +4 -1
- package/dist/cjs/ui/Appearance/FullPage/FullPage.js +4 -1
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea.js +4 -1
- package/dist/cjs/ui/Appearance/FullPage/FullPageToolbar.js +4 -1
- package/dist/cjs/ui/AppearanceComponents/Mobile.js +4 -1
- package/dist/cjs/ui/ChromeCollapsed/index.js +4 -1
- package/dist/cjs/ui/ContentStyles/index.js +4 -1
- package/dist/cjs/ui/ContextPanel/index.js +4 -1
- package/dist/cjs/ui/PluginSlot/index.js +4 -1
- package/dist/cjs/ui/Toolbar/ToolbarInner.js +4 -1
- package/dist/cjs/ui/Toolbar/ToolbarWithSizeDetector.js +4 -1
- package/dist/cjs/ui/ToolbarFeedback/index.js +4 -1
- package/dist/cjs/ui/WithFlash/index.js +4 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/composable-editor/editor-internal.js +7 -2
- package/dist/es2019/composable-editor/editor.js +4 -1
- package/dist/es2019/composable-editor/hooks/useEditorMeasuresConstructor.js +4 -1
- package/dist/es2019/composable-editor/hooks/useMeasureEditorMountTime.js +4 -1
- package/dist/es2019/composable-editor/hooks/useProviders.js +8 -1
- package/dist/es2019/composable-editor/utils/handleProviders.js +5 -1
- package/dist/es2019/editor.js +4 -1
- package/dist/es2019/ui/Addon/ClickAreaBlock/index.js +4 -1
- package/dist/es2019/ui/Addon/ClickAreaInline/index.js +4 -1
- package/dist/es2019/ui/Addon/ClickAreaMobile/index.js +4 -1
- package/dist/es2019/ui/Addon/Dropdown/index.js +4 -1
- package/dist/es2019/ui/Appearance/Chromeless.js +4 -1
- package/dist/es2019/ui/Appearance/Comment/Comment.js +4 -1
- package/dist/es2019/ui/Appearance/Comment/Toolbar.js +4 -1
- package/dist/es2019/ui/Appearance/FullPage/BeforeWrapper.js +4 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPage.js +4 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea.js +4 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPageToolbar.js +4 -1
- package/dist/es2019/ui/AppearanceComponents/Mobile.js +4 -1
- package/dist/es2019/ui/ChromeCollapsed/index.js +4 -1
- package/dist/es2019/ui/ContentStyles/index.js +4 -1
- package/dist/es2019/ui/ContextPanel/index.js +4 -1
- package/dist/es2019/ui/PluginSlot/index.js +4 -1
- package/dist/es2019/ui/Toolbar/ToolbarInner.js +4 -1
- package/dist/es2019/ui/Toolbar/ToolbarWithSizeDetector.js +4 -1
- package/dist/es2019/ui/ToolbarFeedback/index.js +4 -1
- package/dist/es2019/ui/WithFlash/index.js +4 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/composable-editor/editor-internal.js +7 -2
- package/dist/esm/composable-editor/editor.js +4 -1
- package/dist/esm/composable-editor/hooks/useEditorMeasuresConstructor.js +4 -1
- package/dist/esm/composable-editor/hooks/useMeasureEditorMountTime.js +4 -1
- package/dist/esm/composable-editor/hooks/useProviders.js +8 -1
- package/dist/esm/composable-editor/utils/handleProviders.js +5 -1
- package/dist/esm/editor.js +4 -1
- package/dist/esm/ui/Addon/ClickAreaBlock/index.js +4 -1
- package/dist/esm/ui/Addon/ClickAreaInline/index.js +4 -1
- package/dist/esm/ui/Addon/ClickAreaMobile/index.js +4 -1
- package/dist/esm/ui/Addon/Dropdown/index.js +4 -1
- package/dist/esm/ui/Appearance/Chromeless.js +4 -1
- package/dist/esm/ui/Appearance/Comment/Comment.js +4 -1
- package/dist/esm/ui/Appearance/Comment/Toolbar.js +4 -1
- package/dist/esm/ui/Appearance/FullPage/BeforeWrapper.js +4 -1
- package/dist/esm/ui/Appearance/FullPage/FullPage.js +4 -1
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea.js +4 -1
- package/dist/esm/ui/Appearance/FullPage/FullPageToolbar.js +4 -1
- package/dist/esm/ui/AppearanceComponents/Mobile.js +4 -1
- package/dist/esm/ui/ChromeCollapsed/index.js +4 -1
- package/dist/esm/ui/ContentStyles/index.js +4 -1
- package/dist/esm/ui/ContextPanel/index.js +4 -1
- package/dist/esm/ui/PluginSlot/index.js +4 -1
- package/dist/esm/ui/Toolbar/ToolbarInner.js +4 -1
- package/dist/esm/ui/Toolbar/ToolbarWithSizeDetector.js +4 -1
- package/dist/esm/ui/ToolbarFeedback/index.js +4 -1
- package/dist/esm/ui/WithFlash/index.js +4 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/composable-editor/hooks/useEditorMeasuresConstructor.d.ts +4 -1
- package/dist/types/composable-editor/hooks/useProviders.d.ts +3 -2
- package/dist/types/create-editor/create-preset.d.ts +15 -10
- package/dist/types/editor.d.ts +4 -1
- package/dist/types/presets/default.d.ts +14 -10
- package/dist/types/presets/universal.d.ts +15 -10
- package/dist/types/presets/useUniversalPreset.d.ts +15 -10
- package/dist/types/types/editor-props.d.ts +12 -0
- package/dist/types/ui/Addon/ClickAreaInline/index.d.ts +4 -1
- package/dist/types/ui/Addon/ClickAreaMobile/index.d.ts +4 -1
- package/dist/types/ui/Addon/Dropdown/index.d.ts +4 -1
- package/dist/types/ui/Appearance/Chromeless.d.ts +4 -1
- package/dist/types/ui/Appearance/Comment/Comment.d.ts +4 -1
- package/dist/types/ui/Appearance/FullPage/BeforeWrapper.d.ts +4 -1
- package/dist/types/ui/Appearance/FullPage/FullPageContentArea.d.ts +4 -1
- package/dist/types/ui/Appearance/FullPage/FullPageToolbar.d.ts +4 -1
- package/dist/types/ui/AppearanceComponents/Mobile.d.ts +4 -1
- package/dist/types/ui/ChromeCollapsed/index.d.ts +4 -1
- package/dist/types/ui/ContentStyles/index.d.ts +4 -1
- package/dist/types/ui/ContextPanel/index.d.ts +4 -1
- package/dist/types/ui/PluginSlot/index.d.ts +4 -1
- package/dist/types/ui/Toolbar/ToolbarInner.d.ts +4 -1
- package/dist/types/ui/WithFlash/index.d.ts +4 -1
- package/dist/types-ts4.5/composable-editor/hooks/useEditorMeasuresConstructor.d.ts +4 -1
- package/dist/types-ts4.5/composable-editor/hooks/useProviders.d.ts +3 -2
- package/dist/types-ts4.5/create-editor/create-preset.d.ts +15 -10
- package/dist/types-ts4.5/editor.d.ts +4 -1
- package/dist/types-ts4.5/presets/default.d.ts +14 -10
- package/dist/types-ts4.5/presets/universal.d.ts +15 -10
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +15 -10
- package/dist/types-ts4.5/types/editor-props.d.ts +12 -0
- package/dist/types-ts4.5/ui/Addon/ClickAreaInline/index.d.ts +4 -1
- package/dist/types-ts4.5/ui/Addon/ClickAreaMobile/index.d.ts +4 -1
- package/dist/types-ts4.5/ui/Addon/Dropdown/index.d.ts +4 -1
- package/dist/types-ts4.5/ui/Appearance/Chromeless.d.ts +4 -1
- package/dist/types-ts4.5/ui/Appearance/Comment/Comment.d.ts +4 -1
- package/dist/types-ts4.5/ui/Appearance/FullPage/BeforeWrapper.d.ts +4 -1
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageContentArea.d.ts +4 -1
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageToolbar.d.ts +4 -1
- package/dist/types-ts4.5/ui/AppearanceComponents/Mobile.d.ts +4 -1
- package/dist/types-ts4.5/ui/ChromeCollapsed/index.d.ts +4 -1
- package/dist/types-ts4.5/ui/ContentStyles/index.d.ts +4 -1
- package/dist/types-ts4.5/ui/ContextPanel/index.d.ts +4 -1
- package/dist/types-ts4.5/ui/PluginSlot/index.d.ts +4 -1
- package/dist/types-ts4.5/ui/Toolbar/ToolbarInner.d.ts +4 -1
- package/dist/types-ts4.5/ui/WithFlash/index.d.ts +4 -1
- package/package.json +18 -10
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
2
5
|
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
6
|
import type { ExperienceStore } from '@atlaskit/editor-common/ufo';
|
|
4
7
|
import type { EditorProps } from '../../types/editor-props';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import type { ContextIdentifierProvider } from '@atlaskit/editor-common/provider-factory';
|
|
1
|
+
import type { ContextIdentifierProvider, MediaProvider } from '@atlaskit/editor-common/provider-factory';
|
|
2
2
|
interface UseProvidersProps {
|
|
3
3
|
contextIdentifierProvider: Promise<ContextIdentifierProvider> | undefined;
|
|
4
|
+
mediaProvider: Promise<MediaProvider> | undefined;
|
|
4
5
|
}
|
|
5
6
|
/**
|
|
6
7
|
* This hook is used to replace the old approach of using the `providerFactory`.
|
|
@@ -10,5 +11,5 @@ interface UseProvidersProps {
|
|
|
10
11
|
*
|
|
11
12
|
* In the future ideally consumers implement this behaviour themselves.
|
|
12
13
|
*/
|
|
13
|
-
export declare const useProviders: ({ contextIdentifierProvider }: UseProvidersProps) => void;
|
|
14
|
+
export declare const useProviders: ({ contextIdentifierProvider, mediaProvider }: UseProvidersProps) => void;
|
|
14
15
|
export {};
|
|
@@ -346,7 +346,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
346
346
|
];
|
|
347
347
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
348
348
|
commands: {
|
|
349
|
-
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
349
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
350
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
|
};
|
|
@@ -601,7 +601,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
601
601
|
];
|
|
602
602
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
603
603
|
commands: {
|
|
604
|
-
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
604
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
605
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
|
};
|
|
@@ -743,6 +743,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
743
743
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
744
744
|
actions: {
|
|
745
745
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
746
|
+
setProvider: (provider: Promise<import("@atlaskit/editor-common/provider-factory").MediaProvider>) => boolean;
|
|
746
747
|
};
|
|
747
748
|
}, import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined>>,
|
|
748
749
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
@@ -1521,7 +1522,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
1521
1522
|
];
|
|
1522
1523
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
1523
1524
|
commands: {
|
|
1524
|
-
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1525
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1525
1526
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1526
1527
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1527
1528
|
};
|
|
@@ -2145,7 +2146,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2145
2146
|
];
|
|
2146
2147
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
2147
2148
|
commands: {
|
|
2148
|
-
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2149
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2149
2150
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2150
2151
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2151
2152
|
};
|
|
@@ -2287,6 +2288,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2287
2288
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
2288
2289
|
actions: {
|
|
2289
2290
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
2291
|
+
setProvider: (provider: Promise<import("@atlaskit/editor-common/provider-factory").MediaProvider>) => boolean;
|
|
2290
2292
|
};
|
|
2291
2293
|
}, import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined> | undefined,
|
|
2292
2294
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"imageUpload", {
|
|
@@ -2976,7 +2978,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2976
2978
|
];
|
|
2977
2979
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
2978
2980
|
commands: {
|
|
2979
|
-
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2981
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2980
2982
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2981
2983
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2982
2984
|
};
|
|
@@ -3118,6 +3120,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3118
3120
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
3119
3121
|
actions: {
|
|
3120
3122
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
3123
|
+
setProvider: (provider: Promise<import("@atlaskit/editor-common/provider-factory").MediaProvider>) => boolean;
|
|
3121
3124
|
};
|
|
3122
3125
|
}, import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined> | undefined,
|
|
3123
3126
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
@@ -3696,7 +3699,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3696
3699
|
];
|
|
3697
3700
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
3698
3701
|
commands: {
|
|
3699
|
-
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3702
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3700
3703
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3701
3704
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3702
3705
|
};
|
|
@@ -3954,7 +3957,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3954
3957
|
];
|
|
3955
3958
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
3956
3959
|
commands: {
|
|
3957
|
-
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3960
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3958
3961
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3959
3962
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3960
3963
|
};
|
|
@@ -4096,6 +4099,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
4096
4099
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
4097
4100
|
actions: {
|
|
4098
4101
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
4102
|
+
setProvider: (provider: Promise<import("@atlaskit/editor-common/provider-factory").MediaProvider>) => boolean;
|
|
4099
4103
|
};
|
|
4100
4104
|
}, import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined>>
|
|
4101
4105
|
];
|
|
@@ -4486,7 +4490,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
4486
4490
|
];
|
|
4487
4491
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
4488
4492
|
commands: {
|
|
4489
|
-
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4493
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4490
4494
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4491
4495
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4492
4496
|
};
|
|
@@ -5006,7 +5010,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
5006
5010
|
];
|
|
5007
5011
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
5008
5012
|
commands: {
|
|
5009
|
-
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5013
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5010
5014
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5011
5015
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5012
5016
|
};
|
|
@@ -5261,7 +5265,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
5261
5265
|
];
|
|
5262
5266
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
5263
5267
|
commands: {
|
|
5264
|
-
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5268
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5265
5269
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5266
5270
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5267
5271
|
};
|
|
@@ -5403,6 +5407,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
5403
5407
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
5404
5408
|
actions: {
|
|
5405
5409
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
5410
|
+
setProvider: (provider: Promise<import("@atlaskit/editor-common/provider-factory").MediaProvider>) => boolean;
|
|
5406
5411
|
};
|
|
5407
5412
|
}, import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined>>,
|
|
5408
5413
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
@@ -260,7 +260,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
260
260
|
];
|
|
261
261
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
262
262
|
commands: {
|
|
263
|
-
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
263
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
264
264
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
265
265
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
266
266
|
};
|
|
@@ -518,7 +518,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
518
518
|
];
|
|
519
519
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
520
520
|
commands: {
|
|
521
|
-
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
521
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
522
522
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
523
523
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
524
524
|
};
|
|
@@ -660,6 +660,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
660
660
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
661
661
|
actions: {
|
|
662
662
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
663
|
+
setProvider: (provider: Promise<import("@atlaskit/editor-common/provider-factory").MediaProvider>) => boolean;
|
|
663
664
|
};
|
|
664
665
|
}, import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined>>
|
|
665
666
|
];
|
|
@@ -1050,7 +1051,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1050
1051
|
];
|
|
1051
1052
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
1052
1053
|
commands: {
|
|
1053
|
-
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1054
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1054
1055
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1055
1056
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1056
1057
|
};
|
|
@@ -1570,7 +1571,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1570
1571
|
];
|
|
1571
1572
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
1572
1573
|
commands: {
|
|
1573
|
-
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1574
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1574
1575
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1575
1576
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1576
1577
|
};
|
|
@@ -1825,7 +1826,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1825
1826
|
];
|
|
1826
1827
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
1827
1828
|
commands: {
|
|
1828
|
-
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1829
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1829
1830
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1830
1831
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1831
1832
|
};
|
|
@@ -1967,6 +1968,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1967
1968
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
1968
1969
|
actions: {
|
|
1969
1970
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
1971
|
+
setProvider: (provider: Promise<import("@atlaskit/editor-common/provider-factory").MediaProvider>) => boolean;
|
|
1970
1972
|
};
|
|
1971
1973
|
}, import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined>>,
|
|
1972
1974
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
@@ -2374,7 +2376,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
2374
2376
|
];
|
|
2375
2377
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
2376
2378
|
commands: {
|
|
2377
|
-
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2379
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2378
2380
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2379
2381
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2380
2382
|
};
|
|
@@ -2632,7 +2634,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
2632
2634
|
];
|
|
2633
2635
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
2634
2636
|
commands: {
|
|
2635
|
-
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2637
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2636
2638
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2637
2639
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2638
2640
|
};
|
|
@@ -2774,6 +2776,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
2774
2776
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
2775
2777
|
actions: {
|
|
2776
2778
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
2779
|
+
setProvider: (provider: Promise<import("@atlaskit/editor-common/provider-factory").MediaProvider>) => boolean;
|
|
2777
2780
|
};
|
|
2778
2781
|
}, import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined>>
|
|
2779
2782
|
];
|
|
@@ -3164,7 +3167,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3164
3167
|
];
|
|
3165
3168
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
3166
3169
|
commands: {
|
|
3167
|
-
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3170
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3168
3171
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3169
3172
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3170
3173
|
};
|
|
@@ -3684,7 +3687,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3684
3687
|
];
|
|
3685
3688
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
3686
3689
|
commands: {
|
|
3687
|
-
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3690
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3688
3691
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3689
3692
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3690
3693
|
};
|
|
@@ -3939,7 +3942,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3939
3942
|
];
|
|
3940
3943
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
3941
3944
|
commands: {
|
|
3942
|
-
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3945
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3943
3946
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3944
3947
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3945
3948
|
};
|
|
@@ -4081,6 +4084,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4081
4084
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
4082
4085
|
actions: {
|
|
4083
4086
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
4087
|
+
setProvider: (provider: Promise<import("@atlaskit/editor-common/provider-factory").MediaProvider>) => boolean;
|
|
4084
4088
|
};
|
|
4085
4089
|
}, import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined>>,
|
|
4086
4090
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
@@ -363,7 +363,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
363
363
|
];
|
|
364
364
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
365
365
|
commands: {
|
|
366
|
-
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
366
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
367
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
|
};
|
|
@@ -618,7 +618,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
618
618
|
];
|
|
619
619
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
620
620
|
commands: {
|
|
621
|
-
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
621
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
622
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
|
};
|
|
@@ -760,6 +760,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
760
760
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
761
761
|
actions: {
|
|
762
762
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
763
|
+
setProvider: (provider: Promise<import("@atlaskit/editor-common/provider-factory").MediaProvider>) => boolean;
|
|
763
764
|
};
|
|
764
765
|
}, import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined>>,
|
|
765
766
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
@@ -1538,7 +1539,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
1538
1539
|
];
|
|
1539
1540
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
1540
1541
|
commands: {
|
|
1541
|
-
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1542
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1542
1543
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1543
1544
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1544
1545
|
};
|
|
@@ -2162,7 +2163,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2162
2163
|
];
|
|
2163
2164
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
2164
2165
|
commands: {
|
|
2165
|
-
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2166
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2166
2167
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2167
2168
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2168
2169
|
};
|
|
@@ -2304,6 +2305,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2304
2305
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
2305
2306
|
actions: {
|
|
2306
2307
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
2308
|
+
setProvider: (provider: Promise<import("@atlaskit/editor-common/provider-factory").MediaProvider>) => boolean;
|
|
2307
2309
|
};
|
|
2308
2310
|
}, import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined> | undefined,
|
|
2309
2311
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"imageUpload", {
|
|
@@ -2993,7 +2995,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2993
2995
|
];
|
|
2994
2996
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
2995
2997
|
commands: {
|
|
2996
|
-
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2998
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2997
2999
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2998
3000
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2999
3001
|
};
|
|
@@ -3135,6 +3137,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
3135
3137
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
3136
3138
|
actions: {
|
|
3137
3139
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
3140
|
+
setProvider: (provider: Promise<import("@atlaskit/editor-common/provider-factory").MediaProvider>) => boolean;
|
|
3138
3141
|
};
|
|
3139
3142
|
}, import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined> | undefined,
|
|
3140
3143
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
@@ -3713,7 +3716,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
3713
3716
|
];
|
|
3714
3717
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
3715
3718
|
commands: {
|
|
3716
|
-
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3719
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3717
3720
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3718
3721
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3719
3722
|
};
|
|
@@ -3971,7 +3974,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
3971
3974
|
];
|
|
3972
3975
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
3973
3976
|
commands: {
|
|
3974
|
-
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3977
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3975
3978
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3976
3979
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3977
3980
|
};
|
|
@@ -4113,6 +4116,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
4113
4116
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
4114
4117
|
actions: {
|
|
4115
4118
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
4119
|
+
setProvider: (provider: Promise<import("@atlaskit/editor-common/provider-factory").MediaProvider>) => boolean;
|
|
4116
4120
|
};
|
|
4117
4121
|
}, import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined>>
|
|
4118
4122
|
];
|
|
@@ -4503,7 +4507,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
4503
4507
|
];
|
|
4504
4508
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
4505
4509
|
commands: {
|
|
4506
|
-
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4510
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4507
4511
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4508
4512
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4509
4513
|
};
|
|
@@ -5023,7 +5027,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
5023
5027
|
];
|
|
5024
5028
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
5025
5029
|
commands: {
|
|
5026
|
-
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5030
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5027
5031
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5028
5032
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5029
5033
|
};
|
|
@@ -5278,7 +5282,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
5278
5282
|
];
|
|
5279
5283
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
5280
5284
|
commands: {
|
|
5281
|
-
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5285
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5282
5286
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5283
5287
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5284
5288
|
};
|
|
@@ -5420,6 +5424,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
5420
5424
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
5421
5425
|
actions: {
|
|
5422
5426
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
5427
|
+
setProvider: (provider: Promise<import("@atlaskit/editor-common/provider-factory").MediaProvider>) => boolean;
|
|
5423
5428
|
};
|
|
5424
5429
|
}, import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined>>,
|
|
5425
5430
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|