@atlaskit/editor-core 203.6.3 → 203.7.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.
Files changed (32) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/cjs/composable-editor/hooks/useProviderFactory.js +14 -4
  3. package/dist/cjs/presets/default.js +3 -1
  4. package/dist/cjs/ui/ContentStyles/layout.js +1 -1
  5. package/dist/cjs/utils/extensions.js +27 -8
  6. package/dist/cjs/utils/prepare-quick-insert-provider.js +2 -2
  7. package/dist/cjs/version-wrapper.js +1 -1
  8. package/dist/es2019/composable-editor/hooks/useProviderFactory.js +13 -3
  9. package/dist/es2019/presets/default.js +4 -1
  10. package/dist/es2019/ui/ContentStyles/layout.js +1 -1
  11. package/dist/es2019/utils/extensions.js +25 -6
  12. package/dist/es2019/utils/prepare-quick-insert-provider.js +2 -2
  13. package/dist/es2019/version-wrapper.js +1 -1
  14. package/dist/esm/composable-editor/hooks/useProviderFactory.js +14 -4
  15. package/dist/esm/presets/default.js +3 -1
  16. package/dist/esm/ui/ContentStyles/layout.js +1 -1
  17. package/dist/esm/utils/extensions.js +27 -8
  18. package/dist/esm/utils/prepare-quick-insert-provider.js +2 -2
  19. package/dist/esm/version-wrapper.js +1 -1
  20. package/dist/types/create-editor/create-universal-preset.d.ts +23 -22
  21. package/dist/types/presets/default.d.ts +12 -10
  22. package/dist/types/presets/universal.d.ts +23 -22
  23. package/dist/types/presets/useUniversalPreset.d.ts +23 -22
  24. package/dist/types/utils/extensions.d.ts +4 -1
  25. package/dist/types/utils/prepare-quick-insert-provider.d.ts +4 -1
  26. package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +24 -23
  27. package/dist/types-ts4.5/presets/default.d.ts +12 -10
  28. package/dist/types-ts4.5/presets/universal.d.ts +24 -23
  29. package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +24 -23
  30. package/dist/types-ts4.5/utils/extensions.d.ts +6 -1
  31. package/dist/types-ts4.5/utils/prepare-quick-insert-provider.d.ts +6 -1
  32. package/package.json +10 -7
@@ -461,7 +461,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
461
461
  };
462
462
  }, {
463
463
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
464
- } | undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
464
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
465
465
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
466
466
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
467
467
  }, undefined>];
@@ -469,7 +469,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
469
469
  actions: {
470
470
  displayGuideline: import("@atlaskit/editor-common/guideline").DisplayGuideline;
471
471
  };
472
- }, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
472
+ }, undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
473
473
  pluginConfiguration: import("@atlaskit/editor-plugin-grid").GridPluginOptions | undefined;
474
474
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
475
475
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
@@ -2592,7 +2592,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
2592
2592
  };
2593
2593
  }, {
2594
2594
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
2595
- } | undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
2595
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
2596
2596
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
2597
2597
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
2598
2598
  }, undefined>];
@@ -2600,7 +2600,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
2600
2600
  actions: {
2601
2601
  displayGuideline: import("@atlaskit/editor-common/guideline").DisplayGuideline;
2602
2602
  };
2603
- }, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
2603
+ }, undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
2604
2604
  pluginConfiguration: import("@atlaskit/editor-plugin-grid").GridPluginOptions | undefined;
2605
2605
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
2606
2606
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
@@ -3313,14 +3313,6 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
3313
3313
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>];
3314
3314
  } & import("@atlaskit/editor-plugin-content-insertion").InsertNodeAPI, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
3315
3315
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
3316
- }, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
3317
- dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
3318
- sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
3319
- }, undefined>];
3320
- sharedState: import("@atlaskit/editor-common/guideline").GuidelinePluginState | null;
3321
- actions: {
3322
- displayGuideline: import("@atlaskit/editor-common/guideline").DisplayGuideline;
3323
- };
3324
3316
  }, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
