Hi,
I'm trying to set editor output to HTML4.0. in CKEditor 3.0.1 and 3.0.2
I modified config.js:
// Set the doctype to the HTML 4 (quirks) mode.
config.docType = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">';
but output is still in XHTML
(for example <br/> instead <br>)
Please can anybody confirm (or not) that this functionality works well or is there some bug?
In previous version 2.6.x setting doctype works fine.
I'm trying to set editor output to HTML4.0. in CKEditor 3.0.1 and 3.0.2
I modified config.js:
// Set the doctype to the HTML 4 (quirks) mode.
config.docType = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">';
but output is still in XHTML
(for example <br/> instead <br>)
Please can anybody confirm (or not) that this functionality works well or is there some bug?
In previous version 2.6.x setting doctype works fine.
Re: DocType - HTML4.0 not works?
In CKEditor you can alter the way that the output is generated with much greater control than it was possible in FCKeditor, so you just need to write the proper code to match what you want (check the docs and the source code)
Re: DocType - HTML4.0 not works?
I would like to use a HTML strict doctype, but setting the config.docType variable doesn't do a thing. I'm using version 3.1.
Re: DocType - HTML4.0 not works?
Is this a bug or am I doing something wrong?