0.0.36 • Published 5 years ago
@contentkit/buttons v0.0.36
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.36
5 years ago
0.0.35
5 years ago
0.0.34
5 years ago
0.0.25
5 years ago
0.0.24
5 years ago
0.0.23
5 years ago
0.0.22
5 years ago
0.0.21
5 years ago
0.0.20
5 years ago
0.0.17
5 years ago
0.0.16
5 years ago
0.0.15
5 years ago
0.0.14
5 years ago
0.0.10
5 years ago
0.0.9
5 years ago
0.0.8
5 years ago
0.0.7
5 years ago
0.0.6
5 years ago
0.0.5
5 years ago
0.0.4
5 years ago
0.0.3
5 years ago
0.0.2
5 years ago