@ones-editor/editor 2.1.2-beta.8 → 2.1.2-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
|
@@ -67795,6 +67795,9 @@ ${codeText}
|
|
|
67795
67795
|
}
|
|
67796
67796
|
commands(editor, blockElement, child) {
|
|
67797
67797
|
var _a;
|
|
67798
|
+
if (editor.readonly) {
|
|
67799
|
+
return void 0;
|
|
67800
|
+
}
|
|
67798
67801
|
const data2 = getBlockId(blockElement);
|
|
67799
67802
|
if (child) {
|
|
67800
67803
|
const whitList = ["file"];
|
|
@@ -87165,7 +87168,7 @@ ${data2.flowchartText}
|
|
|
87165
87168
|
}
|
|
87166
87169
|
}
|
|
87167
87170
|
});
|
|
87168
|
-
editor.version = "2.1.2-beta.
|
|
87171
|
+
editor.version = "2.1.2-beta.9";
|
|
87169
87172
|
if (Logger$2.level === LogLevel.DEBUG) {
|
|
87170
87173
|
window.setReauthFail = (fail) => {
|
|
87171
87174
|
window.isReauthError = fail;
|
|
@@ -87266,7 +87269,7 @@ ${data2.flowchartText}
|
|
|
87266
87269
|
});
|
|
87267
87270
|
editor.addCustom(DOC_RE_AUTH_KEYS, (editor2) => new DocReAuthCallbacks(editor2));
|
|
87268
87271
|
OnesEditorToolbar.register(editor);
|
|
87269
|
-
editor.version = "2.1.2-beta.
|
|
87272
|
+
editor.version = "2.1.2-beta.9";
|
|
87270
87273
|
return editor;
|
|
87271
87274
|
}
|
|
87272
87275
|
async function showDocVersions(editor, options, serverUrl) {
|