@atlaskit/editor-core 215.9.4 → 215.9.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 +10 -0
- package/dist/cjs/create-editor/ReactEditorView/handleEditorFocus.js +2 -4
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/create-editor/ReactEditorView/handleEditorFocus.js +2 -4
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/create-editor/ReactEditorView/handleEditorFocus.js +2 -4
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +2 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 215.9.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`ebf6dcf335712`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ebf6dcf335712) -
|
|
8
|
+
Cleaned platform_editor_posfromdom_null_fix FG
|
|
9
|
+
- [`75b45f2248329`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/75b45f2248329) -
|
|
10
|
+
FG cleanup platform_editor_elements_dnd_multi_select_patch_2
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
3
13
|
## 215.9.4
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -28,10 +28,8 @@ function handleEditorFocus(view) {
|
|
|
28
28
|
// Due to race conditions during editor lifecycle transitions (e.g. SPA route changes during opening or closing)
|
|
29
29
|
// where the view (and its internal docView) may have been destroyed, the timeout callback may fire on a stale view.
|
|
30
30
|
// Bail out in that scenario to prevent operating on an unmounted view.
|
|
31
|
-
if (
|
|
32
|
-
|
|
33
|
-
return;
|
|
34
|
-
}
|
|
31
|
+
if (view !== null && view !== void 0 && view.isDestroyed) {
|
|
32
|
+
return;
|
|
35
33
|
}
|
|
36
34
|
if (view !== null && view !== void 0 && view.hasFocus()) {
|
|
37
35
|
return;
|
|
@@ -17,10 +17,8 @@ export function handleEditorFocus(view) {
|
|
|
17
17
|
// Due to race conditions during editor lifecycle transitions (e.g. SPA route changes during opening or closing)
|
|
18
18
|
// where the view (and its internal docView) may have been destroyed, the timeout callback may fire on a stale view.
|
|
19
19
|
// Bail out in that scenario to prevent operating on an unmounted view.
|
|
20
|
-
if (
|
|
21
|
-
|
|
22
|
-
return;
|
|
23
|
-
}
|
|
20
|
+
if (view !== null && view !== void 0 && view.isDestroyed) {
|
|
21
|
+
return;
|
|
24
22
|
}
|
|
25
23
|
if (view !== null && view !== void 0 && view.hasFocus()) {
|
|
26
24
|
return;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "215.9.
|
|
2
|
+
export const version = "215.9.4";
|
|
@@ -21,10 +21,8 @@ export function handleEditorFocus(view) {
|
|
|
21
21
|
// Due to race conditions during editor lifecycle transitions (e.g. SPA route changes during opening or closing)
|
|
22
22
|
// where the view (and its internal docView) may have been destroyed, the timeout callback may fire on a stale view.
|
|
23
23
|
// Bail out in that scenario to prevent operating on an unmounted view.
|
|
24
|
-
if (
|
|
25
|
-
|
|
26
|
-
return;
|
|
27
|
-
}
|
|
24
|
+
if (view !== null && view !== void 0 && view.isDestroyed) {
|
|
25
|
+
return;
|
|
28
26
|
}
|
|
29
27
|
if (view !== null && view !== void 0 && view.hasFocus()) {
|
|
30
28
|
return;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "215.9.
|
|
2
|
+
export var version = "215.9.4";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "215.9.
|
|
3
|
+
"version": "215.9.5",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
65
65
|
"@atlaskit/react-ufo": "^4.14.0",
|
|
66
66
|
"@atlaskit/task-decision": "^19.2.0",
|
|
67
|
-
"@atlaskit/tmp-editor-statsig": "^13.
|
|
67
|
+
"@atlaskit/tmp-editor-statsig": "^13.25.0",
|
|
68
68
|
"@atlaskit/tokens": "^7.0.0",
|
|
69
69
|
"@atlaskit/tooltip": "^20.7.0",
|
|
70
70
|
"@atlaskit/width-detector": "^5.0.0",
|
|
@@ -274,10 +274,6 @@
|
|
|
274
274
|
"type": "boolean",
|
|
275
275
|
"referenceOnly": true
|
|
276
276
|
},
|
|
277
|
-
"platform_editor_elements_dnd_multi_select_patch_2": {
|
|
278
|
-
"type": "boolean",
|
|
279
|
-
"referenceOnly": true
|
|
280
|
-
},
|
|
281
277
|
"platform_editor_paste_full_table_inside_empty_cell": {
|
|
282
278
|
"type": "boolean",
|
|
283
279
|
"referenceOnly": true
|
|
@@ -286,9 +282,6 @@
|
|
|
286
282
|
"type": "boolean",
|
|
287
283
|
"referenceOnly": true
|
|
288
284
|
},
|
|
289
|
-
"platform_editor_posfromdom_null_fix": {
|
|
290
|
-
"type": "boolean"
|
|
291
|
-
},
|
|
292
285
|
"platform_editor_nested_dnd_styles_changes": {
|
|
293
286
|
"type": "boolean"
|
|
294
287
|
},
|