Days
Hours
Minutes
Seconds
x

Froala Editor v4.3 is hereLEARN MORE

Skip to content

Examples

Full Screen

Use the buttons option to add the fullscreen button in the rich text editor's toolbar.

HTML

<div id="eg-fullscreen" class="text-small">
  <p>Use the <strong>buttons</strong> option to add the fullscreen button in the rich text editor's toolbar.</p>
</div>

JAVASCRIPT

<!-- Include the plugin file. -->
<script src="../js/plugins/fullscreen.min.js"></script>
<script>
  $(function() {
    $('div#eg-fullscreen').editable({
      inlineMode: false,
      buttons: ['bold', 'italic', 'sep', 'indent', 'outdent',
        'insertOrderedList', 'insertUnorderedList', 'sep',
        'createLink', 'insertImage', 'fullscreen']
    })
  });
</script>