Hi there,
We are working with docx templates and looking for a way to highlight a particular block of text instead of removing it.
For example, we might have a docx template with a paragraph enclosed in block placeholders:
$BLOCK_varName$ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. $BLOCK_varName$
But instead of using:
$docx->deleteTemplateBlock('varName')
We want to highlight this text in a different color.
How would you do this?
Thanks in advance,
Arnaud