COLOR: #000000 being changed to color: rgb(0, 0, 0)

8 posts, 0 answers
  1. Anand
    Anand avatar
    12 posts
    Member since:
    Jun 2010

    Posted 24 Aug 2011 Link to this post

    Hi,

    We are using RadEditor in our application. if we set the style as "COLOR: #000000" then it automatically convert in to "color: rgb(0, 0, 0)" and this happens while we switch from HTML mode to Design or Preview mode. 

    The issue is, our application sends mails and email client such Outlook etc.. are not understanding the "rgb" attribute. It will be great if you can give the solution as soon as possible since application is live.

    Thanks 
    Anand
  2. Anand
    Anand avatar
    12 posts
    Member since:
    Jun 2010

    Posted 26 Aug 2011 Link to this post

    No Reply ???????????
  3. Rumen
    Admin
    Rumen avatar
    13755 posts

    Posted 26 Aug 2011 Link to this post

    Hi Anand,

    Please, make sure that you have enabled the ConvertToXhtml filter in other case the rich text editing engine of Firefox will produce rgb colors.

    Greetings,
    Rumen
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  4. Anand
    Anand avatar
    12 posts
    Member since:
    Jun 2010

    Posted 26 Aug 2011 Link to this post

    Hi,

    Thanks i will check and let u know.
  5. Anand
    Anand avatar
    12 posts
    Member since:
    Jun 2010

    Posted 29 Aug 2011 Link to this post

    Hi,

    Working fine

    Thanks 
  6. Anand
    Anand avatar
    12 posts
    Member since:
    Jun 2010

    Posted 29 Aug 2011 Link to this post


  7. Anand
    Anand avatar
    12 posts
    Member since:
    Jun 2010

    Posted 30 Aug 2011 Link to this post

    Hi,

    var editor = $find('RadEditor1');
    editor.pasteHtml("");

    Above pieces of code works fine on IE for windows. But not in Firefox.
    waiting for your feedback.

    Thanks 
    Anand
  8. Rumen
    Admin
    Rumen avatar
    13755 posts

    Posted 01 Sep 2011 Link to this post

    Hello Anand,

    What do you expect to happen when firing the pasteHtml("") with an empty string?
    I tested the method in IE and Firefox and verified that it just sets the focus in the content area as expected. You can see my test in the following video: http://screencast.com/t/9PE0MuaMX.
    Am I missing something?

    Best regards,
    Rumen
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Back to Top