@ones-editor/editor 0.0.6-beta.8 → 0.0.6-beta.9

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
@@ -48697,12 +48697,12 @@ ${codeText}
48697
48697
  this.applyPlaceholder(editor);
48698
48698
  editor.addListener("selectionChanged", this.handleSelectionChange);
48699
48699
  setTimeout(() => {
48700
- editor.addListener("load", this.applyPlaceholder);
48700
+ editor.addListener("load", this.handleSelectionChange);
48701
48701
  });
48702
48702
  }
48703
48703
  destroy(editor) {
48704
48704
  editor.removeListener("selectionChanged", this.handleSelectionChange);
48705
- editor.removeListener("load", this.applyPlaceholder);
48705
+ editor.removeListener("load", this.handleSelectionChange);
48706
48706
  }
48707
48707
  handleBeforeKeyDown(editor, event) {
48708
48708
  const range = editor.selection.range;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-editor/editor",
3
- "version": "0.0.6-beta.8",
3
+ "version": "0.0.6-beta.9",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",