Skip to main content

DELETE_LINE_COMMAND

const

Dispatched to delete a line, the payload will be `true` if the deletion is backwards (Cmd+Delete on macOS), and `false` if forwards (Fn+Cmd+Delete on macOS).

const DELETE_LINE_COMMAND: LexicalCommand<boolean>

Import

import { DELETE_LINE_COMMAND } from '@modular/sdk/editor';