Files
payloadcms/packages/richtext-slate
Elliot DeNolf 73d0b209d7 fix: isHotkey webpack error (#6466)
Fixes webpack issue with isHotkey: `TypeError:
is_hotkey__WEBPACK_IMPORTED_MODULE_9__ is not a function`

Changing this from a default import to a named export, and it appears to
resolve the issue.

Fixes #6421
2024-05-22 17:41:15 +00:00
..
2024-05-22 17:41:15 +00: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.