1
0
mirror of https://github.com/24eme/signaturepdf.git synced 2023-08-25 09:33:08 +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;
}