Thanks for that. I can also post-process the html output directly before it is saved to a database table. However, it does mean that I will need to make sure that I know all of the differences between XHTML 1.0 markup and HTML4.01 strict so that I can provide the necessary translation. If this only requires the removal of the trailing forward slash, then it is simple. Unfortunately, I suspect there will be much more that needs to be done.
Has anyone documented the significant differences between the two specifications?
Vastly simpler: edit ckeditor.js and change "n.selfClosingEnd=' />'" to "n.selfClosingEnd='>'". Done.
I had to make a similar change to stop all the indenting within tags ("breakAfterOpen:false").
If someone knows a one-liner to add to the config to do this outside of core files, please comment.
If none, please seriously consider adding simple config options like this. Basic things that come up all the time should be listed in the config but commented out, or in some included cheatsheet: various custom buttons (insert text, add quotes around a word, insert class, etc.), use html 4 style tags, stop indenting the html, etc., etc.
Or why not a wiki? Or even just add a snippets forum???!!! Can you imagine how much wasted time would be saved?
Otherwise it is a nightmare to figure out, you can wait ages before getting an answer on the forum. Taken me days and tons of searching just to set basic things and I still don't know how to insert text at the cursor via a button or dropdown list. Why not include a basic widget or code for that sort of common task? Anyone?
Re: v3 Support for HTML4.01 Strict
CKEDITOR.replace( 'editor1', { on : { pluginsLoaded : function() { this.dataProcessor.writer.selfClosingEnd = '>'; } } });Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn
Re: v3 Support for HTML4.01 Strict
Has anyone documented the significant differences between the two specifications?
Cheers,
Chris
Re: v3 Support for HTML4.01 Strict
I had to make a similar change to stop all the indenting within tags ("breakAfterOpen:false").
If someone knows a one-liner to add to the config to do this outside of core files, please comment.
If none, please seriously consider adding simple config options like this. Basic things that come up all the time should be listed in the config but commented out, or in some included cheatsheet: various custom buttons (insert text, add quotes around a word, insert class, etc.), use html 4 style tags, stop indenting the html, etc., etc.
Or why not a wiki? Or even just add a snippets forum???!!! Can you imagine how much wasted time would be saved?
Otherwise it is a nightmare to figure out, you can wait ages before getting an answer on the forum. Taken me days and tons of searching just to set basic things and I still don't know how to insert text at the cursor via a button or dropdown list. Why not include a basic widget or code for that sort of common task? Anyone?