Jump to:

23372 Posts in 18175 Topics by 2865 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, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 703 Views
  • Romeo
    Avatar
    Community Member
    67 Posts

    Applying style outside content area? Link to this post

    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?

  • Romeo
    Avatar
    Community Member
    67 Posts

    Re: Applying style outside content area? Link to this post

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

    703 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.