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

6 posts, 0 answers
  1. RAJU
    RAJU avatar
    3 posts
    Member since:
    Jun 2011

    Posted 14 Jan 2015 Link to this post

    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.
  2. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 15 Jan 2015 Link to this post

    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.

     
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. RAJU
    RAJU avatar
    3 posts
    Member since:
    Jun 2011

    Posted 15 Jan 2015 Link to this post

    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



  5. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 16 Jan 2015 Link to this post

    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.

     
  6. RAJU
    RAJU avatar
    3 posts
    Member since:
    Jun 2011

    Posted 16 Jan 2015 Link to this post

    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 


  7. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 20 Jan 2015 Link to this post

    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.

     
Back to Top
UI for ASP.NET MVC is VS 2017 Ready