@ones-editor/editor 2.9.8-beta.38 → 2.9.8-beta.39

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
@@ -87670,6 +87670,9 @@ ${data2.flowchartText}
87670
87670
  if (!plantumlImgFile) {
87671
87671
  return await Promise.resolve(url);
87672
87672
  }
87673
+ if (plantumlImgFile.type === "text/html") {
87674
+ return await Promise.resolve(url);
87675
+ }
87673
87676
  const uploadResourceResult = await editor.doc.uploadResource(plantumlImgFile, { resourceType: "graph" });
87674
87677
  return uploadResourceResult.resourceId;
87675
87678
  } catch (error2) {
@@ -95569,7 +95572,7 @@ ${JSON.stringify(error2, null, 2)}`);
95569
95572
  }
95570
95573
  }
95571
95574
  });
95572
- editor.version = "2.9.8-beta.38";
95575
+ editor.version = "2.9.8-beta.39";
95573
95576
  return editor;
95574
95577
  }
95575
95578
  function isDoc(doc2) {
@@ -95701,7 +95704,7 @@ ${JSON.stringify(error2, null, 2)}`);
95701
95704
  OnesEditorDropTarget.register(editor);
95702
95705
  OnesEditorTocProvider.register(editor);
95703
95706
  OnesEditorExclusiveBlock.register(editor);
95704
- editor.version = "2.9.8-beta.38";
95707
+ editor.version = "2.9.8-beta.39";
95705
95708
  return editor;
95706
95709
  }
95707
95710
  async function showDocVersions(editor, options, serverUrl) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-editor/editor",
3
- "version": "2.9.8-beta.38",
3
+ "version": "2.9.8-beta.39",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "dependencies": {