Relative Content

Tag Archive for frontendreact-typescripteditorjs

editorInstance.destroy is not function?

I am creating a Blog website for which i require a text-editor.
So i decided to use editorjs for my project because i could understand their docs.
But i am facing a problem, whenever i run the below component(Editor), it gives an error:
editorInstance.destroy is not a function(the details of the error are described below the code-section)
In their docs they have mentioned, on how to remove an editorjs instance: