@atlaskit/editor-plugin-insert-block 1.4.1 → 1.5.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,17 @@
1
1
  # @atlaskit/editor-plugin-insert-block
2
2
 
3
+ ## 1.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#120426](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/120426)
8
+ [`1cb3869ab1a96`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1cb3869ab1a96) -
9
+ [ED-23436] Use editor primary toolbar plugin to structure the primary toolbar
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 1.4.1
4
16
 
5
17
  ### Patch Changes
@@ -61,6 +61,43 @@ var insertBlockPlugin = exports.insertBlockPlugin = function insertBlockPlugin(_
61
61
  toggleDropdownMenuOptionsRef.current = null;
62
62
  };
63
63
  };
64
+ var primaryToolbarComponent = function primaryToolbarComponent(_ref2) {
65
+ var editorView = _ref2.editorView,
66
+ editorActions = _ref2.editorActions,
67
+ dispatchAnalyticsEvent = _ref2.dispatchAnalyticsEvent,
68
+ providerFactory = _ref2.providerFactory,
69
+ popupsMountPoint = _ref2.popupsMountPoint,
70
+ popupsBoundariesElement = _ref2.popupsBoundariesElement,
71
+ popupsScrollableElement = _ref2.popupsScrollableElement,
72
+ toolbarSize = _ref2.toolbarSize,
73
+ disabled = _ref2.disabled,
74
+ isToolbarReducedSpacing = _ref2.isToolbarReducedSpacing,
75
+ isLastItem = _ref2.isLastItem;
76
+ var renderNode = function renderNode(providers) {
77
+ return /*#__PURE__*/_react.default.createElement(ToolbarInsertBlockWithInjectionApi, {
78
+ pluginInjectionApi: api,
79
+ editorView: editorView,
80
+ editorActions: editorActions,
81
+ dispatchAnalyticsEvent: dispatchAnalyticsEvent,
82
+ providerFactory: providerFactory,
83
+ popupsMountPoint: popupsMountPoint,
84
+ popupsBoundariesElement: popupsBoundariesElement,
85
+ popupsScrollableElement: popupsScrollableElement,
86
+ toolbarSize: toolbarSize,
87
+ disabled: disabled,
88
+ isToolbarReducedSpacing: isToolbarReducedSpacing,
89
+ isLastItem: isLastItem,
90
+ providers: providers,
91
+ options: options,
92
+ registerToggleDropdownMenuOptions: registerToggleDropdownMenuOptions
93
+ });
94
+ };
95
+ return /*#__PURE__*/_react.default.createElement(_providerFactory.WithProviders, {
96
+ providerFactory: providerFactory,
97
+ providers: ['emojiProvider'],
98
+ renderNode: renderNode
99
+ });
100
+ };
64
101
  return {
65
102
  name: 'insertBlock',
66
103
  actions: {
@@ -73,49 +110,18 @@ var insertBlockPlugin = exports.insertBlockPlugin = function insertBlockPlugin(_
73
110
  }
74
111
  },
75
112
  usePluginHook: function usePluginHook() {
113
+ var _api$core, _api$primaryToolbar;
76
114
  (0, _react.useLayoutEffect)(function () {
77
115
  return function () {
78
116
  toggleDropdownMenuOptionsRef.current = null;
79
117
  };
80
118
  }, []);
119
+ api === null || api === void 0 || (_api$core = api.core) === null || _api$core === void 0 || _api$core.actions.execute(api === null || api === void 0 || (_api$primaryToolbar = api.primaryToolbar) === null || _api$primaryToolbar === void 0 ? void 0 : _api$primaryToolbar.commands.registerComponent({
120
+ name: 'insertBlock',
121
+ component: primaryToolbarComponent
122
+ }));
81
123
  },
82
- primaryToolbarComponent: function primaryToolbarComponent(_ref2) {
83
- var editorView = _ref2.editorView,
84
- editorActions = _ref2.editorActions,
85
- dispatchAnalyticsEvent = _ref2.dispatchAnalyticsEvent,
86
- providerFactory = _ref2.providerFactory,
87
- popupsMountPoint = _ref2.popupsMountPoint,
88
- popupsBoundariesElement = _ref2.popupsBoundariesElement,
89
- popupsScrollableElement = _ref2.popupsScrollableElement,
90
- toolbarSize = _ref2.toolbarSize,
91
- disabled = _ref2.disabled,
92
- isToolbarReducedSpacing = _ref2.isToolbarReducedSpacing,
93
- isLastItem = _ref2.isLastItem;
94
- var renderNode = function renderNode(providers) {
95
- return /*#__PURE__*/_react.default.createElement(ToolbarInsertBlockWithInjectionApi, {
96
- pluginInjectionApi: api,
97
- editorView: editorView,
98
- editorActions: editorActions,
99
- dispatchAnalyticsEvent: dispatchAnalyticsEvent,
100
- providerFactory: providerFactory,
101
- popupsMountPoint: popupsMountPoint,
102
- popupsBoundariesElement: popupsBoundariesElement,
103
- popupsScrollableElement: popupsScrollableElement,
104
- toolbarSize: toolbarSize,
105
- disabled: disabled,
106
- isToolbarReducedSpacing: isToolbarReducedSpacing,
107
- isLastItem: isLastItem,
108
- providers: providers,
109
- options: options,
110
- registerToggleDropdownMenuOptions: registerToggleDropdownMenuOptions
111
- });
112
- };
113
- return /*#__PURE__*/_react.default.createElement(_providerFactory.WithProviders, {
114
- providerFactory: providerFactory,
115
- providers: ['emojiProvider'],
116
- renderNode: renderNode
117
- });
118
- }
124
+ primaryToolbarComponent: !(api !== null && api !== void 0 && api.primaryToolbar) ? primaryToolbarComponent : undefined
119
125
  };
