update docs
This commit is contained in:
@@ -13,15 +13,15 @@ yarn add @tiptap/extension-bubble-menu
|
|||||||
```
|
```
|
||||||
|
|
||||||
## Settings
|
## Settings
|
||||||
| Option | Type | Default | Description |
|
| Option | Type | Default | Description |
|
||||||
| ------------ | ------------- | --------- | ----------- |
|
| ------------ | ------------- | --------- | --------------------------------------------------------- |
|
||||||
| element | `HTMLElement` | `null` | |
|
| element | `HTMLElement` | `null` | The DOM element of your menu. |
|
||||||
| keepInBounds | `Boolean` | `true` | |
|
| keepInBounds | `Boolean` | `true` | Specifies that the element is not rendered across bounds. |
|
||||||
|
|
||||||
## 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/)
|
||||||
|
|
||||||
## Vanilla JavaScript
|
## Using Vanilla JavaScript
|
||||||
```js
|
```js
|
||||||
import { Editor } from '@tiptap/core'
|
import { Editor } from '@tiptap/core'
|
||||||
import BubbleMenu from '@tiptap/extension-bubble-menu'
|
import BubbleMenu from '@tiptap/extension-bubble-menu'
|
||||||
|
|||||||
Reference in New Issue
Block a user