Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Editor > Ignore invalid style in editor html mode
RadControls for ASP.NET are no longer supported (see this page for reference). In case you have inquiries about the Telerik ASP.NET AJAX controls, post them in the pertinent ASP.NET AJAX forums.

Not answered Ignore invalid style in editor html mode

Feed from this thread
  • Pham avatar

    Posted on Jun 3, 2011 (permalink)

    Hi Telerik,

    I am talking about RadEditor HTML mode. 

    When I am trying code like this on HTML mode of RadEditor: 

            <table style="background-color$tertiarycolorcolor$quaternarycolorfont-weightbold;">

    Then save this and load it again, it liked this:

            <table style="font-weightbold;">
    
    
    I think it does not save invalid custom. So is there any way to keep all style I set on?

    Please help me, It's deadline. Thanks you very much


  • Rumen Rumen admin's avatar

    Posted on Jun 8, 2011 (permalink)

    Hello Pham,

    It is the rich text editing engine of the browser, but not RadEditor, which strips the unknown custom values of the color and background-color inline styles. You can reproduce the same behavior in a standard editable DIV / IFRAME HTML element as well as in our competitors' editors. This is a browser limitation which cannot be workaround-ed.

    If you are able to implement your scenario with an editable IFRAME you will be able to use it in RadEditor too.

    Kind regards,
    Rumen
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

    Attached files

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Editor > Ignore invalid style in editor html mode