2020-09-02 21:20:35 +08:00
|
|
|
|
# Paragraph
|
2020-09-09 22:16:57 +08:00
|
|
|
|
Yes, the schema is very strict. Without this extension you won’t even be able to use paragraphs in the editor.
|
2020-09-09 22:12:39 +08:00
|
|
|
|
|
|
|
|
|
## Options
|
2020-09-10 16:21:24 +08:00
|
|
|
|
| Option | Type | Default | Description |
|
|
|
|
|
| ------ | ------ | ------- | -------------------------------------------- |
|
|
|
|
|
| class | string | – | Add a custom class to the rendered HTML tag. |
|
2020-09-09 22:12:39 +08:00
|
|
|
|
|
|
|
|
|
## Commands
|
|
|
|
|
*None*
|
|
|
|
|
|
|
|
|
|
## Keybindings
|
|
|
|
|
*None*
|
|
|
|
|
|
|
|
|
|
## Source Code
|
|
|
|
|
[packages/extension-paragraph/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-paragraph/)
|
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
<demo name="Extensions/Paragraph" highlight="11,29" />
|