@atlaskit/editor-plugin-layout 2.8.0 → 2.8.1
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-layout
|
|
2
2
|
|
|
3
|
+
## 2.8.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#161565](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/161565)
|
|
8
|
+
[`78560d0f96f90`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/78560d0f96f90) -
|
|
9
|
+
Disable layout resizer when platform_editor_breakout_resizer is enabled
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 2.8.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
|
@@ -105,7 +105,7 @@ var LayoutBreakoutResizer = function LayoutBreakoutResizer(_ref) {
|
|
|
105
105
|
editorView: view,
|
|
106
106
|
nodeType: "layoutSection",
|
|
107
107
|
getEditorWidth: getEditorWidth,
|
|
108
|
-
disabled: editorDisabled === true || !isBreakoutAvailable(view.state.schema),
|
|
108
|
+
disabled: (0, _experiments.editorExperiment)('platform_editor_breakout_resizing', true) ? true : editorDisabled === true || !isBreakoutAvailable(view.state.schema),
|
|
109
109
|
parentRef: parentRef,
|
|
110
110
|
editorAnalyticsApi: pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$a = pluginInjectionApi.analytics) === null || _pluginInjectionApi$a === void 0 ? void 0 : _pluginInjectionApi$a.actions,
|
|
111
111
|
displayGuidelines: (0, _experiments.editorExperiment)('single_column_layouts', true) ? displayGuidelines : undefined,
|
|
@@ -91,7 +91,7 @@ const LayoutBreakoutResizer = ({
|
|
|
91
91
|
editorView: view,
|
|
92
92
|
nodeType: "layoutSection",
|
|
93
93
|
getEditorWidth: getEditorWidth,
|
|
94
|
-
disabled: editorDisabled === true || !isBreakoutAvailable(view.state.schema),
|
|
94
|
+
disabled: editorExperiment('platform_editor_breakout_resizing', true) ? true : editorDisabled === true || !isBreakoutAvailable(view.state.schema),
|
|
95
95
|
parentRef: parentRef,
|
|
96
96
|
editorAnalyticsApi: pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : (_pluginInjectionApi$a = pluginInjectionApi.analytics) === null || _pluginInjectionApi$a === void 0 ? void 0 : _pluginInjectionApi$a.actions,
|
|
97
97
|
displayGuidelines: editorExperiment('single_column_layouts', true) ? displayGuidelines : undefined,
|
|
@@ -95,7 +95,7 @@ var LayoutBreakoutResizer = function LayoutBreakoutResizer(_ref) {
|
|
|
95
95
|
editorView: view,
|
|
96
96
|
nodeType: "layoutSection",
|
|
97
97
|
getEditorWidth: getEditorWidth,
|
|
98
|
-
disabled: editorDisabled === true || !isBreakoutAvailable(view.state.schema),
|
|
98
|
+
disabled: editorExperiment('platform_editor_breakout_resizing', true) ? true : editorDisabled === true || !isBreakoutAvailable(view.state.schema),
|
|
99
99
|
parentRef: parentRef,
|
|
100
100
|
editorAnalyticsApi: pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$a = pluginInjectionApi.analytics) === null || _pluginInjectionApi$a === void 0 ? void 0 : _pluginInjectionApi$a.actions,
|
|
101
101
|
displayGuidelines: editorExperiment('single_column_layouts', true) ? displayGuidelines : undefined,
|