bower-wysihtml5-bootstrap example

Shows bug with html view

by Bhupesh Kushwaha

HTML

<script src="http://fusiongrokker.com/demo/wysihtml5/bootstrap3-wysihtml5.all.min.js"></script>
<link rel="stylesheet" href="http://fusiongrokker.com/demo/wysihtml5/bootstrap3-wysihtml5.min.css">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
Test
    <div class="container">
        <textarea class="wysihtml textarea" style="width: 810px; height: 200px;"></textarea>
    </div>

JavaScript

$(function(){
    $(".textarea").wysihtml5({
        toolbar: {
            "font-styles": true
            ,"emphasis": true
            ,"lists": true
            ,"html": true
            ,"link": true
            ,"image": true
            ,"color": false
            ,"blockquote": false
            ,"outdent": false
            ,"indent": false
            ,"size": 'sm'
            ,"fa": true
        }    
    });
});