By default, Internet Explorer wraps the content inside a paragraph tag - this is the default root <p> tag. If this tag is missing the browser automatically adds it. We got many request however to change this behavior, because it was 'tricking" the validators to believe that there is content in the editor. Secondly it was spoiling the layout of page because the content loaded in the editor without the paragraph would be returned surrounded by a paragraph.
That's why we decided to change this by implementing the FixEnclosingP content filter
which removes this root paragraph. If you need this paragraph tag then just simply disable this filter by setting the ContentFilters
property to list only the filters that you want excepts the FixEnclosingP filter. After disabling this filter the wrapping P tag will be not stripped by RadEditor, e.g.
You can remove the filters, which you wish to disable:
More information about the ContentFilters is available in the Content Filters help article
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items.