html-to-draftjs
html-to-draftjs copied to clipboard
window is undefined
This happens in both the Editor and this package. It seems you use the window in the code which is not available when compiling in a nodejs environment.
Can we remove window object from the code?
Duplicates https://github.com/jpuri/html-to-draftjs/issues/78 .