Skip to content


Characters 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.

You can type only 140 characters.


<div id="eg-char-counter" class="text-small">
              <p>You can type only 140 characters.</p>


<!-- Include the plugin file. -->
<script src="../js/plugins/char_counter.min.js"></script>
  $(function() {
      // Set maximum number of characters.
      maxCharacters: 140,

      // Set basic mode.
      inlineMode: false