X-Git-Url: https://scm.cri.minesparis.psl.eu/git/ckeditor.git/blobdiff_plain/256592bf803e851aa7fc953e08a6e9e58d970f8c..871bad8291b6dbc29d489d95d185458caab25158:/skins/ckeditor/_samples/skins.html diff --git a/skins/ckeditor/_samples/skins.html b/skins/ckeditor/_samples/skins.html new file mode 100644 index 0000000..a9d7b6e --- /dev/null +++ b/skins/ckeditor/_samples/skins.html @@ -0,0 +1,110 @@ + + + +
+
+ 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.
+