@atlaskit/editor-core 215.13.12 → 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 +9 -0
- package/dist/cjs/create-editor/editorStateNotificationPlugin.js +4 -0
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/create-editor/editorStateNotificationPlugin.js +6 -0
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/create-editor/editorStateNotificationPlugin.js +4 -0
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
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
|
+
|
|
3
12
|
## 215.13.12
|
|
4
13
|
|
|
5
14
|
### 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,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "
|
|
2
|
+
export const version = "0.0.0-development";
|
|
@@ -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,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "
|
|
2
|
+
export var version = "0.0.0-development";
|