X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_samples%2Ffullpage.html;h=7f24f029e072c2812d29ad4ff25887d61fafb0a8;hb=2f22c0c38f17e75be5541089076885442aaa2377;hp=bdd301e5cb465f6c095b90b4fbd01c154b239dd4;hpb=941b0a9ba4e673e292510d80a5a86806994b8ea6;p=ckeditor.git diff --git a/_samples/fullpage.html b/_samples/fullpage.html index bdd301e..7f24f02 100644 --- a/_samples/fullpage.html +++ b/_samples/fullpage.html @@ -1,20 +1,44 @@ - Full Page Editing - CKEditor Sample + Full Page Editing with Document Properties Plugin — CKEditor Sample -

- CKEditor Sample +

+ CKEditor Sample — Full Page Editing with Document Properties Plugin

+
+

+ This sample shows how to configure CKEditor to edit entire HTML pages, from the + <html> tag to the </html> tag. +

+

+ The Document Properties (docprops) plugin is also turned on. + This plugin allows you to set the metadata of the page, including the page encoding, margins, + meta tags, or background. +

+

+ The CKEditor instance below is inserted with a JavaScript call using the following code: +

+
CKEDITOR.replace( 'textarea_id',
+	{
+		fullPage : true,
+		extraPlugins : 'docprops'
+	});
+

+ Note that textarea_id in the code above is the id attribute of + the <textarea> element to be replaced. +

+
+
-

- In this sample the editor is configured to edit entire HTML pages, from the <html> - tag to </html>.

-


+ CKEditor using the docprops plugin and working in the Full Page mode: -

@@ -51,10 +71,10 @@ For licensing, see LICENSE.html or http://ckeditor.com/license