Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » adding to the list of preformatted options

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 855 Views
  • Nicolaas
    Avatar
    Forum Moderator
    213 Posts

    adding to the list of preformatted options Link to this post

    Hi Folk

    In the cms, there are options for h1, h2, h3. What would be best practice for adding a custom style? Can you do that? It would be good to give clients something like one alternative colour option so that they can highlight bit of text.

    I thought of one method:

    1. take something like strikethrough (hardly used).
    2. change your css for strikethrough to pink font colour
    3. find out in the CMS what the image is for strikethrough (e.g. jsparty/tiny_mce2/themes/advanced/images/strikethrough.gif) and replace it with a nice pink button.

    Is that a hack with a silver lining?

    Keen to know if there is a more professional way within SS, or should I acces tiny_mce2 directly.

    Nicolaas

    855 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.