* 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
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.