X-Git-Url: https://scm.cri.ensmp.fr/git/ckeditor.git/blobdiff_plain/256592bf803e851aa7fc953e08a6e9e58d970f8c..871bad8291b6dbc29d489d95d185458caab25158:/skins/ckeditor/_samples/fullpage.html diff --git a/skins/ckeditor/_samples/fullpage.html b/skins/ckeditor/_samples/fullpage.html new file mode 100644 index 0000000..0b0070e --- /dev/null +++ b/skins/ckeditor/_samples/fullpage.html @@ -0,0 +1,82 @@ + + + +
+
+ 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.
+