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

Paragraph tags not added on return

5 Answers 88 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Ciaran Fletcher
Top achievements
Rank 1
Ciaran Fletcher asked on 19 Sep 2008, 11:36 AM
I am working on a Sharepoint 2007 site which has the full  RadEditor for Sharepoint 5.1.0.0

When entering content and I hit <Return>, the radEditor inserts a <br /> instead of a <p> tag.
Is this possible to change and how would I do this?

A second question:
We have several RadEditor instances on the page and would like them to be different widths. How do i specify that the radEditor should use a different Config File? I presume it is the ConfigFile setting that specifies the width of the Editor?

thanks.

5 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 23 Sep 2008, 09:56 AM
Hi Ciaran,

Could you please open a support ticket and send us a sample video that demonstrates the behavior? What are the exact steps to reproduce it? The exact test content?  What is the editor's configuration? Under which browser are you testing? We will check the details locally and our best to provide a solution.

Regarding the second question:
Could you please clarify what is your exact scenario? How have you set the different instances of RadEditor on the desired page? In general, you can specify the desired width, by setting the editor's width property in the respective ConfigFile.xml

Sincerely,
George
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Ciaran Fletcher
Top achievements
Rank 1
answered on 24 Sep 2008, 08:57 AM
Second question on Width is fine. I have sorted that out.
First question, I will open a support ticket, but I fail to see what the difficulty is in understanding the question.

On the MCMS RadEditor, there were two options for the behaviour when the user hit <enter>; one would insert a <br />; the other would insert a <p> paragraph. I just want to know if the Full RadEditor for Sharepoint 5.1.00 has the second option, as the current behaviour is the first ( to insert a <br />).
We need it to insert paragraph tags.

thanks,
Ciaran
0
Accepted
George
Telerik team
answered on 24 Sep 2008, 11:40 AM
Hi Ciaran,

Yes, you can configure the editor to insert Paragraphs when hitting enter, by setting the editor's NewLineBr property to false, in the respective ConfigFile.xml e.g.
<property name="NewLineBr">False</property>

For convenience, I prepared a sample video that demonstrates how to achieve the desired behavior.

I hope this helps.

Kind regards,
George
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Ciaran Fletcher
Top achievements
Rank 1
answered on 24 Sep 2008, 01:43 PM
That is exactly what I was looking for. Thank you.

I have not found anywhere a description of the possible elements that may be in the Configfile.xml and their effect. I have seen in the help how certain functions can be controlled through the Configfile.xml. Is there any location or document you can point me to?

thanks,
Ciaran
0
George
Telerik team
answered on 24 Sep 2008, 01:55 PM
Hi Ciaran,

For reference you can review the RadEditor for ASP.NET AJAX online help. All server properties you can set inline in the editor's declaration (in the ASPX) can be set in the ConfigFile.xml.

I hope this helps.

Kind regards,
George
the Telerik team

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