Bubble Menu ​
Bubble menu is a component that renders above selected text. It can be used to change formatting of the selected text.
Usage ​
tsx
import { BubbleMenu } from "eddies";
export default function Page() {
return <BubbleMenu editor={editor} items={bMenuItems} />;
}
Props ​
Prop | Type | Description |
---|---|---|
editor | EddiesEditor | Editor instance |
items | BubbleMenuItem[] | Array of bubble menu items |