@atlaskit/editor-core 195.0.9 → 195.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 195.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#126478](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/126478)
8
+ [`d4759f0dd6f74`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d4759f0dd6f74) -
9
+ [ED-24247] Added 'mediaInsertPlugin' to the universal preset behind a fg
10
+ "platform_editor_insert_media_plugin_phase_one" and also only if the mediaPlugin is added
11
+
3
12
  ## 195.0.9
4
13
 
5
14
  ### Patch Changes
@@ -41,6 +41,7 @@ var _layout = require("@atlaskit/editor-plugins/layout");
41
41
  var _list = require("@atlaskit/editor-plugins/list");
42
42
  var _maxContentSize = require("@atlaskit/editor-plugins/max-content-size");
43
43
  var _media = require("@atlaskit/editor-plugins/media");
44
+ var _mediaInsert = require("@atlaskit/editor-plugins/media-insert");
44
45
  var _mentions = require("@atlaskit/editor-plugins/mentions");
45
46
  var _panel = require("@atlaskit/editor-plugins/panel");
46
47
  var _pasteOptionsToolbar = require("@atlaskit/editor-plugins/paste-options-toolbar");
@@ -121,7 +122,7 @@ function createUniversalPreset(appearance, props, featureFlags, prevAppearance,
121
122
  isCopyPasteEnabled: !isMobile,
122
123
  alignLeftOnInsert: typeof ((_props$media3 = props.media) === null || _props$media3 === void 0 ? void 0 : _props$media3.alignLeftOnInsert) !== 'undefined' ? (_props$media4 = props.media) === null || _props$media4 === void 0 ? void 0 : _props$media4.alignLeftOnInsert : isComment,
123
124
  getEditorFeatureFlags: getEditorFeatureFlags
124
- })], Boolean(props.media)).maybeAdd(_caption.captionPlugin, Boolean((_props$media5 = props.media) === null || _props$media5 === void 0 ? void 0 : _props$media5.allowCaptions)).maybeAdd([_mentions.mentionsPlugin, {
125
+ })], Boolean(props.media)).maybeAdd(_mediaInsert.mediaInsertPlugin, Boolean(props.media && (0, _platformFeatureFlags.fg)('platform_editor_insert_media_plugin_phase_one'))).maybeAdd(_caption.captionPlugin, Boolean((_props$media5 = props.media) === null || _props$media5 === void 0 ? void 0 : _props$media5.allowCaptions)).maybeAdd([_mentions.mentionsPlugin, {
125
126
  sanitizePrivateContent: props.sanitizePrivateContent,
126
127
  insertDisplayName: (_props$mention$insert = (_props$mention = props.mention) === null || _props$mention === void 0 ? void 0 : _props$mention.insertDisplayName) !== null && _props$mention$insert !== void 0 ? _props$mention$insert : props.mentionInsertDisplayName,
127
128
  allowZeroWidthSpaceAfter: !isMobile,
@@ -5,4 +5,4 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
- var version = exports.version = "195.0.9";
8
+ var version = exports.version = "195.1.0";
@@ -31,6 +31,7 @@ import { layoutPlugin } from '@atlaskit/editor-plugins/layout';
31
31
  import { listPlugin } from '@atlaskit/editor-plugins/list';
32
32
  import { maxContentSizePlugin } from '@atlaskit/editor-plugins/max-content-size';
33
33
  import { mediaPlugin } from '@atlaskit/editor-plugins/media';
34
+ import { mediaInsertPlugin } from '@atlaskit/editor-plugins/media-insert';
34
35
  import { mentionsPlugin } from '@atlaskit/editor-plugins/mentions';
35
36
  import { panelPlugin } from '@atlaskit/editor-plugins/panel';
36
37
  import { pasteOptionsToolbarPlugin } from '@atlaskit/editor-plugins/paste-options-toolbar';
@@ -110,7 +111,7 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
110
111
  isCopyPasteEnabled: !isMobile,
111
112
  alignLeftOnInsert: typeof ((_props$media3 = props.media) === null || _props$media3 === void 0 ? void 0 : _props$media3.alignLeftOnInsert) !== 'undefined' ? (_props$media4 = props.media) === null || _props$media4 === void 0 ? void 0 : _props$media4.alignLeftOnInsert : isComment,
112
113
  getEditorFeatureFlags
113
- }], Boolean(props.media)).maybeAdd(captionPlugin, Boolean((_props$media5 = props.media) === null || _props$media5 === void 0 ? void 0 : _props$media5.allowCaptions)).maybeAdd([mentionsPlugin, {
114
+ }], Boolean(props.media)).maybeAdd(mediaInsertPlugin, Boolean(props.media && fg('platform_editor_insert_media_plugin_phase_one'))).maybeAdd(captionPlugin, Boolean((_props$media5 = props.media) === null || _props$media5 === void 0 ? void 0 : _props$media5.allowCaptions)).maybeAdd([mentionsPlugin, {
114
115
  sanitizePrivateContent: props.sanitizePrivateContent,
115
116
  insertDisplayName: (_props$mention$insert = (_props$mention = props.mention) === null || _props$mention === void 0 ? void 0 : _props$mention.insertDisplayName) !== null && _props$mention$insert !== void 0 ? _props$mention$insert : props.mentionInsertDisplayName,
116
117
  allowZeroWidthSpaceAfter: !isMobile,
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "195.0.9";
2
+ export const version = "195.1.0";
@@ -35,6 +35,7 @@ import { layoutPlugin } from '@atlaskit/editor-plugins/layout';
35
35
  import { listPlugin } from '@atlaskit/editor-plugins/list';
36
36
  import { maxContentSizePlugin } from '@atlaskit/editor-plugins/max-content-size';
37
37
  import { mediaPlugin } from '@atlaskit/editor-plugins/media';
38
+ import { mediaInsertPlugin } from '@atlaskit/editor-plugins/media-insert';
38
39
  import { mentionsPlugin } from '@atlaskit/editor-plugins/mentions';
39
40
  import { panelPlugin } from '@atlaskit/editor-plugins/panel';
40
41
  import { pasteOptionsToolbarPlugin } from '@atlaskit/editor-plugins/paste-options-toolbar';
@@ -113,7 +114,7 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
113
114
  isCopyPasteEnabled: !isMobile,
114
115
  alignLeftOnInsert: typeof ((_props$media3 = props.media) === null || _props$media3 === void 0 ? void 0 : _props$media3.alignLeftOnInsert) !== 'undefined' ? (_props$media4 = props.media) === null || _props$media4 === void 0 ? void 0 : _props$media4.alignLeftOnInsert : isComment,
115
116
  getEditorFeatureFlags: getEditorFeatureFlags
116
- })], Boolean(props.media)).maybeAdd(captionPlugin, Boolean((_props$media5 = props.media) === null || _props$media5 === void 0 ? void 0 : _props$media5.allowCaptions)).maybeAdd([mentionsPlugin, {
117
+ })], Boolean(props.media)).maybeAdd(mediaInsertPlugin, Boolean(props.media && fg('platform_editor_insert_media_plugin_phase_one'))).maybeAdd(captionPlugin, Boolean((_props$media5 = props.media) === null || _props$media5 === void 0 ? void 0 : _props$media5.allowCaptions)).maybeAdd([mentionsPlugin, {
117
118
  sanitizePrivateContent: props.sanitizePrivateContent,
118
119
  insertDisplayName: (_props$mention$insert = (_props$mention = props.mention) === null || _props$mention === void 0 ? void 0 : _props$mention.insertDisplayName) !== null && _props$mention$insert !== void 0 ? _props$mention$insert : props.mentionInsertDisplayName,
119
120
  allowZeroWidthSpaceAfter: !isMobile,
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "195.0.9";
2
+ export var version = "195.1.0";
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import type { EditorProps } from '../types';
3
- export declare function createPreset(props: EditorProps, prevProps?: EditorProps): import("@atlaskit/editor-common/preset").EditorPresetBuilder<["codeBidiWarning", "pasteOptionsToolbarPlugin", import("@atlaskit/editor-common/preset").MaybePluginName<"fragmentPlugin">, import("@atlaskit/editor-common/preset").MaybePluginName<"border">, import("@atlaskit/editor-common/preset").MaybePluginName<"findReplace">, "avatarGroup", import("@atlaskit/editor-common/preset").MaybePluginName<"beforePrimaryToolbar">, "insertBlock", "toolbarListsIndentation", import("@atlaskit/editor-common/preset").MaybePluginName<"scrollIntoView">, import("@atlaskit/editor-common/preset").MaybePluginName<"indentation">, import("@atlaskit/editor-common/preset").MaybePluginName<"status">, import("@atlaskit/editor-common/preset").MaybePluginName<"customAutoformat">, import("@atlaskit/editor-common/preset").MaybePluginName<"card">, import("@atlaskit/editor-common/preset").MaybePluginName<"layout">, import("@atlaskit/editor-common/preset").MaybePluginName<"placeholderText">, import("@atlaskit/editor-common/preset").MaybePluginName<"date">, import("@atlaskit/editor-common/preset").MaybePluginName<"annotation">, import("@atlaskit/editor-common/preset").MaybePluginName<"extension">, import("@atlaskit/editor-common/preset").MaybePluginName<"contextPanel">, import("@atlaskit/editor-common/preset").MaybePluginName<"panel">, import("@atlaskit/editor-common/preset").MaybePluginName<"maxContentSize">, import("@atlaskit/editor-common/preset").MaybePluginName<"collabEdit">, import("@atlaskit/editor-common/preset").MaybePluginName<"media">, import("@atlaskit/editor-common/preset").MaybePluginName<"imageUpload">, import("@atlaskit/editor-common/preset").MaybePluginName<"saveOnEnter">, import("@atlaskit/editor-common/preset").MaybePluginName<"helpDialog">, import("@atlaskit/editor-common/preset").MaybePluginName<"feedbackDialog">, import("@atlaskit/editor-common/preset").MaybePluginName<"taskDecision">, import("@atlaskit/editor-common/preset").MaybePluginName<"table">, import("@atlaskit/editor-common/preset").MaybePluginName<"emoji">, import("@atlaskit/editor-common/preset").MaybePluginName<"mention">, import("@atlaskit/editor-common/preset").MaybePluginName<"caption">, import("@atlaskit/editor-common/preset").MaybePluginName<"media">, import("@atlaskit/editor-common/preset").MaybePluginName<"annotation">, import("@atlaskit/editor-common/preset").MaybePluginName<"grid">, import("@atlaskit/editor-common/preset").MaybePluginName<"guideline">, import("@atlaskit/editor-common/preset").MaybePluginName<"expand">, import("@atlaskit/editor-common/preset").MaybePluginName<"rule">, "list", import("@atlaskit/editor-common/preset").MaybePluginName<"textColor">, import("@atlaskit/editor-common/preset").MaybePluginName<"alignment">, import("@atlaskit/editor-common/preset").MaybePluginName<"breakout">, "contentInsertion", "accessibilityUtils", "dataConsumer", "codeBlock", "selection", "floatingToolbar", "copyButton", "submitEditor", "editorDisabled", "unsupportedContent", "placeholder", "quickInsert", "width", "textFormatting", "hyperlink", "selectionToolbar", "clearMarksOnEmptyDoc", "blockType", import("@atlaskit/editor-common/preset").MaybePluginName<"undoRedoPlugin">, import("@atlaskit/editor-common/preset").MaybePluginName<"primaryToolbar">, import("@atlaskit/editor-common/preset").MaybePluginName<"history">, "typeAhead", "decorations", "base", "contextIdentifier", "composition", "focus", "clipboard", "paste", "betterTypeHistory", import("@atlaskit/editor-common/preset").MaybePluginName<"analytics">, "featureFlags"], [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"codeBidiWarning", {
3
+ export declare function createPreset(props: EditorProps, prevProps?: EditorProps): import("@atlaskit/editor-common/preset").EditorPresetBuilder<["codeBidiWarning", "pasteOptionsToolbarPlugin", import("@atlaskit/editor-common/preset").MaybePluginName<"fragmentPlugin">, import("@atlaskit/editor-common/preset").MaybePluginName<"border">, import("@atlaskit/editor-common/preset").MaybePluginName<"findReplace">, "avatarGroup", import("@atlaskit/editor-common/preset").MaybePluginName<"beforePrimaryToolbar">, "insertBlock", "toolbarListsIndentation", import("@atlaskit/editor-common/preset").MaybePluginName<"scrollIntoView">, import("@atlaskit/editor-common/preset").MaybePluginName<"indentation">, import("@atlaskit/editor-common/preset").MaybePluginName<"status">, import("@atlaskit/editor-common/preset").MaybePluginName<"customAutoformat">, import("@atlaskit/editor-common/preset").MaybePluginName<"card">, import("@atlaskit/editor-common/preset").MaybePluginName<"layout">, import("@atlaskit/editor-common/preset").MaybePluginName<"placeholderText">, import("@atlaskit/editor-common/preset").MaybePluginName<"date">, import("@atlaskit/editor-common/preset").MaybePluginName<"annotation">, import("@atlaskit/editor-common/preset").MaybePluginName<"extension">, import("@atlaskit/editor-common/preset").MaybePluginName<"contextPanel">, import("@atlaskit/editor-common/preset").MaybePluginName<"panel">, import("@atlaskit/editor-common/preset").MaybePluginName<"maxContentSize">, import("@atlaskit/editor-common/preset").MaybePluginName<"collabEdit">, import("@atlaskit/editor-common/preset").MaybePluginName<"media">, import("@atlaskit/editor-common/preset").MaybePluginName<"imageUpload">, import("@atlaskit/editor-common/preset").MaybePluginName<"saveOnEnter">, import("@atlaskit/editor-common/preset").MaybePluginName<"helpDialog">, import("@atlaskit/editor-common/preset").MaybePluginName<"feedbackDialog">, import("@atlaskit/editor-common/preset").MaybePluginName<"taskDecision">, import("@atlaskit/editor-common/preset").MaybePluginName<"table">, import("@atlaskit/editor-common/preset").MaybePluginName<"emoji">, import("@atlaskit/editor-common/preset").MaybePluginName<"mention">, import("@atlaskit/editor-common/preset").MaybePluginName<"caption">, import("@atlaskit/editor-common/preset").MaybePluginName<"mediaInsert">, import("@atlaskit/editor-common/preset").MaybePluginName<"media">, import("@atlaskit/editor-common/preset").MaybePluginName<"annotation">, import("@atlaskit/editor-common/preset").MaybePluginName<"grid">, import("@atlaskit/editor-common/preset").MaybePluginName<"guideline">, import("@atlaskit/editor-common/preset").MaybePluginName<"expand">, import("@atlaskit/editor-common/preset").MaybePluginName<"rule">, "list", import("@atlaskit/editor-common/preset").MaybePluginName<"textColor">, import("@atlaskit/editor-common/preset").MaybePluginName<"alignment">, import("@atlaskit/editor-common/preset").MaybePluginName<"breakout">, "contentInsertion", "accessibilityUtils", "dataConsumer", "codeBlock", "selection", "floatingToolbar", "copyButton", "submitEditor", "editorDisabled", "unsupportedContent", "placeholder", "quickInsert", "width", "textFormatting", "hyperlink", "selectionToolbar", "clearMarksOnEmptyDoc", "blockType", import("@atlaskit/editor-common/preset").MaybePluginName<"undoRedoPlugin">, import("@atlaskit/editor-common/preset").MaybePluginName<"primaryToolbar">, import("@atlaskit/editor-common/preset").MaybePluginName<"history">, "typeAhead", "decorations", "base", "contextIdentifier", "composition", "focus", "clipboard", "paste", "betterTypeHistory", import("@atlaskit/editor-common/preset").MaybePluginName<"analytics">, "featureFlags"], [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"codeBidiWarning", {
4
4
  pluginConfiguration: {
5
5
  appearance?: import("@atlaskit/editor-common/types").EditorAppearance | undefined;
6
6
  } | undefined;
@@ -698,11 +698,11 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
698
698
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
699
699
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
700
700
  sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
701
- commands: {
701
+ actions: {
702
702
  registerComponent: ({ name, component, }: {
703
703
  name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
704
704
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
705
- }) => import("@atlaskit/editor-common/types").EditorCommand;
705
+ }) => void;
706
706
  };
707
707
  }, undefined>>];
708
708
  actions: {
@@ -780,11 +780,11 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
780
780
  };
781
781
  }, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
782
782
  sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
783
- commands: {
783
+ actions: {
784
784
  registerComponent: ({ name, component, }: {
785
785
  name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
786
786
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
787
- }) => import("@atlaskit/editor-common/types").EditorCommand;
787
+ }) => void;
788
788
  };
789
789
  }, undefined>>];
