[TYPO3-rte] microdata from schema.org inside the rte

Stanislas Rolland typo3 at sjbr.ca
Thu Dec 15 16:18:06 CET 2011


Hi Dominic,
>
> hope someone can point me to the right direction. I want to allow
> microdata from schema.org inside of the rte.
>
> I tried this:
> proc.entryHTMLparser_db.tags.span.allowedAttribs := addToList(itemscope)
> and added into <span itemscope>some Dummy Content</span>
>
> But the rte is filtering the itemscope always out. Do I need to add some
> more configuration for getting it run?
>
I think you will also need:

RTE.default.proc.HTMLparser_db.tags.span.allowedAttribs := 
addToList(itemscope,itemtype,itemprop)

Because the RTE will not retrieve any attribute that has no value, you 
will also need to enter the itemscope attribute as
itemscope="itemscope"

Regards,
Stanislas





More information about the TYPO3-project-rte mailing list