[EXTENSION] TinyEditor

Just created an extension for Yii 1.1 (and probably below) for TinyEditor pure javascript HTML5 WYSIWYG editor.

Usage example with model:




$this->widget('application.extensions.tinyeditor.ETinyEditor',array(

	'model'=>$model,

	'attribute'=>'text',

	// additional javscript options

	'options'=>array(

		'width'=>'100%',

	),

));



Usage example without model:




$this->widget('application.extensions.tinyeditor.ETinyEditor',array(

	'name'=>'text',

	'value'=>'Contents of editing text',

));



Available options you can view in ETinyEditor.php class.

Any responses or bugreports will be appreciated.