indvd00m@0: indvd00m@0: indvd00m@0: indvd00m@0: indvd00m@0: indvd00m@0: Replace Textareas by Class Name — CKEditor Sample indvd00m@0: indvd00m@0: indvd00m@0: indvd00m@0: indvd00m@0:

indvd00m@0: CKEditor Samples » Replace Textarea Elements by Class Name indvd00m@0:

indvd00m@0:
indvd00m@0: This sample is not maintained anymore. Check out the brand new samples in CKEditor SDK. indvd00m@0:
indvd00m@0:
indvd00m@0:

indvd00m@0: This sample shows how to automatically replace all <textarea> elements indvd00m@0: of a given class with a CKEditor instance. indvd00m@0:

indvd00m@0:

indvd00m@0: To replace a <textarea> element, simply assign it the ckeditor indvd00m@0: class, as in the code below: indvd00m@0:

indvd00m@0:
indvd00m@0: <textarea class="ckeditor" name="editor1"></textarea>
indvd00m@0: 
indvd00m@0:

indvd00m@0: Note that other <textarea> attributes (like id or name) need to be adjusted to your document. indvd00m@0:

indvd00m@0:
indvd00m@0:
indvd00m@0:

indvd00m@0: indvd00m@0: indvd00m@0:

indvd00m@0:

indvd00m@0: indvd00m@0:

indvd00m@0:
indvd00m@0: indvd00m@0: indvd00m@0: