title: How can I set defaultValue on react draft wysiwyg
body: <p>I have a property <code>product_des</code> on my database where all the content of <code>react draft wysiwyg</code> store. I want to set the default value on my editor from the database.</p>
  <pre><code>//State
      const [onEditorStateChange, setOnEditorStateChange] = useState&lt;any&gt;()
      const [content, setContent] = useState&lt;any&gt;()
  
  &lt;Editor
      editorState={onEditorStateChange}
      toolbarClassName=&quot;toolbarClassName&quot;
      wrapperClassName=&quot;wrapperClassName&quot;
      editorClassName=&quot;editorClassName&quot;
  
      onEditorStateChange={newState =&gt; {
          setOnEditorStateChange(newState)
          setContent(draftToHtml(convertToRaw(newState.getCurrentContent())))
      }}
  /&gt;
  </code></pre>
  <p>Here is my database example:</p>
  <pre><code>{
  _id: &quot;6231a09c0a292231f0bbd16b&quot;,
  title: &quot;Controller&quot;,
  reg_price: &quot;499&quot;,
  
  product_des: &quot;&lt;p&gt;PS5&lt;/p&gt;
  &quot;
  }
  </code></pre>