790
790
  actions: {
@@ -802,11 +802,11 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
802
802
  };
803
803
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
804
804
  sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
805
- commands: {
805
+ actions: {
806
806
  registerComponent: ({ name, component, }: {
807
807
  name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
808
808
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
809
- }) => import("@atlaskit/editor-common/types").EditorCommand;
809
+ }) => void;
810
810
  };
811
811
  }, undefined>>];
812
812
  }, {
@@ -962,11 +962,11 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
962
962
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
963
963
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
964
964
  sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
965
- commands: {
965
+ actions: {
966
966
  registerComponent: ({ name, component, }: {
967
967
  name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
968
968
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
969
- }) => import("@atlaskit/editor-common/types").EditorCommand;
969
+ }) => void;
970
970
  };
971
971
  }, undefined>>];
972
972
  }, {
@@ -2219,7 +2219,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
2219
2219
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
2220
2220
  sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
2221
2221
  }, undefined>>];
2222
- }, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
2222
+ }, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"mediaInsert", {}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
2223
2223
  pluginConfiguration: import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined;
2224
2224
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
2225
2225
  pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
@@ -2772,11 +2772,11 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
2772
2772
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
2773
2773
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
2774
2774
  sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
2775
- commands: {
2775
+ actions: {
2776
2776
  registerComponent: ({ name, component, }: {
2777
2777
  name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
2778
2778
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
2779
- }) => import("@atlaskit/editor-common/types").EditorCommand;
2779
+ }) => void;
2780
2780
  };
