Samuel
-
Total Posts
:
11786
-
Reward points
:
168350
- Joined: May 23 '01
-
Status: offline
|
Customizing the Editor for your new theme
Tue. Aug 12, '08 2:54 PM
( permalink)
The editor has a different theme engine from the rest of the system. If you create your own theme (e.g. MyTheme), and for example would like to change the editor's content area color, you can do so this way: - The default editor theme CSS content area is defined in ~/RadControls/Editor/Skins/Default2006/EditorContentArea.css .
- Duplicate the Default2006 folder in the Skins directory (give it a name you like), and modify the EditorContentArea.css in this new folder to match your style. This folder name will be the new skin name for the editor for your new theme.
- under the ~/editor directory, duplicate both RegConfigFile.xml and SimConfigFile.xml (give the duplicate a new name you like), and change the value of
<property name="Skin">Default2006</property> in these 2 xml files to the new folder (skin) name you set in step 2. - under the ~/editor directory again, duplicate the EditorAdditional.css file (give it a new name) for your new theme, if you want to change some css defined here.
- Open your Rad.skin file under your own theme folder (~/App_Themes/MyTheme/Rad.skin), change the ConfigFile attribute for both RadEditor tags to the new xml files you duplicated in step 3. Do the same for the CssFiles attribute if necessary.
That's it. It is a little more involved because the way the skin is managed in this Telerik RadEditor. But it shouldn't be too difficult for you to manage if you follow my instruction precisely.
<message edited by Samuel on Tue. Aug 12, '08 6:03 PM>
ASPPlayground.NET ~ see our Version 4 plans here
|
|
|
|