A Wysiwyg editor build on top of ReactJS and DraftJS. https://jpuri.github.io/react-draft-wysiwyg
6.38k
stars
1.16k
forks
source link
Getting Error: Cannot read properties of undefined (reading 'createFromBlockArray') #1389
Closed
MichaHumbel closed 10 months ago
I'm trying to create an Editor with predefined conente thats HTML.
These are my imports:
Versions: "react-draft-wysiwyg": "^1.15.0", "html-to-draftjs": "^1.5.0", "react": "18.2.0, "draft-js": "^0.11.7",
This is my Editor:
Then when I open the editor i get the following error: Cannot read properties of undefined (reading 'createFromBlockArray')
What am I doing wrong?