X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_samples%2Freplacebyclass.html;h=645e0e0574f9c7fe557631ac3079f41d6d313db3;hb=refs%2Ftags%2Fv3.6.4;hp=fd31e7da1fccb617adb0aa595ca4bf7b23625fa5;hpb=941b0a9ba4e673e292510d80a5a86806994b8ea6;p=ckeditor.git diff --git a/_samples/replacebyclass.html b/_samples/replacebyclass.html index fd31e7d..645e0e0 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. +

+
+