If you include the CKEditor library on all of your pages, it will
automatically convert all textareas with a class name of "ckeditor" to
CKEditor instances. That's the fastest and easiest way to get CKEditor on
your page:
$textareaElement->setAttrib('class', 'ckeditor');
But if you need a bit more control, I suggest using a different class name
and invoking the editor via a JS include. In jQuery, you can use the
ckeditor plugin to make things easier:
jQuery(function($)
{
$('textarea.editor').ckeditor(callback, options);
});
--
Hector
On Mon, Mar 1, 2010 at 9:11 AM, George Secrieru
<[email protected]>wrote:
> If you think you could need this same editor in more than one place, you
> could write a view helper that returns the *CKEDITOR.replace* code.
>
> Regards,
> George
>
>
> On Thu, Feb 25, 2010 at 5:36 PM, Kuzma <[email protected]> wrote:
>
>>
>> Here is a good tutorial:
>>
>> http://juriansluiman.nl/en/blog/article/100/improved-tinymce-solution-for-the-zend-framework#lead
>> --
>> View this message in context:
>> http://n4.nabble.com/how-to-implement-WYSIWYG-editor-on-zend-framework-tp1569326p1569694.html
>> Sent from the Zend Framework mailing list archive at Nabble.com.
>>
>
>
>
> --
> George Secrieru
> 51 - 9725 39 29
>