X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=_samples%2Freplacebyclass.html;h=c397193713cb1acb1f866d220ca05add9d34c4dc;hb=a272c66d841421f8bf933c16535bdcde1c4649fc;hp=0b58cf27386b731e81e6f1f801da798924bbbe57;hpb=ea7e3453c7b0f023b050aca6d9f83ab372860d91;p=ckeditor.git diff --git a/_samples/replacebyclass.html b/_samples/replacebyclass.html index 0b58cf2..c397193 100644 --- a/_samples/replacebyclass.html +++ b/_samples/replacebyclass.html @@ -1,20 +1,35 @@
-
+ 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.
+
+ + +
++ +
+