Buttons for DraftJS
npm install @draft-js-plugins/buttonsFor the toolbar to work correctly, you must include the component after the editor component:
``jsx`
`jsx
SUBSCRIPT: { fontSize: '0.6em', verticalAlign: 'sub' },
SUPERSCRIPT: { fontSize: '0.6em', verticalAlign: 'super' }
}}
/>
``