3325
3317
  pluginConfiguration: import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined;
3326
3318
  actions: import("@atlaskit/editor-plugin-selection").EditorSelectionAPI;
@@ -3328,7 +3320,15 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
3328
3320
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
3329
3321
  };
3330
3322
  sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
3331
- }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"batchAttributeUpdates", {
3323
+ }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
3324
+ dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
3325
+ sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
3326
+ }, undefined>];
3327
+ sharedState: import("@atlaskit/editor-common/guideline").GuidelinePluginState | null;
3328
+ actions: {
3329
+ displayGuideline: import("@atlaskit/editor-common/guideline").DisplayGuideline;
3330
+ };
3331
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"batchAttributeUpdates", {
3332
3332
  actions: {
3333
3333
  batchSteps: import("@atlaskit/editor-plugin-batch-attribute-updates").BatchStepsAction;
3334
3334
  };
@@ -3585,7 +3585,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
3585
3585
  };
3586
3586
  }, {
3587
3587
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
3588
- } | undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
3588
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
3589
3589
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
3590
3590
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
3591
3591
  }, undefined>];
@@ -3593,7 +3593,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
3593
3593
  actions: {
3594
3594
  displayGuideline: import("@atlaskit/editor-common/guideline").DisplayGuideline;
3595
3595
  };
3596
- }, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
3596
+ }, undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
3597
3597
  pluginConfiguration: import("@atlaskit/editor-plugin-grid").GridPluginOptions | undefined;
3598
3598
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
3599
3599
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
@@ -4104,7 +4104,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
4104
4104
  };
4105
4105
  }, {
4106
4106
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
4107
- } | undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
4107
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
4108
4108
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
4109
4109
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
4110
4110
  }, undefined>];
@@ -4112,7 +4112,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
4112
4112
  actions: {
4113
4113
  displayGuideline: import("@atlaskit/editor-common/guideline").DisplayGuideline;
4114
4114
  };
4115
- }, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
4115
+ }, undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
4116
4116
  pluginConfiguration: import("@atlaskit/editor-plugin-grid").GridPluginOptions | undefined;
4117
4117
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
4118
4118
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
@@ -5440,7 +5440,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
5440
5440
  };
5441
5441
  }, {
5442
5442
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
5443
- } | undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
5443
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
5444
5444
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
5445
5445
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
5446
5446
  }, undefined>];
@@ -5448,7 +5448,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
5448
5448
  actions: {
5449
5449
  displayGuideline: import("@atlaskit/editor-common/guideline").DisplayGuideline;
5450
5450
  };
5451
- }, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
5451
+ }, undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
5452
5452
  pluginConfiguration: import("@atlaskit/editor-plugin-grid").GridPluginOptions | undefined;
5453
5453
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
5454
5454
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
@@ -6523,7 +6523,8 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
6523
6523
  insertBlockQuote: (inputMethod: import("@atlaskit/editor-plugin-block-type").InputMethod) => import("@atlaskit/editor-common/types").Command;
6524
6524
  };
6525
6525
  commands: {
6526
- setTextLevel: (level: import("@atlaskit/editor-plugin-block-type").TextBlockTypes, inputMethod: import("@atlaskit/editor-plugin-block-type").InputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
6526
+ setTextLevel: (level: import("@atlaskit/editor-plugin-block-type").TextBlockTypes, inputMethod: import("@atlaskit/editor-plugin-block-type").InputMethod, fromBlockQuote?: boolean | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
6527
+ insertBlockQuote: (inputMethod: import("@atlaskit/editor-plugin-block-type").InputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
6527
6528
  };
6528
6529
  }, import("@atlaskit/editor-plugin-block-type").BlockTypePluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"undoRedoPlugin", {
6529
6530
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"typeAhead", {
@@ -7114,7 +7115,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
7114
7115
  };
7115
7116
  }, {
7116
7117
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
7117
- } | undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
7118
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
7118
7119
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
7119
7120
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
7120
7121
  }, undefined>];
