META-INF.resources.org.richfaces.ckeditor.samples.old.replacebyclass.html Maven / Gradle / Ivy
Replace Textareas by Class Name — CKEditor Sample
CKEditor Samples » Replace Textarea Elements by Class Name
This sample is not maintained anymore. Check out the brand new samples in CKEditor SDK.
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.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy