sagemathinc / cocalc

CoCalc: Collaborative Calculation in the Cloud
https://CoCalc.com
Other
1.16k stars 211 forks source link

chat/slate editor: there is no way to upload and insert an image (instead you must drag-n-drop or paste) #7750

Open haraldschilly opened 1 month ago

haraldschilly commented 1 month ago

I just wanted to insert a png from my computer into chat, but I can't find a button or link any more to do this.

Screenshot from 2024-08-09 12-15-58

williamstein commented 1 month ago

Did you try drag and drop or paste?

-- William Stein

On Fri, Aug 9, 2024 at 3:17 AM Harald Schilly @.***> wrote:

I just wanted to insert a png from my computer into chat, but I can't find a button or link any more to do this.

Screenshot.from.2024-08-09.12-15-58.png (view on web) https://github.com/user-attachments/assets/21b341ed-b0ff-4098-afd3-6a6a12fea830

— Reply to this email directly, view it on GitHub https://github.com/sagemathinc/cocalc/issues/7750, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJXS5XGZQPV42JMK6ZYM63ZQSJLBAVCNFSM6AAAAABMIFYIROVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ2TONJZGQ4TIMI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

haraldschilly commented 1 month ago

Well, for drag&drop I have to open the file explorer, switch desktops, and find the screenshot file. That's tedious. I also can't "paste" a screenshot, it's a file that's saved in a directory.

williamstein commented 1 month ago

Click the very first icon on the left, labeled "+" and the second option is image:

image

which explains drag n drop and paste:

image

I think that with the slate editor there is no upload dialog selector -- it is not implemented.

In the Markdown source editor after you type at least one character, there is an upload link:

image