Closed (fixed)
Project:
CKEditor 4 - WYSIWYG HTML editor
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Feb 2010 at 07:55 UTC
Updated:
18 Mar 2010 at 15:40 UTC
When using this module previously, I noticed that the editor does not produce valid strict XHTML code - it uses <u> tags and <strike> tags - both of which are not valid XHTML. Is this a setting that the module could somehow configure to ensure that valid code is produced?
Comments
Comment #1
danny_joris commentedI was about to search this in the issue queue and then saw your issue in the 'last issues' sidebar. I'm wondering about this as well...
Comment #2
wwalc commentedSorry for late reply, you can change it in ckeditor.config.js, see CKEditor documentation:
http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.core...
Comment #3
jaypanThanks, I just tried that out and it worked.
If anyone else comes across this, the file is in the ckeditor root folder (if you installed the module in the standard location, it will be at: sites/all/modules/ckeditor/ckeditor.config.js)
At the very end, before the closing }, I added:
Note: At the very least you will need to clear your browser cache (ctrl + F5, command + F5 on a mac), and if you have javascript caching turned on in Drupal, you will need to clear that cache as well before your changes take effect.