Skip to main content
Modular Documentation
Guides
Reference
Reference
/
@modular/sdk/editor
FORMAT_ELEMENT_COMMAND
const
Dispatched to set the element format (alignment) of the selected block.
const FORMAT_ELEMENT_COMMAND: LexicalCommand<ElementFormatType>
Import
import { FORMAT_ELEMENT_COMMAND } from '@modular/sdk/editor';