Hello, We have a premium license. We are using replaceVariableByHTML() function to replace the place holder with HTML. But when we get updated docx file after replacing the place holder the font size and font family not keep as document default stayling. Example: the deafult docx have a font family as "Times New Roman" and there is marker "$NAME$". Now we are replacing the "$NAME$" place holder by using replaceVariableByHTML() function to "John Doe". Now when we get new docx after replacing the "$NAME$" as "John Doe" then the font family of the "John Doe" word is not keep as "Times New Roman" it shows in "Calibri" font family and font size is 12.
So how we can keep default font styling of the docs file which get generated after replacing the place holder.
There is option to pass the font style for place holder value while calling replaceVariableByHTML() function. For using this we can set font style to the replaced text. But how we will get default style of the document.