draft-js-buttons
Buttons for DraftJS
Last updated a year ago by juliankrispel .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install draft-js-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

  • 2.0.0                                ...           beta (3 years ago)
  • 2.0.2                                ...           latest (a year ago)

17 Versions

  • 2.0.2                                ...           a year ago
  • 2.0.1                                ...           3 years ago
  • 2.0.0                                ...           3 years ago
  • 2.0.0-rc9                                ...           3 years ago
  • 2.0.0-rc8                                ...           3 years ago
  • 2.0.0-rc7                                ...           3 years ago
  • 2.0.0-rc5                                ...           3 years ago
  • 2.0.0-rc4                                ...           3 years ago
  • 2.0.0-rc3                                ...           3 years ago
  • 2.0.0-rc2                                ...           3 years ago
  • 2.0.0-rc1                                ...           3 years ago
  • 2.0.0-beta11                                ...           3 years ago
  • 2.0.0-beta10                                ...           3 years ago
  • 2.0.0-beta9                                ...           4 years ago
  • 2.0.0-beta8                                ...           4 years ago
  • 2.0.0-beta7                                ...           4 years ago
  • 2.0.0-beta6                                ...           4 years ago
Downloads
Today 0
This Week 54
This Month 79
Last Day 1
Last Week 42
Last Month 141
Dependencies (1)
Dev Dependencies (0)
None
Dependents (71)

Copyright 2014 - 2016 © taobao.org |