@ones-editor/editor 2.8.14-beta.3 → 2.8.14-beta.4

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
@@ -26196,7 +26196,7 @@ var __publicField = (obj, key, value) => {
26196
26196
  const y1 = rect.y < 0 ? 0 : rect.y;
26197
26197
  const x2 = rect.right > window.innerWidth ? window.innerWidth : rect.right;
26198
26198
  const mobileClient = editor.options.componentsOptions.mobile;
26199
- const innerHeight = clientType.isMobile ? mobileClient.getViewPortHeight() : window.innerHeight;
26199
+ const innerHeight = mobileClient && clientType.isMobile ? mobileClient.getViewPortHeight() : window.innerHeight;
26200
26200
  const y2 = rect.bottom > innerHeight ? innerHeight : rect.bottom;
26201
26201
  return new DOMRect(x1, y1, x2 - x1, y2 - y1);
26202
26202
  }
@@ -92739,7 +92739,7 @@ ${data2.plantumlText}
92739
92739
  }
92740
92740
  }
92741
92741
  });
92742
- editor.version = "2.8.14-beta.3";
92742
+ editor.version = "2.8.14-beta.4";
92743
92743
  return editor;
92744
92744
  }
92745
92745
  function isDoc(doc2) {
@@ -92852,7 +92852,7 @@ ${data2.plantumlText}
92852
92852
  }
92853
92853
  });
92854
92854
  OnesEditorToolbar.register(editor);
92855
- editor.version = "2.8.14-beta.3";
92855
+ editor.version = "2.8.14-beta.4";
92856
92856
  return editor;
92857
92857
  }
92858
92858
  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.14-beta.3",
3
+ "version": "2.8.14-beta.4",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "dependencies": {