Forum


Replies: 8   Views: 4844
Using wordstyles to format replacevariablebyhtml output possible?
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by nicks  · 04-01-2016 - 16:39

Thanks for the pointers. I had tried using standard CSS in the past with no luck, then read about the requirement of Tidy. Once installed that I could set a CSS for my output from CKEditor to ensure the font for <p> tags was set as I required with the following:

<style>p { font-size: 10pt; } </style>