October 26, 2010

Setting the editor stylesheet in Sitecore

Filed under: Sitecore — joel.cass @ 11:02 am

Recently I was working on a site in Sitecore, and was thinking that it would be great if the editor stylesheet could be changed in the system.

Searching the Internet was generally fruitless, and looking through the core data, I couldn’t find any stylesheet config strings. Then, I stumbled upon the SIP Intranet guide, which pointed out that the editor stylesheet is in the web.config:

(section 4.2.1) The stylesheet that is used for the styling of the rich text fields within the editor is determined by the WebStylesheet setting in the web.config file.

And there it is:

Changing this field did actually update the CSS used in the editor, as well as populate the styles listed.


  1. Sitecore documentation about configuring the editor:

    A custom approach for applying different stylesheets under different conditions:

    Comment by John West — October 27, 2010 @ 4:22 am

  2. Thanks John!

    Comment by joel.cass — October 28, 2010 @ 12:44 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment