react-quill
react-quill copied to clipboard
Image deleted if put as last char
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.
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.