PHP Class TbRedactorJS

Author: : antonio ramirez ([email protected])
Inheritance: extends CInputWidget
Show file Open project: yinhe/yincart

Public Properties

Property Type Description
$editorOptions {@link http://imperavi.com/redactor/docs/ redactor options}.
$height Editor height
$selector 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 Editor width

Public Methods

Method Description
init ( )
registerClientScript ( ) Register required script files

Method Details

init() public method

public init ( )

registerClientScript() public method

Register required script files

Property Details

$editorOptions public property

{@link http://imperavi.com/redactor/docs/ redactor options}.
public $editorOptions

$height public property

Editor height
public $height

$selector public property

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.
public $selector

$width public property

Editor width
public $width