@@ -7122,7 +7123,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
7122
7123
  actions: {
7123
7124
  displayGuideline: import("@atlaskit/editor-common/guideline").DisplayGuideline;
7124
7125
  };
7125
- }, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
7126
+ }, undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
7126
7127
  pluginConfiguration: import("@atlaskit/editor-plugin-grid").GridPluginOptions | undefined;
7127
7128
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
7128
7129
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
@@ -431,7 +431,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
431
431
  };
432
432
  }, {
433
433
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
434
- } | undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
434
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
435
435
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
436
436
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
437
437
  }, undefined>];
@@ -439,7 +439,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
439
439
  actions: {
440
440
  displayGuideline: import("@atlaskit/editor-common/guideline").DisplayGuideline;
441
441
  };
442
- }, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
442
+ }, undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
443
443
  pluginConfiguration: import("@atlaskit/editor-plugin-grid").GridPluginOptions | undefined;
444
444
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
445
445
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
@@ -1514,7 +1514,8 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1514
1514
  insertBlockQuote: (inputMethod: import("@atlaskit/editor-plugins/block-type").InputMethod) => import("@atlaskit/editor-common/types").Command;
1515
1515
  };
1516
1516
  commands: {
1517
- setTextLevel: (level: import("@atlaskit/editor-plugins/block-type").TextBlockTypes, inputMethod: import("@atlaskit/editor-plugins/block-type").InputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
1517
+ setTextLevel: (level: import("@atlaskit/editor-plugins/block-type").TextBlockTypes, inputMethod: import("@atlaskit/editor-plugins/block-type").InputMethod, fromBlockQuote?: boolean | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
1518
+ insertBlockQuote: (inputMethod: import("@atlaskit/editor-plugins/block-type").InputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
1518
1519
  };
1519
1520
  }, BlockTypePluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"undoRedoPlugin", {
1520
1521
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"typeAhead", {
@@ -2105,7 +2106,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
2105
2106
  };
2106
2107
  }, {
2107
2108
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
2108
- } | undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
2109
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
2109
2110
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
2110
2111
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
2111
2112
  }, undefined>];
@@ -2113,7 +2114,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
2113
2114
  actions: {
2114
2115
  displayGuideline: import("@atlaskit/editor-common/guideline").DisplayGuideline;
2115
2116
  };
2116
- }, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
2117
+ }, undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
2117
2118
  pluginConfiguration: import("@atlaskit/editor-plugin-grid").GridPluginOptions | undefined;
2118
2119
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
2119
2120
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
@@ -3247,7 +3248,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3247
3248
  };
3248
3249
  }, {
3249
3250
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
3250
- } | undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
3251
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
3251
3252
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
3252
3253
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
3253
3254
  }, undefined>];
@@ -3255,7 +3256,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3255
3256
  actions: {
3256
3257
  displayGuideline: import("@atlaskit/editor-common/guideline").DisplayGuideline;
3257
3258
  };
3258
- }, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
3259
+ }, undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
3259
3260
  pluginConfiguration: import("@atlaskit/editor-plugin-grid").GridPluginOptions | undefined;
3260
3261
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
3261
3262
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
@@ -4330,7 +4331,8 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
4330
4331
  insertBlockQuote: (inputMethod: import("@atlaskit/editor-plugins/block-type").InputMethod) => import("@atlaskit/editor-common/types").Command;
4331
4332
  };
