docs: update content
This commit is contained in:
@@ -15,10 +15,10 @@ yarn add @tiptap/extension-bubble-menu
|
|||||||
```
|
```
|
||||||
|
|
||||||
## Settings
|
## Settings
|
||||||
| Option | Type | Default | Description |
|
| Option | Type | Default | Description |
|
||||||
| ------------ | ------------- | ------- | -------------------------------------------------------------------- |
|
| ------------ | ------------- | ------- | ----------------------------------------------------------------------- |
|
||||||
| element | `HTMLElement` | `null` | The DOM element that contains your menu. |
|
| element | `HTMLElement` | `null` | The DOM element that contains your menu. |
|
||||||
| keepInBounds | `Boolean` | `true` | When enabled, it’s rendered inside the bounding box of the document. |
|
| tippyOptions | `Object` | `{}` | [Options for tippy.js](https://atomiks.github.io/tippyjs/v6/all-props/) |
|
||||||
|
|
||||||
## Source code
|
## Source code
|
||||||
[packages/extension-bubble-menu/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-bubble-menu/)
|
[packages/extension-bubble-menu/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-bubble-menu/)
|
||||||
|
|||||||
@@ -13,9 +13,10 @@ yarn add @tiptap/extension-floating-menu
|
|||||||
```
|
```
|
||||||
|
|
||||||
## Settings
|
## Settings
|
||||||
| Option | Type | Default | Description |
|
| Option | Type | Default | Description |
|
||||||
| ------------ | ------------- | --------- | ----------------------------- |
|
| ------------ | ------------- | ------- | ----------------------------------------------------------------------- |
|
||||||
| element | `HTMLElement` | `null` | The DOM element of your menu. |
|
| element | `HTMLElement` | `null` | The DOM element of your menu. |
|
||||||
|
| tippyOptions | `Object` | `{}` | [Options for tippy.js](https://atomiks.github.io/tippyjs/v6/all-props/) |
|
||||||
|
|
||||||
## Source code
|
## Source code
|
||||||
[packages/extension-floating-menu/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-floating-menu/)
|
[packages/extension-floating-menu/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-floating-menu/)
|
||||||
|
|||||||
Reference in New Issue
Block a user