docs: make all mark commands a list

This commit is contained in:
Hans Pagel
2021-10-01 23:25:07 +02:00
parent d3aa7903bd
commit 86d8ecd238
9 changed files with 179 additions and 43 deletions

View File

@@ -14,9 +14,13 @@ yarn add @tiptap/extension-text-style
```
## Commands
| Command | Parameters | Description |
| -------------------- | ---------- | --------------------------------------------- |
| removeEmptyTextStyle | | Remove `<span>` tags without an inline style. |
### removeEmptyTextStyle()
Remove `<span>` tags without an inline style.
```js
editor.command.removeEmptyTextStyle()
```
## Source code
[packages/extension-text-style/](https://github.com/ueberdosis/tiptap/blob/main/packages/extension-text-style/)