120
126
  };
121
127
  function ToolbarInsertBlockWithInjectionApi(_ref3) {
@@ -605,7 +605,8 @@ var ToolbarInsertBlock = exports.ToolbarInsertBlock = /*#__PURE__*/function (_Re
605
605
  _tableSelectorButton5,
606
606
  _tableSelectorButton6,
607
607
  _this$props$isDisable,
608
- _this$props$replacePl;
608
+ _this$props$replacePl,
609
+ _this$props$pluginInj;
609
610
  var _this$state2 = this.state,
610
611
  buttons = _this$state2.buttons,
611
612
  dropdownItems = _this$state2.dropdownItems,
@@ -733,7 +734,9 @@ var ToolbarInsertBlock = exports.ToolbarInsertBlock = /*#__PURE__*/function (_Re
733
734
  replacePlusMenuWithElementBrowser: (_this$props$replacePl = this.props.replacePlusMenuWithElementBrowser) !== null && _this$props$replacePl !== void 0 ? _this$props$replacePl : false,
734
735
  showElementBrowserLink: this.props.showElementBrowserLink || false,
735
736
  pluginInjectionApi: this.props.pluginInjectionApi
736
- })), this.props.showSeparator && (0, _react2.jsx)("span", {
737
+ })), !((_this$props$pluginInj = this.props.pluginInjectionApi) !== null && _this$props$pluginInj !== void 0 && _this$props$pluginInj.primaryToolbar) && this.props.showSeparator && /* eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage */
738
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
739
+ (0, _react2.jsx)("span", {
737
740
  css: _styles.separatorStyles
738
741
  }))
739
742
  );
@@ -49,6 +49,44 @@ export const insertBlockPlugin = ({
49
49
  toggleDropdownMenuOptionsRef.current = null;
50
50
  };
51
51
  };
