@ones-editor/editor 2.8.7 → 2.8.8
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/@ones-editor/tsconfig.tsbuildinfo +1 -1
- package/dist/index.js +10 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -53814,7 +53814,13 @@ ${codeText}
|
|
|
53814
53814
|
this._lastClickTime = Date.now();
|
|
53815
53815
|
});
|
|
53816
53816
|
__publicField(this, "handleClose", () => {
|
|
53817
|
+
var _a;
|
|
53817
53818
|
if (shouldFocusToEditor(this.editor) && !clientType.isMobile) {
|
|
53819
|
+
const activeElement = (_a = document.getSelection()) == null ? void 0 : _a.focusNode;
|
|
53820
|
+
if (activeElement && isInBlockTools(activeElement)) {
|
|
53821
|
+
logger$1X.debug("focus is in block tools, ignore focus");
|
|
53822
|
+
return;
|
|
53823
|
+
}
|
|
53818
53824
|
this.editor.focus({
|
|
53819
53825
|
preventScroll: true
|
|
53820
53826
|
});
|
|
@@ -84348,8 +84354,8 @@ ${docStr}
|
|
|
84348
84354
|
command: {
|
|
84349
84355
|
name: "\u30C0\u30A4\u30A2\u30B0\u30E9\u30E0",
|
|
84350
84356
|
bothShow: "\u30B3\u30FC\u30C9\u3068\u30C0\u30A4\u30A2\u30B0\u30E9\u30E0\u3092\u8868\u793A",
|
|
84351
|
-
codeShow: "\
|
|
84352
|
-
drawShow: "\
|
|
84357
|
+
codeShow: "\u30B3\u30FC\u30C9\u306E\u307F\u8868\u793A",
|
|
84358
|
+
drawShow: "\u30C0\u30A4\u30A2\u30B0\u30E9\u30E0\u306E\u307F\u8868\u793A"
|
|
84353
84359
|
}
|
|
84354
84360
|
}
|
|
84355
84361
|
};
|
|
@@ -92573,7 +92579,7 @@ ${data2.plantumlText}
|
|
|
92573
92579
|
}
|
|
92574
92580
|
}
|
|
92575
92581
|
});
|
|
92576
|
-
editor.version = "2.8.
|
|
92582
|
+
editor.version = "2.8.8";
|
|
92577
92583
|
return editor;
|
|
92578
92584
|
}
|
|
92579
92585
|
function isDoc(doc2) {
|
|
@@ -92686,7 +92692,7 @@ ${data2.plantumlText}
|
|
|
92686
92692
|
}
|
|
92687
92693
|
});
|
|
92688
92694
|
OnesEditorToolbar.register(editor);
|
|
92689
|
-
editor.version = "2.8.
|
|
92695
|
+
editor.version = "2.8.8";
|
|
92690
92696
|
return editor;
|
|
92691
92697
|
}
|
|
92692
92698
|
async function showDocVersions(editor, options, serverUrl) {
|