Awesome Javascript
Published in

Awesome Javascript

JS:TIP — document.designMode

document.designMode — controls the entire document is editable.

Valid values are “on” and “off”.

In simple terms, it enables us to edit the content of the DOM directly in the page instead of the Elements tab in Developer Tools.

The full article about document.designMode on MDN .

This article is made with ❤️.



Javascript tips, snippets, and Data Structure will be posted. Anyone interested in sharing their knowledge in this publication, you are welcome!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store