[Typo3-dev] rte_pb_htmlarea
Rob De Vries
spam_this at pandora.be
Mon Sep 6 17:11:27 CEST 2004
I did not noticed this seperate behaviour before, but now you mention it
IE/win en firefox/win react different with the RTE.
IE indeed don't start with a <br> or <p> </p> and it also makes brakes
different.
You can add a normal <br> when you use enter and it will start a new p when
you just press shift-enter
Mozilla based browsers only add <br>
I have to say that i convert my <p> to <br>
the <p> </p> still gives me headaches, when you start a new text
element with mozilla it will ad a <br> the first time,
this <br> gets converted to <p><br /></p>
<p> </p> when you press save (even without any real text added in the
rte)
i have the following code in my TSconfig
#RTE.default {
RTE.config.tt_content.bodytext {
proc.preserveTables = 1
proc.entryHTMLparser_db = 1
proc.entryHTMLparser_db {
keepNonMatchedTags = 1
xhtml_cleaning = 0
}
hidePStyleItems = 0
}
RTE >
RTE.config.tt_content.bodytext {
showButtons =
cut,copy,paste,formatblock,class,fontstyle,fontsize,textcolor,bold,italic,un
derline,left,center,right,orderedlist,unorderedlist,outdent,indent,link,line
,user
defaultLinkTarget =
dontConvBRtoParagraph = 1
proc.overruleMode = ts_css
proc.preserveTables = 1
proc.dontConvBRtoParagraph = 1
proc.entryHTMLparser_db = 1
proc.entryHTMLparser_db {
htmlSpecialChars = 0
allowTags =
table,tr,td,p,div,img,hr,a,br,b,strong,i,em,u,li,ul,ol,span,h1,h2,h3,h4,h5,h
6,dl,dt,dd
allowTagsOutside =
table,tr,td,p,div,img,hr,a,br,b,strong,i,em,u,li,ul,ol,span,h1,h2,h3,h4,h5,h
6,dl,dt,dd
allowTagsInTypolists =
table,tr,td,p,div,img,hr,a,br,b,strong,i,em,u,li,ul,ol,span,h1,h2,h3,h4,h5,h
6,dl,dt,dd
}
}
RTE.config.tt_content.bodytext < RTE.default
the clear-gif is not RTE related, you have to disable the spaces between
your elements.
When working with css_styled_content i think this is disabled by default,
but not shure.
hope it helps you a bit.
i have to agree, the RTE can be "a pain in the *ss"
rob
More information about the TYPO3-dev
mailing list