CKEditor Sample — Full Page Editing

This sample shows how to configure CKEditor to edit entire HTML pages, from the <html> tag to the </html> tag.

CKEditor is inserted with a JavaScript call using the following code:

CKEDITOR.replace( 'textarea_id',
	{
		fullPage : true
	});

Note that textarea_id in the code above is the id attribute of the <textarea> element to be replaced.