Document DesignModeDec 23, 2024Web/HTMLdocument.designMode controls whether the entire document is editable. Valid values are "on" and "off". // Get the designMode const mode = document.designMode // Make the document editable document.designMode = 'on' Ref: Document: designMode property