Easily transform <textarea>
s into BBCode WYSIWYG editors.
-
Include the stylesheet (feel free to modify) in your
<head>
:<link rel="stylesheet" href="css/jquery.bbcode.css">
-
Include JS file, ensuring it's including after jQuery:
<script src="js/jquery.bbcode.js"></script>
-
Execute:
$('textarea').bbcode();