\TbRedactorJS

## TbRedactorJs class

WYSIWYG editor based on Redactor library.

Summary

Methods
Properties
Constants
init()
registerClientScript()
$editorOptions
$selector
$width
$height
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$editorOptions

$editorOptions : array

Type

array — {@link http://imperavi.com/redactor/docs/ redactor options}.

$selector

$selector : string|null

Type

string|null — Selector pointing to textarea to initialize redactor for. Defaults to null meaning that textarea does not exist yet and will be rendered by this widget.

$width

$width : string

Type

string — Editor width

$height

$height : string

Type

string — Editor height

Methods

init()

init()

registerClientScript()

registerClientScript()

Register required script files