Error while executing filter ConvertFontToSpanFilter

5 posts, 0 answers
  1. Christy
    Christy avatar
    5 posts
    Member since:
    Sep 2010

    Posted 05 Dec 2011 Link to this post

    Hi Team,

    I am getting the following error while I open the page to edit the previously created contents.
    Error while executing filter ConvertFontToSpanFilter - [object Error].

    I tried the below code but still gets the same error.

     

    ContentFilters

    = "ConvertToXhtml, RemoveScripts,FixUlBoldItalic, IECleanAnchors, FixEnclosingP, MozEmStrong,ConvertFontToSpan, IndentHTMLContent, OptimizeSpans"

    Regards,
    Christy

  2. Rumen
    Admin
    Rumen avatar
    14324 posts

    Posted 06 Dec 2011 Link to this post

    Hi Christy,

    Please, delete the ConvertFontToSpan setting from the ContentFilters property and test again, e.g.

    ContentFilters= "ConvertToXhtml, RemoveScripts,FixUlBoldItalic, IECleanAnchors, FixEnclosingP, MozEmStrong,IndentHTMLContent, OptimizeSpans"



    Kind regards,
    Rumen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  3. Christy
    Christy avatar
    5 posts
    Member since:
    Sep 2010

    Posted 06 Dec 2011 Link to this post

    Thanks Rumen. That wroks.
  4. Rory
    Rory avatar
    159 posts
    Member since:
    Jul 2007

    Posted 13 Nov 2012 Link to this post

    We are receiving the same error yet we are never setting the ContentFilters nor using a ConvertFontToSpan feature that i can tell.
  5. Rumen
    Admin
    Rumen avatar
    14324 posts

    Posted 14 Nov 2012 Link to this post

    Hello,

    The ConvertFontToSpan is enabled by default. You can disable it by setting

    RadEditor1.DisableFilter(Telerik.Web.UI.EditorFilters.ConvertFontToSpan);


    Kind regards,
    Rumen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top