@ones-editor/editor 2.9.8-beta.69 → 2.9.8-beta.70

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
@@ -26398,6 +26398,11 @@ var __publicField = (obj, key, value) => {
26398
26398
  this.callbacks.onFocus();
26399
26399
  } else {
26400
26400
  setTimeout(() => {
26401
+ if (document.activeElement !== this.inputElement) {
26402
+ setTimeout(() => {
26403
+ this.editor.emit("focus", this.editor);
26404
+ });
26405
+ }
26401
26406
  this.inputElement.focus(options);
26402
26407
  this.callbacks.onFocus();
26403
26408
  });
@@ -95919,7 +95924,7 @@ ${JSON.stringify(error2, null, 2)}`);
95919
95924
  }
95920
95925
  }
95921
95926
  });
95922
- editor.version = "2.9.8-beta.69";
95927
+ editor.version = "2.9.8-beta.70";
95923
95928
  return editor;
95924
95929
  }
95925
95930
  function isDoc(doc2) {
@@ -96053,7 +96058,7 @@ ${JSON.stringify(error2, null, 2)}`);
96053
96058
  OnesEditorDropTarget.register(editor);
96054
96059
  OnesEditorTocProvider.register(editor);
96055
96060
  OnesEditorExclusiveBlock.register(editor);
96056
- editor.version = "2.9.8-beta.69";
96061
+ editor.version = "2.9.8-beta.70";
96057
96062
  return editor;
96058
96063
  }
96059
96064
  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.9.8-beta.69",
3
+ "version": "2.9.8-beta.70",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "dependencies": {