2781
2781
  }, undefined>>];
2782
2782
  actions: {
@@ -2787,11 +2787,11 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
2787
2787
  sharedState: import("@atlaskit/editor-plugin-alignment").AlignmentPluginState | undefined;
2788
2788
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
2789
2789
  sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
2790
- commands: {
2790
+ actions: {
2791
2791
  registerComponent: ({ name, component, }: {
2792
2792
  name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
2793
2793
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
2794
- }) => import("@atlaskit/editor-common/types").EditorCommand;
2794
+ }) => void;
2795
2795
  };
2796
2796
  }, undefined>>];
2797
2797
  }, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"breakout", {
@@ -3437,11 +3437,11 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
3437
3437
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
3438
3438
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
3439
3439
  sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
3440
- commands: {
3440
+ actions: {
3441
3441
  registerComponent: ({ name, component, }: {
3442
3442
  name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
3443
3443
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
3444
- }) => import("@atlaskit/editor-common/types").EditorCommand;
3444
+ }) => void;
3445
3445
  };
3446
3446
  }, undefined>>];
3447
3447
  commands: {
@@ -3706,11 +3706,11 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
3706
3706
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
3707
3707
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
3708
3708
  sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
3709
- commands: {
3709
+ actions: {
3710
3710
  registerComponent: ({ name, component, }: {
3711
3711
  name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
3712
3712
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
3713
- }) => import("@atlaskit/editor-common/types").EditorCommand;
3713
+ }) => void;
3714
3714
  };
