Skip to main content

COPY_COMMAND

const

Dispatched on a copy event, either via the clipboard or a KeyboardEvent (Cmd+C on macOS, Ctrl+C elsewhere).

const COPY_COMMAND: LexicalCommand<ClipboardEvent | KeyboardEvent | null>

Import

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