Closed ilyakonrad closed 1 month ago
I agree, this makes sense. I can't give you an ETA, I'll try to implement this in the second half of September, but it might get pushed to Q4.
In the meantime, you can try to build this yourself, but it requires some DOM API queries into the internals of SDK components which can hurt maintainability:
textarea
element inside the stream-message-input
component has the focus (thread vs channel message input) -> this is the hacky partAttachmentService
of the given stream-message-input
componentfilesSelected
method of the AttachmentService
to upload and create attachment from an image fileThanks a lot, I'll wait for the official implementation ☺️
:tada: This issue has been resolved in version 5.6.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
@szuperaz It seems to have broken pasting of text.
Nevermind, works in the latest version.
Just got a request to support attaching images through
ctrl + v
which could help use images in chats quicker by not having to download them.