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?


Reply


2 Posts   801 Views

Avatar
Romeo

Community Member, 67 Posts

27 January 2010 at 1:41am

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?

Avatar
Romeo

Community Member, 67 Posts

27 January 2010 at 2:09am

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