4 ms·
Here is a simple bookmarklet to quickly turn any browser tab to a rich text editor: data:text/html, <body contenteditable style="margin:2rem;"> Open the above
by sthottingal 6y ago
Here is a simple bookmarklet to quickly turn any browser tab to a rich text editor:
data:text/html, <body contenteditable style="margin:2rem;">
Open the above as URL in a browser tab and bookmark.
- madars 6y agoYou can also make any existing page editable (and then back to non-editable): javascript:if(document.body.contentEditable=="true"){ document.body.contentEditable="false"; document.designMode="off"; document.body.spellcheck=true;} else { document.body.spellcheck=false; document.body.contentEditable="true"; document.designMode="on";}; void(0);
- chrismorgan 6y agoIf 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'