@atlaskit/editor-core 215.13.11 → 215.13.13
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
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 215.13.13
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`4d676bbdb3ce6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4d676bbdb3ce6) -
|
|
8
|
+
ts-ignore added temporarily to unblock local consumption for help-center, will be removed once
|
|
9
|
+
project refs are setup
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 215.13.12
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 215.13.11
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -12,11 +12,13 @@ var createEditorStateNotificationPlugin = exports.createEditorStateNotificationP
|
|
|
12
12
|
return new _safePlugin.SafePlugin({
|
|
13
13
|
key: key,
|
|
14
14
|
state: {
|
|
15
|
+
// @ts-ignore - Workaround for help-center local consumption
|
|
15
16
|
init: function init() {
|
|
16
17
|
return {
|
|
17
18
|
latestTransaction: undefined
|
|
18
19
|
};
|
|
19
20
|
},
|
|
21
|
+
// @ts-ignore - Workaround for help-center local consumption
|
|
20
22
|
apply: function apply(tr) {
|
|
21
23
|
transactions.push(tr);
|
|
22
24
|
return {
|
|
@@ -26,6 +28,8 @@ var createEditorStateNotificationPlugin = exports.createEditorStateNotificationP
|
|
|
26
28
|
},
|
|
27
29
|
view: function view() {
|
|
28
30
|
return {
|
|
31
|
+
// @ts-ignore - Workaround for help-center local consumption
|
|
32
|
+
|
|
29
33
|
update: function update(view, oldEditorState) {
|
|
30
34
|
onEditorStateUpdated({
|
|
31
35
|
oldEditorState: oldEditorState,
|
|
@@ -6,11 +6,15 @@ export const createEditorStateNotificationPlugin = (onEditorStateUpdated, onEdit
|
|
|
6
6
|
return new SafePlugin({
|
|
7
7
|
key: key,
|
|
8
8
|
state: {
|
|
9
|
+
// @ts-ignore - Workaround for help-center local consumption
|
|
10
|
+
|
|
9
11
|
init() {
|
|
10
12
|
return {
|
|
11
13
|
latestTransaction: undefined
|
|
12
14
|
};
|
|
13
15
|
},
|
|
16
|
+
// @ts-ignore - Workaround for help-center local consumption
|
|
17
|
+
|
|
14
18
|
apply(tr) {
|
|
15
19
|
transactions.push(tr);
|
|
16
20
|
return {
|
|
@@ -20,6 +24,8 @@ export const createEditorStateNotificationPlugin = (onEditorStateUpdated, onEdit
|
|
|
20
24
|
},
|
|
21
25
|
view: () => {
|
|
22
26
|
return {
|
|
27
|
+
// @ts-ignore - Workaround for help-center local consumption
|
|
28
|
+
|
|
23
29
|
update: (view, oldEditorState) => {
|
|
24
30
|
onEditorStateUpdated({
|
|
25
31
|
oldEditorState,
|
|
@@ -6,11 +6,13 @@ export var createEditorStateNotificationPlugin = function createEditorStateNotif
|
|
|
6
6
|
return new SafePlugin({
|
|
7
7
|
key: key,
|
|
8
8
|
state: {
|
|
9
|
+
// @ts-ignore - Workaround for help-center local consumption
|
|
9
10
|
init: function init() {
|
|
10
11
|
return {
|
|
11
12
|
latestTransaction: undefined
|
|
12
13
|
};
|
|
13
14
|
},
|
|
15
|
+
// @ts-ignore - Workaround for help-center local consumption
|
|
14
16
|
apply: function apply(tr) {
|
|
15
17
|
transactions.push(tr);
|
|
16
18
|
return {
|
|
@@ -20,6 +22,8 @@ export var createEditorStateNotificationPlugin = function createEditorStateNotif
|
|
|
20
22
|
},
|
|
21
23
|
view: function view() {
|
|
22
24
|
return {
|
|
25
|
+
// @ts-ignore - Workaround for help-center local consumption
|
|
26
|
+
|
|
23
27
|
update: function update(view, oldEditorState) {
|
|
24
28
|
onEditorStateUpdated({
|
|
25
29
|
oldEditorState: oldEditorState,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "215.13.
|
|
3
|
+
"version": "215.13.13",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
46
46
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
47
47
|
"@atlaskit/button": "^23.6.0",
|
|
48
|
-
"@atlaskit/css": "^0.
|
|
48
|
+
"@atlaskit/css": "^0.17.0",
|
|
49
49
|
"@atlaskit/editor-json-transformer": "^8.31.0",
|
|
50
50
|
"@atlaskit/editor-performance-metrics": "^2.1.0",
|
|
51
51
|
"@atlaskit/editor-plugin-quick-insert": "^6.0.0",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@atlaskit/react-ufo": "^4.15.0",
|
|
66
66
|
"@atlaskit/task-decision": "^19.2.0",
|
|
67
67
|
"@atlaskit/tmp-editor-statsig": "^13.42.0",
|
|
68
|
-
"@atlaskit/tokens": "^8.
|
|
68
|
+
"@atlaskit/tokens": "^8.3.0",
|
|
69
69
|
"@atlaskit/tooltip": "^20.10.0",
|
|
70
70
|
"@atlaskit/width-detector": "^5.0.0",
|
|
71
71
|
"@babel/runtime": "^7.0.0",
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"@atlaskit/media-integration-test-helpers": "workspace:^",
|
|
105
105
|
"@atlaskit/media-test-helpers": "^39.0.0",
|
|
106
106
|
"@atlaskit/modal-dialog": "^14.7.0",
|
|
107
|
-
"@atlaskit/primitives": "^16.
|
|
107
|
+
"@atlaskit/primitives": "^16.3.0",
|
|
108
108
|
"@atlaskit/renderer": "^124.16.0",
|
|
109
109
|
"@atlaskit/section-message": "^8.9.0",
|
|
110
110
|
"@atlaskit/smart-card": "^43.10.0",
|