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

<p> introduced on new line in IE

5 Answers 17 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Rafael
Top achievements
Rank 1
Rafael asked on 09 Jun 2015, 04:07 AM

Hello,

 When hitting a new line on Mozilla or Chrome, it introduces a <br/> tag, which is fine for us. However in IE the editor wraps up the line inside <p>...</p> tags, thus introducing a double spacing. Is there any way to put IE in line with the other browsers?

Regards

5 Answers, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 10 Jun 2015, 07:45 AM
Hello Rafael,

I tried to reproduce the described behavior using the Overview demo of RadEditor (http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx), but to no avail. Changing  the NewLineMode to Br, properly adds BR tags without wrapping the text in a P element. You can see the results on my end with this screencast—http://screencast.com/t/MZDo2M3d.

If there are any specific steps that I am missing in order to reproduce the same behavior, please, let me know.

Regards,
Ianko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Rafael
Top achievements
Rank 1
answered on 10 Jun 2015, 07:59 AM

Hi Ianko,

 I'm using version 2013.1.417.35 and the control is added dynamically to a ControlCollection if that makes any difference, this is my surce code:

CustomRadEditorCtrl edit = new CustomRadEditorCtrl();
edit.Width = new Unit(51.0, UnitType.Percentage);
edit.NewLineMode = EditorNewLineModes.Br;
Controls.Add(edit);

Regards

0
Ianko
Telerik team
answered on 10 Jun 2015, 08:28 AM
Hello Rafael,

I see that the class name is CustomRadEditorCtrl, which assumes that a customized RadEditor is being implemented. Such a scenario is not officially supported, and any possible side effects from customizing Telerik controls should be handled manually.

However, another major pitfall I see is that the version used is 2013.1.417 which is quite an old version and moreover, it is one released before the existence of IE11, and it is expected this version to be unsupported with browser that have not been available for testing back in time.

Try if using a more recent version of RadEditor resolves the issue.

Regards,
Ianko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Rafael
Top achievements
Rank 1
answered on 10 Jun 2015, 08:37 AM

Hi Ianko,

 I guess you're right. Could you please point me to a newer version of the component?

Regards

0
Ianko
Telerik team
answered on 10 Jun 2015, 10:03 AM
Hello Rafael,

I see that your license has expired, therefore, you should first renew your license. After that, the most recent version of the Telerik UI for ASP.NET AJAX suite will be available for download in your account.

For the time being you can test with the latest version by downloading the trial version of the suite—http://www.telerik.com/products/aspnet-ajax/download.aspx

Regards,
Ianko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Editor
Asked by
Rafael
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Rafael
Top achievements
Rank 1
Share this question
or