CKEditor Samples » Replace Textarea Elements by Class Name

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

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

<textarea class="ckeditor" name="editor1"></textarea>

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

CKEditor Samples » Replace Textarea Elements by Class Name

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

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

<textarea class="ckeditor" name="editor1"></textarea>

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

CKEditor Samples » Replace Textarea Elements by Class Name

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

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

<textarea class="ckeditor" name="editor1"></textarea>

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

Number of requests processed in the last 60 days
943
Number of experts in our network
802
Average time for an answer
One hour