Available styles in Edit mode XHTML property

Vote:
 

When I'm in Edit mode of a page with an XHTML property, there's a dropdownlist of styles on the html property window and it's pre-populated. Where does EPiServer actually pulls this data from?

I was wondering if we could add styles here so that non-designers could easily modify the contents and specify styles they want.

Thanks.

#52452
Jul 27, 2011 7:12
Vote:
 

Referring to the SDK:

It is possible to configure what css-files the editor, as well as the XForm editor loads and uses. This can be configured in two ways.

  1. As a property on the page. 
    This property can be either a dynamic or a standard page property. The property needs to be named UIEditorCssPaths and in the form of a comma separated list of paths to the stylesheets. Setting this in page or dynamic properties will override the correlating setting in Web.config.
  2. As a setting in Web.config.
    If no property is set the fallback will be to use the setting uiEditorCssPaths in web.config. This setting is also in the form of a comma separated list of paths to the stylesheets. The web.config setting will be used if no property on the page is set to point out alternative stylesheets.

Read more here: http://sdk.episerver.com/library/cms5/Developers%20Guide/How%20To/Change%20the%20CSS%20for%20the%20editor.htm

 

#52454
Jul 27, 2011 8:54
Vote:
 

Thanks Mari! It helped a lot!

#52463
Jul 28, 2011 2:03
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.