To enable microdata in RTE i think i have to add the attributes for each tag in RTE config in the root pages TSconfig.
There are many examples, how to add a attribute for a tag, e.g. xml:lang:
RTE.default.proc {
entryHTMLparser_db = 1
entryHTMLparser_db.allowTags < RTE.default.proc.allowTags
entryHTMLparser_db.tags.div.allowedAttribs = xml:lang
}
This works very fine.
But when i try to adopt this for itemprop, itemscope and itemtype:
RTE.default.proc {
entryHTMLparser_db = 1
entryHTMLparser_db.allowTags < RTE.default.proc.allowTags
entryHTMLparser_db.tags.div.allowedAttribs = itemprop, itemscope, itemtype
}
it's not working. Does somebody know how to add microdata attributes in RTE?
@pgampe Did you mean the TYPO3 4.7 Specifications? http://wiki.typo3.org/TYPO3_4.7#HTML5_frontend_rendering
The site, where i want to enable microdata attributes, is a Typo3 4.5 LTS. So i think there is no possibility to use microdata in Typo3 < 4.7 ?