Files
payload/packages/richtext-lexical
Alessio Gravili 79b1b88a2f chore: Better Lexical documentation, minor improvements to HTML converter feature (#3933)
* docs: add html serialization docs

* chore: add .md to the .editorconfig

* chore: add new consolidateHTMLConverters function

* docs: add more documentation about serializing HTML

* docs: document creation of headless editors, editor => markdown conversion, markdown => editor conversion and editor => lexical conversion

* docs: improve wording

* docs: add missing comma

* docs: add rest of the missing docs

* docs: various improvements
2023-11-02 07:44:18 +01:00
..
2023-10-01 21:03:44 +02:00

Payload Lexical Rich Text Editor

Lexical Rich Text Editor for Payload.

Installation

npm install @payloadcms/richtext-lexical

Usage

import { buildConfig } from 'payload/config'
import { lexicalEditor } from '@payloadcms/richtext-lexical'

export default buildConfig({
  editor: lexicalEditor({})
  // ...rest of config
})

More detailed usage can be found in the Payload Docs.