From 44fa0527030e4844f3f138261d02f930017e8fae Mon Sep 17 00:00:00 2001 From: Vincent LAURENT Date: Sun, 14 Nov 2021 01:11:56 +0100 Subject: [PATCH] =?UTF-8?q?La=20touche=20entr=C3=A9e=20valide=20le=20textb?= =?UTF-8?q?ox?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/js/app.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/js/app.js b/public/js/app.js index 8ad0196..8078358 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -612,9 +612,12 @@ loadingTask.promise.then(function(pdf) { }); addObjectInCanvas(canvas, textbox).setActiveObject(textbox); + textbox.keysMap[13] = "exitEditing"; + textbox.lockScalingFlip = true; textbox.enterEditing(); textbox.selectAll(); + return; }