3715
3715
  }, undefined>>];
3716
3716
  sharedState: import("@atlaskit/editor-plugin-block-type").BlockTypeState | undefined;
@@ -3770,20 +3770,20 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
3770
3770
  sharedState: import("@atlaskit/editor-plugin-history").HistoryPluginState | undefined;
3771
3771
  }, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
3772
3772
  sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
3773
- commands: {
3773
+ actions: {
3774
3774
  registerComponent: ({ name, component, }: {
3775
3775
  name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
3776
3776
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
3777
- }) => import("@atlaskit/editor-common/types").EditorCommand;
3777
+ }) => void;
3778
3778
  };
3779
3779
  }, undefined>>];
3780
3780
  }, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
3781
3781
  sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
3782
- commands: {
3782
+ actions: {
3783
3783
  registerComponent: ({ name, component, }: {
3784
3784
  name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
3785
3785
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
3786
- }) => import("@atlaskit/editor-common/types").EditorCommand;
3786
+ }) => void;
3787
3787
  };
3788
3788
  }, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"history", {
3789
3789
  sharedState: import("@atlaskit/editor-plugin-history").HistoryPluginState | undefined;
@@ -650,11 +650,11 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
650
650
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
651
651
  }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
652
652
  sharedState: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginState | undefined;
653
- commands: {
653
+ actions: {
654
654
  registerComponent: ({ name, component, }: {
655
655
  name: import("@atlaskit/editor-plugins/primary-toolbar").ToolbarElementNames;
656
656
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
657
- }) => import("@atlaskit/editor-common/types").EditorCommand;
657
+ }) => void;
658
658
  };
