Tags

The plugin shows how to build a plugin with popup to add something like tags.

    Demo

    Click the add button on the toolbar and add tags or select tags in the content and edit them.

    Code

    <!DOCTYPE html>
    <html>
        <head>
            <title>Article Editor</title>
            <meta charset="utf-8">
    
            <!-- css -->
            <link rel="stylesheet" href="/your-article-dist-path/article-editor.css" />
        </head>
        <body>
            <!-- element -->
            <textarea id="entry">...</textarea>
    
            <!-- js -->
            <script src="/your-article-dist-path/article-editor.js"></script>
            <script src="/your-article-dist-path/plugins/tags.js"></script>
    
            <!-- call -->
            <script>
            ArticleEditor('#entry', {
                plugins: ['tags'],
                css: '/your-article-dist-path/',
                custom: {
                    css: '/your-article-dist-path/plugins/tags/tags.min.css'
                }
            });
            </script>
        </body>
    </html>