I am using ReactQuill text editor. When I am sending the content of editor into the MongoDB The styling of the content getting lost except Bold and paragraph tag. I want to know how I can store all data with styling and get back with the same. I am updating state using the editor.getContent() enter image description here The props that I am passing into ReactQuill enter image description here
Asked
Active
Viewed 300 times
0
-
Please share which props are you passing to the react quill component – jean182 Jan 25 '21 at 17:03
-
I am passing modules, formats, value and onChange props to the react quill component. I add the image of code in question. – Nikhil Parashar Jan 25 '21 at 17:24