@ones-editor/editor 2.2.16-beta.8 → 2.2.16-beta.9

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
@@ -88,6 +88,8 @@ div.editor-root div.editor-content .editor-input {
88
88
  width: 16px;
89
89
  height: 20px;
90
90
  font-size: 16px;
91
+ white-space: nowrap;
92
+ overflow: hidden;
91
93
  }
92
94
  div.editor-root div.editor-content div[data-type=editor-container] {
93
95
  position: relative;
@@ -50302,6 +50304,9 @@ ${codeText}
50302
50304
  this.editor = editor;
50303
50305
  }
50304
50306
  handleBeforeKeyDown(editor, event) {
50307
+ if (!editor.isWritable()) {
50308
+ return false;
50309
+ }
50305
50310
  const selectBlocks = editor.selection.range.getSelectedBlocks();
50306
50311
  if (selectBlocks.length === 0) {
50307
50312
  return false;
@@ -88471,7 +88476,7 @@ ${data2.flowchartText}
88471
88476
  }
88472
88477
  }
88473
88478
  });
88474
- editor.version = "2.2.16-beta.8";
88479
+ editor.version = "2.2.16-beta.9";
88475
88480
  return editor;
88476
88481
  }
88477
88482
  function isDoc(doc2) {
@@ -88566,7 +88571,7 @@ ${data2.flowchartText}
88566
88571
  });
88567
88572
  editor.addCustom(DOC_RE_AUTH_KEYS, (editor2) => new DocReAuthCallbacks(editor2));
88568
88573
  OnesEditorToolbar.register(editor);
88569
- editor.version = "2.2.16-beta.8";
88574
+ editor.version = "2.2.16-beta.9";
88570
88575
  return editor;
88571
88576
  }
88572
88577
  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.2.16-beta.8",
3
+ "version": "2.2.16-beta.9",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",