Typing

Shortcuts

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>
  $(function() {
    $('div#froala-editor').froalaEditor({
      // Set the list of available shortcuts.
      shortcutsEnabled: ['bold', 'italic']
    })
  });
</script>