X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_samples%2Freplacebyclass.html;h=645e0e0574f9c7fe557631ac3079f41d6d313db3;hb=2f22c0c38f17e75be5541089076885442aaa2377;hp=5aa6e020ac994bc2ea5ec086d65b7b4c2c43ee4b;hpb=7cd80714081a8ffdf4a1a8d2c72f120ed5ef3d6d;p=ckeditor.git diff --git a/_samples/replacebyclass.html b/_samples/replacebyclass.html index 5aa6e02..645e0e0 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.
+
+ + +
++ +
+