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

achor tag issue when load the data in rad editor

3 Answers 16 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Mohit
Top achievements
Rank 1
Mohit asked on 21 Apr 2014, 04:18 PM
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

3 Answers, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 24 Apr 2014, 11:10 AM
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.

 
0
Mohit
Top achievements
Rank 1
answered on 03 Jun 2014, 04:46 PM
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;
0
Ianko
Telerik team
answered on 04 Jun 2014, 07:23 AM
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.

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