insertNewParagraphNextToCodeBlockCommand function

CommandShortcutEvent insertNewParagraphNextToCodeBlockCommand(
  1. String description
)

Shift+enter to insert a new node next to the code block.

  • support
    • desktop
    • web

Implementation

CommandShortcutEvent insertNewParagraphNextToCodeBlockCommand(
  String description,
) =>
    CommandShortcutEvent(
      key: 'insert a new paragraph next to the code block',
      command: 'shift+enter',
      getDescription: () => description,
      handler: _insertNewParagraphNextToCodeBlockCommandHandler,
    );