# draft-js-multidecorators

> Combine multiple decorators for DraftJS

Latest version **1.0.0** (published 2016-05-31) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install draft-js-multidecorators
pnpm add draft-js-multidecorators
yarn add draft-js-multidecorators
bun add draft-js-multidecorators
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2016-05-31 |
| First published | 2016-05-31 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 32 |
| Author | Samy Pesse |
| Maintainers | samypesse |
| Keywords | draft-js |

## Links

- npm: https://www.npmjs.com/package/draft-js-multidecorators
- Repository: https://github.com/SamyPesse/draft-js-multidecorators
- Homepage: https://github.com/SamyPesse/draft-js-multidecorators#readme
- Issues: https://github.com/SamyPesse/draft-js-multidecorators/issues
- npm.io page: https://npm.io/package/draft-js-multidecorators

## Dependencies (1)

- [immutable](https://npm.io/package/immutable.md) *

## Recent versions

- 1.0.0 (latest) — 2016-05-31

## README

# draft-js-multidecorators

[![Build Status](https://travis-ci.org/SamyPesse/draft-js-multidecorators.png?branch=master)](https://travis-ci.org/SamyPesse/draft-js-multidecorators)
[![NPM version](https://badge.fury.io/js/draft-js-multidecorators.svg)](http://badge.fury.io/js/draft-js-multidecorators)


> Combine multiple Draft's decorators into one.

### Installation

```
$ npm install draft-js-multidecorators
```

### Usage

```js
var Draft = require('draft-js');
var MultiDecorator = require('draft-js-multidecorators');

var decorator = new MultiDecorator([
    new SomeCustomDecorator(),

    // This decorator will have more priority:
    new Draft.CompositeDecorator([ ... ])
]);

var editorState = Draft.EditorState.createEmpty(decorator)
```

---
_Source: https://npm.io/package/draft-js-multidecorators · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
