# Rich text editor

RichTextEditor allows you to format a text you want.&#x20;

<figure><img src="https://1120314470-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtIC4frjJCaZ16PqRKkhj%2Fuploads%2FPitIELNaevbMtSxy73zE%2Frich-text-editor.png?alt=media&#x26;token=b643655a-f551-4f24-8215-ff12fceb2c70" alt="" width="375"><figcaption></figcaption></figure>

**How it works:**

* define commands and for each assign classes/styles
* export from/to HTML
* lightweight and extendable
* built using [Lexical.dev](https://lexical.dev/)
