node-quill-converter
node-quill-converter copied to clipboard
Fix for web compatibility
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.