4332
4333
  commands: {
4333
- setTextLevel: (level: import("@atlaskit/editor-plugins/block-type").TextBlockTypes, inputMethod: import("@atlaskit/editor-plugins/block-type").InputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
4334
+ setTextLevel: (level: import("@atlaskit/editor-plugins/block-type").TextBlockTypes, inputMethod: import("@atlaskit/editor-plugins/block-type").InputMethod, fromBlockQuote?: boolean | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
4335
+ insertBlockQuote: (inputMethod: import("@atlaskit/editor-plugins/block-type").InputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
4334
4336
  };
4335
4337
  }, BlockTypePluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"undoRedoPlugin", {
4336
4338
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"typeAhead", {
@@ -4921,7 +4923,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
4921
4923
  };
4922
4924
  }, {
4923
4925
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
4924
- } | undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
4926
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
4925
4927
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
4926
4928
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
4927
4929
  }, undefined>];
@@ -4929,7 +4931,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
4929
4931
  actions: {
4930
4932
  displayGuideline: import("@atlaskit/editor-common/guideline").DisplayGuideline;
4931
4933
  };
4932
- }, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
4934
+ }, undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
4933
4935
  pluginConfiguration: import("@atlaskit/editor-plugin-grid").GridPluginOptions | undefined;
4934
4936
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
4935
4937
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
@@ -513,7 +513,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
513
513
  };
514
514
  }, {
515
515
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
516
- } | undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
516
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
517
517
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
518
518
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
519
519
  }, undefined>];
@@ -521,7 +521,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
521
521
  actions: {
522
522
  displayGuideline: import("@atlaskit/editor-common/guideline").DisplayGuideline;
523
523
  };
524
- }, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
524
+ }, undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
525
525
  pluginConfiguration: import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined;
526
526
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
527
527
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
@@ -2644,7 +2644,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
2644
2644
  };
2645
2645
  }, {
2646
2646
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
2647
- } | undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
2647
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
2648
2648
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
2649
2649
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
2650
2650
  }, undefined>];
@@ -2652,7 +2652,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
2652
2652
  actions: {
2653
2653
  displayGuideline: import("@atlaskit/editor-common/guideline").DisplayGuideline;
2654
2654
  };
2655
- }, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
2655
+ }, undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
2656
2656
  pluginConfiguration: import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined;
2657
2657
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
2658
2658
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
@@ -3365,14 +3365,6 @@ export default function createUniversalPresetInternal({ appearance, props, featu
3365
3365
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>];
3366
3366
  } & import("@atlaskit/editor-plugins/content-insertion").InsertNodeAPI, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
3367
3367
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
3368
- }, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
3369
- dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
3370
- sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
3371
- }, undefined>];
3372
- sharedState: import("@atlaskit/editor-common/guideline").GuidelinePluginState | null;
3373
- actions: {
3374
- displayGuideline: import("@atlaskit/editor-common/guideline").DisplayGuideline;
3375
- };
3376
3368
  }, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
3377
3369
  pluginConfiguration: import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined;
3378
3370
  actions: import("@atlaskit/editor-plugin-selection").EditorSelectionAPI;
@@ -3380,7 +3372,15 @@ export default function createUniversalPresetInternal({ appearance, props, featu
3380
3372
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
3381
3373
  };
3382
3374
  sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
3383
- }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"batchAttributeUpdates", {
3375
+ }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
3376
+ dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
3377
+ sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
3378
+ }, undefined>];
3379
+ sharedState: import("@atlaskit/editor-common/guideline").GuidelinePluginState | null;
3380
+ actions: {
3381
+ displayGuideline: import("@atlaskit/editor-common/guideline").DisplayGuideline;
3382
+ };
3383
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"batchAttributeUpdates", {
3384
3384
  actions: {
3385
3385
  batchSteps: import("@atlaskit/editor-plugins/batch-attribute-updates").BatchStepsAction;
3386
3386
  };
@@ -3637,7 +3637,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
3637
3637
  };
3638
3638
  }, {
3639
3639
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
3640
- } | undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
3640
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
3641
3641
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
3642
3642
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
3643
3643
  }, undefined>];
@@ -3645,7 +3645,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
3645
3645
  actions: {
3646
3646
  displayGuideline: import("@atlaskit/editor-common/guideline").DisplayGuideline;
3647
3647
  };
