Files
payloadcms/packages/richtext-slate
Tylan Davis 68553ff974 feat!: updated admin UI (#7424)
## Description

- Updates admin UI with more condensed spacing throughout.
- Improves hover states and read-only states for various components.
- Removes the `Merriweather` font from `next/font` and replaces with
stack of system serif fonts and fallbacks (Georgia, etc). Closes #7257

## BREAKING CHANGES
- Custom components and styling that don't utilize Payload's CSS/SCSS
variables may need adjustments to match the updated styling.
- If you are using the `Merriweather` font, you will need to manually
configure `next/font` in your own project.

---------

Co-authored-by: Paul Popus <paul@nouance.io>
2024-08-05 15:08:00 +00:00
..
2024-08-05 15:08:00 +00:00
2024-07-09 09:50:37 -04:00

Payload Slate Rich Text Editor

Slate Rich Text Editor for Payload.

Installation

npm install @payloadcms/richtext-slate

Usage

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

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

More detailed usage can be found in the Payload Docs.