prosekit/extensions/blockquote
Type Aliases
Section titled “Type Aliases”BlockquoteCommandsExtension
Section titled “BlockquoteCommandsExtension”-
type BlockquoteCommandsExtension =
Extension
<{Commands
: {insertBlockquote
: [];setBlockquote
: [];toggleBlockquote
: []; }; }>
BlockquoteSpecExtension
Section titled “BlockquoteSpecExtension”-
type BlockquoteSpecExtension =
Extension
<{Nodes
: {blockquote
:Attrs
; }; }>
Functions
Section titled “Functions”defineBlockquote()
Section titled “defineBlockquote()”-
function defineBlockquote():
BlockquoteExtension
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