prosekit/extensions/blockquote
Type Aliases
Section titled “Type Aliases”BlockquoteCommandsExtension
Section titled “BlockquoteCommandsExtension”-
type BlockquoteCommandsExtension =Extension<{Commands: {setBlockquote: [];insertBlockquote: [];toggleBlockquote: []; }; }>
BlockquoteSpecExtension
Section titled “BlockquoteSpecExtension”-
type BlockquoteSpecExtension =Extension<{Nodes: {blockquote:Attrs; }; }>
Functions
Section titled “Functions”defineBlockquoteInputRule()
Section titled “defineBlockquoteInputRule()”-
function defineBlockquoteInputRule():PlainExtension -
Wraps the text block in a blockquote when
>is typed at the start of a new line followed by a space.
defineBlockquoteSpec()
Section titled “defineBlockquoteSpec()”-
function defineBlockquoteSpec():BlockquoteSpecExtension
defineBlockquote()
Section titled “defineBlockquote()”-
function defineBlockquote():BlockquoteExtension