This is a migrated thread and some comments may be shown as answers.

Unable to change EditModes in ConfigFile

1 Answer 44 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Adam
Top achievements
Rank 1
Adam asked on 31 Jan 2011, 01:43 PM
I use RadEditorMOSS_5_8_4_Dev on WSS 3.0. I changed ListToolsFile.xml file:
<configuration>
<property name="EditModes">Design</property>
<property name="Height">240px</property>
<property name="Width">100%</property>
<property name="EnableResize">false</property>
</configuration>
The RadEditor render Design and Preview mode. Could you tell why RadEditor doesn't render only Design mode?

I found the answer in this post:
http://www.telerik.com/community/forums/sharepoint-2007/full-featured-editor/cannot-remove-preview-tab.aspx

1 Answer, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 31 Jan 2011, 03:24 PM
Hi Shadow Man,

Currently you can not set the editing modes of RadEditor for MOSS, when using it in Rich text column in list scenario. The ListConfigFile.xml works only in Enhanced rich text column in list scenario. However I can provide you with a CSS hack of how to hide the Preview button. In order to achieve this add the following style in the page where the editor is loaded:
.reMode_preview
{
    display: none !important;
}


All the best,
Stanimir
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
WebParts for SharePoint
Asked by
Adam
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Share this question
or