Inline Format

The Inline Format plugin allows to markup the selected text with inline tags and also remove the format in the text.

Select any text in a paragraph and click the drop icon on the toolbar, it will show the inline format dropdown.

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/inlineformat.js"></script>

        <!-- call -->
        <script>
        ArticleEditor('#entry', {
            plugins: ['inlineformat'],
            css: '/your-article-dist-path/'
        });
        </script>
    </body>
</html>