@dxos/react-ui-editor 0.5.5 → 0.5.6-main.04fedb4

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.
@@ -4805,11 +4805,11 @@ var MarkdownCustom = ({ onUpload } = {}) => {
4805
4805
  type: f.type,
4806
4806
  lastModified: f.lastModified
4807
4807
  });
4808
- const { url } = await onUpload(file);
4809
- if (url) {
4808
+ const info = await onUpload(file);
4809
+ if (info) {
4810
4810
  onAction?.({
4811
4811
  type: "image",
4812
- data: url
4812
+ data: info.url
4813
4813
  });
4814
4814
  }
4815
4815
  });