node-quill-converter icon indicating copy to clipboard operation
node-quill-converter copied to clipboard

Fix for web compatibility

Open buu700 opened this issue 3 years ago • 0 comments

The diff is smaller with ?w=1, but basically just made it conditional whether to use JSDOM or browser DOM depending on the existence of document. eval('require')(...) is used in the Node.js case to avoid getting picked up by web bundlers.

buu700 avatar May 13 '21 17:05 buu700