@remirror/extension-text-highlight
v3.0.1
Published
Add a color background to the selected text (or text within a specified range).
Downloads
146,908
Readme
@remirror/extension-text-highlight
Add a color background to the selected text (or text within a specified range).
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();