@ones-editor/editor 2.1.1-beta.60 → 2.1.1-beta.61

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
@@ -6549,6 +6549,9 @@ html, body {
6549
6549
  .editor-root .editor-content div[data-type=editor-block] div[data-type=block-tools] div.select-handle.start {
6550
6550
  flex-direction: column-reverse;
6551
6551
  }
6552
+ div.editor-root div.editor-content div[data-block-type=embed] > .embed-mask {
6553
+ pointer-events: none;
6554
+ }
6552
6555
  div.editor-root div.editor-content div[data-block-type=embed] > .embed-mask::after {
6553
6556
  content: " ";
6554
6557
  position: absolute;
@@ -80102,8 +80105,8 @@ ${content}
80102
80105
  return virtualViewportOffsetTop;
80103
80106
  }
80104
80107
  get window() {
80105
- if (window.parent) {
80106
- return window.parent;
80108
+ if (window.top) {
80109
+ return window.top;
80107
80110
  }
80108
80111
  return window;
80109
80112
  }
@@ -86656,7 +86659,7 @@ ${data2.flowchartText}
86656
86659
  }
86657
86660
  }
86658
86661
  });
86659
- editor.version = "2.1.1-beta.60";
86662
+ editor.version = "2.1.1-beta.61";
86660
86663
  if (Logger$2.level === LogLevel.DEBUG) {
86661
86664
  window.setReauthFail = (fail) => {
86662
86665
  window.isReauthError = fail;
@@ -86754,7 +86757,7 @@ ${data2.flowchartText}
86754
86757
  });
86755
86758
  editor.addCustom(DOC_RE_AUTH_KEYS, (editor2) => new DocReAuthCallbacks(editor2));
86756
86759
  OnesEditorToolbar.register(editor);
86757
- editor.version = "2.1.1-beta.60";
86760
+ editor.version = "2.1.1-beta.61";
86758
86761
  return editor;
86759
86762
  }
86760
86763
  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.1-beta.60",
3
+ "version": "2.1.1-beta.61",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",