X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_samples%2Fskins.html;h=b73f8b9adf7de7c3134b5a95a9a90b9a5cf85e05;hb=2f22c0c38f17e75be5541089076885442aaa2377;hp=7f8ea831cbaa396c5026d9ec863c33d811cd7e18;hpb=941b0a9ba4e673e292510d80a5a86806994b8ea6;p=ckeditor.git diff --git a/_samples/skins.html b/_samples/skins.html index 7f8ea83..b73f8b9 100644 --- a/_samples/skins.html +++ b/_samples/skins.html @@ -1,20 +1,38 @@ - Skins - CKEditor Sample + 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

+

The default skin used in CKEditor. No additional configuration is required.

- "Kama" 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'
+	});

- "Office 2003" skin:

-

- "V2" skin:
+

"V2" skin

+

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

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