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