html-to-draftjs icon indicating copy to clipboard operation
html-to-draftjs copied to clipboard

window is undefined

Open aberba opened this issue 5 years ago • 1 comments

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?

aberba avatar May 20 '20 10:05 aberba

Duplicates https://github.com/jpuri/html-to-draftjs/issues/78 .

jaydenseric avatar Jun 19 '20 10:06 jaydenseric