@ones-editor/editor 2.0.2-beta.1 → 2.0.2-beta.2
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 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -43279,9 +43279,8 @@ ${codeText}
|
|
|
43279
43279
|
this._lastClickTime = Date.now();
|
|
43280
43280
|
});
|
|
43281
43281
|
__publicField(this, "handleClose", () => {
|
|
43282
|
-
if (shouldFocusToEditor(this.editor))
|
|
43283
|
-
|
|
43284
|
-
}
|
|
43282
|
+
if (shouldFocusToEditor(this.editor))
|
|
43283
|
+
;
|
|
43285
43284
|
});
|
|
43286
43285
|
__publicField(this, "handleClosing", (bar2, event) => {
|
|
43287
43286
|
if (this.toolbarType === "object") {
|
|
@@ -75287,11 +75286,16 @@ ${data.flowchartText}
|
|
|
75287
75286
|
const text2 = createEmptyTextBlockData();
|
|
75288
75287
|
text2.heading = 1;
|
|
75289
75288
|
editor.insertBlock(containerId, index2 + 1, text2);
|
|
75290
|
-
|
|
75289
|
+
setTimeout(() => {
|
|
75290
|
+
editor.focus();
|
|
75291
|
+
}, 0);
|
|
75291
75292
|
};
|
|
75292
75293
|
const changeColor = (editor) => {
|
|
75293
75294
|
editorRangeSetColor(editor, "backgroundColor", 1, () => {
|
|
75294
75295
|
});
|
|
75296
|
+
setTimeout(() => {
|
|
75297
|
+
editor.focus();
|
|
75298
|
+
}, 0);
|
|
75295
75299
|
};
|
|
75296
75300
|
class CommandBar {
|
|
75297
75301
|
constructor(editor, options) {
|
|
@@ -76898,7 +76902,7 @@ ${data.flowchartText}
|
|
|
76898
76902
|
}
|
|
76899
76903
|
}
|
|
76900
76904
|
});
|
|
76901
|
-
editor.version = "2.0.2-beta.
|
|
76905
|
+
editor.version = "2.0.2-beta.2";
|
|
76902
76906
|
if (Logger$2.level === LogLevel.DEBUG) {
|
|
76903
76907
|
window.setReauthFail = (fail) => {
|
|
76904
76908
|
window.isReauthError = fail;
|
|
@@ -76991,7 +76995,7 @@ ${data.flowchartText}
|
|
|
76991
76995
|
});
|
|
76992
76996
|
editor.addCustom(DOC_RE_AUTH_KEYS, (editor2) => new DocReAuthCallbacks(editor2));
|
|
76993
76997
|
OnesEditorToolbar.register(editor);
|
|
76994
|
-
editor.version = "2.0.2-beta.
|
|
76998
|
+
editor.version = "2.0.2-beta.2";
|
|
76995
76999
|
return editor;
|
|
76996
77000
|
}
|
|
76997
77001
|
async function showDocVersions(editor, options, serverUrl) {
|