3648
- }, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
3648
+ }, undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
3649
3649
  pluginConfiguration: import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined;
3650
3650
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
3651
3651
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
@@ -4156,7 +4156,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
4156
4156
  };
4157
4157
  }, {
4158
4158
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
4159
- } | undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
4159
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
4160
4160
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
4161
4161
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
4162
4162
  }, undefined>];
@@ -4164,7 +4164,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
4164
4164
  actions: {
4165
4165
  displayGuideline: import("@atlaskit/editor-common/guideline").DisplayGuideline;
4166
4166
  };
4167
- }, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
4167
+ }, undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
4168
4168
  pluginConfiguration: import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined;
4169
4169
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
4170
4170
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
@@ -5492,7 +5492,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
5492
5492
  };
5493
5493
  }, {
5494
5494
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
5495
- } | undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
5495
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
5496
5496
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
5497
5497
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
5498
5498
  }, undefined>];
@@ -5500,7 +5500,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
5500
5500
  actions: {
5501
5501
  displayGuideline: import("@atlaskit/editor-common/guideline").DisplayGuideline;
5502
5502
  };
5503
- }, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
5503
+ }, undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
5504
5504
  pluginConfiguration: import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined;
5505
5505
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
5506
5506
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
@@ -6575,7 +6575,8 @@ export default function createUniversalPresetInternal({ appearance, props, featu
6575
6575
  insertBlockQuote: (inputMethod: import("@atlaskit/editor-plugin-block-type").InputMethod) => import("@atlaskit/editor-common/types").Command;
6576
6576
  };
6577
6577
  commands: {
6578
- setTextLevel: (level: import("@atlaskit/editor-plugin-block-type").TextBlockTypes, inputMethod: import("@atlaskit/editor-plugin-block-type").InputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
6578
+ setTextLevel: (level: import("@atlaskit/editor-plugin-block-type").TextBlockTypes, inputMethod: import("@atlaskit/editor-plugin-block-type").InputMethod, fromBlockQuote?: boolean | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
6579
+ insertBlockQuote: (inputMethod: import("@atlaskit/editor-plugin-block-type").InputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
6579
6580
  };
6580
6581
  }, import("@atlaskit/editor-plugin-block-type").BlockTypePluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"undoRedoPlugin", {
6581
6582
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"typeAhead", {
@@ -7166,7 +7167,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
7166
7167
  };
7167
7168
  }, {
7168
7169
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
7169
- } | undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
7170
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
7170
7171
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
7171
7172
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
7172
7173
  }, undefined>];
@@ -7174,7 +7175,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
7174
7175
  actions: {
7175
7176
  displayGuideline: import("@atlaskit/editor-common/guideline").DisplayGuideline;
7176
7177
  };
7177
- }, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
7178
+ }, undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
7178
7179
  pluginConfiguration: import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined;
7179
7180
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
7180
7181
  sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
@@ -461,7 +461,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
461
461
  };
462
462
  }, {
463
463
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
464
- } | undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
464
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
465
465
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
466
466
  sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
467
467
  }, undefined>];
@@ -469,7 +469,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
469
469
  actions: {
470
470
  displayGuideline: import("@atlaskit/editor-common/guideline").DisplayGuideline;
471
471
  };
472
- }, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
472
+ }, undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
473
473
  pluginConfiguration: import("@atlaskit/editor-plugin-grid").GridPluginOptions | undefined;
474
474
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
475
475
  sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
@@ -2592,7 +2592,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
2592
2592
  };
2593
2593
  }, {
2594
2594
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
2595
- } | undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
2595
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
2596
2596
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
2597
2597
  sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
2598
2598
  }, undefined>];
@@ -2600,7 +2600,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
2600
2600
  actions: {
2601
2601
  displayGuideline: import("@atlaskit/editor-common/guideline").DisplayGuideline;
2602
2602
  };
2603
- }, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
2603
+ }, undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
2604
2604
  pluginConfiguration: import("@atlaskit/editor-plugin-grid").GridPluginOptions | undefined;
