modxcms / fred

The friendly front-end editor for visual, drag-and-drop content building in MODX CMS
https://fred.modx.com
MIT License
59 stars 25 forks source link

HTML tags in text and textarea options #368

Closed esshevelev closed 4 years ago

esshevelev commented 4 years ago

Hey people. I want to use tags such as br, strong, italic for text in option fields of elements. When saved, tags are visible as plain text. I can’t understand how to make the browser consider them HTML tags. It seems like something like a htmlspecialchars() function is being used. If it is impossible to use tags in options, then how to make a line brake?

zaigham commented 4 years ago

I think you might be looking for https://modxcms.github.io/fred/themer/elements/attributes/#data-fred-rte