Slash Node

Installation

Install the following dependencies:

npm install @platejs/ai @platejs/basic-nodes @platejs/callout @platejs/code-block @platejs/date @platejs/list @platejs/math @platejs/media @platejs/selection @platejs/table @platejs/toggle @platejs/combobox @ariakit/[email protected] @radix-ui/react-slot @radix-ui/react-tooltip @radix-ui/react-popover @platejs/caption @platejs/comment @platejs/basic-styles @radix-ui/react-toolbar @radix-ui/react-separator @radix-ui/react-dropdown-menu @platejs/toc @platejs/layout @platejs/link

Copy and paste the following code into your project.

Get the code ->

Update the import paths to match your project setup.

Examples