17691 Posts in 4607 Topics by 2180 members
General Questions
SilverStripe Forums » General Questions » Applying style outside content area?
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba
|
Page:
1
|
Go to End | |
| Author | Topic: | 466 Views |
-
Applying style outside content area?

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?
-
Re: Applying style outside content area?

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.
| 466 Views | ||
|
Page:
1
|
Go to Top |

