@atlaskit/editor-plugin-annotation 1.26.6 → 1.26.7

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,13 @@
1
1
  # @atlaskit/editor-plugin-annotation
2
2
 
3
+ ## 1.26.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [#181574](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/181574)
8
+ [`8645daab34a55`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8645daab34a55) -
9
+ Add missing dom attributes to annotation mark in AnnotaitonNodeView, hot-114046
10
+
3
11
  ## 1.26.6
4
12
 
5
13
  ### Patch Changes
@@ -43,6 +43,8 @@ var AnnotationNodeView = exports.AnnotationNodeView = /*#__PURE__*/function (_Re
43
43
  // all inline comment states are now set in decorations at ../pm-plugins/inline-comment.ts
44
44
  _react.default.createElement("span", {
45
45
  "data-mark-type": "annotation",
46
+ "data-id": this.node.attrs.id,
47
+ "data-mark-annotation-type": this.node.attrs.annotationType,
46
48
  ref: forwardRef
47
49
  })
48
50
  );
@@ -18,6 +18,8 @@ export class AnnotationNodeView extends ReactNodeView {
18
18
  // all inline comment states are now set in decorations at ../pm-plugins/inline-comment.ts
19
19
  React.createElement("span", {
20
20
  "data-mark-type": "annotation",
21
+ "data-id": this.node.attrs.id,
22
+ "data-mark-annotation-type": this.node.attrs.annotationType,
21
23
  ref: forwardRef
22
24
  })
23
25
  );
@@ -36,6 +36,8 @@ export var AnnotationNodeView = /*#__PURE__*/function (_ReactNodeView) {
36
36
  // all inline comment states are now set in decorations at ../pm-plugins/inline-comment.ts
37
37
  React.createElement("span", {
38
38
  "data-mark-type": "annotation",
39
+ "data-id": this.node.attrs.id,
40
+ "data-mark-annotation-type": this.node.attrs.annotationType,
39
41
  ref: forwardRef
40
42
  })
41
43
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-annotation",
3
- "version": "1.26.6",
3
+ "version": "1.26.7",
4
4
  "description": "Annotation plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",