Counter

Download

Add a character and word counter.

Type some text and see the result of the Counter plugin in the statusbar at the bottom of the editor.

<!DOCTYPE html>
<html>
    <head>
        <title>Article Editor</title>
        <meta charset="utf-8">

        <!-- css -->
        <link rel="stylesheet" href="/your-folder/article-editor.css" />
    </head>
    <body>
        <!-- element -->
        <textarea id="entry">...</textarea>

        <!-- js -->
        <script src="/your-folder/article-editor.js"></script>
        <script src="/your-folder/plugins/counter.js"></script>

        <!-- call -->
        <script>
        ArticleEditor('#entry', {
            plugins: ['counter']
        });
        </script>
    </body>
</html>