PDF Template CSS

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • serqet
    Senior Member
    • Feb 2019
    • 113

    PDF Template CSS

    Hello there,

    I was able to add css code to pdf templates at 5.6.5, but I guess I can't add html code <style> after updating to 5.6.6 and 5.6.7? What could be the reason?

    Thanks.
  • yuri
    Member
    • Mar 2014
    • 8624

    #2
    Hi,

    There were xss fixes, that brought about new problems. I'm working on this issue.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • serqet
      Senior Member
      • Feb 2019
      • 113

      #3
      Thanks yuri I'm waiting for the good news from you.

      Comment

      • blueprint
        Active Community Member
        • Jan 2019
        • 223

        #4
        serqet How were you able to add CSS to PDF templates? I've tried to add <style> tags but they get removed when I save the template.

        It would be ideal if there was a "template.css" file used by the PDF printer which could be customised.

        I'm having to jump through a lot of hoops using inline styles to get the formatting of templates exactly right
        Last edited by blueprint; 08-01-2019, 02:48 PM.

        Comment

        Working...