Components
Plate Element

Plate Element

Implements a base element component for the editor with support for block selection.

Installation

Install the following dependencies:

npm install @udecode/plate-selection

Copy and paste the following code into your project.

Get the code ->

Update the import paths to match your project setup.