@atlaskit/editor-core 242.0.6 → 242.0.8
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 +13 -0
- package/dist/cjs/create-editor/ReactEditorView.js +0 -4
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/create-editor/ReactEditorView.js +0 -4
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/create-editor/ReactEditorView.js +0 -4
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 242.0.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 242.0.7
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`4ea2dae5082a7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4ea2dae5082a7) -
|
|
14
|
+
Clean up experiment `fix_editor_blur_issue_exp`
|
|
15
|
+
|
|
3
16
|
## 242.0.6
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -282,10 +282,6 @@ function ReactEditorView(props) {
|
|
|
282
282
|
// @ts-expect-error
|
|
283
283
|
var sel = viewRef.current.root.getSelection();
|
|
284
284
|
if (sel) {
|
|
285
|
-
if (!(0, _isExperimentEnabled.isExperimentEnabled)('fix_editor_blur_issue_exp')) {
|
|
286
|
-
sel.removeAllRanges();
|
|
287
|
-
return;
|
|
288
|
-
}
|
|
289
285
|
if ((!sel.anchorNode || viewRef.current.dom.contains(sel.anchorNode)) && (!sel.focusNode || viewRef.current.dom.contains(sel.focusNode))) {
|
|
290
286
|
sel.removeAllRanges();
|
|
291
287
|
}
|
|
@@ -6,4 +6,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.version = exports.name = void 0;
|
|
7
7
|
var name = exports.name = "@atlaskit/editor-core";
|
|
8
8
|
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
9
|
-
var version = exports.version = "242.0.
|
|
9
|
+
var version = exports.version = "242.0.7";
|
|
@@ -257,10 +257,6 @@ export function ReactEditorView(props) {
|
|
|
257
257
|
// @ts-expect-error
|
|
258
258
|
const sel = viewRef.current.root.getSelection();
|
|
259
259
|
if (sel) {
|
|
260
|
-
if (!isExperimentEnabled('fix_editor_blur_issue_exp')) {
|
|
261
|
-
sel.removeAllRanges();
|
|
262
|
-
return;
|
|
263
|
-
}
|
|
264
260
|
if ((!sel.anchorNode || viewRef.current.dom.contains(sel.anchorNode)) && (!sel.focusNode || viewRef.current.dom.contains(sel.focusNode))) {
|
|
265
261
|
sel.removeAllRanges();
|
|
266
262
|
}
|
|
@@ -273,10 +273,6 @@ export function ReactEditorView(props) {
|
|
|
273
273
|
// @ts-expect-error
|
|
274
274
|
var sel = viewRef.current.root.getSelection();
|
|
275
275
|
if (sel) {
|
|
276
|
-
if (!isExperimentEnabled('fix_editor_blur_issue_exp')) {
|
|
277
|
-
sel.removeAllRanges();
|
|
278
|
-
return;
|
|
279
|
-
}
|
|
280
276
|
if ((!sel.anchorNode || viewRef.current.dom.contains(sel.anchorNode)) && (!sel.focusNode || viewRef.current.dom.contains(sel.focusNode))) {
|
|
281
277
|
sel.removeAllRanges();
|
|
282
278
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "242.0.
|
|
3
|
+
"version": "242.0.8",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
76
76
|
"@atlaskit/react-ufo": "^8.3.0",
|
|
77
77
|
"@atlaskit/task-decision": "^21.14.0",
|
|
78
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
78
|
+
"@atlaskit/tmp-editor-statsig": "^251.0.0",
|
|
79
79
|
"@atlaskit/tokens": "^20.9.0",
|
|
80
80
|
"@atlaskit/tooltip": "^24.4.0",
|
|
81
81
|
"@atlaskit/width-detector": "^7.2.0",
|