3 ms·
If you’re putting the document into design mode (the best way of doing it), why are you also setting contenteditable on the body? Shortened version of your boo
by chrismorgan 6y ago
If you’re putting the document into design mode (the best way of doing it), why are you also setting contenteditable on the body?
Shortened version of your bookmarklet, for fun:
javascript:document.designMode=(document.body.spellcheck=document.designMode=='on')?'off':'on'