X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_samples%2Freplacebyclass.html;h=117640f82e785bd84463edc77c91c1f7734f50d4;hp=fd31e7da1fccb617adb0aa595ca4bf7b23625fa5;hb=48b1db88210b4160dce439c6e3e32e14af8c106b;hpb=9afde8772159bd3436f1f5b7862960307710ae5a diff --git a/_samples/replacebyclass.html b/_samples/replacebyclass.html index fd31e7d..117640f 100644 --- a/_samples/replacebyclass.html +++ b/_samples/replacebyclass.html @@ -1,20 +1,35 @@ - Replace Textareas by Class Name - CKEditor Sample + Replace Textareas by Class Name — CKEditor Sample -

- CKEditor Sample +

+ CKEditor Sample — 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. +

+
+