AI Menu

Installation

Install the following dependencies:

npm install @platejs/ai @platejs/markdown @platejs/selection @ai-sdk/react @faker-js/faker remark-gfm remark-math @platejs/dnd @radix-ui/react-toolbar @radix-ui/react-tooltip @radix-ui/react-separator @radix-ui/react-slot @ariakit/[email protected] @radix-ui/react-popover @platejs/caption

Copy and paste the following code into your project.

Get the code ->

Update the import paths to match your project setup.

Examples

Loading...