From 006a1846cb65d19b2e4e603f5de94bb9ba1cf9ab Mon Sep 17 00:00:00 2001 From: Vincent LAURENT Date: Fri, 22 Sep 2023 19:06:17 +0200 Subject: [PATCH] ltr for textbox in signature --- public/js/signature.js | 1 + templates/signature.html.php | 1 + 2 files changed, 2 insertions(+) diff --git a/public/js/signature.js b/public/js/signature.js index 4d83de1..f20e8e9 100644 --- a/public/js/signature.js +++ b/public/js/signature.js @@ -532,6 +532,7 @@ var createAndAddSvgInCanvas = function(canvas, item, x, y, height = null) { left: x, top: y - 20, fontSize: 20, + direction: direction, fontFamily: 'Monospace' }); diff --git a/templates/signature.html.php b/templates/signature.html.php index 0baa244..d983f84 100644 --- a/templates/signature.html.php +++ b/templates/signature.html.php @@ -265,6 +265,7 @@ var maxPage = ; var sharingMode = ; var hash = null; + var direction = 'rtlltr'; hash = "";