Editor v 1.1
Makes a full featured WYSIWYG Editor. Uses the jQuery WYSIWYG Editor
Options read more about inline data attributes
option | default | possible values | description | since | info |
---|---|---|---|---|---|
buttons | 'bold|italic|underline|strikeThrough|just...' | buttons | define the buttons in the toolbar | 1.0 | possible values: bold, italic, underline, strikeThrough, justifyLeft, justifyCenter, justifyRight, justifyFull, highlight, colorpicker, indent, outdent, subscript, superscript, undo, redo, insertOrderedList, insertUnorderedList, insertHorizontalRule, createLink, insertImage, h1, h2, h3, h4, h5, h6, paragraph, rtl, ltr, cut, copy, paste, increaseFontSize, decreaseFontSize, html, code, removeFormat, insertTable |
Check out jQuery WYSIWYG Editor docs for all options |
Methods
method name | default | arguments | description | since | info |
---|---|---|---|---|---|
set | key, value | sets the the option 'key' with the value 'value' | 1.0 | ||
Check out jQuery WYSIWYG Editor docs for all methods |
Usage
$(selector).wl_Editor([options]);
Calling Methods
$(selector).wl_Editor('method', [,arg [,arg [,arg]]]);
Markup
<textarea class="html">/textarea> <textarea class="html" rows="30" data-buttons="bold|italic|underline">/textarea>