While working on an web app, I need a text editor. I was using ckEditor extensions and it was overkill. So here it is, NicEditor with small footprint.
May not be the best and fastest editor but it works for me.
BTW, click on Thumb-Up right above if you find it useful please
More information, configuration and copyrights of the NicEdit script is at http://nicedit.com
I have included the NicEdit script and icons in assets folder for your convenience
This extensions is created with Yii 1.1.7
It works for Yii 1.1.7 - 1.1.10.
For other Yii versions, I don't know
unpack the niceditor.zip file to your extensions folder
Copy and paste the text below to you "views" page
$this->widget('ext.niceditor.nicEditorWidget',array( "model"=>$model, // Data-Model "attribute"=>$attribute, // Attribute in the Data-Model "defaultValue"=>'defaultValue text here', "config"=>array("maxHeight"=>"200px"), "width"=>"400px", // Optional default to 100% "height"=>"200px", // Optional default to 150px ));
More information at http://nicedit.com