I've read thead http://dev.fckeditor.net/ticket/2163 which explains that regular HTML is now supported, however...
I am running v2.6.2, and yet fckeditor seems to still insert " />" regardless of the doctype.
Also worth noting that "sample01.html" provided in the samples is NOT "a normal HTML form" as described, but instead it is an XHTML form.
Try a TRUE HTML sample (see http://www.pastie.org/222525.txt), and test it with fckeditor, you'll see...
PS. there is no good reason to use XHTML over HTML anyway, anyone who thinks otherwise is deluded, see these for details:
http://www.webdevout.net/articles/beware-of-xhtml
http://friendlybit.com/html/why-xhtml-is-a-bad-idea/
http://hixie.ch/advocacy/xhtml
Forget XHTML, let's make valid HTML!
Can someone please fix this bug?
Thanks.
Thu, 06/26/2008 - 12:18
#1
Re: no HTML?
Re: no HTML?
As for HTML vs. XHTML, nobody really cares whether you or anybody else on the team likes HTML or not. There is demand for it and if you cannot satisfy this demand, just state that not supporting HTML is a design decision. Don't pass your opinion on HTML as knowledge.
Andre
Re: no HTML?
Please accept my sincere apologies for the comments posted by mosipov. He's a brilliant Java developer who donates part of his time to our project, also trying to bring some support in these forums, but he doesn't represent in any way our team. He, just like many of you, is just trying to collaborate.
In any case, this kind of behavior and rudeness is unacceptable. I'm making mosipov note it, inviting him to reflect about it. He's young and unprepared. Hopefully this situation will help him grow up, making him understand that it is better to stay away sometimes, instead of throwing useless, rude and personal points of view to, after all, valid requests and discussions.
I'm sorry again. This situation should not happen any more.
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn
Re: no HTML?
Now, back to the original message, setting the doctype of the page will not make it work in any way. You must instead set the DocType setting in the fckconfig.js file.
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn
Re: no HTML?
So simple, yet so complicated...

I obviously didn't correctly read the documentation, it was a bit late in the day, or early morning, however you want to look at it.
Judging by this http://dev.fckeditor.net/changeset/2022
I only need to set
FCKConfig.DocType = 'DTD HTML';
or
oFCKeditor.Config['DocType'] = 'DTD HTML';
which should match and begin producing lovely HTML code, right?
Seems so.
Thanks for the assistance. You've been most helpful.
Re: no HTML?
I recommend you using the full HTML4 doctype:
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn