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

Editor Filtering makes control useless

1 Answer 40 Views
Editor
This is a migrated thread and some comments may be shown as answers.
BILLY ALLEN
Top achievements
Rank 1
BILLY ALLEN asked on 27 Feb 2009, 05:13 PM
Try as I might, I cannot get the Editor control to leave my text alone.  I've done radEditor1.ContentFilters = EditorFilters.None.  Still, the control insists on reformatting the text I put into it (changing TABLE tags, etc.).

Why isn't there a simple flag that tells the control to NOT do anything at all to the text within the control?  I'd really like to use it, but as it stands now, I can't use it because of the reformatting.  It should be very easy to support just leaving my text alone.

 

1 Answer, 1 is accepted

Sort by
0
Tervel
Telerik team
answered on 03 Mar 2009, 12:48 PM
Hi BILLY ALLEN,

RadEditor currently features  20+ content filters that in one way or another to fix HTML content created with the editor.
And it does so for a reason - to correct browser shortcomings. While all browsers have their quirks, it is IE that is the most notorious in messing up content. Two of its most noticeable  "feats" are - converting all tag names to upper case, as well as stripping quotes from most (but not all) HTML attributes.

So, please note that the content you enter will be changed whatever you do - if you turn off the editor content filters that attempt to correct the browser shortcomings, you will be left with the changes automatically performed by the browser.

In fact, with the current setting radEditor1.ContentFilters = EditorFilters.None this is exactly what you get - the content as produced/mangled by the browser itself.


Best wishes,
Tervel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Editor
Asked by
BILLY ALLEN
Top achievements
Rank 1
Answers by
Tervel
Telerik team
Share this question
or