@atlaskit/editor-core 198.4.5 → 198.4.6
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 +11 -0
- package/dist/cjs/ui/Appearance/FullPage/FullPageToolbar.js +0 -6
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPageToolbar.js +0 -6
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/FullPageToolbar.js +0 -6
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 198.4.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#150606](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/150606)
|
|
8
|
+
[`7680d21f5d481`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7680d21f5d481) -
|
|
9
|
+
[ED-24257] This change cleans up the feature gate for the main toolbar navigation escape fix.
|
|
10
|
+
- [#150606](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/150606)
|
|
11
|
+
[`d4d1f4dc8f6dc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d4d1f4dc8f6dc) -
|
|
12
|
+
ED-24117: upgrades mention with provider to fc for react 18 migration
|
|
13
|
+
|
|
3
14
|
## 198.4.5
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -13,7 +13,6 @@ var _reactIntlNext = require("react-intl-next");
|
|
|
13
13
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
14
14
|
var _ui = require("@atlaskit/editor-common/ui");
|
|
15
15
|
var _uiMenu = require("@atlaskit/editor-common/ui-menu");
|
|
16
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
17
16
|
var _Toolbar = _interopRequireDefault(require("../../Toolbar"));
|
|
18
17
|
var _BeforeWrapper = require("./BeforeWrapper");
|
|
19
18
|
var _MainToolbar = require("./MainToolbar");
|
|
@@ -90,11 +89,6 @@ var EditorToolbar = exports.EditorToolbar = /*#__PURE__*/_react.default.memo(fun
|
|
|
90
89
|
};
|
|
91
90
|
var handleEscape = function handleEscape(event) {
|
|
92
91
|
var _props$editorView;
|
|
93
|
-
if (!(0, _platformFeatureFlags.fg)('editor-fix-esc-main-toolbar-navigation')) {
|
|
94
|
-
if (!props.popupsMountPoint) {
|
|
95
|
-
return;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
92
|
if (!((_props$editorView = props.editorView) !== null && _props$editorView !== void 0 && _props$editorView.hasFocus())) {
|
|
99
93
|
var _props$editorView2;
|
|
100
94
|
(_props$editorView2 = props.editorView) === null || _props$editorView2 === void 0 || _props$editorView2.focus();
|
|
@@ -11,7 +11,6 @@ import { injectIntl } from 'react-intl-next';
|
|
|
11
11
|
import { fullPageMessages as messages } from '@atlaskit/editor-common/messages';
|
|
12
12
|
import { ContextPanelConsumer } from '@atlaskit/editor-common/ui';
|
|
13
13
|
import { ToolbarArrowKeyNavigationProvider } from '@atlaskit/editor-common/ui-menu';
|
|
14
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
15
14
|
import Toolbar from '../../Toolbar';
|
|
16
15
|
import { BeforePrimaryToolbarWrapper } from './BeforeWrapper';
|
|
17
16
|
import { customToolbarWrapperStyle, mainToolbarFirstChildStyle, mainToolbarIconBeforeStyle, mainToolbarSecondChildStyle, mainToolbarStyle, MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT, nonCustomToolbarWrapperStyle } from './MainToolbar';
|
|
@@ -76,11 +75,6 @@ export const EditorToolbar = /*#__PURE__*/React.memo(props => {
|
|
|
76
75
|
};
|
|
77
76
|
const handleEscape = event => {
|
|
78
77
|
var _props$editorView;
|
|
79
|
-
if (!fg('editor-fix-esc-main-toolbar-navigation')) {
|
|
80
|
-
if (!props.popupsMountPoint) {
|
|
81
|
-
return;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
78
|
if (!((_props$editorView = props.editorView) !== null && _props$editorView !== void 0 && _props$editorView.hasFocus())) {
|
|
85
79
|
var _props$editorView2;
|
|
86
80
|
(_props$editorView2 = props.editorView) === null || _props$editorView2 === void 0 ? void 0 : _props$editorView2.focus();
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "198.4.
|
|
2
|
+
export const version = "198.4.6";
|
|
@@ -12,7 +12,6 @@ import { injectIntl } from 'react-intl-next';
|
|
|
12
12
|
import { fullPageMessages as messages } from '@atlaskit/editor-common/messages';
|
|
13
13
|
import { ContextPanelConsumer } from '@atlaskit/editor-common/ui';
|
|
14
14
|
import { ToolbarArrowKeyNavigationProvider } from '@atlaskit/editor-common/ui-menu';
|
|
15
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
16
15
|
import Toolbar from '../../Toolbar';
|
|
17
16
|
import { BeforePrimaryToolbarWrapper } from './BeforeWrapper';
|
|
18
17
|
import { customToolbarWrapperStyle, mainToolbarFirstChildStyle, mainToolbarIconBeforeStyle, mainToolbarSecondChildStyle, mainToolbarStyle, MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT, nonCustomToolbarWrapperStyle } from './MainToolbar';
|
|
@@ -80,11 +79,6 @@ export var EditorToolbar = /*#__PURE__*/React.memo(function (props) {
|
|
|
80
79
|
};
|
|
81
80
|
var handleEscape = function handleEscape(event) {
|
|
82
81
|
var _props$editorView;
|
|
83
|
-
if (!fg('editor-fix-esc-main-toolbar-navigation')) {
|
|
84
|
-
if (!props.popupsMountPoint) {
|
|
85
|
-
return;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
82
|
if (!((_props$editorView = props.editorView) !== null && _props$editorView !== void 0 && _props$editorView.hasFocus())) {
|
|
89
83
|
var _props$editorView2;
|
|
90
84
|
(_props$editorView2 = props.editorView) === null || _props$editorView2 === void 0 || _props$editorView2.focus();
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "198.4.
|
|
2
|
+
export var version = "198.4.6";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "198.4.
|
|
3
|
+
"version": "198.4.6",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -201,9 +201,6 @@
|
|
|
201
201
|
"type": "boolean",
|
|
202
202
|
"referenceOnly": true
|
|
203
203
|
},
|
|
204
|
-
"editor-fix-esc-main-toolbar-navigation": {
|
|
205
|
-
"type": "boolean"
|
|
206
|
-
},
|
|
207
204
|
"editor_support_code_block_wrapping": {
|
|
208
205
|
"type": "boolean",
|
|
209
206
|
"referenceOnly": true
|
|
@@ -261,6 +258,9 @@
|
|
|
261
258
|
"platform_editor_ssr_fix_block_controls": {
|
|
262
259
|
"type": "boolean"
|
|
263
260
|
},
|
|
261
|
+
"platform_editor_react18_mention_with_provider": {
|
|
262
|
+
"type": "boolean"
|
|
263
|
+
},
|
|
264
264
|
"platform_editor_remove_use_preset_context": {
|
|
265
265
|
"type": "boolean"
|
|
266
266
|
},
|