1
0
Fork 0
mirror of https://github.com/24eme/signaturepdf synced 2024-06-11 02:12:29 +02:00

La touche entrée valide le textbox

This commit is contained in:
Vincent LAURENT 2021-11-14 01:11:56 +01:00
parent be29f851d5
commit 44fa052703

View file

@ -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;
}