2605
2605
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
2606
2606
  sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
@@ -3313,14 +3313,6 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
3313
3313
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>];
3314
3314
  } & import("@atlaskit/editor-plugin-content-insertion").InsertNodeAPI, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
3315
3315
  sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
3316
- }, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
3317
- dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
3318
- sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
3319
- }, undefined>];
3320
- sharedState: import("@atlaskit/editor-common/guideline").GuidelinePluginState | null;
3321
- actions: {
3322
- displayGuideline: import("@atlaskit/editor-common/guideline").DisplayGuideline;
3323
- };
3324
3316
  }, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
3325
3317
  pluginConfiguration: import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined;
3326
3318
  actions: import("@atlaskit/editor-plugin-selection").EditorSelectionAPI;
@@ -3328,7 +3320,15 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
3328
3320
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
3329
3321
  };
3330
3322
  sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
3331
- }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"batchAttributeUpdates", {
3323
+ }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
3324
+ dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
3325
+ sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
3326
+ }, undefined>];
3327
+ sharedState: import("@atlaskit/editor-common/guideline").GuidelinePluginState | null;
3328
+ actions: {
3329
+ displayGuideline: import("@atlaskit/editor-common/guideline").DisplayGuideline;
3330
+ };
3331
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"batchAttributeUpdates", {
3332
3332
  actions: {
3333
3333
  batchSteps: import("@atlaskit/editor-plugin-batch-attribute-updates").BatchStepsAction;
3334
3334
  };
@@ -3585,7 +3585,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
3585
3585
  };
3586
3586
  }, {
3587
3587
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
3588
- } | undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
3588
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
3589
3589
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
3590
3590
  sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
3591
3591
  }, undefined>];
@@ -3593,7 +3593,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
3593
3593
  actions: {
3594
3594
  displayGuideline: import("@atlaskit/editor-common/guideline").DisplayGuideline;
3595
3595
  };
3596
- }, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
3596
+ }, undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
3597
3597
  pluginConfiguration: import("@atlaskit/editor-plugin-grid").GridPluginOptions | undefined;
3598
3598
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
3599
3599
  sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
@@ -4104,7 +4104,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
4104
4104
  };
4105
4105
  }, {
4106
4106
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
4107
- } | undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
4107
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
4108
4108
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
4109
4109
  sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
4110
4110
  }, undefined>];
@@ -4112,7 +4112,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
4112
4112
  actions: {
4113
4113
  displayGuideline: import("@atlaskit/editor-common/guideline").DisplayGuideline;
4114
4114
  };
4115
- }, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
4115
+ }, undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
4116
4116
  pluginConfiguration: import("@atlaskit/editor-plugin-grid").GridPluginOptions | undefined;
4117
4117
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
4118
4118
  sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
@@ -5440,7 +5440,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
5440
5440
  };
5441
5441
  }, {
5442
5442
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
5443
- } | undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
5443
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
5444
5444
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
5445
5445
  sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
5446
5446
  }, undefined>];
@@ -5448,7 +5448,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
5448
5448
  actions: {
5449
5449
  displayGuideline: import("@atlaskit/editor-common/guideline").DisplayGuideline;
5450
5450
  };
5451
- }, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
5451
+ }, undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
5452
5452
  pluginConfiguration: import("@atlaskit/editor-plugin-grid").GridPluginOptions | undefined;
5453
5453
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
5454
5454
  sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
@@ -6523,7 +6523,8 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
6523
6523
  insertBlockQuote: (inputMethod: import("@atlaskit/editor-plugin-block-type").InputMethod) => import("@atlaskit/editor-common/types").Command;
6524
6524
  };
