achor tag issue when load the data in rad editor

4 posts, 0 answers
  1. Mohit
    Mohit avatar
    3 posts
    Member since:
    Apr 2014

    Posted 21 Apr 2014 Link to this post

    Hi All

    I am facing issue the order of the attributes get change when load the data in Rad editor, The same order also get change when switch between the design & html mode.
    The Tag i insert in the db: &lt; <a style="color: #000000;" class="1" title="C-2, General Commercial" tagname="Primary Zone">C-2, General Commercial</a> &gt;
    The tag i got in a html editor: &lt; <a tagname="Primary Zone" title="C-2, General Commercial" class="1" style="color: #000000;">C-2, General Commercial</a> &gt;

    Here the order of the attribute is exactly reverse.
    The same also get reverse when switch between  the design & Html Mode
  2. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 24 Apr 2014 Link to this post

    Hello Mohit,

    The RadEditor control has built-in logic that rearrange the order of the attributes. Such logic is implemented due to internal design matters and cannot be modified.

    Could you please provide details about your concerns on this matter?

    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 Ajax is Ready for VS 2017
  4. Mohit
    Mohit avatar
    3 posts
    Member since:
    Apr 2014

    Posted 03 Jun 2014 Link to this post

    Hi ,



    i am  facing the  issue that the anchor tag Attribute get
    Rearrange automatically. to set Content Filter to none will work for the
    Firefox & the chrome in both these browser now the attribute are not rearranged but it is not working for the IE,

    another problem at same place i am facing is the color is showing in rgb value, but originally i add it as hex value

    original &lt;<a style="color: #000000;" class="1" title="PrimaryZone" tagname="Primary Zone">Primary Zone</a>&gt;

    after change what i got in IE &lt;<a title="PrimaryZone" class="1" style="color: rgb(0, 0, 0);" tagname="Primary Zone">Primary Zone</a>&gt;
  5. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 04 Jun 2014 Link to this post

    Hello Mohit,

    Setting the RadEditor with ContentFilters to None should not rearrange attributes and the mentioned rgb to hex conversion should not be encountered.

    Testing with this demo by disabling all content filters, the described behavior is not reproducing 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.

     
Back to Top