- Getting Started
- Browser Support
- Languages Support
- Shortcuts
- Activation
- Examples
- Customize the Editor
- Use-cases
- Plugins
- APIs
- Development Frameworks
- Server Integrations
- Server SDKs
- Migration Guides
- Changelog
- Tutorials
Links
Init On Link
Using the link.min.js
plugin it is possible to initialize the WYSIWYG HTML editor only on a link.
Try it yourself:
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>
new FroalaEditor('a#froala-editor', {
events: {
contentChanged: function () {
console.log ('content changed');
}
}
})
</script>
Related Plugin:
Link