X-Git-Url: https://scm.cri.ensmp.fr/git/ckeditor.git/blobdiff_plain/e11f66eb655db8339a2d9b197b89f6c3b26099e1..579f65bc95a773bc6f8da75f6849ea49f365368b:/skins/ckeditor/samples/replacebyclass.html diff --git a/skins/ckeditor/samples/replacebyclass.html b/skins/ckeditor/samples/replacebyclass.html new file mode 100644 index 0000000..6fc3e6f --- /dev/null +++ b/skins/ckeditor/samples/replacebyclass.html @@ -0,0 +1,57 @@ + + + +
+ +
+ 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.
+