X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_samples%2Ffullpage.html;h=4315f3b7785bd13368a50e1dfa0a8f9cb2f8e6d1;hb=a272c66d841421f8bf933c16535bdcde1c4649fc;hp=bdd301e5cb465f6c095b90b4fbd01c154b239dd4;hpb=941b0a9ba4e673e292510d80a5a86806994b8ea6;p=ckeditor.git diff --git a/_samples/fullpage.html b/_samples/fullpage.html index bdd301e..4315f3b 100644 --- a/_samples/fullpage.html +++ b/_samples/fullpage.html @@ -1,20 +1,44 @@
-
+ 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.
+