gtgalone / react-quilljs

React Hook Wrapper for Quill, powerful rich text editor.
https://www.npmjs.com/package/react-quilljs
MIT License
248 stars 28 forks source link

Quill Editor does not work if conditionally rendered #31

Closed AmanMinhas closed 3 years ago

AmanMinhas commented 3 years ago

If the editor is rendered conditionally it does not work.

Codepen to reproduce the issue.

gtgalone commented 3 years ago

@AmanMinhas Thank you for using!

Element must exists on DOM before quill is initialized.

You should check it #27