Days
Hours
Minutes
Seconds
x

Froala Editor v4.3 is hereLEARN MORE

Skip to content

Links

Using the link.min.js plugin it is possible to initialize the WYSIWYG HTML editor only on a link.

init-on-link

Try it yourself:

The rich text editor will be initialized only on this following link: Froala WYSIWYG HTML editor website


Edit in JSFiddle

HTML

<p>The rich text editor will be initialized only on this following link: <a id="froala-editor" href="https://froala.com/wysiwyg-editor">Froala WYSIWYG HTML editor website</a></p>

JAVASCRIPT

<script>
  $(function() {
    $('a#froala-editor').froalaEditor()
    .on('froalaEditor.contentChanged', function () {
      console.log ('content changed');
    })
  });
</script>