quill-paste-smart
quill-paste-smart copied to clipboard
Issue with recognising links in between pasted text
Problem
When I paste a text like this test test test https://github.com test test, the module does not recognise the link in between and renders them all as plain text.
This however is recognised just fine with the default clipboard onPaste method.
What I tried
On line 103, I replaced this
delta = delta.insert(content);
with
delta = delta.concat(this.convert(content))
This seemed to work. Is there a reason why the plainText is not handled with the this.convert method?
Thanks
Hi @colenocks
as far as i remember, convert handles also all sorts of html tags. But I'm not entirely sure .. i need to look into it.
Thanks for the swift response @Artem-Schander. Looking forward to know what you deduce from it.