indvd00m@0: indvd00m@0: indvd00m@0: indvd00m@0:
indvd00m@0: indvd00m@0:
indvd00m@0: This sample shows how to configure CKEditor to edit entire HTML pages, from the
indvd00m@0: <html> tag to the </html> tag.
indvd00m@0:
indvd00m@0: The CKEditor instance below is inserted with a JavaScript call using the following code: indvd00m@0:
indvd00m@0:
indvd00m@0: CKEDITOR.replace( 'textarea_id', {
indvd00m@0: fullPage: true,
indvd00m@0: allowedContent: true
indvd00m@0: });
indvd00m@0:
indvd00m@0:
indvd00m@0: Note that textarea_id in the code above is the id attribute of
indvd00m@0: the <textarea> element to be replaced.
indvd00m@0:
indvd00m@0: The allowedContent in the code above is set to true to disable content filtering.
indvd00m@0: 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.
indvd00m@0: