X-Git-Url: https://scm.cri.ensmp.fr/git/ckeditor.git/blobdiff_plain/e11f66eb655db8339a2d9b197b89f6c3b26099e1..579f65bc95a773bc6f8da75f6849ea49f365368b:/skins/ckeditor/samples/plugins/wysiwygarea/fullpage.html diff --git a/skins/ckeditor/samples/plugins/wysiwygarea/fullpage.html b/skins/ckeditor/samples/plugins/wysiwygarea/fullpage.html new file mode 100644 index 0000000..174a25f --- /dev/null +++ b/skins/ckeditor/samples/plugins/wysiwygarea/fullpage.html @@ -0,0 +1,77 @@ + + + +
+ +
+ This sample shows how to configure CKEditor to edit entire HTML pages, from the
+ <html> tag to the </html> tag.
+
+ The CKEditor instance below is inserted with a JavaScript call using the following code: +
+
+CKEDITOR.replace( 'textarea_id', {
+ fullPage: true,
+ allowedContent: true
+});
+
+
+ Note that textarea_id in the code above is the id attribute of
+ the <textarea> element to be replaced.
+
+ The allowedContent in the code above is set to true to disable content filtering.
+ Setting this option is not obligatory, but in full page mode there is a strong chance that one may want be able to freely enter any HTML content in source mode without any limitations.
+