JSPM

@payloadcms/richtext-lexical

3.0.0-beta.91
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 333682
  • Score
    100M100P100Q202183F
  • License MIT

The officially supported Lexical richtext adapter for Payload

Package Exports

  • @payloadcms/richtext-lexical
  • @payloadcms/richtext-lexical/client
  • @payloadcms/richtext-lexical/generateComponentMap
  • @payloadcms/richtext-lexical/migrate

Readme

Payload Lexical Rich Text Editor

Lexical Rich Text Editor for Payload.

Installation

npm install @payloadcms/richtext-lexical

Usage

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

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

More detailed usage can be found in the Payload Docs.