@ones-editor/editor 2.2.23 → 2.2.24

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
@@ -10659,11 +10659,10 @@ var __publicField = (obj, key, value) => {
10659
10659
  constructor(options) {
10660
10660
  __publicField(this, "cancelScroll", null);
10661
10661
  __publicField(this, "options");
10662
- __publicField(this, "scrollDomInfo");
10663
10662
  __publicField(this, "scrolling", false);
10664
10663
  __publicField(this, "getScrollingDirection", (e2) => {
10665
10664
  const { x, y } = e2;
10666
- const { top, bottom, left, right } = this.scrollDomInfo;
10665
+ const { top, bottom, left, right } = this.getScrollDomInfo();
10667
10666
  const { edge } = this.options;
10668
10667
  if (edge.top && y <= edge.top + top) {
10669
10668
  return "top";
@@ -10700,7 +10699,6 @@ var __publicField = (obj, key, value) => {
10700
10699
  }
10701
10700
  });
10702
10701
  this.options = options;
10703
- this.scrollDomInfo = this.getScrollDomInfo();
10704
10702
  }
10705
10703
  getScrollDomInfo() {
10706
10704
  const { scrollElement } = this.options;
@@ -88532,7 +88530,7 @@ ${data2.flowchartText}
88532
88530
  }
88533
88531
  }
88534
88532
  });
88535
- editor.version = "2.2.23";
88533
+ editor.version = "2.2.24";
88536
88534
  return editor;
88537
88535
  }
88538
88536
  function isDoc(doc2) {
@@ -88627,7 +88625,7 @@ ${data2.flowchartText}
88627
88625
  });
88628
88626
  editor.addCustom(DOC_RE_AUTH_KEYS, (editor2) => new DocReAuthCallbacks(editor2));
88629
88627
  OnesEditorToolbar.register(editor);
88630
- editor.version = "2.2.23";
88628
+ editor.version = "2.2.24";
88631
88629
  return editor;
88632
88630
  }
88633
88631
  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.2.23",
3
+ "version": "2.2.24",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",