@ones-editor/editor 2.8.37-beta.25 → 2.8.37-beta.26

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
@@ -26343,7 +26343,7 @@ var __publicField = (obj, key, value) => {
26343
26343
  }
26344
26344
  }
26345
26345
  function moveInputToScreenCenter(editor) {
26346
- const container = editor.rootElement;
26346
+ const container = getScrollContainer$1(editor.rootContainer);
26347
26347
  const rect = container.getBoundingClientRect();
26348
26348
  const scale = getElementScale(container);
26349
26349
  const windowWidth = window.innerWidth;
@@ -94935,7 +94935,7 @@ ${JSON.stringify(error2, null, 2)}`);
94935
94935
  }
94936
94936
  }
94937
94937
  });
94938
- editor.version = "2.8.37-beta.25";
94938
+ editor.version = "2.8.37-beta.26";
94939
94939
  return editor;
94940
94940
  }
94941
94941
  function isDoc(doc2) {
@@ -95068,7 +95068,7 @@ ${JSON.stringify(error2, null, 2)}`);
95068
95068
  OnesEditorDropTarget.register(editor);
95069
95069
  OnesEditorTocProvider.register(editor);
95070
95070
  OnesEditorExclusiveBlock.register(editor);
95071
- editor.version = "2.8.37-beta.25";
95071
+ editor.version = "2.8.37-beta.26";
95072
95072
  return editor;
95073
95073
  }
95074
95074
  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.37-beta.25",
3
+ "version": "2.8.37-beta.26",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "dependencies": {