/var/www/vhosts/bsbdokum.com.tr/httpdocs/admin/assets/ckeditor/samples/old
NameSizeModeActions
assets/-0755rm
dialog/-0755rm
enterkey/-0755rm
htmlwriter/-0755rm
magicline/-0755rm
toolbar/-0755rm
wysiwygarea/-0755rm
ajax.html26450644editdlrm
api.html71220644editdlrm
appendto.html22570644editdlrm
datafiltering.html471420644editdlrm
divreplace.html45500644editdlrm
index.html56730644editdlrm
inlineall.html99090644editdlrm
inlinebycode.html60900644editdlrm
inlinetextarea.html48310644editdlrm
jquery.html74480644editdlrm
readonly.html28670644editdlrm
replacebyclass.html69750644editdlrm
replacebycode.html68790644editdlrm
sample.css47570644editdlrm
sample.js16450644editdlrm
sample_posteddata.php7930644editdlrm
tabindex.html23500644editdlrm
uicolor.html25570644editdlrm
uilanguages.html44300644editdlrm
xhtmlstyle.html68180644editdlrm
Edit: /var/www/vhosts/bsbdokum.com.tr/httpdocs/admin/assets/ckeditor/samples/old/xhtmlstyle.html (6818B)
XHTML Compliant Output — CKEditor Sample

CKEditor Samples » Producing XHTML Compliant Output

This sample is not maintained anymore. Check out its brand new version in CKEditor SDK.

This sample shows how to configure CKEditor to output valid XHTML 1.1 code. Deprecated elements (<font>, <u>) or attributes (size, face) will be replaced with XHTML compliant code.

To add a CKEditor instance outputting valid XHTML code, load the editor using a standard JavaScript call and define CKEditor features to use the XHTML compliant elements and styles.

A snippet of the configuration code can be seen below; check the source of this page for full definition:

CKEDITOR.replace( 'textarea_id', {
	contentsCss: 'assets/outputxhtml.css',

	coreStyles_bold: {
		element: 'span',
		attributes: { 'class': 'Bold' }
	},
	coreStyles_italic: {
		element: 'span',
		attributes: { 'class': 'Italic' }
	},

	...
});