This repository was archived by the owner on Apr 20, 2024. It is now read-only.

Description
Make it so that the user interface in the "WYSIWYG"-editor configurable from the leaf tag.
Javascript configuration object:
$('#some-textarea').wysihtml5({
toolbar: {
"font-styles": true, //Font styling, e.g. h1, h2, etc. Default true
"emphasis": true, //Italics, bold, etc. Default true
"lists": true, //(Un)ordered lists, e.g. Bullets, Numbers. Default true
"html": false, //Button which allows you to edit the generated HTML. Default false
"link": true, //Button to insert a link. Default true
"image": true, //Button to insert an image. Default true,
"color": false, //Button to change color of font
"blockquote": true, //Blockquote
"size": <buttonsize> //default: none, other options are xs, sm, lg
}
});