Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@vericus/slate-kit-highlight-text

Vericus44MIT0.2.27TypeScript support: included

plugin that provide a way to color/highlight a group of text on slate

Vericus, slate, slate-kit, slate-plugin, editor, color

readme

@Vericus / Highlight Text

plugin that provide a way to color/highlight a group of text on slate

Documentation

Slate plugin that provides a way to color/highlight a group of text on slate. The rendering of color/highlight is provided using configurable optional renderer @vericus/slate-kit-highlight-text-renderer

{
    type: "textBackground",
    alpha: 0.54,
    data: "backgroundColor",
    defaultColor: "transparent",
    styles: ["backgroundColor"],
    externalRenderer: false
}

License

MIT © slate-kit