Skip to content
.github-star { padding-left: 15px; margin-bottom: 15px; }

Typing

Shortcuts

Try it yourself:

Change what shortcuts should be available in the WYSIWYG HTML editor using the shortcutsEnabled option.


Edit in JSFiddle

HTML

<div id="froala-editor">
  <p>Change what shortcuts should be available in the WYSIWYG HTML editor using the <a href="../docs/options#shortcutsEnabled" title="shortcutsEnabled option" target="_blank">shortcutsEnabled</a> option.</p>
</div>

JAVASCRIPT

<script>
  new FroalaEditor('div#froala-editor', {
    // Set the list of available shortcuts.
    shortcutsEnabled: ['bold', 'italic']
  })
</script>
File: 1705