52
+ const primaryToolbarComponent = ({
53
+ editorView,
54
+ editorActions,
55
+ dispatchAnalyticsEvent,
56
+ providerFactory,
57
+ popupsMountPoint,
58
+ popupsBoundariesElement,
59
+ popupsScrollableElement,
60
+ toolbarSize,
61
+ disabled,
62
+ isToolbarReducedSpacing,
63
+ isLastItem
64
+ }) => {
65
+ const renderNode = providers => {
66
+ return /*#__PURE__*/React.createElement(ToolbarInsertBlockWithInjectionApi, {
67
+ pluginInjectionApi: api,
68
+ editorView: editorView,
69
+ editorActions: editorActions,
70
+ dispatchAnalyticsEvent: dispatchAnalyticsEvent,
71
+ providerFactory: providerFactory,
72
+ popupsMountPoint: popupsMountPoint,
73
+ popupsBoundariesElement: popupsBoundariesElement,
74
+ popupsScrollableElement: popupsScrollableElement,
75
+ toolbarSize: toolbarSize,
76
+ disabled: disabled,
77
+ isToolbarReducedSpacing: isToolbarReducedSpacing,
78
+ isLastItem: isLastItem,
79
+ providers: providers,
80
+ options: options,
81
+ registerToggleDropdownMenuOptions: registerToggleDropdownMenuOptions
82
+ });
83
+ };
84
+ return /*#__PURE__*/React.createElement(WithProviders, {
85
+ providerFactory: providerFactory,
86
+ providers: ['emojiProvider'],
87
+ renderNode: renderNode
88
+ });
89
+ };
52
90
  return {
53
91
  name: 'insertBlock',
54
92
  actions: {
@@ -61,50 +99,18 @@ export const insertBlockPlugin = ({
61
99
  }
62
100
  },
63
101
  usePluginHook: () => {
102
+ var _api$core, _api$primaryToolbar;
64
103
  useLayoutEffect(() => {
65
104
  return () => {
66
105
  toggleDropdownMenuOptionsRef.current = null;
67
106
  };
68
107
  }, []);
108
+ api === null || api === void 0 ? void 0 : (_api$core = api.core) === null || _api$core === void 0 ? void 0 : _api$core.actions.execute(api === null || api === void 0 ? void 0 : (_api$primaryToolbar = api.primaryToolbar) === null || _api$primaryToolbar === void 0 ? void 0 : _api$primaryToolbar.commands.registerComponent({
109
+ name: 'insertBlock',
110
+ component: primaryToolbarComponent
111
+ }));
69
112
  },
70
- primaryToolbarComponent({
71
- editorView,
72
- editorActions,
73
- dispatchAnalyticsEvent,
74
- providerFactory,
75
- popupsMountPoint,
76
- popupsBoundariesElement,
77
- popupsScrollableElement,
78
- toolbarSize,
79
- disabled,
80
- isToolbarReducedSpacing,
81
- isLastItem
82
- }) {
83
- const renderNode = providers => {
84
- return /*#__PURE__*/React.createElement(ToolbarInsertBlockWithInjectionApi, {
85
- pluginInjectionApi: api,
86
- editorView: editorView,
87
- editorActions: editorActions,
88
- dispatchAnalyticsEvent: dispatchAnalyticsEvent,
89
- providerFactory: providerFactory,
90
- popupsMountPoint: popupsMountPoint,
91
- popupsBoundariesElement: popupsBoundariesElement,
92
- popupsScrollableElement: popupsScrollableElement,
93
- toolbarSize: toolbarSize,
94
- disabled: disabled,
95
- isToolbarReducedSpacing: isToolbarReducedSpacing,
96
- isLastItem: isLastItem,
97
- providers: providers,
98
- options: options,
99
- registerToggleDropdownMenuOptions: registerToggleDropdownMenuOptions
100
- });
101
- };
102
- return /*#__PURE__*/React.createElement(WithProviders, {
103
- providerFactory: providerFactory,
104
- providers: ['emojiProvider'],
105
- renderNode: renderNode
106
- });
107
- }
113
+ primaryToolbarComponent: !(api !== null && api !== void 0 && api.primaryToolbar) ? primaryToolbarComponent : undefined
108
114
  };
109
115
  };
110
116
  function ToolbarInsertBlockWithInjectionApi({
@@ -646,7 +646,7 @@ export class ToolbarInsertBlock extends React.PureComponent {
646
646
  });
647
647
  }
