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

Toolbar Examples

1 Answer 120 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
JMW
Top achievements
Rank 1
JMW asked on 08 Aug 2007, 01:00 PM

I’m enjoying testing out various toolbar configurations for my WSS3 site. While there are a few examples in the RadEditor documentation, I think it would be helpful to publish a library of toolbar configurations to aid rapid development. Additionally, I found that some tools do not work with some lists. For example, you cannot make a table in an announcement webpart. Accordingly, it would be value to have the example library segregated into toolbar configurations that work for different types of lists, as well as, MOSS vs WSS.

On that last point, I’m unclear what tools work in MOSS, but do not work in WSS. Can you provide a list? Thanks.

1 Answer, 1 is accepted

Sort by
0
Lini
Telerik team
answered on 09 Aug 2007, 12:22 PM
Hi,

The main purpose of the MOSS RadEditor control is to provide a cross-browser alternative to the default SharePoint HTML editor control. That is why the default editor toolbar is configured to use the same tools as the original editor. Customizing the toolbar depends on many factors:

- Some of the RadEditor tools are not available, if you are using the Lite version.

- Even if you have the ability to add all needed tools, some scenarios will not allow you to use them. For example, currently you cannot add Flash/Media to list items.

etc.

Let's take lists as example. The list editor has two modes of operation - basic and enhanced (just like the original HTML editor). When in basic mode, some of the tools are removed, because they will not work. The SharePoint server will clean the editor content once it is submitted to the server. This means that even if you manually modify the toolbar and enable those tools, they will have no effect, since the content is stripped after it leaves the editor.

We can divide  the answer to your problem into several parts, depending on the scenario:

1) Web Part - all editor tools should work in this scenario.

2) WCM scenario - almost all tools should work in this scenario (you might need to set the AllowSpecialTags property of the editor control to True). The result depends mainly on the field properties as you can disable specific tools from there.

3) List items - limited support, depending on the type of list field. As I explained above, if the editor only shows the basic set of tools, then the SharePoint server is likely to strip anything extra you add - e.g. tables, images, etc. If the editor is using the enhanced set of tools, then you can use almost all editor tools. The only limitations for now seem to be Flash and Media content.

All editor tools work on both WSS v3 and MOSS 2007 sites, with the exception of the MOSSLinkManager, MOSSImageManager, and MOSSTemplate manager. These three tools use the MOSS specific asset picker dialog, so they are not compatible with WSS v3.

Greetings,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
WebParts for SharePoint
Asked by
JMW
Top achievements
Rank 1
Answers by
Lini
Telerik team
Share this question
or