@ones-editor/editor 2.8.25-beta.14 → 2.8.25-beta.15

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
@@ -4116,6 +4116,7 @@ div.editor-root.readonly div.editor-content div[data-type=editor-container] div[
4116
4116
  .comment-item-root .item-head-tools {
4117
4117
  display: flex;
4118
4118
  align-items: center;
4119
+ justify-content: center;
4119
4120
  visibility: hidden;
4120
4121
  }
4121
4122
  .comment-item-root .item-head-tools .editor-text-button {
@@ -4125,8 +4126,8 @@ div.editor-root.readonly div.editor-content div[data-type=editor-container] div[
4125
4126
  color: #0064ff;
4126
4127
  }
4127
4128
  .comment-item-root .item-head-tools .editor-text-button svg {
4128
- width: 20px;
4129
- height: 20px;
4129
+ width: 16px;
4130
+ height: 16px;
4130
4131
  }
4131
4132
  .comment-item-root .item-head-tools.active {
4132
4133
  visibility: visible;
@@ -70640,13 +70641,17 @@ ${codeText}
70640
70641
  this.noResolvedCommentTip = null;
70641
70642
  }
70642
70643
  show(groupId) {
70643
- var _a;
70644
+ var _a, _b;
70644
70645
  removeClass(this.root, "hidden");
70645
70646
  if (groupId) {
70647
+ if (this.listType !== "current") {
70648
+ const commandItem = (_a = this.switcherItem.children) == null ? void 0 : _a[0];
70649
+ this.handleSwitchType(this.switcherBar, commandItem);
70650
+ }
70646
70651
  const index2 = this.list.findItemIndex(groupId);
70647
70652
  this.list.setActiveItem(index2);
70648
70653
  }
70649
- (_a = this.commentOptions) == null ? void 0 : _a.controller.showCommentList();
70654
+ (_b = this.commentOptions) == null ? void 0 : _b.controller.showCommentList();
70650
70655
  }
70651
70656
  hide() {
70652
70657
  addClass(this.root, "hidden");
@@ -93820,7 +93825,7 @@ ${data2.plantumlText}
93820
93825
  }
93821
93826
  }
93822
93827
  });
93823
- editor.version = "2.8.25-beta.14";
93828
+ editor.version = "2.8.25-beta.15";
93824
93829
  return editor;
93825
93830
  }
93826
93831
  function isDoc(doc2) {
@@ -93933,7 +93938,7 @@ ${data2.plantumlText}
93933
93938
  }
93934
93939
  });
93935
93940
  OnesEditorToolbar.register(editor);
93936
- editor.version = "2.8.25-beta.14";
93941
+ editor.version = "2.8.25-beta.15";
93937
93942
  return editor;
93938
93943
  }
93939
93944
  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.25-beta.14",
3
+ "version": "2.8.25-beta.15",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "dependencies": {