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

Text Sizes

4 Answers 64 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 19 Sep 2007, 06:07 PM
Perhaps this is a configuration setting we're missing...

Part of the font sizing problems stem from the fact that RadEditor (like SharePoint) gives the user full control over font and size.

I'm happy enough using H1-H6, PRE formatted, etc-- just as the Telerik forums do here. Better to abstract that.

Configuration setting or future feature?

4 Answers, 1 is accepted

Sort by
0
Lini
Telerik team
answered on 21 Sep 2007, 07:50 AM
Hello Jon,

You can remove buttons from the editor toolbar by editing the Tools file. The tools file is located by default in \Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\4.3.2.0__1f131a624888eeed\RadControls\Editor\ folder on your server. The file is called ListToolsFile.xml (for the editor in lists, wikis, blogs, etc.) or just ToolsFile.xml (for the editor web part and publishing Html field). Open it and remove the lines:

    <tool name="FontName" />
    <tool name="FontSize" />

This will remove the font name and size dropdowns.

Sincerely yours,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Jon
Top achievements
Rank 1
answered on 03 Oct 2007, 03:01 PM

Ok, but I was looking to add functionality. As I said, the Telerik editor here has a neat drop-down for the proper Hn tags. Not sure how to enable that in our MOSS editor.

Also, another setting that's rather unusual is that telerik editor inserts a <br/> instead of <p> when hitting enter. Yes, it's easier to reach XHTML compliance that way than wrapping <p></p> around paragraphs, but if we try to indent a logical paragraph, the whole page gets indented. Very few HTML editors work that way.

0
Lini
Telerik team
answered on 05 Oct 2007, 08:54 AM
Hello,

You can control the behavior of the enter key in RadEditor. The default behavior is - Enter inserts <br/>, Shift+Enter inserts <p>.  You can reverse this by setting the NewLineBr property to false in the config file. Here is some more info on the subject - http://www.telerik.com/help/aspnet/editor/UsingTheNewLineBrProperty.html.

You can add tools in the tools file - all normal editor tools are available in the full-featured RadEditor for MOSS. See the following link for a full list - http://www.telerik.com/help/aspnet/editor/UsintTheToolsFile.html.

All the best,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Jon
Top achievements
Rank 1
answered on 22 Oct 2007, 04:59 PM
Sorry for the belated response-- thanks, we have updated our configuration now as per your help.  Jon
Tags
WebParts for SharePoint
Asked by
Jon
Top achievements
Rank 1
Answers by
Lini
Telerik team
Jon
Top achievements
Rank 1
Share this question
or