indvd00m@0: indvd00m@0: indvd00m@0: indvd00m@0:
indvd00m@0: indvd00m@0:
indvd00m@0: This sample shows how to configure CKEditor to output valid
indvd00m@0: HTML 4.01 code.
indvd00m@0: Traditional HTML elements like <b>,
indvd00m@0: <i>, and <font> are used in place of
indvd00m@0: <strong>, <em>, and CSS styles.
indvd00m@0:
indvd00m@0: To add a CKEditor instance outputting legacy HTML 4.01 code, load the editor using a standard indvd00m@0: JavaScript call, and define CKEditor features to use the HTML compliant elements and attributes. indvd00m@0:
indvd00m@0:indvd00m@0: A snippet of the configuration code can be seen below; check the source of this page for indvd00m@0: full definition: indvd00m@0:
indvd00m@0:
indvd00m@0: CKEDITOR.replace( 'textarea_id', {
indvd00m@0: coreStyles_bold: { element: 'b' },
indvd00m@0: coreStyles_italic: { element: 'i' },
indvd00m@0:
indvd00m@0: fontSize_style: {
indvd00m@0: element: 'font',
indvd00m@0: attributes: { 'size': '#(size)' }
indvd00m@0: }
indvd00m@0:
indvd00m@0: ...
indvd00m@0: });
indvd00m@0: