ImperaviRedactorWidget
ImperaviRedactorWidget wrapper around imperavi WYSIWYG.
Usage
Yii::import('ext.imperavi-redactor-widget.ImperaviRedactorWidget'); $this->widget('ImperaviRedactorWidget',array( // you can either use it for model attribute 'model'=>$my_model, 'attribute'=>'my_field', // or just for input field 'name'=>'my_input_name', // imperavi redactor [options](http://imperavi.ru/redactor/docs/) 'options'=>array( 'toolbar'=>'classic', 'cssPath'=>Yii::app()->theme->baseUrl.'/css/', ), ));
Changelog
0.4
Warning: this version is not backwards compatible to 0.3 and required framework version 1.1.7 or later
- Imperavi redactor updated to version 7.1.1
- Assets vars group into package
0.3
- Imperavi redactor updated to version 6.4.0
- $scriptFile and $cssFile must be the real path
0.2
- Imperavi redactor updated to version 6.1.1
0.1
- Initial release.