Text Color Leaf for Slate Editor
Adds a text color picker to the SlateJS editor in Payload.
Installation
pnpm add @wru/payloadcms-slate-plugin-textcolor-leaf About
This plugin integrates a simple color picker into the SlateJS editor used by Payload. It provides a predefined list of colors that users can choose from while editing text content. Integrating the text color picker is accomplished by adding `wruTextColorLeaf` to the Slate editor configuration in `payload.config.ts`. The plugin is designed to work with Payload CMS, enhancing the text editing experience with color options. To utilize the plugin, developers need to include specific colors in the configuration, allowing for a customized text color selection. The `name` property in the configuration helps identify the color picker, while the `colorList` can be modified to suit the project's branding or requirements. This plugin requires React and integrates smoothly with other parts of the Payload ecosystem.
Package info
- Package name
@wru/payloadcms-slate-plugin-textcolor-leaf- Latest version
0.1.0- Unpacked size
- 14 kB
- License
- MIT
- Weekly downloads
- 7
- Last publish
- Feb 10, 2024
Similar plugins
More in EditorCloud Storage
This plugin integrates cloud storage options into Payload CMS.
SEO plugin
A plugin to manage SEO metadata from within the Payload admin panel.
Redirects
Manage redirects directly within the Payload CMS admin panel.
Form Builder
Official Payload plugin that lets admins build forms, collect submissions, send templated emails, and optionally process payments or uploads.
Nested Docs
Adds parent-child document hierarchies with auto-generated breadcrumbs to Payload collections.
Search plugin
Search plugin for Payload enables fast searching of document records.