Before all a kindly regard. I’m trying to customize quotation template, but when try to insert custom css to tables it’s filtered so can’t customize it. Anyone know how to do what I want?
Hi,
htmlpurifier and TinyMCe cause these issues. These cause issues with html and styling across SuiteCRM.
There is not a easy way round this as it stands, We are looking into this but there is to time line for this. It has been reported previously that you can remove the function which causes this issue however this is not upgrade safe and could potentially break other functionality.
Thanks,
Ian.
Thanks per response Ian. Then do not exist a way to include a custom .css file with my styles to use it on pdf?, because if you say than is not appropiate remove the function i think than is not a good way to solve.
I was googling and find someone with same problem and tell something about do includes as php code, just than do not explain where to do it.
Do you have idea where could be the right file to try it?
Thanks beforehand and regards!!
hi jsantamaria,
I have been looking into this one and it looks like its between the html purifier and Tincy MCE, depending on the way the styling is being put in to the record depends on what is striping it out.
if you put the styles in a it looks like TinyMCE is striping that out. its a difficult one to pin point as there is so many different things going on. you could remove the function from use but its not something that we would recommend doing.
I have pin pointed the htlpPurifier config settings which are being set in include/clean.php looks like HTMLPurifier is removing everything outside of the Body tags as well as striping out other items.
I have also found a few posts online around this issue but nothing which really fixes the issue so far.