bootstrap-wysihtml5 is a javascript plugin that makes it easy to create simple, beautiful wysiwyg editors with the help of wysihtml5 and Twitter Bootstrap
$('.textarea').wysihtml5();
$('.textarea').wysihtml5({ "stylesheets": ["lib/css/wysiwyg-color.css", "lib/css/highlight/github.css"], // CSS stylesheets to load "color": true, // enable text color selection "size": 'small', // buttons size "html": true, // enable button to edit HTML "format-code" : true // enable syntax highlighting });