You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use convertFromHTML from draft-convert to convert my html string to an object that can be called as parameter from EditorState.createWithContent from draftjs (as explained in the README).
Hey team 👋
I use
convertFromHTML
fromdraft-convert
to convert my html string to an object that can be called as parameter fromEditorState.createWithContent
fromdraftjs
(as explained in the README).But when I do something like that:
I get a type definition error from TypeScript:
Have I missed something because like that it's working pretty well 🤔
Here is the link of the sandbox
The text was updated successfully, but these errors were encountered: