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