How to add custom tags to rich text field in SDL Tridion?
Pregunta
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?
Solución
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.
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow