Sha256: b67cfe3186102f6b1a94fed761102553100c40e1d37816f56ac410a5093e26c1

Contents?: true

Size: 1.95 KB

Versions: 1

Compression:

Stored size: 1.95 KB

Contents

<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>Colors plugin | Trumbowyg by Alex-D</title>
        <link rel="stylesheet" href="../css/main.css">
        <link rel="stylesheet" href="../../dist/ui/trumbowyg.css">
        <link rel="stylesheet" href="../../dist/plugins/colors/ui/trumbowyg.colors.css">
    </head>
    <body>
        <div id="main" role="main">
            <header>
                <h1>Colors plugin for Trumbowyg</h1>

                <p>
                    This plugin allow you to add a foreground and/or background color picker.
                </p>
            </header>

            <div id="editor">
                <h2>You can color me!</h2>
                <p>
                    Lorem ipsum dolor sit amet, consectetur adipisicing elit. Possimus, aliquam, minima fugiat placeat provident optio nam reiciendis eius beatae quibusdam!
                </p>
                <p>
                    The text is derived from Cicero's De Finibus Bonorum et Malorum (On the Ends of Goods and Evils, or alternatively [About] The Purposes of Good and Evil ). The original passage began: Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit (Translation: &quot;Neither is there anyone who loves grief itself since it is grief and thus wants to obtain it&quot;).
                </p>
            </div>

            <h2>The code</h2>
            <code><pre>
$('#editor')
.trumbowyg({
    // You can only add one of foreColor/backColor
    btnsAdd: ['foreColor', 'backColor']
});
            </pre></code>
        </div>
        <script src="../../bower_components/jquery/dist/jquery.min.js"></script>
        <script src="../../dist/trumbowyg.js"></script>
        <script src="../../dist/plugins/colors/trumbowyg.colors.js"></script>
        <script>
            $('#editor')
            .trumbowyg({
                btnsAdd: ['foreColor', 'backColor']
            });
        </script>
    </body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
suvii-0.1.0 test/fixtures/results/Trumbowyg-1.1.7/examples/plugins/colors.html