Docs
Highlight

Highlight

Mark and reference text for review.

Highlight important information for better clarity.

Features

  • Provides text marking tools for content review and referencing.
  • Uses inline <mark> elements supporting markers (background color).

Installation

npm install @udecode/plate-highlight

Usage

import { createHighlightPlugin } from '@udecode/plate-highlight';
 
const plugins = [
  // ...otherPlugins,
  createHighlightPlugin(),
];

Keyboard Interactions

KeyDescription
Cmd + Shift + H

Apply a highlight to the selected text.

API

createHighlightPlugin

Options

Collapse all

    Node properties to delete.

    Hotkey to toggle mark.