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

[Solved] RadEditor Toolbar Problems

1 Answer 155 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Gary
Top achievements
Rank 1
Gary asked on 08 Oct 2009, 03:22 PM
Hi,

I have added a Radeditor control into my ascx page, but I am having problems with the toolbar functionality of the editor. The 2 buttons that I have included are the Bold and Bullet List buttons.

The Bold button seems to work ok, but I am having problems with the bullet list. It is a little hard to explain but this is what I am doing:-

In the rededitior (it is completely empty of text) I type some plain text into the editor. (this is fine) On the very next line I want to add a buttet list, so after my text I press the return key on my keyboard (ok so far) Now I click on the bullet list button on the editors toolbar, but nothing appears to happen and the cursor disappears.

As an alternative, I type a list of plain text of the items that I want in the bullet list, I then highlight the items and click on the Bullet list. This creates the list ok, but it jumps down 2 lines before the bullet list starts.

I hope this makes some sence!
Am I just trying to use the bullet list in the wrong way or is there something wrong? Can I restrict how many lines that the bullet list drops down before it is shown in the editor?

Regards

Gary

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 12 Oct 2009, 11:01 AM
Hi Gary,

I was able to reproduce the first problem when the NewLineBr property was set to true. I logged the problem to our todo list and if possible we will fix it.

You can solve the problem by setting NewLineBr="false" - therefore the editor will use the browser's bullets creation mechanism and you should not experience this problem.

To reduce the extra space between the paragraph blocks inside the editor's content area, you should set a global CSS paragraph style in your page, i.e.
P  
{  
    margin:0px;  
}   
 
blockquote   
{   
    margin-top0px;       
    margin-bottom0px;   

The blockquote style is used to remove the extra space when indentation is applied.


I was unable to reproduce the second problem. I attached a video demonstrating my test. Am I missing something? BTW you should not experience this problem when the NewLineBr property is set to false.

All the best,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Editor
Asked by
Gary
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or