P.Muralikrishna
P.Muralikrishna

Reputation: 1289

How to add custom tags to rich text field in SDL Tridion?

In SDL Tridion 2011 SP1, I want to allow custom XML tags (nodes) inside rich text field (RTF) such as

<dynamicVariable name='ABC'></dynamicVariable>

This triggers the error

Field 'text' contains invalid markup

How do I allow such custom tags?

Upvotes: 0

Views: 1889

Answers (1)

Nuno Linhares
Nuno Linhares

Reputation: 10234

There is a file named TcmXhtml.Config under [Tridion]\web\WebUI\Core\Controls\FormatArea\TcmXhtml where you can specify additional block tags that Tridion should accept in RTF.

Do keep in mind that there's a good reason why Rich Text fields comply to standards like Xhtml.

Upvotes: 6

Related Questions