docs: make all tables with only HTMLAttributes as a setting a lis

This commit is contained in:
Hans Pagel
2021-10-01 23:27:39 +02:00
parent 86d8ecd238
commit 2fccba79cb
14 changed files with 154 additions and 42 deletions

View File

@@ -14,9 +14,17 @@ yarn add @tiptap/extension-superscript
```
## Settings
| Option | Type | Default | Description |
| -------------- | -------- | ------- | --------------------------------------------------------------------- |
| HTMLAttributes | `Object` | `{}` | Custom HTML attributes that should be added to the rendered HTML tag. |
### HTMLAttributes
Custom HTML attributes that should be added to the rendered HTML tag.
```js
Superscript.configure({
HTMLAttributes: {
class: 'my-custom-class',
},
})
```
## Commands