@atlaskit/editor-plugin-annotation 2.1.2 → 2.1.3
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 +6 -0
- package/dist/cjs/editor-commands/index.js +1 -1
- package/dist/cjs/pm-plugins/toolbar.js +1 -1
- package/dist/es2019/editor-commands/index.js +1 -1
- package/dist/es2019/pm-plugins/toolbar.js +1 -1
- package/dist/esm/editor-commands/index.js +1 -1
- package/dist/esm/pm-plugins/toolbar.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -24,7 +24,7 @@ var updateInlineCommentResolvedState = exports.updateInlineCommentResolvedState
|
|
|
24
24
|
return state;
|
|
25
25
|
});
|
|
26
26
|
|
|
27
|
-
//
|
|
27
|
+
// TODO: EDF-716 - This is nuking the scroll into view which occurs
|
|
28
28
|
// when a comment is resolved. The problem is this is called when either a collab user or the current user resolves a comment.
|
|
29
29
|
// and the problem is since cc is just dispatching an event through the provider to resolve the comment and this
|
|
30
30
|
// is not comming via NCS, we have not way to know if this is a local or remote transaction.
|
|
@@ -94,7 +94,7 @@ var buildToolbar = exports.buildToolbar = function buildToolbar(editorAnalyticsA
|
|
|
94
94
|
}
|
|
95
95
|
return (0, _editorCommands.setInlineCommentDraftState)(editorAnalyticsAPI)(true)(state, dispatch);
|
|
96
96
|
},
|
|
97
|
-
supportsViewMode: true // TODO: MODES-3950 Clean up this floating toolbar view mode logic,
|
|
97
|
+
supportsViewMode: true // TODO: MODES-3950 - Clean up this floating toolbar view mode logic,
|
|
98
98
|
};
|
|
99
99
|
var annotation = schema.marks.annotation;
|
|
100
100
|
var validNodes = Object.keys(schema.nodes).reduce(function (acc, current) {
|
|
@@ -13,7 +13,7 @@ export const updateInlineCommentResolvedState = editorAnalyticsAPI => (partialNe
|
|
|
13
13
|
};
|
|
14
14
|
const allResolved = Object.values(partialNewState).every(state => state);
|
|
15
15
|
|
|
16
|
-
//
|
|
16
|
+
// TODO: EDF-716 - This is nuking the scroll into view which occurs
|
|
17
17
|
// when a comment is resolved. The problem is this is called when either a collab user or the current user resolves a comment.
|
|
18
18
|
// and the problem is since cc is just dispatching an event through the provider to resolve the comment and this
|
|
19
19
|
// is not comming via NCS, we have not way to know if this is a local or remote transaction.
|
|
@@ -85,7 +85,7 @@ export const buildToolbar = editorAnalyticsAPI => ({
|
|
|
85
85
|
}
|
|
86
86
|
return setInlineCommentDraftState(editorAnalyticsAPI)(true)(state, dispatch);
|
|
87
87
|
},
|
|
88
|
-
supportsViewMode: true // TODO: MODES-3950 Clean up this floating toolbar view mode logic,
|
|
88
|
+
supportsViewMode: true // TODO: MODES-3950 - Clean up this floating toolbar view mode logic,
|
|
89
89
|
};
|
|
90
90
|
const {
|
|
91
91
|
annotation
|
|
@@ -17,7 +17,7 @@ export var updateInlineCommentResolvedState = function updateInlineCommentResolv
|
|
|
17
17
|
return state;
|
|
18
18
|
});
|
|
19
19
|
|
|
20
|
-
//
|
|
20
|
+
// TODO: EDF-716 - This is nuking the scroll into view which occurs
|
|
21
21
|
// when a comment is resolved. The problem is this is called when either a collab user or the current user resolves a comment.
|
|
22
22
|
// and the problem is since cc is just dispatching an event through the provider to resolve the comment and this
|
|
23
23
|
// is not comming via NCS, we have not way to know if this is a local or remote transaction.
|
|
@@ -87,7 +87,7 @@ export var buildToolbar = function buildToolbar(editorAnalyticsAPI) {
|
|
|
87
87
|
}
|
|
88
88
|
return setInlineCommentDraftState(editorAnalyticsAPI)(true)(state, dispatch);
|
|
89
89
|
},
|
|
90
|
-
supportsViewMode: true // TODO: MODES-3950 Clean up this floating toolbar view mode logic,
|
|
90
|
+
supportsViewMode: true // TODO: MODES-3950 - Clean up this floating toolbar view mode logic,
|
|
91
91
|
};
|
|
92
92
|
var annotation = schema.marks.annotation;
|
|
93
93
|
var validNodes = Object.keys(schema.nodes).reduce(function (acc, current) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-annotation",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.3",
|
|
4
4
|
"description": "Annotation plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,16 +32,16 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@atlaskit/adf-schema": "^47.6.0",
|
|
35
|
-
"@atlaskit/editor-common": "^102.
|
|
35
|
+
"@atlaskit/editor-common": "^102.4.0",
|
|
36
36
|
"@atlaskit/editor-plugin-analytics": "^2.1.0",
|
|
37
37
|
"@atlaskit/editor-plugin-connectivity": "^2.0.0",
|
|
38
38
|
"@atlaskit/editor-plugin-editor-viewmode-effects": "^2.0.0",
|
|
39
39
|
"@atlaskit/editor-plugin-feature-flags": "^1.3.0",
|
|
40
40
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
41
|
-
"@atlaskit/icon": "^
|
|
41
|
+
"@atlaskit/icon": "^25.0.0",
|
|
42
42
|
"@atlaskit/onboarding": "^13.0.0",
|
|
43
43
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
44
|
-
"@atlaskit/tmp-editor-statsig": "^3.
|
|
44
|
+
"@atlaskit/tmp-editor-statsig": "^3.6.0",
|
|
45
45
|
"@babel/runtime": "^7.0.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|