648
648
  render() {
649
- var _tableButton, _tableButton2, _tableButton3, _tableButton4, _tableButton5, _tableButton6, _tableButton7, _tableSelectorButton, _tableSelectorButton2, _tableSelectorButton3, _tableSelectorButton4, _tableSelectorButton5, _tableSelectorButton6, _this$props$isDisable, _this$props$replacePl;
649
+ var _tableButton, _tableButton2, _tableButton3, _tableButton4, _tableButton5, _tableButton6, _tableButton7, _tableSelectorButton, _tableSelectorButton2, _tableSelectorButton3, _tableSelectorButton4, _tableSelectorButton5, _tableSelectorButton6, _this$props$isDisable, _this$props$replacePl, _this$props$pluginInj4;
650
650
  const {
651
651
  buttons,
652
652
  dropdownItems,
@@ -765,7 +765,9 @@ export class ToolbarInsertBlock extends React.PureComponent {
765
765
  replacePlusMenuWithElementBrowser: (_this$props$replacePl = this.props.replacePlusMenuWithElementBrowser) !== null && _this$props$replacePl !== void 0 ? _this$props$replacePl : false,
766
766
  showElementBrowserLink: this.props.showElementBrowserLink || false,
767
767
  pluginInjectionApi: this.props.pluginInjectionApi
768
- })), this.props.showSeparator && jsx("span", {
768
+ })), !((_this$props$pluginInj4 = this.props.pluginInjectionApi) !== null && _this$props$pluginInj4 !== void 0 && _this$props$pluginInj4.primaryToolbar) && this.props.showSeparator && /* eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage */
769
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
770
+ jsx("span", {
769
771
  css: separatorStyles
770
772
  }))
771
773
  );
@@ -51,6 +51,43 @@ export var insertBlockPlugin = function insertBlockPlugin(_ref) {
51
51
  toggleDropdownMenuOptionsRef.current = null;
52
52
  };
53
53
  };
