@ones-editor/editor 2.2.14-beta.21 → 2.2.14-beta.22
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
|
@@ -81780,7 +81780,7 @@ ${content}
|
|
|
81780
81780
|
this.editor.updateEmbedData(this.block, newData);
|
|
81781
81781
|
});
|
|
81782
81782
|
__publicField(this, "getRealView", (view) => {
|
|
81783
|
-
if (this.editor.readonly) {
|
|
81783
|
+
if (this.editor.readonly || clientType.isMobile) {
|
|
81784
81784
|
return ViewId.Draw;
|
|
81785
81785
|
}
|
|
81786
81786
|
return view != null ? view : ViewId.Both;
|
|
@@ -89183,7 +89183,7 @@ ${data2.plantumlText}
|
|
|
89183
89183
|
}
|
|
89184
89184
|
}
|
|
89185
89185
|
});
|
|
89186
|
-
editor.version = "2.2.14-beta.
|
|
89186
|
+
editor.version = "2.2.14-beta.22";
|
|
89187
89187
|
return editor;
|
|
89188
89188
|
}
|
|
89189
89189
|
function isDoc(doc2) {
|
|
@@ -89285,7 +89285,7 @@ ${data2.plantumlText}
|
|
|
89285
89285
|
});
|
|
89286
89286
|
editor.addCustom(DOC_RE_AUTH_KEYS, (editor2) => new DocReAuthCallbacks(editor2));
|
|
89287
89287
|
OnesEditorToolbar.register(editor);
|
|
89288
|
-
editor.version = "2.2.14-beta.
|
|
89288
|
+
editor.version = "2.2.14-beta.22";
|
|
89289
89289
|
return editor;
|
|
89290
89290
|
}
|
|
89291
89291
|
async function showDocVersions(editor, options, serverUrl) {
|