@atlaskit/editor-core 199.0.0 → 199.2.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,37 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 199.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#153949](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/153949)
8
+ [`f924bc9be1373`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f924bc9be1373) -
9
+ Add activityProvider prop for editor to use with media.
10
+
11
+ ### Patch Changes
12
+
13
+ - [#155195](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/155195)
14
+ [`73c97aeb48ea9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/73c97aeb48ea9) -
15
+ Add platform_editor_support_table_in_comment_jira experiment to control table drag and drop and
16
+ table scaling features to support new table features in jira
17
+ - [#155195](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/155195)
18
+ [`086e77aecf6e5`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/086e77aecf6e5) -
19
+ [ux] ED-25202 Support Preview in media files
20
+ - Updated dependencies
21
+
22
+ ## 199.1.0
23
+
24
+ ### Minor Changes
25
+
26
+ - [#154398](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/154398)
27
+ [`ca1591355d790`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ca1591355d790) -
28
+ [ux] Allows for passing functions to the quickInsert plugin that allow for capturing element
29
+ insertion metrics and then using that data to change the element sort order
30
+
31
+ ### Patch Changes
32
+
33
+ - Updated dependencies
34
+
3
35
  ## 199.0.0
4
36
 
5
37
  ### Major Changes
@@ -66,7 +66,9 @@ function getDefaultPresetOptionsFromEditorProps(props, createAnalyticsEvent
66
66
  elementBrowserHelpUrl: props.elementBrowser && props.elementBrowser.helpUrl,
67
67
  disableDefaultItems: false,
68
68
  headless: false,
69
- emptyStateHandler: props.elementBrowser && props.elementBrowser.emptyStateHandler
69
+ emptyStateHandler: props.elementBrowser && props.elementBrowser.emptyStateHandler,
70
+ prioritySortingFn: props.quickInsert && typeof props.quickInsert !== 'boolean' && props.quickInsert.prioritySortingFn || undefined,
71
+ onInsert: props.quickInsert && typeof props.quickInsert !== 'boolean' && props.quickInsert.onInsert || undefined
70
72
  },
71
73
  selection: {
72
74
  useLongPressSelection: false
@@ -108,6 +108,11 @@ function createUniversalPresetInternal(_ref) {
108
108
  }
109
109
  return false;
110
110
  };
111
+
112
+ // Extend table feature set for Jira - under support_table_in_comment_jira experiment
113
+ var extendedTableFeaturesForComment = isComment && (0, _experiments.editorExperiment)('support_table_in_comment_jira', true, {
114
+ exposure: true
115
+ });
111
116
  var finalPreset = defaultPreset.add(_dataConsumer.dataConsumerPlugin).add(_accessibilityUtils.accessibilityUtilsPlugin).add(_contentInsertion.contentInsertionPlugin).add(_batchAttributeUpdates.batchAttributeUpdatesPlugin).maybeAdd([_breakout.breakoutPlugin, {
112
117
  allowBreakoutButton: appearance === 'full-page'
113
118
  }], Boolean(props.allowBreakout && isFullPage)).maybeAdd(_alignment.alignmentPlugin, Boolean(props.allowTextAlignment)).maybeAdd([_textColor.textColorPlugin, props.allowTextColor], Boolean(props.allowTextColor)).add(_list.listPlugin).maybeAdd(_rule.rulePlugin, Boolean(props.allowRule)).maybeAdd([_expand.expandPlugin, {
@@ -148,17 +153,19 @@ function createUniversalPresetInternal(_ref) {
148
153
  tableOptions: !props.allowTables || typeof props.allowTables === 'boolean' ? {} : props.allowTables,
149
154
  dragAndDropEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableDragAndDrop) && (isFullPage || (isComment || isChromeless) && (0, _experiments.editorExperiment)('support_table_in_comment', true, {
150
155
  exposure: true
151
- })),
156
+ })) || extendedTableFeaturesForComment,
152
157
  isTableScalingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tablePreserveWidth) && (isFullPage || isComment && (0, _experiments.editorExperiment)('support_table_in_comment', true, {
153
158
  exposure: true
154
- })),
159
+ })) || extendedTableFeaturesForComment,
155
160
  allowContextualMenu: true,
156
161
  fullWidthEnabled: appearance === 'full-width',
157
162
  wasFullWidthEnabled: prevAppearance && prevAppearance === 'full-width',
158
163
  getEditorFeatureFlags: getEditorFeatureFlags,
159
164
  isNewColumnResizingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableNewColumnResizing) && isFullPage,
160
165
  isCommentEditor: isComment,
161
- isChromelessEditor: isChromeless
166
+ isChromelessEditor: isChromeless,
167
+ tableResizingEnabled: extendedTableFeaturesForComment,
168
+ isTableAlignmentEnabled: extendedTableFeaturesForComment
162
169
  }, initialPluginConfiguration === null || initialPluginConfiguration === void 0 ? void 0 : initialPluginConfiguration.tablesPlugin)], Boolean(props.allowTables)).maybeAdd([_tasksAndDecisions.tasksAndDecisionsPlugin, _objectSpread({
163
170
  allowNestedTasks: props.allowNestedTasks,
164
171
  consumeTabs: isFullPage,
@@ -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 = "199.0.0";
8
+ var version = exports.version = "199.2.0";
@@ -56,7 +56,9 @@ export function getDefaultPresetOptionsFromEditorProps(props, createAnalyticsEve
56
56
  elementBrowserHelpUrl: props.elementBrowser && props.elementBrowser.helpUrl,
57
57
  disableDefaultItems: false,
58
58
  headless: false,
59
- emptyStateHandler: props.elementBrowser && props.elementBrowser.emptyStateHandler
59
+ emptyStateHandler: props.elementBrowser && props.elementBrowser.emptyStateHandler,
60
+ prioritySortingFn: props.quickInsert && typeof props.quickInsert !== 'boolean' && props.quickInsert.prioritySortingFn || undefined,
61
+ onInsert: props.quickInsert && typeof props.quickInsert !== 'boolean' && props.quickInsert.onInsert || undefined
60
62
  },
61
63
  selection: {
62
64
  useLongPressSelection: false
@@ -98,6 +98,11 @@ export default function createUniversalPresetInternal({
98
98
  }
99
99
  return false;
100
100
  };
101
+
102
+ // Extend table feature set for Jira - under support_table_in_comment_jira experiment
103
+ const extendedTableFeaturesForComment = isComment && editorExperiment('support_table_in_comment_jira', true, {
104
+ exposure: true
105
+ });
101
106
  const finalPreset = defaultPreset.add(dataConsumerPlugin).add(accessibilityUtilsPlugin).add(contentInsertionPlugin).add(batchAttributeUpdatesPlugin).maybeAdd([breakoutPlugin, {
102
107
  allowBreakoutButton: appearance === 'full-page'
103
108
  }], Boolean(props.allowBreakout && isFullPage)).maybeAdd(alignmentPlugin, Boolean(props.allowTextAlignment)).maybeAdd([textColorPlugin, props.allowTextColor], Boolean(props.allowTextColor)).add(listPlugin).maybeAdd(rulePlugin, Boolean(props.allowRule)).maybeAdd([expandPlugin, {
@@ -140,10 +145,10 @@ export default function createUniversalPresetInternal({
140
145
  tableOptions: !props.allowTables || typeof props.allowTables === 'boolean' ? {} : props.allowTables,
141
146
  dragAndDropEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableDragAndDrop) && (isFullPage || (isComment || isChromeless) && editorExperiment('support_table_in_comment', true, {
142
147
  exposure: true
143
- })),
148
+ })) || extendedTableFeaturesForComment,
144
149
  isTableScalingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tablePreserveWidth) && (isFullPage || isComment && editorExperiment('support_table_in_comment', true, {
145
150
  exposure: true
146
- })),
151
+ })) || extendedTableFeaturesForComment,
147
152
  allowContextualMenu: true,
148
153
  fullWidthEnabled: appearance === 'full-width',
149
154
  wasFullWidthEnabled: prevAppearance && prevAppearance === 'full-width',
@@ -151,6 +156,8 @@ export default function createUniversalPresetInternal({
151
156
  isNewColumnResizingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableNewColumnResizing) && isFullPage,
152
157
  isCommentEditor: isComment,
153
158
  isChromelessEditor: isChromeless,
159
+ tableResizingEnabled: extendedTableFeaturesForComment,
160
+ isTableAlignmentEnabled: extendedTableFeaturesForComment,
154
161
  ...(initialPluginConfiguration === null || initialPluginConfiguration === void 0 ? void 0 : initialPluginConfiguration.tablesPlugin)
155
162
  }], Boolean(props.allowTables)).maybeAdd([tasksAndDecisionsPlugin, {
156
163
  allowNestedTasks: props.allowNestedTasks,
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "199.0.0";
2
+ export const version = "199.2.0";
@@ -57,7 +57,9 @@ export function getDefaultPresetOptionsFromEditorProps(props, createAnalyticsEve
57
57
  elementBrowserHelpUrl: props.elementBrowser && props.elementBrowser.helpUrl,
58
58
  disableDefaultItems: false,
59
59
  headless: false,
60
- emptyStateHandler: props.elementBrowser && props.elementBrowser.emptyStateHandler
60
+ emptyStateHandler: props.elementBrowser && props.elementBrowser.emptyStateHandler,
61
+ prioritySortingFn: props.quickInsert && typeof props.quickInsert !== 'boolean' && props.quickInsert.prioritySortingFn || undefined,
62
+ onInsert: props.quickInsert && typeof props.quickInsert !== 'boolean' && props.quickInsert.onInsert || undefined
61
63
  },
62
64
  selection: {
63
65
  useLongPressSelection: false
@@ -101,6 +101,11 @@ export default function createUniversalPresetInternal(_ref) {
101
101
  }
102
102
  return false;
103
103
  };
104
+
105
+ // Extend table feature set for Jira - under support_table_in_comment_jira experiment
106
+ var extendedTableFeaturesForComment = isComment && editorExperiment('support_table_in_comment_jira', true, {
107
+ exposure: true
108
+ });
104
109
  var finalPreset = defaultPreset.add(dataConsumerPlugin).add(accessibilityUtilsPlugin).add(contentInsertionPlugin).add(batchAttributeUpdatesPlugin).maybeAdd([breakoutPlugin, {
105
110
  allowBreakoutButton: appearance === 'full-page'
106
111
  }], Boolean(props.allowBreakout && isFullPage)).maybeAdd(alignmentPlugin, Boolean(props.allowTextAlignment)).maybeAdd([textColorPlugin, props.allowTextColor], Boolean(props.allowTextColor)).add(listPlugin).maybeAdd(rulePlugin, Boolean(props.allowRule)).maybeAdd([expandPlugin, {
@@ -141,17 +146,19 @@ export default function createUniversalPresetInternal(_ref) {
141
146
  tableOptions: !props.allowTables || typeof props.allowTables === 'boolean' ? {} : props.allowTables,
142
147
  dragAndDropEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableDragAndDrop) && (isFullPage || (isComment || isChromeless) && editorExperiment('support_table_in_comment', true, {
143
148
  exposure: true
144
- })),
149
+ })) || extendedTableFeaturesForComment,
145
150
  isTableScalingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tablePreserveWidth) && (isFullPage || isComment && editorExperiment('support_table_in_comment', true, {
146
151
  exposure: true
147
- })),
152
+ })) || extendedTableFeaturesForComment,
148
153
  allowContextualMenu: true,
149
154
  fullWidthEnabled: appearance === 'full-width',
150
155
  wasFullWidthEnabled: prevAppearance && prevAppearance === 'full-width',
151
156
  getEditorFeatureFlags: getEditorFeatureFlags,
152
157
  isNewColumnResizingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableNewColumnResizing) && isFullPage,
153
158
  isCommentEditor: isComment,
154
- isChromelessEditor: isChromeless
159
+ isChromelessEditor: isChromeless,
160
+ tableResizingEnabled: extendedTableFeaturesForComment,
161
+ isTableAlignmentEnabled: extendedTableFeaturesForComment
155
162
  }, initialPluginConfiguration === null || initialPluginConfiguration === void 0 ? void 0 : initialPluginConfiguration.tablesPlugin)], Boolean(props.allowTables)).maybeAdd([tasksAndDecisionsPlugin, _objectSpread({
156
163
  allowNestedTasks: props.allowNestedTasks,
157
164
  consumeTabs: isFullPage,
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "199.0.0";
2
+ export var version = "199.2.0";
@@ -282,6 +282,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
282
282
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
283
283
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
284
284
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
285
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
285
286
  };
286
287
  commands: {
287
288
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -635,6 +636,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
635
636
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
636
637
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
637
638
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
639
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
638
640
  };
639
641
  commands: {
640
642
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -1661,6 +1663,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
1661
1663
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
1662
1664
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
1663
1665
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
1666
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
1664
1667
  };
1665
1668
  commands: {
1666
1669
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -2409,6 +2412,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
2409
2412
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
2410
2413
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
2411
2414
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
2415
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
2412
2416
  };
2413
2417
  commands: {
2414
2418
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -2697,6 +2701,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
2697
2701
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
2698
2702
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
2699
2703
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
2704
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
2700
2705
  };
2701
2706
  commands: {
2702
2707
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -3306,6 +3311,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
3306
3311
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
3307
3312
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
3308
3313
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
3314
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
3309
3315
  };
3310
3316
  commands: {
3311
3317
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -3762,6 +3768,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
3762
3768
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
3763
3769
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
3764
3770
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
3771
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
3765
3772
  };
3766
3773
  commands: {
3767
3774
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -4518,6 +4525,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
4518
4525
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
4519
4526
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
4520
4527
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
4528
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
4521
4529
  };
4522
4530
  commands: {
4523
4531
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -4866,6 +4874,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
4866
4874
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
4867
4875
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
4868
4876
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
4877
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
4869
4878
  };
4870
4879
  commands: {
4871
4880
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -5185,6 +5194,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
5185
5194
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
5186
5195
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
5187
5196
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
5197
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
5188
5198
  };
5189
5199
  commands: {
5190
5200
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -5462,6 +5472,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
5462
5472
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
5463
5473
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
5464
5474
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
5475
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
5465
5476
  };
5466
5477
  commands: {
5467
5478
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -6042,6 +6053,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
6042
6053
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
6043
6054
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
6044
6055
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
6056
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
6045
6057
  };
6046
6058
  commands: {
6047
6059
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -6395,6 +6407,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
6395
6407
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
6396
6408
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
6397
6409
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
6410
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
6398
6411
  };
6399
6412
  commands: {
6400
6413
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { type EditorNextProps } from '../types/editor-props';
3
- export type FullPageEditorProps = Pick<EditorNextProps, 'preset' | 'defaultValue' | 'disabled' | 'mentionProvider' | 'performanceTracking' | 'contextIdentifierProvider' | 'searchProvider' | 'annotationProviders' | 'collabEditProvider' | 'collabEdit' | 'taskDecisionProvider' | 'extensionProviders' | 'shouldFocus' | 'quickInsert' | 'secondaryToolbarComponents' | 'featureFlags' | 'primaryToolbarComponents' | 'contextPanel' | 'contentComponents' | 'primaryToolbarIconBefore' | 'sanitizePrivateContent'> & {
3
+ export type FullPageEditorProps = Pick<EditorNextProps, 'preset' | 'defaultValue' | 'disabled' | 'mentionProvider' | 'performanceTracking' | 'contextIdentifierProvider' | 'searchProvider' | 'activityProvider' | 'annotationProviders' | 'collabEditProvider' | 'collabEdit' | 'taskDecisionProvider' | 'extensionProviders' | 'shouldFocus' | 'quickInsert' | 'secondaryToolbarComponents' | 'featureFlags' | 'primaryToolbarComponents' | 'contextPanel' | 'contentComponents' | 'primaryToolbarIconBefore' | 'sanitizePrivateContent'> & {
4
4
  onChange?: () => void;
5
5
  onEditorReady?: () => void;
6
6
  appearance: 'full-page' | 'full-width';
@@ -258,6 +258,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
258
258
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
259
259
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
260
260
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
261
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
261
262
  };
262
263
  commands: {
263
264
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -606,6 +607,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
606
607
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
607
608
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
608
609
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
610
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
609
611
  };
610
612
  commands: {
611
613
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -925,6 +927,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
925
927
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
926
928
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
927
929
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
930
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
928
931
  };
929
932
  commands: {
930
933
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -1202,6 +1205,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1202
1205
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
1203
1206
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
1204
1207
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
1208
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
1205
1209
  };
1206
1210
  commands: {
1207
1211
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -1782,6 +1786,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1782
1786
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
1783
1787
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
1784
1788
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
1789
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
1785
1790
  };
1786
1791
  commands: {
1787
1792
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -2135,6 +2140,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
2135
2140
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
2136
2141
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
2137
2142
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
2143
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
2138
2144
  };
2139
2145
  commands: {
2140
2146
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -2799,6 +2805,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
2799
2805
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
2800
2806
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
2801
2807
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
2808
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
2802
2809
  };
2803
2810
  commands: {
2804
2811
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -3147,6 +3154,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3147
3154
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
3148
3155
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
3149
3156
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
3157
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
3150
3158
  };
3151
3159
  commands: {
3152
3160
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -3466,6 +3474,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3466
3474
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
3467
3475
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
3468
3476
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
3477
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
3469
3478
  };
3470
3479
  commands: {
3471
3480
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -3743,6 +3752,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3743
3752
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
3744
3753
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
3745
3754
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
3755
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
3746
3756
  };
3747
3757
  commands: {
3748
3758
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -4323,6 +4333,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
4323
4333
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
4324
4334
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
4325
4335
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
4336
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
4326
4337
  };
4327
4338
  commands: {
4328
4339
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -4676,6 +4687,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
4676
4687
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
4677
4688
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
4678
4689
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
4690
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
4679
4691
  };
4680
4692
  commands: {
4681
4693
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -333,6 +333,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
333
333
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
334
334
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
335
335
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
336
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
336
337
  };
337
338
  commands: {
338
339
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -686,6 +687,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
686
687
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
687
688
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
688
689
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
690
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
689
691
  };
690
692
  commands: {
691
693
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -1712,6 +1714,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
1712
1714
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
1713
1715
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
1714
1716
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
1717
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
1715
1718
  };
1716
1719
  commands: {
1717
1720
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -2460,6 +2463,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
2460
2463
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
2461
2464
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
2462
2465
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
2466
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
2463
2467
  };
2464
2468
  commands: {
2465
2469
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -2748,6 +2752,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
2748
2752
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
2749
2753
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
2750
2754
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
2755
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
2751
2756
  };
2752
2757
  commands: {
2753
2758
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -3357,6 +3362,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
3357
3362
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
3358
3363
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
3359
3364
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
3365
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
3360
3366
  };
3361
3367
  commands: {
3362
3368
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -3813,6 +3819,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
3813
3819
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
3814
3820
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
3815
3821
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
3822
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
3816
3823
  };
3817
3824
  commands: {
3818
3825
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -4569,6 +4576,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
4569
4576
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
4570
4577
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
4571
4578
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
4579
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
4572
4580
  };
4573
4581
  commands: {
4574
4582
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -4917,6 +4925,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
4917
4925
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
4918
4926
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
4919
4927
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
4928
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
4920
4929
  };
4921
4930
  commands: {
4922
4931
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -5236,6 +5245,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
5236
5245
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
5237
5246
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
5238
5247
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
5248
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
5239
5249
  };
5240
5250
  commands: {
5241
5251
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -5513,6 +5523,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
5513
5523
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
5514
5524
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
5515
5525
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
5526
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
5516
5527
  };
5517
5528
  commands: {
5518
5529
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -6093,6 +6104,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
6093
6104
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
6094
6105
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
6095
6106
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
6107
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
6096
6108
  };
6097
6109
  commands: {
6098
6110
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -6446,6 +6458,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
6446
6458
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
6447
6459
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
6448
6460
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
6461
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
6449
6462
  };
6450
6463
  commands: {
6451
6464
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -282,6 +282,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
282
282
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
283
283
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
284
284
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
285
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
285
286
  };
286
287
  commands: {
287
288
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -635,6 +636,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
635
636
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
636
637
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
637
638
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
639
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
638
640
  };
639
641
  commands: {
640
642
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -1661,6 +1663,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1661
1663
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
1662
1664
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
1663
1665
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
1666
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
1664
1667
  };
1665
1668
  commands: {
1666
1669
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -2409,6 +2412,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
2409
2412
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
2410
2413
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
2411
2414
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
2415
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
2412
2416
  };
2413
2417
  commands: {
2414
2418
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -2697,6 +2701,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
2697
2701
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
2698
2702
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
2699
2703
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
2704
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
2700
2705
  };
2701
2706
  commands: {
2702
2707
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -3306,6 +3311,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
3306
3311
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
3307
3312
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
3308
3313
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
3314
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
3309
3315
  };
3310
3316
  commands: {
3311
3317
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -3762,6 +3768,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
3762
3768
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
3763
3769
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
3764
3770
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
3771
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
3765
3772
  };
3766
3773
  commands: {
3767
3774
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -4518,6 +4525,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
4518
4525
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
4519
4526
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
4520
4527
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
4528
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
4521
4529
  };
4522
4530
  commands: {
4523
4531
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -4866,6 +4874,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
4866
4874
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
4867
4875
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
4868
4876
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
4877
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
4869
4878
  };
4870
4879
  commands: {
4871
4880
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -5185,6 +5194,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
5185
5194
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
5186
5195
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
5187
5196
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
5197
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
5188
5198
  };
5189
5199
  commands: {
5190
5200
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -5462,6 +5472,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
5462
5472
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
5463
5473
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
5464
5474
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
5475
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
5465
5476
  };
5466
5477
  commands: {
5467
5478
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -6042,6 +6053,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
6042
6053
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
6043
6054
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
6044
6055
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
6056
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
6045
6057
  };
6046
6058
  commands: {
6047
6059
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -6395,6 +6407,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
6395
6407
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
6396
6408
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
6397
6409
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
6410
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
6398
6411
  };
6399
6412
  commands: {
6400
6413
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -424,6 +424,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
424
424
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
425
425
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
426
426
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
427
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
427
428
  };
428
429
  commands: {
429
430
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -850,6 +851,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
850
851
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
851
852
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
852
853
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
854
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
853
855
  };
854
856
  commands: {
855
857
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -2076,6 +2078,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
2076
2078
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
2077
2079
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
2078
2080
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
2081
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
2079
2082
  };
2080
2083
  commands: {
2081
2084
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -2972,6 +2975,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
2972
2975
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
2973
2976
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
2974
2977
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
2978
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
2975
2979
  };
2976
2980
  commands: {
2977
2981
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -3311,6 +3315,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
3311
3315
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
3312
3316
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
3313
3317
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
3318
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
3314
3319
  };
3315
3320
  commands: {
3316
3321
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -4048,6 +4053,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
4048
4053
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
4049
4054
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
4050
4055
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
4056
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
4051
4057
  };
4052
4058
  commands: {
4053
4059
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -4596,6 +4602,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
4596
4602
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
4597
4603
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
4598
4604
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
4605
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
4599
4606
  };
4600
4607
  commands: {
4601
4608
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -5514,6 +5521,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
5514
5521
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
5515
5522
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
5516
5523
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
5524
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
5517
5525
  };
5518
5526
  commands: {
5519
5527
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -5935,6 +5943,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
5935
5943
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
5936
5944
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
5937
5945
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
5946
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
5938
5947
  };
5939
5948
  commands: {
5940
5949
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -6312,6 +6321,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
6312
6321
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
6313
6322
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
6314
6323
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
6324
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
6315
6325
  };
6316
6326
  commands: {
6317
6327
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -6650,6 +6660,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
6650
6660
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
6651
6661
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
6652
6662
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
6663
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
6653
6664
  };
6654
6665
  commands: {
6655
6666
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -7347,6 +7358,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
7347
7358
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
7348
7359
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
7349
7360
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
7361
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
7350
7362
  };
7351
7363
  commands: {
7352
7364
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -7773,6 +7785,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
7773
7785
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
7774
7786
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
7775
7787
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
7788
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
7776
7789
  };
7777
7790
  commands: {
7778
7791
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { type EditorNextProps } from '../types/editor-props';
3
- export type FullPageEditorProps = Pick<EditorNextProps, 'preset' | 'defaultValue' | 'disabled' | 'mentionProvider' | 'performanceTracking' | 'contextIdentifierProvider' | 'searchProvider' | 'annotationProviders' | 'collabEditProvider' | 'collabEdit' | 'taskDecisionProvider' | 'extensionProviders' | 'shouldFocus' | 'quickInsert' | 'secondaryToolbarComponents' | 'featureFlags' | 'primaryToolbarComponents' | 'contextPanel' | 'contentComponents' | 'primaryToolbarIconBefore' | 'sanitizePrivateContent'> & {
3
+ export type FullPageEditorProps = Pick<EditorNextProps, 'preset' | 'defaultValue' | 'disabled' | 'mentionProvider' | 'performanceTracking' | 'contextIdentifierProvider' | 'searchProvider' | 'activityProvider' | 'annotationProviders' | 'collabEditProvider' | 'collabEdit' | 'taskDecisionProvider' | 'extensionProviders' | 'shouldFocus' | 'quickInsert' | 'secondaryToolbarComponents' | 'featureFlags' | 'primaryToolbarComponents' | 'contextPanel' | 'contentComponents' | 'primaryToolbarIconBefore' | 'sanitizePrivateContent'> & {
4
4
  onChange?: () => void;
5
5
  onEditorReady?: () => void;
6
6
  appearance: 'full-page' | 'full-width';
@@ -336,6 +336,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
336
336
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
337
337
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
338
338
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
339
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
339
340
  };
340
341
  commands: {
341
342
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -757,6 +758,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
757
758
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
758
759
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
759
760
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
761
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
760
762
  };
761
763
  commands: {
762
764
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -1134,6 +1136,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1134
1136
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
1135
1137
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
1136
1138
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
1139
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
1137
1140
  };
1138
1141
  commands: {
1139
1142
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -1472,6 +1475,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1472
1475
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
1473
1476
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
1474
1477
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
1478
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
1475
1479
  };
1476
1480
  commands: {
1477
1481
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -2169,6 +2173,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
2169
2173
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
2170
2174
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
2171
2175
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
2176
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
2172
2177
  };
2173
2178
  commands: {
2174
2179
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -2595,6 +2600,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
2595
2600
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
2596
2601
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
2597
2602
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
2603
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
2598
2604
  };
2599
2605
  commands: {
2600
2606
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -3421,6 +3427,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3421
3427
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
3422
3428
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
3423
3429
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
3430
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
3424
3431
  };
3425
3432
  commands: {
3426
3433
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -3842,6 +3849,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3842
3849
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
3843
3850
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
3844
3851
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
3852
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
3845
3853
  };
3846
3854
  commands: {
3847
3855
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -4219,6 +4227,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
4219
4227
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
4220
4228
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
4221
4229
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
4230
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
4222
4231
  };
4223
4232
  commands: {
4224
4233
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -4557,6 +4566,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
4557
4566
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
4558
4567
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
4559
4568
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
4569
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
4560
4570
  };
4561
4571
  commands: {
4562
4572
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -5254,6 +5264,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
5254
5264
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
5255
5265
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
5256
5266
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
5267
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
5257
5268
  };
5258
5269
  commands: {
5259
5270
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -5680,6 +5691,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
5680
5691
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
5681
5692
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
5682
5693
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
5694
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
5683
5695
  };
5684
5696
  commands: {
5685
5697
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -475,6 +475,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
475
475
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
476
476
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
477
477
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
478
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
478
479
  };
479
480
  commands: {
480
481
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -901,6 +902,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
901
902
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
902
903
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
903
904
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
905
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
904
906
  };
905
907
  commands: {
906
908
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -2127,6 +2129,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
2127
2129
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
2128
2130
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
2129
2131
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
2132
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
2130
2133
  };
2131
2134
  commands: {
2132
2135
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -3023,6 +3026,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
3023
3026
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
3024
3027
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
3025
3028
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
3029
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
3026
3030
  };
3027
3031
  commands: {
3028
3032
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -3362,6 +3366,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
3362
3366
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
3363
3367
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
3364
3368
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
3369
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
3365
3370
  };
3366
3371
  commands: {
3367
3372
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -4099,6 +4104,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
4099
4104
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
4100
4105
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
4101
4106
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
4107
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
4102
4108
  };
4103
4109
  commands: {
4104
4110
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -4647,6 +4653,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
4647
4653
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
4648
4654
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
4649
4655
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
4656
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
4650
4657
  };
4651
4658
  commands: {
4652
4659
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -5565,6 +5572,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
5565
5572
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
5566
5573
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
5567
5574
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
5575
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
5568
5576
  };
5569
5577
  commands: {
5570
5578
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -5986,6 +5994,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
5986
5994
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
5987
5995
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
5988
5996
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
5997
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
5989
5998
  };
5990
5999
  commands: {
5991
6000
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -6363,6 +6372,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
6363
6372
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
6364
6373
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
6365
6374
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
6375
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
6366
6376
  };
6367
6377
  commands: {
6368
6378
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -6701,6 +6711,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
6701
6711
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
6702
6712
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
6703
6713
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
6714
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
6704
6715
  };
6705
6716
  commands: {
6706
6717
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -7398,6 +7409,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
7398
7409
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
7399
7410
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
7400
7411
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
7412
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
7401
7413
  };
7402
7414
  commands: {
7403
7415
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -7824,6 +7836,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
7824
7836
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
7825
7837
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
7826
7838
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
7839
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
7827
7840
  };
7828
7841
  commands: {
7829
7842
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -424,6 +424,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
424
424
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
425
425
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
426
426
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
427
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
427
428
  };
428
429
  commands: {
429
430
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -850,6 +851,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
850
851
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
851
852
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
852
853
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
854
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
853
855
  };
854
856
  commands: {
855
857
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -2076,6 +2078,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
2076
2078
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
2077
2079
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
2078
2080
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
2081
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
2079
2082
  };
2080
2083
  commands: {
2081
2084
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -2972,6 +2975,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
2972
2975
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
2973
2976
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
2974
2977
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
2978
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
2975
2979
  };
2976
2980
  commands: {
2977
2981
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -3311,6 +3315,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
3311
3315
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
3312
3316
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
3313
3317
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
3318
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
3314
3319
  };
3315
3320
  commands: {
3316
3321
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -4048,6 +4053,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
4048
4053
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
4049
4054
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
4050
4055
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
4056
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
4051
4057
  };
4052
4058
  commands: {
4053
4059
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -4596,6 +4602,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
4596
4602
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
4597
4603
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
4598
4604
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
4605
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
4599
4606
  };
4600
4607
  commands: {
4601
4608
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -5514,6 +5521,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
5514
5521
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
5515
5522
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
5516
5523
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
5524
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
5517
5525
  };
5518
5526
  commands: {
5519
5527
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -5935,6 +5943,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
5935
5943
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
5936
5944
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
5937
5945
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
5946
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
5938
5947
  };
5939
5948
  commands: {
5940
5949
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -6312,6 +6321,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
6312
6321
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
6313
6322
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
6314
6323
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
6324
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
6315
6325
  };
6316
6326
  commands: {
6317
6327
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -6650,6 +6660,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
6650
6660
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
6651
6661
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
6652
6662
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
6663
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
6653
6664
  };
6654
6665
  commands: {
6655
6666
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -7347,6 +7358,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
7347
7358
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
7348
7359
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
7349
7360
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
7361
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
7350
7362
  };
7351
7363
  commands: {
7352
7364
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -7773,6 +7785,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
7773
7785
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
7774
7786
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
7775
7787
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
7788
+ onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
7776
7789
  };
7777
7790
  commands: {
7778
7791
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "199.0.0",
3
+ "version": "199.2.0",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -42,10 +42,10 @@
42
42
  "@atlaskit/analytics-namespaced-context": "^6.12.0",
43
43
  "@atlaskit/analytics-next": "^10.1.0",
44
44
  "@atlaskit/analytics-next-stable-react-context": "1.0.1",
45
- "@atlaskit/button": "^20.2.0",
46
- "@atlaskit/editor-common": "^94.0.0",
45
+ "@atlaskit/button": "^20.3.0",
46
+ "@atlaskit/editor-common": "^94.2.0",
47
47
  "@atlaskit/editor-json-transformer": "^8.20.0",
48
- "@atlaskit/editor-plugin-quick-insert": "1.4.7",
48
+ "@atlaskit/editor-plugin-quick-insert": "1.5.0",
49
49
  "@atlaskit/editor-plugins": "^5.6.0",
50
50
  "@atlaskit/editor-prosemirror": "6.0.0",
51
51
  "@atlaskit/editor-shared-styles": "^3.0.0",
@@ -148,10 +148,6 @@
148
148
  "type": "boolean",
149
149
  "referenceOnly": "true"
150
150
  },
151
- "platform.linking-platform.enable-datasource-edit-dropdown-toolbar": {
152
- "type": "boolean",
153
- "referenceOnly": "true"
154
- },
155
151
  "platform.editor.live-pages-expand-divergence": {
156
152
  "type": "boolean",
157
153
  "referenceOnly": "true"