The BlockquotePlugin adds block quote support with a toggle command, keyboard shortcut, and Markdown-style input rule.
import { BlockquotePlugin } from ' @notectl/core ' ;
interface BlockquoteConfig {
/** Render separator after toolbar item. */
readonly separatorAfter ?: boolean ;
Command Description Returns toggleBlockquoteToggle blockquote on/off for the current block booleansetBlockquoteConvert the current block to blockquote boolean
editor . executeCommand ( ' toggleBlockquote ' );
Shortcut Action Ctrl+Shift+> / Cmd+Shift+>Toggle blockquote
Pattern Result > (at the start of a line)Convert to blockquote
Type HTML Tag Description blockquote<blockquote>Block-level quote container
The toDOM method creates a <blockquote> element with the required data-block-id attribute. The editor’s default styles render a left border and padding for visual distinction.