@draft-js-plugins/buttons
Buttons for DraftJS
Last updated 6 years ago by sibelius .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @draft-js-plugins/buttons 
SYNC missed versions from official npm registry.

DraftJS Buttons

Important: Include after the Editor

For the toolbar to work correctly, you must include the <Toolbar> component after the editor component:

<Editor .../>
<Toolbar />

Using the Subscript and Superscript buttons requires a custom style map:

<Editor
    customStyleMap={{
      SUBSCRIPT: { fontSize: '0.6em', verticalAlign: 'sub' },
      SUPERSCRIPT: { fontSize: '0.6em', verticalAlign: 'super' }
    }}

/>
<Toolbar />

Current Tags

  • 4.3.3                                ...           latest (3 years ago)

10 Versions

  • 4.3.3                                ...           3 years ago
  • 4.3.2                                ...           4 years ago
  • 4.3.1                                ...           5 years ago
  • 4.3.0                                ...           5 years ago
  • 4.2.0                                ...           5 years ago
  • 4.1.1                                ...           5 years ago
  • 4.1.0                                ...           6 years ago
  • 4.0.0                                ...           6 years ago
  • 4.0.0-beta2                                ...           6 years ago
  • 4.0.0-beta1                                ...           6 years ago
Downloads
Total 19
Today 1
This Week 1
This Month 6
Last Day 0
Last Week 4
Last Month 11
Dependencies (1)
Dev Dependencies (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE