@ones-editor/editor 2.8.28-beta.6 → 2.8.28-beta.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/dist/index.js CHANGED
@@ -70753,9 +70753,13 @@ ${codeText}
70753
70753
  }
70754
70754
  addClass(blockElement, "comment");
70755
70755
  const classList = [];
70756
+ const attributes = {};
70756
70757
  comments.forEach((commentId) => {
70757
70758
  const key = `comment-${commentId.toLocaleLowerCase()}`;
70758
- this.renderCommentElement(editor, key, commentId, classList, {});
70759
+ this.renderCommentElement(editor, key, commentId, classList, attributes);
70760
+ });
70761
+ Object.entries(attributes).forEach(([key, value]) => {
70762
+ blockElement.setAttribute(key, value);
70759
70763
  });
70760
70764
  if (classList.length > 0) {
70761
70765
  addClass(blockElement, ...classList);
@@ -94620,7 +94624,7 @@ ${JSON.stringify(error2, null, 2)}`);
94620
94624
  }
94621
94625
  }
94622
94626
  });
94623
- editor.version = "2.8.28-beta.6";
94627
+ editor.version = "2.8.28-beta.7";
94624
94628
  return editor;
94625
94629
  }
94626
94630
  function isDoc(doc2) {
@@ -94734,7 +94738,7 @@ ${JSON.stringify(error2, null, 2)}`);
94734
94738
  }
94735
94739
  });
94736
94740
  OnesEditorToolbar.register(editor);
94737
- editor.version = "2.8.28-beta.6";
94741
+ editor.version = "2.8.28-beta.7";
94738
94742
  return editor;
94739
94743
  }
94740
94744
  async function showDocVersions(editor, options, serverUrl) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-editor/editor",
3
- "version": "2.8.28-beta.6",
3
+ "version": "2.8.28-beta.7",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "dependencies": {