Currently, I am working on a project involving ReactJS and I have opted to use the Next.js framework. As of now, I am focused on implementing the "update module" (blog update) functionality with the editor component called QuillNoSSRWrapper
. The issue I am facing is that while the editor displays a value, it does not allow me to type anything into it. How can I resolve this issue? Below is my existing code snippet:
const Post = function(props) {
const [content, setContent] = useState('');
}
<QuillNoSSRWrapper modules={modules} theme="snow" onChange={(content) => {
setContent(content);
}} value='abc'/>