Skip to main content
Modular Documentation
Guides
Reference
Reference
/
@modular/sdk/editor
isCurrentlyReadOnlyMode
function
Returns true if the current editor update context is read-only.
function isCurrentlyReadOnlyMode(): boolean
Import
import { isCurrentlyReadOnlyMode } from '@modular/sdk/editor';