@ones-editor/editor 2.5.1-beta.1 → 2.5.1-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/dist/index.js
CHANGED
|
@@ -85104,7 +85104,7 @@ ${data2.flowchartText}
|
|
|
85104
85104
|
const block = blocks[i];
|
|
85105
85105
|
if (block.type === "embed" && block.embedType === "drawio") {
|
|
85106
85106
|
const src = ((_a = block.embedData) == null ? void 0 : _a.src) || "";
|
|
85107
|
-
if (!this.isSameOrigin(editor, doc2, src)) {
|
|
85107
|
+
if (src && !this.isSameOrigin(editor, doc2, src)) {
|
|
85108
85108
|
blocks.splice(i, 1);
|
|
85109
85109
|
}
|
|
85110
85110
|
}
|
|
@@ -92125,7 +92125,7 @@ ${data2.plantumlText}
|
|
|
92125
92125
|
}
|
|
92126
92126
|
}
|
|
92127
92127
|
});
|
|
92128
|
-
editor.version = "2.5.1-beta.
|
|
92128
|
+
editor.version = "2.5.1-beta.2";
|
|
92129
92129
|
return editor;
|
|
92130
92130
|
}
|
|
92131
92131
|
function isDoc(doc2) {
|
|
@@ -92238,7 +92238,7 @@ ${data2.plantumlText}
|
|
|
92238
92238
|
}
|
|
92239
92239
|
});
|
|
92240
92240
|
OnesEditorToolbar.register(editor);
|
|
92241
|
-
editor.version = "2.5.1-beta.
|
|
92241
|
+
editor.version = "2.5.1-beta.2";
|
|
92242
92242
|
return editor;
|
|
92243
92243
|
}
|
|
92244
92244
|
async function showDocVersions(editor, options, serverUrl) {
|