blocksuite icon indicating copy to clipboard operation
blocksuite copied to clipboard

Document image upload to remote server

Open kyrylolvov opened this issue 1 year ago • 4 comments

I'm currently test functionality of saving and then uploading snapshot of the page and got into the problem of uploading images. When uploading image and then trying to export it, it usually downloads a folder, with images in there. Is there an option to have images uploaded to S3 for example and then using URL from there?

kyrylolvov avatar Feb 25 '24 00:02 kyrylolvov

@Flrande @doodlewind Is there such an option in the blocksuite library?

kyrylolvov avatar Feb 25 '24 00:02 kyrylolvov

@kyrylolvov the current sourceId based blob storage can be configured and reused in this case, however the code required for customizing your remote blob data source may be a bit too verbose. One draft plan is to selectively support a url field in image block and attachment block, and we'll make the priority higher since it's a common requirement.

cc @Saul-Mirone

doodlewind avatar Feb 25 '24 03:02 doodlewind

How can blob's image data be collaborated through sockets

xiaofeiniuuu avatar Apr 12 '24 08:04 xiaofeiniuuu

Local users can display image data through sourceId and blob, but what do users who collaborate through sockets need to do?

xiaofeiniuuu avatar Apr 12 '24 08:04 xiaofeiniuuu