Components
Block Context Menu

Block Context Menu

Provides a context menu for block actions in the editor.

Loading...

Installation

Install the following dependencies:

npm install @udecode/plate-selection @udecode/plate-caption @udecode/plate-font @udecode/plate-media @radix-ui/react-toolbar @radix-ui/react-dropdown-menu @udecode/plate-block-quote @udecode/plate-callout @udecode/plate-code-block @udecode/plate-heading @udecode/plate-indent-list @udecode/plate-toggle @ariakit/[email protected] @radix-ui/react-slot @radix-ui/react-tooltip @radix-ui/react-popover

Copy and paste the following code into your project.

Get the code ->

Update the import paths to match your project setup.