Speed up development with full-stack environments for every branch.

Learn More

Bootstrap-wysihtml5 example - Basic editor

Forked from How to use the jQuery $().ready function.

11704 Runs 27517 Views 15303 Copies


gtsolutions 373

published 4 years ago

        <meta charset="utf-8">
        <title>Bootstrap-wysihtml5 example - Basic editor</title>
        <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
        <link rel="stylesheet" type="text/css" href="css/bootstrap-wysihtml5.css">
        <div class="container">
            <div class="hero-unit" style="margin-top:40px">
                <textarea class="textarea" placeholder="Enter text ..." style="width: 810px; height: 200px;"></textarea>

        <script src="js/wysihtml5-0.3.0.js"></script>
        <script src="js/jquery-1.7.2.min.js"></script>
        <script src="js/bootstrap.min.js"></script>
        <script src="js/bootstrap-wysihtml5.js"></script>

                "font-styles": true, //Font styling, e.g. h1, h2, etc. Default true
                "emphasis": true, //Italics, bold, etc. Default true
                "lists": false, //(Un)ordered lists, e.g. Bullets, Numbers. Default true
                "html": false, //Button which allows you to edit the generated HTML. Default false
                "link": false, //Button to insert a link. Default true
                "image": false, //Button to insert an image. Default true,
                "color": false //Button to change color of font  
Please login/signup to get access to the terminal.

Your session has timed out.

Dismiss (the page may not function properly).