[TYPO3-RTE] html code and rte
mario
chiari.hm at flashnet.it
Wed Mar 8 16:07:32 CET 2006
Hello,
I appreciate your help.
I wish to display some HTML code on my final web page, say a line:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">.
If I paste the HTML code within the RTE textarea, that piece of code is
shown on the web page. So far sa good.
However, if I try to format the code by a RTE toolbar button or menu,
it does not work:
e.g., if I use the font menu and select, say, Courier, what I get
shown on the web page is:
<font face="Courier"><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN"></font>
and the corresponding html (source) code is:
<a id="c30"></a><pre id="line1" style="margin:0 0 0 0;
color:navy;"><font face="Courier"><span
class="doctype"><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN"></span></font><br /><
what am I doing wrong?
thanks
mario
ps as suggested on this list, the TS setup includes:
RTE.default.proc.entryHTMLparser_db.tags.span.fixAttrib.style.unset >
RTE.default.useCSS = 1
More information about the TYPO3-project-rte
mailing list