659
659
  }, undefined>>];
660
660
  commands: {
@@ -919,11 +919,11 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
919
919
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
920
920
  }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
921
921
  sharedState: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginState | undefined;
922
- commands: {
922
+ actions: {
923
923
  registerComponent: ({ name, component, }: {
924
924
  name: import("@atlaskit/editor-plugins/primary-toolbar").ToolbarElementNames;
925
925
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
926
- }) => import("@atlaskit/editor-common/types").EditorCommand;
926
+ }) => void;
927
927
  };
928
928
  }, undefined>>];
929
929
  sharedState: import("@atlaskit/editor-plugins/block-type").BlockTypeState | undefined;
@@ -983,20 +983,20 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
983
983
  sharedState: import("@atlaskit/editor-plugins/history").HistoryPluginState | undefined;
984
984
  }, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
985
985
  sharedState: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginState | undefined;
986
- commands: {
986
+ actions: {
987
987
  registerComponent: ({ name, component, }: {
988
988
  name: import("@atlaskit/editor-plugins/primary-toolbar").ToolbarElementNames;
989
989
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
990
- }) => import("@atlaskit/editor-common/types").EditorCommand;
990
+ }) => void;
991
991
  };
992
992
  }, undefined>>];
993
993
  }, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
994
994
  sharedState: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginState | undefined;
995
- commands: {
995
+ actions: {
996
996
  registerComponent: ({ name, component, }: {
997
997
  name: import("@atlaskit/editor-plugins/primary-toolbar").ToolbarElementNames;
998
998
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
999
- }) => import("@atlaskit/editor-common/types").EditorCommand;
999
+ }) => void;
1000
1000
  };
1001
1001
  }, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"history", {
1002
1002
  sharedState: import("@atlaskit/editor-plugins/history").HistoryPluginState | undefined;
@@ -2360,11 +2360,11 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
2360
2360
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
2361
2361
  }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
2362
2362
  sharedState: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginState | undefined;
2363
- commands: {
2363
+ actions: {
2364
2364
  registerComponent: ({ name, component, }: {
2365
2365
  name: import("@atlaskit/editor-plugins/primary-toolbar").ToolbarElementNames;
2366
2366
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
2367
- }) => import("@atlaskit/editor-common/types").EditorCommand;
2367
+ }) => void;
2368
2368
  };
2369
2369
  }, undefined>>];
2370
2370
  commands: {
@@ -2629,11 +2629,11 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
2629
2629
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
2630
2630
  }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
2631
2631
  sharedState: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginState | undefined;
2632
- commands: {
2632
+ actions: {
2633
2633
  registerComponent: ({ name, component, }: {
2634
2634
  name: import("@atlaskit/editor-plugins/primary-toolbar").ToolbarElementNames;
2635
2635
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
2636
- }) => import("@atlaskit/editor-common/types").EditorCommand;
2636
+ }) => void;
2637
2637
  };
2638
2638
  }, undefined>>];
2639
2639
  sharedState: import("@atlaskit/editor-plugins/block-type").BlockTypeState | undefined;
@@ -2693,20 +2693,20 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
2693
2693
  sharedState: import("@atlaskit/editor-plugins/history").HistoryPluginState | undefined;
2694
2694
  }, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
2695
2695
  sharedState: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginState | undefined;
