Examples
editor.setReadOnly(readOnly)
Allows you to enable/disable read-only mode.
Syntax
editor.setReadOnly(readOnly)
Parameter
Type: boolean
True to make the editor read-only; otherwise, false.
Allows you to enable/disable read-only mode.
editor.setReadOnly(readOnly)
Type: boolean
True to make the editor read-only; otherwise, false.