0.0.50 • Published 6 years ago
draft-js-custom-buttons v0.0.50
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 />
0.0.50
6 years ago
0.0.49
6 years ago
0.0.48
6 years ago
0.0.47
6 years ago
0.0.46
6 years ago
0.0.45
6 years ago
0.0.43
7 years ago
0.0.42
7 years ago
0.0.41
7 years ago
0.0.40
7 years ago
0.0.34
7 years ago
0.0.32
7 years ago
0.0.31
7 years ago
0.0.30
7 years ago
0.0.29
7 years ago
0.0.26
7 years ago
0.0.25
7 years ago
0.0.24
7 years ago
0.0.23
7 years ago
0.0.22
7 years ago
0.0.21
7 years ago
0.0.20
7 years ago
0.0.19
7 years ago
0.1.0-alpha.1112b19b
7 years ago
0.1.0-alpha.473e3bca
7 years ago
0.0.19-0-next.6f0b7daf
7 years ago
0.0.18
7 years ago
0.0.17
7 years ago