@ones-editor/editor 2.1.1-beta.79 → 2.1.1-beta.81

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
@@ -50537,7 +50537,9 @@ ${codeText}
50537
50537
  return;
50538
50538
  }
50539
50539
  if (!this.editor.isWritable()) {
50540
- this.toolbar.close("selectionChange");
50540
+ if (this.toolbarType === "text") {
50541
+ this.toolbar.close("selectionChange");
50542
+ }
50541
50543
  this.oldRange = null;
50542
50544
  return;
50543
50545
  }
@@ -50693,10 +50695,6 @@ ${codeText}
50693
50695
  return;
50694
50696
  }
50695
50697
  this.toolbarType = "text";
50696
- if (allCommands.length === 0) {
50697
- this.toolbar.close("selectionChange");
50698
- return;
50699
- }
50700
50698
  this.toolbar.updateItems(allCommands);
50701
50699
  const lastBlock2 = selectedBlocks[selectedBlocks.length - 1];
50702
50700
  let reverseToolbar = !this.editor.selection.range.isReverse() && lastBlock2 !== firstBlock;
@@ -70291,8 +70289,8 @@ ${codeText}
70291
70289
  abstract: "Table",
70292
70290
  commands: {
70293
70291
  setting: "Table settings",
70294
- insertRightCol: "Insert Right Column",
70295
- insertBottomRow: "Insert Bottom Row"
70292
+ insertRightCol: "Insert column right",
70293
+ insertBottomRow: "Insert row below"
70296
70294
  }
70297
70295
  }
70298
70296
  };
@@ -70322,7 +70320,7 @@ ${codeText}
70322
70320
  abstract: "\u30C6\u30FC\u30D6\u30EB",
70323
70321
  commands: {
70324
70322
  setting: "\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A",
70325
- insertRightCol: "\u53F3\u5074\u306B\u5217\u3092\u633F\u5165",
70323
+ insertRightCol: "\u53F3\u306B\u5217\u3092\u633F\u5165",
70326
70324
  insertBottomRow: "\u4E0B\u306B\u884C\u3092\u633F\u5165"
70327
70325
  }
70328
70326
  }
@@ -86768,7 +86766,7 @@ ${data2.flowchartText}
86768
86766
  }
86769
86767
  }
86770
86768
  });
86771
- editor.version = "2.1.1-beta.79";
86769
+ editor.version = "2.1.1-beta.81";
86772
86770
  if (Logger$2.level === LogLevel.DEBUG) {
86773
86771
  window.setReauthFail = (fail) => {
86774
86772
  window.isReauthError = fail;
@@ -86869,7 +86867,7 @@ ${data2.flowchartText}
86869
86867
  });
86870
86868
  editor.addCustom(DOC_RE_AUTH_KEYS, (editor2) => new DocReAuthCallbacks(editor2));
86871
86869
  OnesEditorToolbar.register(editor);
86872
- editor.version = "2.1.1-beta.79";
86870
+ editor.version = "2.1.1-beta.81";
86873
86871
  return editor;
86874
86872
  }
86875
86873
  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.1.1-beta.79",
3
+ "version": "2.1.1-beta.81",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",