Hi,
I am using FCKeditor with PHP. My pages are XHTML 1.1, and thus I am using the "application/xhtml+xml" MIME type for all my pages.
I have this in top of my PHP pages:
header("Content-Type: application/xhtml+xml; charset=ISO-8859-1");
However, this causes FCKeditor to not load (none of the toolbars show up).
When I remove the line, it works. What can I do to make it work with the application/xhtml+xml mime type?
Thanks.
I am using FCKeditor with PHP. My pages are XHTML 1.1, and thus I am using the "application/xhtml+xml" MIME type for all my pages.
I have this in top of my PHP pages:
header("Content-Type: application/xhtml+xml; charset=ISO-8859-1");
However, this causes FCKeditor to not load (none of the toolbars show up).
When I remove the line, it works. What can I do to make it work with the application/xhtml+xml mime type?
Thanks.
RE: Editor not loading when using xml mime ty
In the bug reports I can find in the first page this one:
https://sourceforge.net/tracker/index.p ... tid=543653
If the solution to make FCKeditor work in XHTML is to remove the use of document.write I see a big problem because that call is used in very few places (no more than four), but those places are very important.
Of course if you are trying to use IE then forget about it, IE doesn't work with XHTML pages served with the proper MIME type.
Indeed the trend it is to ignore the XHTML doctypes and just use well formed HTML 4 as stated for example in this article: http://www.spartanicus.utvinternet.ie/no-xhtml.htm