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

Styles like bold, italics are getting applied to whole paragraph in rich text editor in IE 9/10

5 Answers 176 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Raju
Top achievements
Rank 1
Raju asked on 14 Jan 2015, 01:26 PM
Hi,
     I am using telerik rich text editor, the problem which I am facing is, in IE 9 or IE 10, after typing a sentence and then applying bold style to the first word only then the whole paragraph's style is getting changed to bold. This is not happening in IE 7, IE 8, Chrome etc. So, any can please throw some light on it to help me.

5 Answers, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 15 Jan 2015, 01:15 PM
Hi,

Can you try reproducing the same with the Overview demo of RadEditor and get back with the steps to reproduce, so that I could test the exact behavior on my end?

Regards,
Ianko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Raju
Top achievements
Rank 1
answered on 15 Jan 2015, 02:27 PM
Hi Lanko,
     The same thing can't be reproduced in RadEditor, but this issue is happening with Rich Text Editor in IE9 or IE10. The steps the reproduce is : 
Step 1: Write a simple sentence in rich text editor suppose, Hello, how are you?
Step 2: Just select "Hello" and make it bold. You will see the whole sentence will get bold.

But, if you select "how" in this sentence then only "how" will get bold not the whole sentence. The issue is only with starting word. Hope you understood the issue. I have attached three files named Issue with rich text editor_1.png, Issue with rich text editor_2.png and  Issue with rich text editor_3.png for it.        

Thanks,
Raju Prasad



0
Ianko
Telerik team
answered on 16 Jan 2015, 09:49 AM
Hi,

Can you verify if the Rich Text Editor shown in the screenshots is the RadEditor control from the Telerik UI for ASP.NET AJAX suite or some other control?

Note that among the Telerik products only the RadEditor control is a text/HTML editor for ASP.NET WebForms and if you are using another product please provide more details which is the product used and the environment/framework under which this is implemented .

Regards,
Ianko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Raju
Top achievements
Rank 1
answered on 16 Jan 2015, 12:41 PM
Hi Lanko, 
     We are not using Rad Editor, the component which we are using is Telerik.Web.Mvc.dll, File Version 2011.3.1115.235 and Product Version 2011.3.1115.235. Most probably its a free version, we are using it in MVC 2. The piece of code which we are using is given below:
<div class="frame telerikEditor" id="DivMyRichTextEditor">
                                                        <% Html.Telerik().Editor()
                                                    .Name("MyRichTextEditor")
                                                    .ClientEvents(events => events.OnPaste("editorOnPaste"))
                                                    .ClientEvents(events => events.OnSelectionChange("editorOnSelectionChange"))
                                                    .Tools(tools => tools
                                                    .Clear()
                                                    .Bold().Italic().Underline()
                                                    .JustifyLeft().JustifyCenter().JustifyRight()
                                                    .InsertUnorderedList().InsertOrderedList()
                                                    .Indent().Outdent()
                                                 )

                                                .Value(HttpUtility.HtmlDecode(Model.MyText))
                                                .Render();
                                                        %>
The list of client events which we are getting from this component are :
1. OnChange
2. OnError
3. OnExecute
4. OnLoad
5. OnPaste
6. OnSelectionChange

Thanks,
Raju Prasad 


0
Alex Gyoshev
Telerik team
answered on 20 Jan 2015, 02:30 PM

Hello Raju,

I am afraid that the Telerik Extensions for ASP.NET MVC are no longer supported, as they have been superseded by the UI for ASP.NET MVC framework, based on Kendo UI (see the editor demo). If the project is actively used, consider migrating to Kendo UI or the UI for ASP.NET MVC to get hold of new features and bug fixes.

Regards,
Alex Gyoshev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Editor
Asked by
Raju
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Raju
Top achievements
Rank 1
Alex Gyoshev
Telerik team
Share this question
or