@draft-js-plugins/buttons
Buttons for DraftJS
Last updated 3 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 (a year ago)

10 Versions

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

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