danielebarchiesi@0: danielebarchiesi@0: danielebarchiesi@0: danielebarchiesi@0:
danielebarchiesi@0:
danielebarchiesi@0: This sample shows how to automatically replace all <textarea>
elements
danielebarchiesi@0: of a given class with a CKEditor instance.
danielebarchiesi@0:
danielebarchiesi@0: To replace a <textarea>
element, simply assign it the ckeditor
danielebarchiesi@0: class, as in the code below:
danielebarchiesi@0:
<textarea class="ckeditor" name="editor1"></textarea>danielebarchiesi@0:
danielebarchiesi@0: Note that other <textarea>
attributes (like id
or name
) need to be adjusted to your document.
danielebarchiesi@0: