CKEditor Samples » Full Page Editing with Document Properties Plugin

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.

Rich Text EditorEditor toolbarsDocument Source Save New Page Document Properties Preview Print TemplatesClipboard/Undo Cut Copy Paste Paste as plain text Paste from Word Undo RedoEditing Find Replace Select All Check Spelling Spell Check As You Type Forms Form Checkbox Radio Button Text Field Textarea Selection Field Button Image Button Hidden FieldBasic Styles Bold Italic Underline Strike Through Subscript Superscript Remove FormatParagraph Insert/Remove Numbered List Insert/Remove Bulleted List Decrease Indent Increase Indent Block Quote Create Div Container Align Left Center Align Right Justify Text direction from left to right Text direction from right to leftLinks Link Unlink AnchorInsert Image Flash Table Insert Horizontal Line Smiley Insert Special Character Insert Page Break for Printing IFrameStylesStylesStylesFormatFormatFontFontSizeSizeColors Text Color  Background Color Tools Maximize Show Blocksabout About CKEditorPress ALT 0 for helpElements path