designMode

Sets or gets a value that indicates whether the document can be edited.

MDN Reference