X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_samples%2Ffullpage.html;h=7f24f029e072c2812d29ad4ff25887d61fafb0a8;hb=6e682412d5cc0dfaedb376482e585bf2989c6863;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 @@
-
+ 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.
+