6525
6525
  commands: {
6526
- setTextLevel: (level: import("@atlaskit/editor-plugin-block-type").TextBlockTypes, inputMethod: import("@atlaskit/editor-plugin-block-type").InputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
6526
+ setTextLevel: (level: import("@atlaskit/editor-plugin-block-type").TextBlockTypes, inputMethod: import("@atlaskit/editor-plugin-block-type").InputMethod, fromBlockQuote?: boolean | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
6527
+ insertBlockQuote: (inputMethod: import("@atlaskit/editor-plugin-block-type").InputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
6527
6528
  };
6528
6529
  }, import("@atlaskit/editor-plugin-block-type").BlockTypePluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"undoRedoPlugin", {
6529
6530
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"typeAhead", {
@@ -7114,7 +7115,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
7114
7115
  };
7115
7116
  }, {
7116
7117
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
7117
- } | undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
7118
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
7118
7119
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
7119
7120
  sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
7120
7121
  }, undefined>];
@@ -7122,7 +7123,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
7122
7123
  actions: {
7123
7124
  displayGuideline: import("@atlaskit/editor-common/guideline").DisplayGuideline;
7124
7125
  };
7125
- }, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
7126
+ }, undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
7126
7127
  pluginConfiguration: import("@atlaskit/editor-plugin-grid").GridPluginOptions | undefined;
7127
7128
  dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
7128
7129
  sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
@@ -1,6 +1,9 @@
1
+ import React from 'react';
1
2
  import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
2
3
  import type { ExtensionProvider } from '@atlaskit/editor-common/extensions';
3
4
  import type { QuickInsertProvider } from '@atlaskit/editor-common/provider-factory';
5
+ import { type PublicPluginAPI } from '@atlaskit/editor-common/types';
6
+ import type { ExtensionPlugin } from '@atlaskit/editor-plugins/extension';
4
7
  import type EditorActions from '../actions';
5
- export declare function extensionProviderToQuickInsertProvider(extensionProvider: ExtensionProvider, editorActions: EditorActions, createAnalyticsEvent?: CreateUIAnalyticsEvent): Promise<QuickInsertProvider>;
8
+ export declare function extensionProviderToQuickInsertProvider(extensionProvider: ExtensionProvider, editorActions: EditorActions, apiRef: React.MutableRefObject<PublicPluginAPI<[ExtensionPlugin]> | undefined>, createAnalyticsEvent?: CreateUIAnalyticsEvent): Promise<QuickInsertProvider>;
6
9
  export declare function combineQuickInsertProviders(quickInsertProviders: Array<QuickInsertProvider | Promise<QuickInsertProvider>>): Promise<QuickInsertProvider>;
@@ -1,7 +1,10 @@
1
+ /// <reference types="react" />
1
2
  import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
2
3
  import type { ExtensionProvider } from '@atlaskit/editor-common/extensions';
3
4
  import type { QuickInsertProvider } from '@atlaskit/editor-common/provider-factory';
4
5
  import type { QuickInsertOptions } from '@atlaskit/editor-common/types';
6
+ import { type PublicPluginAPI } from '@atlaskit/editor-common/types';
7
+ import type { ExtensionPlugin } from '@atlaskit/editor-plugins/extension';
5
8
  import type EditorActions from '../actions';
6
9
  /**
7
10
  *
@@ -13,4 +16,4 @@ import type EditorActions from '../actions';
13
16
  * @param createAnalyticsEvent
14
17
  * @returns Quick insert provider if available
15
18
  */
16
- export default function prepareQuickInsertProvider(editorActions: EditorActions, extensionProvider?: ExtensionProvider, quickInsert?: QuickInsertOptions, createAnalyticsEvent?: CreateUIAnalyticsEvent): Promise<QuickInsertProvider> | undefined;
19
+ export default function prepareQuickInsertProvider(editorActions: EditorActions, apiRef: React.MutableRefObject<PublicPluginAPI<[ExtensionPlugin]> | undefined>, extensionProvider?: ExtensionProvider, quickInsert?: QuickInsertOptions, createAnalyticsEvent?: CreateUIAnalyticsEvent): Promise<QuickInsertProvider> | undefined;