draft-js-first-line-heading
v1.0.2
Published
The plugin force block style on first line for a heading/title like Medium
Downloads
7
Readme
draft-js-first-line-heading
The plugin force block style on first line for a heading/title.
Install
$ npm install draft-js-first-line-heading
Usage
import createFirstLineHeadingPLugin from 'draft-js-first-line-heading';
const firstLineHeading = createFirstLineHeadingPLugin();
...
const plugins = [firstLineHeading];
...
License
MIT