|
Article relates to
|
RadEditor for ASP.NET AJAX
Telerik.Web.UI
|
|
Created by
|
Rumen Zhekov
|
PROBLEM
<br> tags added to empty table cells in Firefox
DESCRIPTION
If the ConvertToXhtml content filter of RadEditor is turned OFF, then Firefox will automatically put a <br> tag to every cell in a table element. For example if the the following code is pasted into the HTML view in RadEditor, with ConvertToXhtml turned off, then the browser will insert a BR tag into the empty table cell, in other browsers, this doesn't happen.
gets converted to:
If ConvertToXhtml is turned on, then this does not happen because the editor's filter validates the content. However, if you need to disable this filter you can fix the problem with the
custom content filter below:
SOLUTION
To fix the problem try the custom content filter below which will replace the <br> tag in the empty cell with
Please
Sign In
to rate this article.