X-Git-Url: http://wagnertech.de/git?p=kivitendo-erp.git;a=blobdiff_plain;f=js%2Fckeditor%2Fsamples%2Fold%2Freplacebyclass.html;fp=js%2Fckeditor%2Fsamples%2Fold%2Freplacebyclass.html;h=2edbf49349f783e5187806058183a831014bc943;hp=0000000000000000000000000000000000000000;hb=53593baa211863fbf66540cf1bcc36c8fb37257f;hpb=deb4d2dbb676d7d6f69dfe7815d6e0cb09bd4a44 diff --git a/js/ckeditor/samples/old/replacebyclass.html b/js/ckeditor/samples/old/replacebyclass.html new file mode 100644 index 000000000..2edbf4934 --- /dev/null +++ b/js/ckeditor/samples/old/replacebyclass.html @@ -0,0 +1,60 @@ + + + +
+ +
+ 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.
+