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

Cannot store image resize property !! After inserting html value automatic content has been changed !!! Very Strange

Open joy-mollick opened this issue 1 year ago • 1 comments

I am using react-quill and quill-image-resize-module-react both modules , when I resize an image ,That's working fine . But problem is when I restore that content from db and insert value inside <ReactQuill value={content} /> editor automatic changes it's styles and image resize property also and reflect default bigger image as well !! Is it my fault or Is it bug ? I do not know . Can you help me anyone ?

My version "react-quill": "^2.0.0", "quill-image-resize-module-react": "^3.0.0",

joy-mollick avatar Nov 14 '23 18:11 joy-mollick

Try to add 'width' in your formats. such as: <ReactQuill formats={[...pre, 'width']}>

okjack365 avatar Dec 08 '23 09:12 okjack365