Export to pdf background colour

3 posts, 1 answers
  1. Jeremy
    Jeremy avatar
    96 posts
    Member since:
    Mar 2010

    Posted 18 Aug 2010 Link to this post

    Hi

    I am using the radeditor and put a background colour on some text. When I export to pdf it doesn't show up? Here is the html it produces:
    <span style="background-color: #ffff00;">Hello World</span>
  2. Answer
    Rumen
    Admin
    Rumen avatar
    12949 posts

    Posted 19 Aug 2010 Link to this post

    Hello Jeremy,

    The observed behavior is a limitation of the third party export to PDF tool that RadEditor uses to export the produced XHTML content to PDF.
    You can print only the background-color attribute of block elements such as <p>,<div>, etc.

    Snippet
    <div style="background-color: #ffff00;">Hello World</div>


    Best regards,
    Rumen
    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? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Jeremy
    Jeremy avatar
    96 posts
    Member since:
    Mar 2010

    Posted 19 Aug 2010 Link to this post

    Thanks! :)
Back to Top