Skip to content

prosekit/extensions/blockquote

BlockquoteCommandsExtension

Type: Extension<{ Commands: { insertBlockquote: []; setBlockquote: []; toggleBlockquote: [] } }>

BlockquoteSpecExtension

Type: Extension<{ Nodes: { blockquote: Attrs } }>

defineBlockquote

ts
function defineBlockquote(): BlockquoteExtension

defineBlockquoteInputRule

ts
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

ts
function defineBlockquoteSpec(): BlockquoteSpecExtension