@ones-editor/editor 3.0.0 → 3.0.1-beta.2

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
@@ -92858,6 +92858,7 @@ ${data2.plantumlText}
92858
92858
  __publicField(this, "onReady", () => {
92859
92859
  var _a;
92860
92860
  logger$7.debug("---------ready");
92861
+ console.log(`[${new Date().toLocaleString()}] wiz-editor onReady`);
92861
92862
  this._connectionFlag = false;
92862
92863
  if (this.bar.visible()) {
92863
92864
  this.autoHide();
@@ -93766,7 +93767,7 @@ ${JSON.stringify(error2, null, 2)}`);
93766
93767
  return;
93767
93768
  }
93768
93769
  }
93769
- if (block.type === "text" || block.textOnly === true) {
93770
+ if (block.type === "text" || block.type === "code-line" || block.textOnly === true) {
93770
93771
  const blockObj = await getBlockObject(block, md5HexFunc, getTextsByBox);
93771
93772
  await dbg.addTextBlock(blockObj);
93772
93773
  return;
@@ -95949,7 +95950,7 @@ ${JSON.stringify(error2, null, 2)}`);
95949
95950
  }
95950
95951
  }
95951
95952
  });
95952
- editor.version = "3.0.0";
95953
+ editor.version = "3.0.1-beta.2";
95953
95954
  return editor;
95954
95955
  }
95955
95956
  function isDoc(doc2) {
@@ -96083,7 +96084,7 @@ ${JSON.stringify(error2, null, 2)}`);
96083
96084
  OnesEditorDropTarget.register(editor);
96084
96085
  OnesEditorTocProvider.register(editor);
96085
96086
  OnesEditorExclusiveBlock.register(editor);
96086
- editor.version = "3.0.0";
96087
+ editor.version = "3.0.1-beta.2";
96087
96088
  return editor;
96088
96089
  }
96089
96090
  async function showDocVersions(editor, options, serverUrl) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-editor/editor",
3
- "version": "3.0.0",
3
+ "version": "3.0.1-beta.2",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "dependencies": {