react-quill icon indicating copy to clipboard operation
react-quill copied to clipboard

Image deleted if put as last char

Open fraa89 opened this issue 3 years ago • 1 comments

Hello, I hope someone can help me with this strange issue. I'm trying to create a blog and I'm using react quill editor. All things work fine with the editor but if I attach an image as last char and then proceed to publish the article the editor delete the image. On the other hand if I insert a char (like "s" or ".") after the image all works fine.

Below the code:

const handleContentChange = (value: any) => { console.log(value); setContent(value); };

I'm using typescript and I'm trying to find a solution from a couple of weeks :(. Thanks in advance.

fraa89 avatar Feb 19 '22 09:02 fraa89

I'm getting a similar problem, I'm getting a broken image symbol with the text Image preview next to it. I'm storing in a Rich Text field in SharePoint so it should be supported.

cardinalpipkin avatar Apr 14 '22 09:04 cardinalpipkin