I used Draft.js as WYSIWYG, but I have it as a component which receives data through props. Problem is that I get this error:
Warning: AddCustomCourse is changing a controlled input of type text to be uncontrolled. Input elements should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component.
Anyone knows how to solve this issue?