Relative Content

Tag Archive for editorjs

How to reset the editor js content post submit

I am using editorJS in createPost.jsx. The editor is in RichEditor component. The save and publish buttons are in createPost.jsx. On clicking either of these buttons I need the editor content to be reset to empty object.