New Froala Editor v5.2.0 is here – Learn More
Froala Documentation
- Installation Guides
- Browser Support
- Languages Support
- Shortcuts
- Activation
- Examples
- Customize the Editor
- Use-cases
- Plugins
- APIs
- Development Frameworks
- Server Integrations
- Server SDKs
- Migration Guides
- Changelog
- Tutorials
Get HTML Content
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 JSFiddleJAVASCRIPT
<script>
let editor = new FroalaEditor('div#froala-editor', {}, function () {
console.log(editor.html.get())
});
</script>
Whats on this page hide