@ones-editor/editor 2.9.8-beta.33 → 2.9.8-beta.34
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
|
@@ -69377,7 +69377,7 @@ ${codeText}
|
|
|
69377
69377
|
const data2 = blockData.embedData;
|
|
69378
69378
|
const images = getImages$1(data2);
|
|
69379
69379
|
if (type === "html") {
|
|
69380
|
-
return images.map((image) => `<img data-embed-type="image" data-uuid="image:${
|
|
69380
|
+
return images.map((image) => `<img data-embed-type="image" data-uuid="image:${image.src}" src="${editor.doc.buildResourceUrl(image.src, { withToken: true })}">`).join("");
|
|
69381
69381
|
}
|
|
69382
69382
|
if (type === "markdown") {
|
|
69383
69383
|
const markdown = images.map((image) => `})`).join("\n");
|
|
@@ -95561,7 +95561,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
95561
95561
|
}
|
|
95562
95562
|
}
|
|
95563
95563
|
});
|
|
95564
|
-
editor.version = "2.9.8-beta.
|
|
95564
|
+
editor.version = "2.9.8-beta.34";
|
|
95565
95565
|
return editor;
|
|
95566
95566
|
}
|
|
95567
95567
|
function isDoc(doc2) {
|
|
@@ -95693,7 +95693,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
95693
95693
|
OnesEditorDropTarget.register(editor);
|
|
95694
95694
|
OnesEditorTocProvider.register(editor);
|
|
95695
95695
|
OnesEditorExclusiveBlock.register(editor);
|
|
95696
|
-
editor.version = "2.9.8-beta.
|
|
95696
|
+
editor.version = "2.9.8-beta.34";
|
|
95697
95697
|
return editor;
|
|
95698
95698
|
}
|
|
95699
95699
|
async function showDocVersions(editor, options, serverUrl) {
|