MCPcopy Create free account
hub / github.com/ckeditor/ckeditor5-react / enableReadOnlyMode

Method enableReadOnlyMode

tests/_utils/editor.ts:84–86  ·  view source on GitHub ↗
( lockId: string )

Source from the content-addressed store, hash-verified

82 }
83
84 public enableReadOnlyMode( lockId: string ): void {
85 this._readOnlyLocks.add( lockId );
86 }
87
88 public disableReadOnlyMode( lockId: string ): void {
89 this._readOnlyLocks.delete( lockId );

Callers 5

shouldComponentUpdateMethod · 0.80
_createEditorMethod · 0.80
useMultiRootEditorFunction · 0.80
editor.test.tsxFile · 0.80
toggleReadOnlyFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected