Fontsize

Change the font size specified in pixels. Bigger sometimes is better.

Select some text and click the 'Text size' button on the toolbar.

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

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

Usage

By default, the plugin already has a set of sizes installed. You can set your own set this way:

ArticleEditor('#entry', {
    plugins: ['inlineformat'],
    css: '/your-article-dist-path/',
    fontsize: ['16px', '20px', '24px', '32px']
});