Documentation

Start with plugins

This example shows how to start Article Editor with plugins. Click on any paragraph to see the inline format plugin icon on the toolbar.

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

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

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

    <!-- plugin js -->
    <script src="/your-folder/plugins/inlineformat.js"></script>

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