@atlaskit/editor-core 215.13.2 → 215.13.3
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 +7 -0
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer.js +1 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 215.13.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`26449d20b062d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/26449d20b062d) -
|
|
8
|
+
[ux] EDITOR-2868 Enable scrollbar for editor max width
|
|
9
|
+
|
|
3
10
|
## 215.13.2
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -121,7 +121,7 @@ var EditorContentContainer = /*#__PURE__*/_react.default.forwardRef(function (pr
|
|
|
121
121
|
var theme = (0, _react2.useTheme)();
|
|
122
122
|
var _useThemeObserver = (0, _tokens.useThemeObserver)(),
|
|
123
123
|
colorMode = _useThemeObserver.colorMode;
|
|
124
|
-
var isFullPage = appearance === 'full-page' || appearance === 'full-width';
|
|
124
|
+
var isFullPage = appearance === 'full-page' || appearance === 'full-width' || (0, _expValEquals.expValEquals)('editor_tinymce_full_width_mode', 'isEnabled', true) && appearance === 'max';
|
|
125
125
|
var isComment = appearance === 'comment';
|
|
126
126
|
var baseFontSize = (0, _getBaseFontSize.getBaseFontSize)(appearance, contentMode);
|
|
127
127
|
var style = (0, _experiments.editorExperiment)('platform_editor_preview_panel_responsiveness', true, {
|
|
@@ -117,7 +117,7 @@ const EditorContentContainer = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
117
117
|
const {
|
|
118
118
|
colorMode
|
|
119
119
|
} = useThemeObserver();
|
|
120
|
-
const isFullPage = appearance === 'full-page' || appearance === 'full-width';
|
|
120
|
+
const isFullPage = appearance === 'full-page' || appearance === 'full-width' || expValEquals('editor_tinymce_full_width_mode', 'isEnabled', true) && appearance === 'max';
|
|
121
121
|
const isComment = appearance === 'comment';
|
|
122
122
|
const baseFontSize = getBaseFontSize(appearance, contentMode);
|
|
123
123
|
const style = editorExperiment('platform_editor_preview_panel_responsiveness', true, {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "215.13.
|
|
2
|
+
export const version = "215.13.2";
|
|
@@ -113,7 +113,7 @@ var EditorContentContainer = /*#__PURE__*/React.forwardRef(function (props, ref)
|
|
|
113
113
|
var theme = useTheme();
|
|
114
114
|
var _useThemeObserver = useThemeObserver(),
|
|
115
115
|
colorMode = _useThemeObserver.colorMode;
|
|
116
|
-
var isFullPage = appearance === 'full-page' || appearance === 'full-width';
|
|
116
|
+
var isFullPage = appearance === 'full-page' || appearance === 'full-width' || expValEquals('editor_tinymce_full_width_mode', 'isEnabled', true) && appearance === 'max';
|
|
117
117
|
var isComment = appearance === 'comment';
|
|
118
118
|
var baseFontSize = getBaseFontSize(appearance, contentMode);
|
|
119
119
|
var style = editorExperiment('platform_editor_preview_panel_responsiveness', true, {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "215.13.
|
|
2
|
+
export var version = "215.13.2";
|