X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_samples%2Fskins.html;h=a9d7b6e248842b15ee265ca31955167b98840aed;hp=7f8ea831cbaa396c5026d9ec863c33d811cd7e18;hb=48b1db88210b4160dce439c6e3e32e14af8c106b;hpb=9afde8772159bd3436f1f5b7862960307710ae5a diff --git a/_samples/skins.html b/_samples/skins.html index 7f8ea83..a9d7b6e 100644 --- a/_samples/skins.html +++ b/_samples/skins.html @@ -1,20 +1,38 @@
-
+ This sample shows how to automatically replace <textarea>
elements
+ with a CKEditor instance using a specific skin.
+
+ CKEditor with a specified skin (in this case, the "Office 2003" skin) is inserted with a JavaScript call using the following code: +
+CKEDITOR.replace( 'textarea_id', + { + skin : 'office2003' + });+
+ Note that textarea_id
in the code above is the id
attribute of
+ the <textarea>
element to be replaced.
+