Files
payloadcms/packages/richtext-slate
Alessio Gravili d9bb51fdc7 feat(richtext-lexical)!: initialize lexical during sanitization (#6119)
BREAKING:

- sanitizeFields is now an async function
- the richText adapters now return a function instead of returning the adapter directly
2024-04-30 15:09:32 -04:00
..
2024-03-10 13:53:37 -04:00
2024-02-26 15:45:28 -05:00
2024-02-23 12:23:07 -05:00

Payload Slate Rich Text Editor

Slate Rich Text Editor for Payload.

Installation

npm install @payloadcms/richtext-slate

Usage

import { buildConfig } from 'payload/config'
import { slateEditor } from '@payloadcms/richtext-slate'

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

More detailed usage can be found in the Payload Docs.