This is a extension for use KindEditor as a text editor. The KindEditor detail is here http://www.kindsoft.net</a> This version extension is not support full English, so please wait for the next version.
Requirements ¶
Requirements of using this extension (e.g. Yii 1.1 or above)...
Version ¶
v0.1
Usage ¶
How to use ¶
First
Create upload/attached in your root path.
Then add code
Before code
<?php echo $form->labelEx($model,'content'); ?>
<?php echo $form->textArea($model,'content',array('rows'=>6, 'cols'=>50)); ?>
After code
<?php $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)); ?>
Resources ¶
Created By Joe Chu
Todos:
- Custom langauge.
- Support multiple editors use in one form.
User Contributed Notes 8
good job
thanks
good job!
kindeditor is a good editor, and thanks for the extension.
please remember to keep on updating!
Thanks for extension
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
Question
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!
PHP_KUN
PHP_KUN can you tell me more details? I didn't use the code you list, but my extension can work fine.
aidai524
<?php $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)); ?>I used the code above,but I got a error that content attribute not found……
nice one!
nice ext!!! thanks
Image Upload Problem
Everything is okay. But when image upload I'm getting an error. I created upload/attached in root path but page redirect to error page and image doesn't upload
Leave a comment
If you have any questions, please ask in the forum instead.
Join the conversation to share a note.