Package Exports
- @payloadcms/richtext-lexical
- @payloadcms/richtext-lexical/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@payloadcms/richtext-lexical) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Payload Lexical Rich Text Editor
Lexical Rich Text Editor for Payload.
Installation
npm install @payloadcms/richtext-lexicalUsage
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.