remirror/remirror

View on GitHub
docs/extensions/text-color-extension.mdx

Summary

Maintainability
Test Coverage
---
hide_title: true
title: 'TextColorExtension'
---

import Basic from '../../website/extension-examples/extension-text-color/basic';

# `TextColorExtension`

## Summary

Wraps text with a styled span using the color css property.

## Usage

### Installation

This extension is installed for you when you install the main `remirror` package.

You can use the imports in the following way:

```ts
import { TextColorExtension } from 'remirror/extensions';
```

The extension is provided by the `@remirror/extension-textcolor` package.

### Examples

<Basic />

## API

- [TextColorExtension](../api/extension-text-color)