This is a extension for use KindEditor as a text editor. The KindEditor detail is here http://www.kindsoft.net This version extension is not support full English, so please wait for the next version.
Requirements of using this extension (e.g. Yii 1.1 or above)...
v0.1
First
Create upload/attached in your root path.
Then add code
Before code
echo $form->labelEx($model,'content'); <?php echo $form->textArea($model,'content',array('rows'=>6, 'cols'=>50));
After code
$this->widget('ext.kindeditor.KindEditor', array( 'model'=>$model, 'attribute'=>'content', ) ); <?php echo $form->labelEx($model,'content'); <?php echo $form->textArea($model,'content',array('rows'=>6, 'cols'=>50));
Created By Joe Chu
Todos:
Total 7 comments
nice ext!!! thanks
I used the code above,but I got a error that content attribute not found……
PHP_KUN can you tell me more details? I didn't use the code you list, but my extension can work fine.
If the view page don't have the code like this:
$this->widget('zii.widgets.CListView', array( 'dataProvider'=>$dataProvider, 'itemView'=>'', ));
The kindeditor extension cann't be load successfully~ I don't konw why!
This extension is really good to use as a editor and I am using it on my project But I having language problem. I want to use this extension in English Version. Thanks in advance for your help. and keep updated.
Regards Sundar
kindeditor is a good editor, and thanks for the extension. please remember to keep on updating!
thanks
Leave a comment
Please login to leave your comment.