Ja, das "mytag" aus dem Typo3org-Post hab ich jeweils durch mein "lex" ersetzt.
Hier nochmal mein komplettes TSConfig :
RTE.default >
### Versuch, den <LEX>-Tag zum Laufen zu bringen - START
RTE.default.proc.overruleMode = ts_css
RTE.default.proc.allowTags=lex
RTE.default.proc.entryHTMLparser_db = 1
RTE.default.proc.entryHTMLparser_db {
htmlSpecialChars = -1
allowTags = lex,table,tr,td,div,img,hr,b,i,u,a,br,pre,strong,em,li,ul,ol,h1,h2,h3,h4,h5,h6,span,p,b,th
}
RTE.default.proc.entryHTMLparser_rte = 1
RTE.default.proc.entryHTMLparser_rte {
htmlSpecialChars = -1
allowTags = lex,table,tr,td,div,img,hr,b,i,u,a,br,pre,strong,em,li,ul,ol,h1,h2,h3,h4,h5,h6,span,p,b,th
}
RTE.default.proc.exitHTMLparser_db = 1
RTE.default.proc.exitHTMLparser_db {
htmlSpecialChars = -1
allowTags = lex,table,tr,td,div,img,hr,b,i,u,a,br,pre,strong,em,li,ul,ol,h1,h2,h3,h4,h5,h6,span,p,b,th
}
RTE.default.proc.exitHTMLparser_rte = 1
RTE.default.proc.exitHTMLparser_rte {
htmlSpecialChars = -1
allowTags = lex,table,tr,td,div,img,hr,b,i,u,a,br,pre,strong,em,li,ul,ol,h1,h2,h3,h4,h5,h6,span,p,b,th
}
RTE.default.userElements {
# Category with various elements
10 = Various elements | Diverse elements
10 {
# The text-selection is wrapped with <lex> tags.
1 = Special tag
1.description = Selected text is wrapped in <lex>-tags.
1.mode = wrap
1.content = <lex>|</lex>
}
}
### Versuch, den <LEX>-Tag zum Laufen zu bringen - ENDE
RTE.default {
proc.dontConvBRtoParagraph = 1
disableColorPicker = 1
hidePStyleItems = h3,h4,h5,h6,pre
mainStyleOverride = BODY { border: 1px black solid; margin : 2 5 2 5; border-top: none; font-family:Verdana; font-size:10px; color:black; background-color:white; } H1 { font-size:14px; color:navy; text-decoration: underline; } H2 { font-size:11px; color:black; font-style: bold; }
mainStyleOverride_add.H1 = font-size:14px; color:navy; text-decoration: underline;
mainStyleOverride_add.H2 = font-size:11px; color:black; font-style: bold;
}
RTE.config.tt_content.bodytext.types.text {
showButtons=cut,copy,paste,formatblock,class,bold,italic,underline,left,center,right,orderedlist,unorderedlist,outdent,indent,link,user
hideButtons = image
}
RTE.config.tt_content.bodytext.types.textpic {
showButtons=cut,copy,paste,formatblock,class,bold,italic,underline,left,center,right,orderedlist,unorderedlist,outdent,indent,link,user
hideButtons = image
}
jenses