This extension is used to widget uses CHtml:activeTextArea to create a textarea, and also creates a CKEditor instance and then replaces the textarea with a CKEditor.

yii-ckeditor

Download CKEditor from CKEditor extension

Requirements

This extension was created using Yii 1.1.9, but I would expect it to run on most 1.1 frameworks.

Installation

Use of this extension is simple. Simply unzip the extension and place the folder inside the extensions folder :

This will create a file structure as follows :

Usage in _form.php page

Replace active TextArea with bellow code :

if you want to use custom configuration of CKEditor, then use the bellow code :