@ones-editor/editor 2.1.8-beta.13 → 2.1.8-beta.14

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
@@ -78264,7 +78264,8 @@ ${content}
78264
78264
  return new DOMRect(rect.left, rect.top - this.gap, rect.width, rect.height);
78265
78265
  }
78266
78266
  getPseudoMaskRect(reference) {
78267
- const editorRootRect = this.editor.rootContainer.getBoundingClientRect();
78267
+ const currentRootContainer = document.getElementById("ones-editor-container-root");
78268
+ const editorRootRect = currentRootContainer.getBoundingClientRect();
78268
78269
  const safetyLeftOffset = editorRootRect.left - this.gap;
78269
78270
  const internalProcess = (pseudoHolder) => {
78270
78271
  for (const pseudo of ["::before", "::after"]) {
@@ -87911,7 +87912,7 @@ ${data2.flowchartText}
87911
87912
  }
87912
87913
  }
87913
87914
  });
87914
- editor.version = "2.1.8-beta.13";
87915
+ editor.version = "2.1.8-beta.14";
87915
87916
  if (Logger$2.level === LogLevel.DEBUG) {
87916
87917
  window.setReauthFail = (fail) => {
87917
87918
  window.isReauthError = fail;
@@ -88012,7 +88013,7 @@ ${data2.flowchartText}
88012
88013
  });
88013
88014
  editor.addCustom(DOC_RE_AUTH_KEYS, (editor2) => new DocReAuthCallbacks(editor2));
88014
88015
  OnesEditorToolbar.register(editor);
88015
- editor.version = "2.1.8-beta.13";
88016
+ editor.version = "2.1.8-beta.14";
88016
88017
  return editor;
88017
88018
  }
88018
88019
  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.8-beta.13",
3
+ "version": "2.1.8-beta.14",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",