Detalhes do pacote

@remirror/extension-text-highlight

remirror199.6kMIT3.0.1

Add a color background to the selected text (or text within a specified range).

remirror, extension

readme (leia-me)

@remirror/extension-text-highlight

Add a color background to the selected text (or text within a specified range).

Version Weekly Downloads Bundled size Typed Codebase MIT License

Installation

# yarn
yarn add @remirror/extension-text-highlight

# pnpm
pnpm add @remirror/extension-text-highlight

# npm
npm install @remirror/extension-text-highlight

Usage

The following code creates an instance of this extension.

import { TextHighlightExtension } from '@remirror/extension-text-highlight';

const extension = new TextHighlightExtension();