1.5 KiB
1.5 KiB
Blockquote
The Blockquote extension enables you to use the <blockquote> HTML tag in the editor. This is great to use quotes in the editor.
Type > at the beginning of a new line and it will magically transform to a blockquote.
Installation
# with npm
npm install @tiptap/extension-blockquote
# with Yarn
yarn add @tiptap/extension-blockquote
Settings
| Option | Type | Default | Description |
|---|---|---|---|
| HTMLAttributes | Object |
{} |
Custom HTML attributes that should be added to the rendered HTML tag. |
Commands
| Command | Parameters | Description |
|---|---|---|
| blockquote | — | Wrap content in a blockquote. |
Keyboard shortcuts
- Windows/Linux:
ControlShiftB - macOS:
CmdShiftB
Source code
packages/extension-blockquote/