.github-star {
padding-left: 15px;
margin-bottom: 15px;
}
Buttons
Subscript and Superscript
Try it yourself:
To use subscript
and superscript
, just make sure that you include these buttons in the buttons list using the toolbarButtons option.
HTML
<div id="froala-editor">
<p>To use <code>subscript</code> and <code>superscript</code>, just make sure that you include these buttons in the buttons list using the <a href="../docs/options#toolbarButtons" title="toolbarButtons option" target="_blank">toolbarButtons</a> option.</p>
</div>
JAVASCRIPT
<script>
new FroalaEditor('div#froala-editor', {
// Include the subscript and superscript buttons.
toolbarButtons: [['bold', 'italic', 'subscript', 'superscript'], ['indent', 'outdent', 'formatOL', 'formatUL']]
})
</script>