- 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
Miscellaneous
Character Counter
Using the char_counter.min.js
plugin it is possible to limit the number of characters that can be introduced into the WYSIWYG HTML editor.
Try it yourself:
The maximum number of characters can be changed using the charCounterMax option.
HTML
<div id="froala-editor">
<p>You can type only 140 characters.</p>
</div>
JAVASCRIPT
<script>
new FroalaEditor('div#froala-editor', {
// Set maximum number of characters.
charCounterMax: 140
})
</script>
Related Plugin: Char Counter