[TYPO3-rte] Control nesting of tags
Michael Bakonyi
kontakt at mb-neuemedien.de
Wed May 8 18:57:05 CEST 2013
Hi,
I'd like to remove p-tags within li-tags or div-tags within td-tags. Is
it possible to control nesting like that?
So far I've tried things like that:
lib.parseFunc_RTE {
externalBlocks = article, aside, blockquote, div, dd, dl, footer,
header, nav, ol, section, table, ul, li
externalBlocks {
li.callRecursive=1
li.callRecursive.tagStdWrap.HTMLparser = 1
li.callRecursive.tagStdWrap.HTMLparser.tags.li.removeTags = p
}
}
or
tt_content.text.20.parseFunc.externalBlocks {
li.stdWrap.HTMLparser = 1
li.stdWrap.HTMLparser.removeTags = p
}
or
tt_content.text.20.parseFunc_RTE{
externalBlocks = article, aside, blockquote, div, dd, dl, footer,
header, nav, ol, section, table, ul, li
externalBlocks {
li.stdWrap.HTMLparser = 1
li.stdWrap.HTMLparser.allowTags = span
}
}
Nothing of this is working so I guess I misunderstand the examples I
found so far ...
Cheers,
Michael
More information about the TYPO3-project-rte
mailing list