tiptap/docs/src/docPages/api/extensions/paragraph.md

20 lines
609 B
Markdown
Raw Normal View History

2020-09-02 21:20:35 +08:00
# Paragraph
Yes, the schema is very strict. Without this extension you wont 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" />