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

RadEditor in ListItems

4 Answers 97 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Morten Andreasen
Top achievements
Rank 2
Morten Andreasen asked on 18 Jun 2007, 03:07 PM
Hi All

I have enabled the "Use RAD Editor for listItems" feature for my site, however, when i try to edit properties for pages in my pages library, the default editor is shown.

How can that be? Do i have to enable the feature in my Site Template to get this to work?

4 Answers, 1 is accepted

Sort by
0
Lini
Telerik team
answered on 19 Jun 2007, 07:41 AM
Hello,

I assume that you are talking about basic pages, which are stored in document libraries. Unfortunately, we do not support this scenario with our editor with the current version. The editor for basic pages is not easily replaceable as you are not actually editing a field in a list.

Greetings,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
JMW
Top achievements
Rank 1
answered on 08 Aug 2007, 12:37 AM
How does one customize the Editor for lists? For example, I have an Announcements web part and can see that RadEditor is enabled, but it's a very basic toolbar, unlike the toolbar I customized for the Content Editor. Is it possible to have the same advanced Editor for my Announcements?

EDIT: I think I have it... edit the ListToolsFile.xml file. Yes? So I made it just like my ToolsFile.xml, then did an iisrest, then tried to test it with an new Announcement, and...ERROR "An unexpected error has occurred"

Are there tools that make this fail for some lists?
0
Lini
Telerik team
answered on 08 Aug 2007, 05:44 AM
Hello,

Indeed, the tools file for the list editor is called ListToolsFile.xml and you can customize it to change the appearance of the editor. However, you must have at least two toolbars inside it and make sure that they are called EnhancedToolbar and BasicToolbar. Some list items only support a basic set of HTML - e.g. no images, no tables, etc. In this case the editor will hide the EnhancedToolbar. Other list items support a wider variety of HTML tags, so the editor will show both the basic and the enhanced toolbars.

Here is an example of the list tools file:

<root> 
<tools name="EnhancedToolbar" dockable="false" enabled="true">  
...  
</tools> 
<tools name="BasicToolbar" dockable="false" enabled="true">  
...  
</tools> 
<tools name="YourToolbar" dockable="false" enabled="true">  
...  
</tools> 
<contextMenus> 
  <contextMenu forElement="*">  
    <tool name="Cut"/>  
    <tool name="Copy"/>  
    <tool name="Paste"/>  
  </contextMenu> 
</contextMenus> 
</root> 
 


Kind regards,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
JMW
Top achievements
Rank 1
answered on 08 Aug 2007, 12:49 PM
Got it! Yes, after I enabled only basic tools it started to work again. Others should take note to make a copy of the .xml files OOTB so that it's easy to revert back to the default toolbars.
Tags
WebParts for SharePoint
Asked by
Morten Andreasen
Top achievements
Rank 2
Answers by
Lini
Telerik team
JMW
Top achievements
Rank 1
Share this question
or