2696
- commands: {
2696
+ actions: {
2697
2697
  registerComponent: ({ name, component, }: {
2698
2698
  name: import("@atlaskit/editor-plugins/primary-toolbar").ToolbarElementNames;
2699
2699
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
2700
- }) => import("@atlaskit/editor-common/types").EditorCommand;
2700
+ }) => void;
2701
2701
  };
2702
2702
  }, undefined>>];
2703
2703
  }, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
2704
2704
  sharedState: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginState | undefined;
2705
- commands: {
2705
+ actions: {
2706
2706
  registerComponent: ({ name, component, }: {
2707
2707
  name: import("@atlaskit/editor-plugins/primary-toolbar").ToolbarElementNames;
2708
2708
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
2709
- }) => import("@atlaskit/editor-common/types").EditorCommand;
2709
+ }) => void;
2710
2710
  };
2711
2711
  }, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"history", {
2712
2712
  sharedState: import("@atlaskit/editor-plugins/history").HistoryPluginState | undefined;
@@ -17,7 +17,7 @@ type UniversalPresetProps = DefaultPresetPluginOptions & EditorSharedPropsWithPl
17
17
  * @param prevAppearance The appearance of the editor in the previous render
18
18
  * @returns a full featured preset configured according to the provided props - basis for create-plugins-list
19
19
  */
20
- export default function createUniversalPreset(appearance: EditorAppearance | undefined, props: UniversalPresetProps, featureFlags: FeatureFlags, prevAppearance?: EditorAppearance, createAnalyticsEvent?: CreateUIAnalyticsEvent): import("@atlaskit/editor-common/preset").EditorPresetBuilder<["codeBidiWarning", "pasteOptionsToolbarPlugin", import("@atlaskit/editor-common/preset").MaybePluginName<"fragmentPlugin">, import("@atlaskit/editor-common/preset").MaybePluginName<"border">, import("@atlaskit/editor-common/preset").MaybePluginName<"findReplace">, "avatarGroup", import("@atlaskit/editor-common/preset").MaybePluginName<"beforePrimaryToolbar">, "insertBlock", "toolbarListsIndentation", import("@atlaskit/editor-common/preset").MaybePluginName<"scrollIntoView">, import("@atlaskit/editor-common/preset").MaybePluginName<"indentation">, import("@atlaskit/editor-common/preset").MaybePluginName<"status">, import("@atlaskit/editor-common/preset").MaybePluginName<"customAutoformat">, import("@atlaskit/editor-common/preset").MaybePluginName<"card">, import("@atlaskit/editor-common/preset").MaybePluginName<"layout">, import("@atlaskit/editor-common/preset").MaybePluginName<"placeholderText">, import("@atlaskit/editor-common/preset").MaybePluginName<"date">, import("@atlaskit/editor-common/preset").MaybePluginName<"annotation">, import("@atlaskit/editor-common/preset").MaybePluginName<"extension">, import("@atlaskit/editor-common/preset").MaybePluginName<"contextPanel">, import("@atlaskit/editor-common/preset").MaybePluginName<"panel">, import("@atlaskit/editor-common/preset").MaybePluginName<"maxContentSize">, import("@atlaskit/editor-common/preset").MaybePluginName<"collabEdit">, import("@atlaskit/editor-common/preset").MaybePluginName<"media">, import("@atlaskit/editor-common/preset").MaybePluginName<"imageUpload">, import("@atlaskit/editor-common/preset").MaybePluginName<"saveOnEnter">, import("@atlaskit/editor-common/preset").MaybePluginName<"helpDialog">, import("@atlaskit/editor-common/preset").MaybePluginName<"feedbackDialog">, import("@atlaskit/editor-common/preset").MaybePluginName<"taskDecision">, import("@atlaskit/editor-common/preset").MaybePluginName<"table">, import("@atlaskit/editor-common/preset").MaybePluginName<"emoji">, import("@atlaskit/editor-common/preset").MaybePluginName<"mention">, import("@atlaskit/editor-common/preset").MaybePluginName<"caption">, import("@atlaskit/editor-common/preset").MaybePluginName<"media">, import("@atlaskit/editor-common/preset").MaybePluginName<"annotation">, import("@atlaskit/editor-common/preset").MaybePluginName<"grid">, import("@atlaskit/editor-common/preset").MaybePluginName<"guideline">, import("@atlaskit/editor-common/preset").MaybePluginName<"expand">, import("@atlaskit/editor-common/preset").MaybePluginName<"rule">, "list", import("@atlaskit/editor-common/preset").MaybePluginName<"textColor">, import("@atlaskit/editor-common/preset").MaybePluginName<"alignment">, import("@atlaskit/editor-common/preset").MaybePluginName<"breakout">, "contentInsertion", "accessibilityUtils", "dataConsumer", "codeBlock", "selection", "floatingToolbar", "copyButton", "submitEditor", "editorDisabled", "unsupportedContent", "placeholder", "quickInsert", "width", "textFormatting", "hyperlink", "selectionToolbar", "clearMarksOnEmptyDoc", "blockType", import("@atlaskit/editor-common/preset").MaybePluginName<"undoRedoPlugin">, import("@atlaskit/editor-common/preset").MaybePluginName<"primaryToolbar">, import("@atlaskit/editor-common/preset").MaybePluginName<"history">, "typeAhead", "decorations", "base", "contextIdentifier", "composition", "focus", "clipboard", "paste", "betterTypeHistory", import("@atlaskit/editor-common/preset").MaybePluginName<"analytics">, "featureFlags"], [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"codeBidiWarning", {
20
+ export default function createUniversalPreset(appearance: EditorAppearance | undefined, props: UniversalPresetProps, featureFlags: FeatureFlags, prevAppearance?: EditorAppearance, createAnalyticsEvent?: CreateUIAnalyticsEvent): import("@atlaskit/editor-common/preset").EditorPresetBuilder<["codeBidiWarning", "pasteOptionsToolbarPlugin", import("@atlaskit/editor-common/preset").MaybePluginName<"fragmentPlugin">, import("@atlaskit/editor-common/preset").MaybePluginName<"border">, import("@atlaskit/editor-common/preset").MaybePluginName<"findReplace">, "avatarGroup", import("@atlaskit/editor-common/preset").MaybePluginName<"beforePrimaryToolbar">, "insertBlock", "toolbarListsIndentation", import("@atlaskit/editor-common/preset").MaybePluginName<"scrollIntoView">, import("@atlaskit/editor-common/preset").MaybePluginName<"indentation">, import("@atlaskit/editor-common/preset").MaybePluginName<"status">, import("@atlaskit/editor-common/preset").MaybePluginName<"customAutoformat">, import("@atlaskit/editor-common/preset").MaybePluginName<"card">, import("@atlaskit/editor-common/preset").MaybePluginName<"layout">, import("@atlaskit/editor-common/preset").MaybePluginName<"placeholderText">, import("@atlaskit/editor-common/preset").MaybePluginName<"date">, import("@atlaskit/editor-common/preset").MaybePluginName<"annotation">, import("@atlaskit/editor-common/preset").MaybePluginName<"extension">, import("@atlaskit/editor-common/preset").MaybePluginName<"contextPanel">, import("@atlaskit/editor-common/preset").MaybePluginName<"panel">, import("@atlaskit/editor-common/preset").MaybePluginName<"maxContentSize">, import("@atlaskit/editor-common/preset").MaybePluginName<"collabEdit">, import("@atlaskit/editor-common/preset").MaybePluginName<"media">, import("@atlaskit/editor-common/preset").MaybePluginName<"imageUpload">, import("@atlaskit/editor-common/preset").MaybePluginName<"saveOnEnter">, import("@atlaskit/editor-common/preset").MaybePluginName<"helpDialog">, import("@atlaskit/editor-common/preset").MaybePluginName<"feedbackDialog">, import("@atlaskit/editor-common/preset").MaybePluginName<"taskDecision">, import("@atlaskit/editor-common/preset").MaybePluginName<"table">, import("@atlaskit/editor-common/preset").MaybePluginName<"emoji">, import("@atlaskit/editor-common/preset").MaybePluginName<"mention">, import("@atlaskit/editor-common/preset").MaybePluginName<"caption">, import("@atlaskit/editor-common/preset").MaybePluginName<"mediaInsert">, import("@atlaskit/editor-common/preset").MaybePluginName<"media">, import("@atlaskit/editor-common/preset").MaybePluginName<"annotation">, import("@atlaskit/editor-common/preset").MaybePluginName<"grid">, import("@atlaskit/editor-common/preset").MaybePluginName<"guideline">, import("@atlaskit/editor-common/preset").MaybePluginName<"expand">, import("@atlaskit/editor-common/preset").MaybePluginName<"rule">, "list", import("@atlaskit/editor-common/preset").MaybePluginName<"textColor">, import("@atlaskit/editor-common/preset").MaybePluginName<"alignment">, import("@atlaskit/editor-common/preset").MaybePluginName<"breakout">, "contentInsertion", "accessibilityUtils", "dataConsumer", "codeBlock", "selection", "floatingToolbar", "copyButton", "submitEditor", "editorDisabled", "unsupportedContent", "placeholder", "quickInsert", "width", "textFormatting", "hyperlink", "selectionToolbar", "clearMarksOnEmptyDoc", "blockType", import("@atlaskit/editor-common/preset").MaybePluginName<"undoRedoPlugin">, import("@atlaskit/editor-common/preset").MaybePluginName<"primaryToolbar">, import("@atlaskit/editor-common/preset").MaybePluginName<"history">, "typeAhead", "decorations", "base", "contextIdentifier", "composition", "focus", "clipboard", "paste", "betterTypeHistory", import("@atlaskit/editor-common/preset").MaybePluginName<"analytics">, "featureFlags"], [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"codeBidiWarning", {
21
21
  pluginConfiguration: {
22
22
  appearance?: EditorAppearance | undefined;
23
23
  } | undefined;
@@ -715,11 +715,11 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
715
715
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
716
716
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
717
717
  sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
718
- commands: {
718
+ actions: {
719
719
  registerComponent: ({ name, component, }: {
720
720
  name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
721
721
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
722
- }) => import("@atlaskit/editor-common/types").EditorCommand;
722
+ }) => void;
723
723
  };
724
724
  }, undefined>>];
725
725
  actions: {
@@ -797,11 +797,11 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
797
797
  };
798
798
  }, import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
799
799
  sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
800
- commands: {
800
+ actions: {
801
801
  registerComponent: ({ name, component, }: {
802
802
  name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
803
803
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
804
- }) => import("@atlaskit/editor-common/types").EditorCommand;
804
+ }) => void;
805
805
  };
