@atlaskit/editor-core 204.1.0 → 204.2.0
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 +26 -0
- package/afm-cc/tsconfig.json +3 -0
- package/afm-jira/tsconfig.json +3 -0
- package/afm-post-office/tsconfig.json +3 -0
- package/dist/cjs/create-editor/ReactEditorViewNext.js +1 -0
- package/dist/cjs/ui/Addon/ClickAreaBlock/index.js +1 -0
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/create-editor/ReactEditorViewNext.js +1 -0
- package/dist/es2019/ui/Addon/ClickAreaBlock/index.js +1 -0
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/create-editor/ReactEditorViewNext.js +1 -0
- package/dist/esm/ui/Addon/ClickAreaBlock/index.js +1 -0
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +9 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 204.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#117956](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/117956)
|
|
8
|
+
[`cd2e59e78197e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/cd2e59e78197e) -
|
|
9
|
+
Tint transactions as dirty to prevent the change from being recognised as organic change
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#118799](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/118799)
|
|
14
|
+
[`d2c3610a2c050`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d2c3610a2c050) -
|
|
15
|
+
Fixes missing dependency declarations in package.json
|
|
16
|
+
- [#115116](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/115116)
|
|
17
|
+
[`344eb36211daa`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/344eb36211daa) -
|
|
18
|
+
[ux] ED-26394 support component rendering in editor selection plugin
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
21
|
+
## 204.1.1
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- [#117869](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/117869)
|
|
26
|
+
[`1668bcd621203`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1668bcd621203) -
|
|
27
|
+
COMPHUB-2622 Added data attributes for editor elements
|
|
28
|
+
|
|
3
29
|
## 204.1.0
|
|
4
30
|
|
|
5
31
|
### Minor Changes
|
package/afm-cc/tsconfig.json
CHANGED
package/afm-jira/tsconfig.json
CHANGED
|
@@ -399,6 +399,7 @@ function ReactEditorView(props) {
|
|
|
399
399
|
// Block stale transactions:
|
|
400
400
|
// Prevent runtime exeptions from async transactions that would attempt to
|
|
401
401
|
// update the DOM after React has unmounted the Editor.
|
|
402
|
+
|
|
402
403
|
if (canDispatchTransactions.current) {
|
|
403
404
|
_dispatchTransaction(viewRef.current, tr);
|
|
404
405
|
}
|
|
@@ -34,6 +34,7 @@ var ClickAreaBlock = exports.ClickAreaBlock = function ClickAreaBlock(_ref) {
|
|
|
34
34
|
return (
|
|
35
35
|
// eslint-disable-next-line jsx-a11y/no-static-element-interactions
|
|
36
36
|
(0, _react2.jsx)("div", {
|
|
37
|
+
"data-editor-click-wrapper": true,
|
|
37
38
|
"data-testid": "click-wrapper",
|
|
38
39
|
css: clickWrapper,
|
|
39
40
|
onMouseDown: handleMouseDown
|
|
@@ -373,6 +373,7 @@ export function ReactEditorView(props) {
|
|
|
373
373
|
// Block stale transactions:
|
|
374
374
|
// Prevent runtime exeptions from async transactions that would attempt to
|
|
375
375
|
// update the DOM after React has unmounted the Editor.
|
|
376
|
+
|
|
376
377
|
if (canDispatchTransactions.current) {
|
|
377
378
|
dispatchTransaction(viewRef.current, tr);
|
|
378
379
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "204.
|
|
2
|
+
export const version = "204.2.0";
|
|
@@ -388,6 +388,7 @@ export function ReactEditorView(props) {
|
|
|
388
388
|
// Block stale transactions:
|
|
389
389
|
// Prevent runtime exeptions from async transactions that would attempt to
|
|
390
390
|
// update the DOM after React has unmounted the Editor.
|
|
391
|
+
|
|
391
392
|
if (canDispatchTransactions.current) {
|
|
392
393
|
_dispatchTransaction(viewRef.current, tr);
|
|
393
394
|
}
|
|
@@ -26,6 +26,7 @@ export var ClickAreaBlock = function ClickAreaBlock(_ref) {
|
|
|
26
26
|
return (
|
|
27
27
|
// eslint-disable-next-line jsx-a11y/no-static-element-interactions
|
|
28
28
|
jsx("div", {
|
|
29
|
+
"data-editor-click-wrapper": true,
|
|
29
30
|
"data-testid": "click-wrapper",
|
|
30
31
|
css: clickWrapper,
|
|
31
32
|
onMouseDown: handleMouseDown
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "204.
|
|
2
|
+
export var version = "204.2.0";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "204.
|
|
3
|
+
"version": "204.2.0",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -43,7 +43,8 @@
|
|
|
43
43
|
"@atlaskit/analytics-next": "^11.0.0",
|
|
44
44
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
45
45
|
"@atlaskit/button": "^21.1.0",
|
|
46
|
-
"@atlaskit/
|
|
46
|
+
"@atlaskit/css": "^0.10.0",
|
|
47
|
+
"@atlaskit/editor-common": "^100.2.0",
|
|
47
48
|
"@atlaskit/editor-json-transformer": "^8.23.0",
|
|
48
49
|
"@atlaskit/editor-performance-metrics": "2.0.2",
|
|
49
50
|
"@atlaskit/editor-plugin-quick-insert": "2.0.0",
|
|
@@ -86,7 +87,7 @@
|
|
|
86
87
|
"@atlaskit/adf-utils": "^19.18.0",
|
|
87
88
|
"@atlaskit/analytics-listeners": "^9.0.0",
|
|
88
89
|
"@atlaskit/collab-provider": "10.7.3",
|
|
89
|
-
"@atlaskit/editor-plugin-annotation": "2.0.
|
|
90
|
+
"@atlaskit/editor-plugin-annotation": "2.0.2",
|
|
90
91
|
"@atlaskit/editor-plugin-card": "^5.0.0",
|
|
91
92
|
"@atlaskit/editor-plugin-list": "^4.0.0",
|
|
92
93
|
"@atlaskit/editor-plugin-paste": "^3.0.0",
|
|
@@ -98,7 +99,7 @@
|
|
|
98
99
|
"@atlaskit/modal-dialog": "^13.0.0",
|
|
99
100
|
"@atlaskit/primitives": "^14.1.0",
|
|
100
101
|
"@atlaskit/renderer": "^113.0.0",
|
|
101
|
-
"@atlaskit/smart-card": "^35.
|
|
102
|
+
"@atlaskit/smart-card": "^35.1.0",
|
|
102
103
|
"@atlaskit/synchrony-test-helpers": "^3.1.0",
|
|
103
104
|
"@atlaskit/toggle": "^15.0.0",
|
|
104
105
|
"@atlaskit/util-data-test": "^18.0.0",
|
|
@@ -474,6 +475,10 @@
|
|
|
474
475
|
"platform_editor_nested_tables_column_drag_fix": {
|
|
475
476
|
"type": "boolean",
|
|
476
477
|
"referenceOnly": true
|
|
478
|
+
},
|
|
479
|
+
"platform_editor_nested_tables_number_column_fixes": {
|
|
480
|
+
"type": "boolean",
|
|
481
|
+
"referenceOnly": true
|
|
477
482
|
}
|
|
478
483
|
},
|
|
479
484
|
"stricter": {
|