cutCommand top-level property

CommandShortcutEvent cutCommand
final

cut.

  • support
    • desktop
    • web

Implementation

final CommandShortcutEvent cutCommand = CommandShortcutEvent(
  key: 'cut the selected content',
  getDescription: () => AppFlowyEditorL10n.current.cmdCutSelection,
  command: 'ctrl+x',
  macOSCommand: 'cmd+x',
  handler: _cutCommandHandler,
);