Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Applying style outside content area?


2 Posts   733 Views


27 January 2010 at 1:41am Community Member, 67 Posts

Finishing off a project here and now find that some text which is entered into a field outside the TinyMCE content area in the back end needs to have a section italicized. Rather than do a redesign at this stage, I'd like to find some way of applying italics to the text in question. I tried using the standard HTML italic tags, but they ended up showing up in the text as seen in the browser (and the next was not italicized). Alternatively, is it possible to have a second area defined as a TinyMCE edit area as well?


27 January 2010 at 2:09am Community Member, 67 Posts

I solved this by replacing $Introduction (my field name) with $Introduction.RAW in the template, which allowed me to use the italic tags.