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

Modes

Init On Button

It is possible to initialize the WYSIWYG HTML editor only on a button.

Try it yourself:



Edit in JSFiddle

HTML

<button id="edit" class="btn r-btn highlight text-small">Button</button>

JAVASCRIPT

<script>
  new FroalaEditor('button#edit', {
    events: {
      contentChanged: function () {
        console.log ('content changed');
      }
    }
  })
</script>
File: 1603