This sample shows how to automatically replace <textarea>
elements
with a CKEditor instance using a specific skin.
CKEditor with a specified skin (in this case, the "Office 2003" skin) is inserted with a JavaScript call using the following code:
CKEDITOR.replace( 'textarea_id', { skin : 'office2003' });
Note that textarea_id
in the code above is the id
attribute of
the <textarea>
element to be replaced.