From 9a70e449deb353e2373aced709536a5f33d8fca8 Mon Sep 17 00:00:00 2001 From: pavelteplitsky Date: Thu, 11 Jul 2019 10:58:58 +0300 Subject: [PATCH] Fixed text replace annoattaion positioning for Word --- packages/annotation/js/drawTextAnnotation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/annotation/js/drawTextAnnotation.js b/packages/annotation/js/drawTextAnnotation.js index e0cca63..5033f69 100644 --- a/packages/annotation/js/drawTextAnnotation.js +++ b/packages/annotation/js/drawTextAnnotation.js @@ -291,7 +291,7 @@ $(document).ready(function () { break; default: element.style.left = annotation.left + "px"; - if(prefix === "textReplacement"){ + if(prefix === "textReplacement" && documentFormat != 'Microsoft Word' ){ element.style.top = ($(canvas).height() - annotation.top) + "px"; } else { element.style.top = annotation.top + "px";