X-Git-Url: https://scm.cri.ensmp.fr/git/ckeditor.git/blobdiff_plain/256592bf803e851aa7fc953e08a6e9e58d970f8c..871bad8291b6dbc29d489d95d185458caab25158:/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..117640f --- /dev/null +++ b/skins/ckeditor/_samples/replacebyclass.html @@ -0,0 +1,64 @@ + + + + + Replace Textareas by Class Name — 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. +

+
+ + +
+ +
+
+

+ + +

+

+ +

+
+ + +