docs: update content
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
This extension will make a contextual menu appear near a selection of text. Use it to let users apply [marks](/api/marks) to their text selection.
|
This extension will make a contextual menu appear near a selection of text. Use it to let users apply [marks](/api/marks) to their text selection.
|
||||||
|
|
||||||
As always, the markup and styling is totally up to you. The menu is positioned absolute and requires a wrapper with `position: relative`, that’s basically the only requirement though.
|
As always, the markup and styling is totally up to you.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -22,8 +22,6 @@ The [bubble menu](/api/extensions/bubble-menu) appears when selecting text. Mark
|
|||||||
hide-source
|
hide-source
|
||||||
/>
|
/>
|
||||||
|
|
||||||
It’ll get an absolute position near the text selection. Make sure to add `position: relative` to the wrapper.
|
|
||||||
|
|
||||||
### Floating menu
|
### Floating menu
|
||||||
The [floating menu](/api/extensions/floating-menu) appears in empty lines. Markup and styling is totally up to you.
|
The [floating menu](/api/extensions/floating-menu) appears in empty lines. Markup and styling is totally up to you.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user