{@snippet build-classic-source}
The editor can be set into a read-only mode by changing the value of the {@link module:core/editor/editor~Editor#isReadOnly Editor#isReadOnly} property.
See the demo below:
{@snippet features/read-only}
See also the {@link features/restricted-editing restricted editing feature} that lets you define which parts of a document can be editable for a group of users with limited editing rights, leaving the rest of the content non-editable to them.