Paste image in comment component

Hi team,

Is it possible to paste an image in comment component please ?

https://docs.webix.com/desktop__comments.html

Regards,
Xavier

Hi, Xavier!
Yes, it’s possible. You just need to paste the link which leads to your image into the text field.
Please, check the following snippet Code Snippet

Hi @NastassiaMelnik

Thank you very much

So, imagine i copy an image in the copy/paste buffer : is it possible to paste the blob please?

@XavierDP
it is possible to implement.
you need to catch document’s paste event, check if widget is not readonly or disabled, check if active element is widget’s input textarea, get data url of buffered file and insert string value as <img src="buffered_data_url" />
but even if it is possible, result string could be oversized