@atlaskit/editor-plugin-collab-edit 1.17.0 → 1.18.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
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-collab-edit
|
|
2
2
|
|
|
3
|
+
## 1.18.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`6035369220646`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6035369220646) -
|
|
8
|
+
Refined logic of sanitizeStep to include stepInstance information
|
|
9
|
+
|
|
3
10
|
## 1.17.0
|
|
4
11
|
|
|
5
12
|
### Minor Changes
|
package/dist/cjs/track-steps.js
CHANGED
|
@@ -47,7 +47,8 @@ function groupBy(array, keyGetter) {
|
|
|
47
47
|
var sanitizeStep = exports.sanitizeStep = function sanitizeStep(step) {
|
|
48
48
|
var serializedStep = step.toJSON();
|
|
49
49
|
var sanitizedStep = {
|
|
50
|
-
stepType: serializedStep.stepType
|
|
50
|
+
stepType: serializedStep.stepType,
|
|
51
|
+
stepInstance: step.constructor.name
|
|
51
52
|
};
|
|
52
53
|
if (step instanceof _transform.AttrStep || step instanceof _transform.DocAttrStep) {
|
|
53
54
|
sanitizedStep.attr = step.attr;
|
|
@@ -36,7 +36,8 @@ function groupBy(array, keyGetter) {
|
|
|
36
36
|
export const sanitizeStep = step => {
|
|
37
37
|
const serializedStep = step.toJSON();
|
|
38
38
|
const sanitizedStep = {
|
|
39
|
-
stepType: serializedStep.stepType
|
|
39
|
+
stepType: serializedStep.stepType,
|
|
40
|
+
stepInstance: step.constructor.name
|
|
40
41
|
};
|
|
41
42
|
if (step instanceof AttrStep || step instanceof DocAttrStep) {
|
|
42
43
|
sanitizedStep.attr = step.attr;
|
package/dist/esm/track-steps.js
CHANGED
|
@@ -40,7 +40,8 @@ function groupBy(array, keyGetter) {
|
|
|
40
40
|
export var sanitizeStep = function sanitizeStep(step) {
|
|
41
41
|
var serializedStep = step.toJSON();
|
|
42
42
|
var sanitizedStep = {
|
|
43
|
-
stepType: serializedStep.stepType
|
|
43
|
+
stepType: serializedStep.stepType,
|
|
44
|
+
stepInstance: step.constructor.name
|
|
44
45
|
};
|
|
45
46
|
if (step instanceof AttrStep || step instanceof DocAttrStep) {
|
|
46
47
|
sanitizedStep.attr = step.attr;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-collab-edit",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.18.0",
|
|
4
4
|
"description": "Collab Edit plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@atlaskit/adf-schema": "^40.9.0",
|
|
36
36
|
"@atlaskit/custom-steps": "^0.7.0",
|
|
37
|
-
"@atlaskit/editor-common": "^88.
|
|
37
|
+
"@atlaskit/editor-common": "^88.4.0",
|
|
38
38
|
"@atlaskit/editor-plugin-analytics": "1.8.2",
|
|
39
39
|
"@atlaskit/editor-plugin-editor-viewmode": "^2.1.0",
|
|
40
40
|
"@atlaskit/editor-plugin-feature-flags": "^1.2.0",
|