X-Git-Url: https://scm.cri.ensmp.fr/git/ckeditor.git/blobdiff_plain/e7f8fb547940c134de50db80ffaf54be1135ca7b..fbd145a2acd338b7bb7d152fa24692d8ff3e6b4c:/Products/ckeditor/skins/ckeditor/samples/plugins/wysiwygarea/fullpage.html diff --git a/Products/ckeditor/skins/ckeditor/samples/plugins/wysiwygarea/fullpage.html b/Products/ckeditor/skins/ckeditor/samples/plugins/wysiwygarea/fullpage.html new file mode 100644 index 0000000..174a25f --- /dev/null +++ b/Products/ckeditor/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.
+