Forum


Replies: 6   Views: 3513
Excessive spacing between block's
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 acunnington  · 17-04-2013 - 16:54

I found an interesting solution to my problem.


Instead of closing my code with clearBlocks();, I manually went through and did a cleanTemplateVariable('BLOCK_Example', 'inline'); and this seems to have resolved all of my problems. Perhaps when two blocks are deleted (and deleted in block, not inline) then the document reverts to the default formatting for the void space it created.