...
Days
Hours
Minutes
Seconds
x
Skip to content
Froala Documentation

API

Get Edited HTML

You can use at any time in your code the following snippet to get the content inside the Froala WYSIWYG HTML Editor.

Try it yourself:

Edit in JSFiddle

JAVASCRIPT

<script>
  let editor = new FroalaEditor('div#froala-editor', {}, function () {
    console.log(editor.html.get())
  });
</script>
Seraphinite AcceleratorOptimized by Seraphinite Accelerator
Turns on site high speed to be attractive for people and search engines.