@atlaskit/editor-plugin-insert-block 2.3.4 → 2.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-insert-block
|
|
2
2
|
|
|
3
|
+
## 2.3.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#153789](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/153789)
|
|
8
|
+
[`5062618c0206b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5062618c0206b) -
|
|
9
|
+
fix issue where insert menu would show with right rail when clicking blank page more elements
|
|
10
|
+
button
|
|
11
|
+
|
|
3
12
|
## 2.3.4
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -786,7 +786,7 @@ var ToolbarInsertBlock = exports.ToolbarInsertBlock = /*#__PURE__*/function (_Re
|
|
|
786
786
|
editorView: this.props.editorView,
|
|
787
787
|
spacing: this.props.isReducedSpacing ? 'none' : 'default',
|
|
788
788
|
label: this.props.intl.formatMessage(_messages.messages.insertMenu),
|
|
789
|
-
open: this.state.isPlusMenuOpen,
|
|
789
|
+
open: this.state.isPlusMenuOpen && (0, _experiments.editorExperiment)('insert-menu-in-right-rail', false),
|
|
790
790
|
plusButtonRef: this.plusButtonRef,
|
|
791
791
|
items: this.state.dropdownItems,
|
|
792
792
|
onRef: this.handleDropDownButtonRef,
|
|
@@ -820,7 +820,7 @@ export class ToolbarInsertBlock extends React.PureComponent {
|
|
|
820
820
|
editorView: this.props.editorView,
|
|
821
821
|
spacing: this.props.isReducedSpacing ? 'none' : 'default',
|
|
822
822
|
label: this.props.intl.formatMessage(messages.insertMenu),
|
|
823
|
-
open: this.state.isPlusMenuOpen,
|
|
823
|
+
open: this.state.isPlusMenuOpen && editorExperiment('insert-menu-in-right-rail', false),
|
|
824
824
|
plusButtonRef: this.plusButtonRef,
|
|
825
825
|
items: this.state.dropdownItems,
|
|
826
826
|
onRef: this.handleDropDownButtonRef,
|
|
@@ -777,7 +777,7 @@ export var ToolbarInsertBlock = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
777
777
|
editorView: this.props.editorView,
|
|
778
778
|
spacing: this.props.isReducedSpacing ? 'none' : 'default',
|
|
779
779
|
label: this.props.intl.formatMessage(messages.insertMenu),
|
|
780
|
-
open: this.state.isPlusMenuOpen,
|
|
780
|
+
open: this.state.isPlusMenuOpen && editorExperiment('insert-menu-in-right-rail', false),
|
|
781
781
|
plusButtonRef: this.plusButtonRef,
|
|
782
782
|
items: this.state.dropdownItems,
|
|
783
783
|
onRef: this.handleDropDownButtonRef,
|