Reputation: 633
I am using TYPO3 7.6.2 and I can't use html inside the standard table element any more, because TYPO3 escape html tags inside the table element. Is there a specific RTE configuration which I have to enable or something else? My current RTE configuration looks like the following:
RTE.default {
contentCSS = EXT:my_distribution/Resources/Public/Css/rte.css
proc {
allowedClasses := addToList(blue, button, caption, center, more, responsive, responsive2, subcaption, white)
}
showButtons := addToList(pastetoggle)
buttons {
blockstyle.tags.p.allowedClasses := addToList(caption, subcaption, white)
blockstyle.tags.table.allowedClasses := addToList(responsive, responsive2)
textstyle.tags.span.allowedClasses := addToList(blue, center, more, subcaption, white)
link.properties.class.allowedClasses := addToList(button)
pastetoggle.setActiveOnRteOpen = 1
}
}
I don't want that an editor have to use plain html tables inside a text content element or a html content element.
Upvotes: 0
Views: 3113
Reputation: 1880
It was no longer supported in TYPO3 7.6 + but you can also override it by
tt_content.table.20.innerStdWrap.htmlSpecialChars >
tt_content.table.20.innerStdWrap.parseFunc = < lib.parseFunc
in your setup file
Upvotes: 3
Reputation: 633
Html not longer supported for CE table.
workaround 1: use html table in combination with rte
workaround 2: revoke security changes from the following patch https://review.typo3.org/#/c/45281/, if you trust your editors
I recommend workaround 1, but I think some editors will not like this solution. So maybe it is better to develop a simple extension which can handle flexible tables.
Upvotes: 1