54
+ var primaryToolbarComponent = function primaryToolbarComponent(_ref2) {
55
+ var editorView = _ref2.editorView,
56
+ editorActions = _ref2.editorActions,
57
+ dispatchAnalyticsEvent = _ref2.dispatchAnalyticsEvent,
58
+ providerFactory = _ref2.providerFactory,
59
+ popupsMountPoint = _ref2.popupsMountPoint,
60
+ popupsBoundariesElement = _ref2.popupsBoundariesElement,
61
+ popupsScrollableElement = _ref2.popupsScrollableElement,
62
+ toolbarSize = _ref2.toolbarSize,
63
+ disabled = _ref2.disabled,
64
+ isToolbarReducedSpacing = _ref2.isToolbarReducedSpacing,
65
+ isLastItem = _ref2.isLastItem;
66
+ var renderNode = function renderNode(providers) {
67
+ return /*#__PURE__*/React.createElement(ToolbarInsertBlockWithInjectionApi, {
68
+ pluginInjectionApi: api,
69
+ editorView: editorView,
70
+ editorActions: editorActions,
71
+ dispatchAnalyticsEvent: dispatchAnalyticsEvent,
72
+ providerFactory: providerFactory,
73
+ popupsMountPoint: popupsMountPoint,
74
+ popupsBoundariesElement: popupsBoundariesElement,
75
+ popupsScrollableElement: popupsScrollableElement,
76
+ toolbarSize: toolbarSize,
77
+ disabled: disabled,
78
+ isToolbarReducedSpacing: isToolbarReducedSpacing,
79
+ isLastItem: isLastItem,
80
+ providers: providers,
81
+ options: options,
82
+ registerToggleDropdownMenuOptions: registerToggleDropdownMenuOptions
83
+ });
84
+ };
85
+ return /*#__PURE__*/React.createElement(WithProviders, {
86
+ providerFactory: providerFactory,
87
+ providers: ['emojiProvider'],
88
+ renderNode: renderNode
89
+ });
90
+ };
54
91
  return {
55
92
  name: 'insertBlock',
56
93
  actions: {
@@ -63,49 +100,18 @@ export var insertBlockPlugin = function insertBlockPlugin(_ref) {
63
100
  }
64
101
  },
65
102
  usePluginHook: function usePluginHook() {
103
+ var _api$core, _api$primaryToolbar;
66
104
  useLayoutEffect(function () {
67
105
  return function () {
68
106
  toggleDropdownMenuOptionsRef.current = null;
69
107
  };
70
108
  }, []);
109
+ api === null || api === void 0 || (_api$core = api.core) === null || _api$core === void 0 || _api$core.actions.execute(api === null || api === void 0 || (_api$primaryToolbar = api.primaryToolbar) === null || _api$primaryToolbar === void 0 ? void 0 : _api$primaryToolbar.commands.registerComponent({
110
+ name: 'insertBlock',
111
+ component: primaryToolbarComponent
112
+ }));
71
113
  },
72
- primaryToolbarComponent: function primaryToolbarComponent(_ref2) {
73
- var editorView = _ref2.editorView,
74
- editorActions = _ref2.editorActions,
75
- dispatchAnalyticsEvent = _ref2.dispatchAnalyticsEvent,
76
- providerFactory = _ref2.providerFactory,
77
- popupsMountPoint = _ref2.popupsMountPoint,
78
- popupsBoundariesElement = _ref2.popupsBoundariesElement,
79
- popupsScrollableElement = _ref2.popupsScrollableElement,
80
- toolbarSize = _ref2.toolbarSize,
81
- disabled = _ref2.disabled,
82
- isToolbarReducedSpacing = _ref2.isToolbarReducedSpacing,
83
- isLastItem = _ref2.isLastItem;
84
- var renderNode = function renderNode(providers) {
85
- return /*#__PURE__*/React.createElement(ToolbarInsertBlockWithInjectionApi, {
86
- pluginInjectionApi: api,
87
- editorView: editorView,
88
- editorActions: editorActions,
89
- dispatchAnalyticsEvent: dispatchAnalyticsEvent,
90
- providerFactory: providerFactory,
91
- popupsMountPoint: popupsMountPoint,
92
- popupsBoundariesElement: popupsBoundariesElement,
93
- popupsScrollableElement: popupsScrollableElement,
94
- toolbarSize: toolbarSize,
95
- disabled: disabled,
96
- isToolbarReducedSpacing: isToolbarReducedSpacing,
97
- isLastItem: isLastItem,
98
- providers: providers,
99
- options: options,
100
- registerToggleDropdownMenuOptions: registerToggleDropdownMenuOptions
101
- });
102
- };
103
- return /*#__PURE__*/React.createElement(WithProviders, {
104
- providerFactory: providerFactory,
105
- providers: ['emojiProvider'],
106
- renderNode: renderNode
107
- });
108
- }
114
+ primaryToolbarComponent: !(api !== null && api !== void 0 && api.primaryToolbar) ? primaryToolbarComponent : undefined
109
115
  };
110
116
  };
111
117
  function ToolbarInsertBlockWithInjectionApi(_ref3) {
@@ -596,7 +596,8 @@ export var ToolbarInsertBlock = /*#__PURE__*/function (_React$PureComponent) {
596
596
  _tableSelectorButton5,
597
597
  _tableSelectorButton6,
598
598
  _this$props$isDisable,
599
- _this$props$replacePl;
599
+ _this$props$replacePl,
600
+ _this$props$pluginInj;
600
601
  var _this$state2 = this.state,
601
602
  buttons = _this$state2.buttons,
602
603
  dropdownItems = _this$state2.dropdownItems,
@@ -724,7 +725,9 @@ export var ToolbarInsertBlock = /*#__PURE__*/function (_React$PureComponent) {
724
725
  replacePlusMenuWithElementBrowser: (_this$props$replacePl = this.props.replacePlusMenuWithElementBrowser) !== null && _this$props$replacePl !== void 0 ? _this$props$replacePl : false,
725
726
  showElementBrowserLink: this.props.showElementBrowserLink || false,
726
727
  pluginInjectionApi: this.props.pluginInjectionApi
727
- })), this.props.showSeparator && jsx("span", {
728
+ })), !((_this$props$pluginInj = this.props.pluginInjectionApi) !== null && _this$props$pluginInj !== void 0 && _this$props$pluginInj.primaryToolbar) && this.props.showSeparator && /* eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage */
729
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
730
+ jsx("span", {
728
731
  css: separatorStyles
729
732
  }))
