X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_samples%2Fskins.html;h=737cb0caecade9beedc0ff7f1a407fc1e01b656f;hb=3fe9cac293e090ea459a3ee10d78cbe9e1dd0e03;hp=3f26d04e521cb3ac65619a5aa5137fad7eef57e8;hpb=ea7e3453c7b0f023b050aca6d9f83ab372860d91;p=ckeditor.git diff --git a/_samples/skins.html b/_samples/skins.html index 3f26d04..737cb0c 100644 --- a/_samples/skins.html +++ b/_samples/skins.html @@ -1,20 +1,38 @@ - Sample - CKEditor - + Skins — CKEditor Sample + - + -

- CKEditor Sample +

+ CKEditor Sample — Skins

+
+

+ 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. +

+
+
-
-

- "Kama" skin:
- - -

-

- "Office 2003" skin:
- - +

+

"Office 2003" skin

+

Use the following code to configure a CKEditor instance to use the "Office 2003" skin.

+
CKEDITOR.replace( 'textarea_id',
+	{
+		skin : 'office2003'
+	});
+

+ + -

-

- "V2" skin:
- - +

+

"V2" skin

+

Use the following code to configure a CKEditor instance to use the "V2" skin.

+
CKEDITOR.replace( 'textarea_id',
+	{
+		skin : 'v2'
+	});
+ + -

-
+ //]]> + +