806
806
  }, undefined>>];
807
807
  actions: {
@@ -819,11 +819,11 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
819
819
  };
820
820
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
821
821
  sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
822
- commands: {
822
+ actions: {
823
823
  registerComponent: ({ name, component, }: {
824
824
  name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
825
825
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
826
- }) => import("@atlaskit/editor-common/types").EditorCommand;
826
+ }) => void;
827
827
  };
828
828
  }, undefined>>];
829
829
  }, {
@@ -979,11 +979,11 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
979
979
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
980
980
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
981
981
  sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
982
- commands: {
982
+ actions: {
983
983
  registerComponent: ({ name, component, }: {
984
984
  name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
985
985
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
986
- }) => import("@atlaskit/editor-common/types").EditorCommand;
986
+ }) => void;
987
987
  };
988
988
  }, undefined>>];
989
989
  }, {
@@ -2236,7 +2236,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
2236
2236
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
2237
2237
  sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
2238
2238
  }, undefined>>];
2239
- }, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
2239
+ }, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"mediaInsert", {}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
2240
2240
  pluginConfiguration: import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined;
2241
2241
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
2242
2242
  pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
@@ -2789,11 +2789,11 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
2789
2789
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
2790
2790
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
2791
2791
  sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
2792
- commands: {
2792
+ actions: {
2793
2793
  registerComponent: ({ name, component, }: {
2794
2794
  name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
2795
2795
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
2796
- }) => import("@atlaskit/editor-common/types").EditorCommand;
2796
+ }) => void;
2797
2797
  };
