Components
Block Menu Items

Block Menu Items

Installation

Install the following dependencies:

npm install @udecode/plate-ai @udecode/plate-caption @udecode/plate-comments @udecode/plate-font @udecode/plate-media @udecode/plate-selection @radix-ui/react-toolbar @radix-ui/react-tooltip @radix-ui/react-separator @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 @udecode/plate-date @udecode/plate-layout @udecode/plate-math @udecode/plate-table @ariakit/[email protected] @radix-ui/react-slot @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.