I wanna load CKEditor in CodeIgniter,I search a lot,but can't understand their way.
I placed ckeditor in application/plugins folder and now I wanna make editor ,so I do following in Controller Method.
include APPPATH.'plugins/ckeditor/ckeditor.php';
$CKEditor = new CKEditor();
$CKEditor->basePath = '/'.APPPATH.'plugins/ckeditor/';
$initialValue = '<p>This is some <strong>sample text</strong>.</p>';
echo $CKEditor->editor("editor1", $initialValue);
but it makes simple teaxaria only ,with This is some sample text. value.
where is the problem and how should I solve it?