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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

Applying style outside content area?


Go to End


2 Posts   1343 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.