update docs
This commit is contained in:
@@ -14,14 +14,14 @@ yarn add @tiptap/extension-bubble-menu
|
||||
|
||||
## Settings
|
||||
| Option | Type | Default | Description |
|
||||
| ------------ | ------------- | --------- | ----------- |
|
||||
| element | `HTMLElement` | `null` | |
|
||||
| keepInBounds | `Boolean` | `true` | |
|
||||
| ------------ | ------------- | --------- | --------------------------------------------------------- |
|
||||
| element | `HTMLElement` | `null` | The DOM element of your menu. |
|
||||
| keepInBounds | `Boolean` | `true` | Specifies that the element is not rendered across bounds. |
|
||||
|
||||
## Source code
|
||||
[packages/extension-bubble-menu/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-bubble-menu/)
|
||||
|
||||
## Vanilla JavaScript
|
||||
## Using Vanilla JavaScript
|
||||
```js
|
||||
import { Editor } from '@tiptap/core'
|
||||
import BubbleMenu from '@tiptap/extension-bubble-menu'
|
||||
|
||||
Reference in New Issue
Block a user