draft-js-first-line-heading

1.0.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i draft-js-first-line-heading

Weekly Downloads

5

Version

1.0.2

License

MIT

Unpacked Size

61.4 kB

Total Files

4

Last publish

Collaborators

  • null-none