There is a funcion to change the color of the word and no just hightlight it?
🏷️ Limited Offer: 25% OFF 🏷️
First 100 purchases only — Special discount!
Use this coupon on checkout: PHPDXPJ_D1SC1N5T
Get it nowI tried to use replaceVariableByWordFragment but it dont respect the font, size of the text to replace or the follow text...
Hello,
You can use a custom style (https://support.office.com/en-us/article/Style-basics-in-Word-d382f84d-5c38-4444-98a5-9cbb6ede1ba4) to keep the styles when replacing contents, but there's no method to change a style in a word (it must exists in the template or added with phpdocx).
Regards.