add new features to the paragraph documentation

This commit is contained in:
Hans Pagel
2020-09-24 19:10:22 +02:00
parent 188824c0bb
commit f031eb1d57
2 changed files with 7 additions and 4 deletions

View File

@@ -22,8 +22,8 @@ yarn add @tiptap/extension-ordered-list @tiptap/extension-list-item
| class | string | | Add a custom class to the rendered HTML tag. |
## Commands
| Command | Options | Description |
| ----------- | ------- | --------------------- |
| Command | Options | Description |
| ------------ | ------- | ---------------------- |
| ordered_list | — | Toggle a ordered list. |
## Keyboard shortcuts

View File

@@ -20,10 +20,13 @@ yarn add @tiptap/extension-paragraph
| class | string | | Add a custom class to the rendered HTML tag. |
## Commands
*None*
| Command | Options | Description |
| --------- | ------- | -------------------------------------------- |
| paragraph | — | Transforms all selected nodes to paragraphs. |
## Keyboard shortcuts
*None*
* Windows & Linux: `Control` `Alt` `0`
* macOS: `Cmd` `Alt` `0`
## Source code
[packages/extension-paragraph/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-paragraph/)