<textarea class="input">Default textarea</textarea>
<textarea class="input full-width">Default textarea</textarea>
To enable auto-resizing on a textarea, just add the class autoexpanding:
<textarea class="input full-width autoexpanding">...</textarea>
The template embeds a simple but complete WYSIWYG editor, CLEditor:
Basic use:
<textarea id="cleditor">...</textarea>
// Init var editorTextarea = $('#cleditor'), editorWrapper = editorTextarea.parent(), editor = editorTextarea.cleditor({ width: '100%', height: 350 })[0]; // Update size when resizing editorWrapper.sizechange(function() { editor.refresh(); });
To learn more on how to use this plugin, go to http://premiumsoftware.net/cleditor/