2798
2798
  }, undefined>>];
2799
2799
  actions: {
@@ -2804,11 +2804,11 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
2804
2804
  sharedState: import("@atlaskit/editor-plugins/alignment").AlignmentPluginState | undefined;
2805
2805
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
2806
2806
  sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
2807
- commands: {
2807
+ actions: {
2808
2808
  registerComponent: ({ name, component, }: {
2809
2809
  name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
2810
2810
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
2811
- }) => import("@atlaskit/editor-common/types").EditorCommand;
2811
+ }) => void;
2812
2812
  };
2813
2813
  }, undefined>>];
2814
2814
  }, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"breakout", {
@@ -3454,11 +3454,11 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
3454
3454
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
3455
3455
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
3456
3456
  sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
3457
- commands: {
3457
+ actions: {
3458
3458
  registerComponent: ({ name, component, }: {
3459
3459
  name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
3460
3460
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
3461
- }) => import("@atlaskit/editor-common/types").EditorCommand;
3461
+ }) => void;
3462
3462
  };
3463
3463
  }, undefined>>];
3464
3464
  commands: {
@@ -3723,11 +3723,11 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
3723
3723
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
3724
3724
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
3725
3725
  sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
3726
- commands: {
3726
+ actions: {
3727
3727
  registerComponent: ({ name, component, }: {
3728
3728
  name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
3729
3729
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
3730
- }) => import("@atlaskit/editor-common/types").EditorCommand;
3730
+ }) => void;
3731
3731
  };
3732
3732
  }, undefined>>];
3733
3733
  sharedState: import("@atlaskit/editor-plugin-block-type").BlockTypeState | undefined;
@@ -3787,20 +3787,20 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
3787
3787
  sharedState: import("@atlaskit/editor-plugin-history").HistoryPluginState | undefined;
3788
3788
  }, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
3789
3789
  sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
3790
- commands: {
3790
+ actions: {
3791
3791
  registerComponent: ({ name, component, }: {
3792
3792
  name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
3793
3793
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
3794
- }) => import("@atlaskit/editor-common/types").EditorCommand;
3794
+ }) => void;
3795
3795
  };
3796
3796
  }, undefined>>];
3797
3797
  }, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
3798
3798
  sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
3799
- commands: {
3799
+ actions: {
3800
3800
  registerComponent: ({ name, component, }: {
3801
3801
  name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
3802
3802
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
3803
- }) => import("@atlaskit/editor-common/types").EditorCommand;
3803
+ }) => void;
3804
3804
  };
3805
3805
  }, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"history", {
3806
3806
  sharedState: import("@atlaskit/editor-plugin-history").HistoryPluginState | undefined;