730
733
  );
@@ -13,6 +13,7 @@ import type { MediaPlugin } from '@atlaskit/editor-plugin-media';
13
13
  import type { MentionsPlugin } from '@atlaskit/editor-plugin-mentions';
14
14
  import type { PanelPlugin } from '@atlaskit/editor-plugin-panel';
15
15
  import type { PlaceholderTextPlugin } from '@atlaskit/editor-plugin-placeholder-text';
16
+ import type { PrimaryToolbarPlugin } from '@atlaskit/editor-plugin-primary-toolbar';
16
17
  import type { QuickInsertPlugin } from '@atlaskit/editor-plugin-quick-insert';
17
18
  import type { RulePlugin } from '@atlaskit/editor-plugin-rule';
18
19
  import type { StatusPlugin } from '@atlaskit/editor-plugin-status';
@@ -39,5 +40,6 @@ export type InsertBlockPluginDependencies = [
39
40
  OptionalPlugin<ExpandPlugin>,
40
41
  OptionalPlugin<PlaceholderTextPlugin>,
41
42
  OptionalPlugin<ExtensionPlugin>,
42
- OptionalPlugin<TasksAndDecisionsPlugin>
43
+ OptionalPlugin<TasksAndDecisionsPlugin>,
44
+ OptionalPlugin<PrimaryToolbarPlugin>
43
45
  ];
@@ -13,6 +13,7 @@ import type { MediaPlugin } from '@atlaskit/editor-plugin-media';
13
13
  import type { MentionsPlugin } from '@atlaskit/editor-plugin-mentions';
14
14
  import type { PanelPlugin } from '@atlaskit/editor-plugin-panel';
15
15
  import type { PlaceholderTextPlugin } from '@atlaskit/editor-plugin-placeholder-text';
16
+ import type { PrimaryToolbarPlugin } from '@atlaskit/editor-plugin-primary-toolbar';
16
17
  import type { QuickInsertPlugin } from '@atlaskit/editor-plugin-quick-insert';
17
18
  import type { RulePlugin } from '@atlaskit/editor-plugin-rule';
18
19
  import type { StatusPlugin } from '@atlaskit/editor-plugin-status';
@@ -39,5 +40,6 @@ export type InsertBlockPluginDependencies = [
39
40
  OptionalPlugin<ExpandPlugin>,
40
41
  OptionalPlugin<PlaceholderTextPlugin>,
41
42
  OptionalPlugin<ExtensionPlugin>,
42
- OptionalPlugin<TasksAndDecisionsPlugin>
43
+ OptionalPlugin<TasksAndDecisionsPlugin>,
44
+ OptionalPlugin<PrimaryToolbarPlugin>
43
45
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-insert-block",
3
- "version": "1.4.1",
3
+ "version": "1.5.0",
4
4
  "description": "Insert block plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -33,7 +33,7 @@
33
33
  ".": "./src/index.ts"
34
34
  },
35
35
  "dependencies": {
36
- "@atlaskit/editor-common": "^85.0.0",
36
+ "@atlaskit/editor-common": "^85.1.0",
37
37
  "@atlaskit/editor-plugin-analytics": "^1.4.0",
38
38
  "@atlaskit/editor-plugin-block-type": "^3.8.0",
39
39
  "@atlaskit/editor-plugin-code-block": "^3.0.0",
@@ -48,6 +48,7 @@
48
48
  "@atlaskit/editor-plugin-mentions": "^2.0.0",
49
49
  "@atlaskit/editor-plugin-panel": "^2.0.0",
50
50
  "@atlaskit/editor-plugin-placeholder-text": "^1.4.0",
51
+ "@atlaskit/editor-plugin-primary-toolbar": "^1.2.0",
51
52
  "@atlaskit/editor-plugin-quick-insert": "^1.1.0",
52
53
  "@atlaskit/editor-plugin-rule": "^1.5.0",
53
54
  "@atlaskit/editor-plugin-status": "^2.1.0",