alkem-io / client-web

Default web frontend, enabling browsing the Alkemio platform - so the hosted Challenges and communities collaborating around those Challenges.
https://alkem.io
European Union Public License 1.2
15 stars 6 forks source link

Spike: Allowing pasting of image content in markdown editor #4544

Open techsmyth opened 2 years ago

techsmyth commented 2 years ago

Description

As a user I want to be able to cut and paste images into my markdown content, without having to save the image first to disk

Acceptance criteria

Spike: half a day

Additional context

Presumably we can do this by first saving the pasted content to disk and then in the background do an image upload?

larssondenise commented 1 month ago

Often getting this request from users, can I ask to prioritize this one in the ux bucket :) @SimoneZaza

bobbykolev commented 1 month ago

It looks like we'll have to implement a listener on paste. In the case of an image, we'll have to upload it (no access to the disc from the client as suggested in the context). We need to consider that we're not allowing image uploads in some MD inputs. I'd suggest we pick this after the temporary storage epic is complete.

SimoneZaza commented 1 month ago

@bobbykolev Thanks for looking into this, I've added the dependency