@remirror/extension-text-color

Wraps text with a styled span using the color css property. The name of the wrapper tag should be configurable.

Usage no npm install needed!

<script type="module">
  import remirrorExtensionTextColor from 'https://cdn.skypack.dev/@remirror/extension-text-color';
</script>

README

@remirror/extension-text-color

Wraps text with a styled span using the color css property. The name of the wrapper tag should be configurable.

Version Weekly Downloads Bundled size Typed Codebase MIT License

Installation

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

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

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

Usage

The following code creates an instance of this extension.

import { TextColorExtension } from '@remirror/extension-text-color';

const extension = new TextColorExtension();