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:
parent
be29f851d5
commit
44fa052703
@ -612,9 +612,12 @@ loadingTask.promise.then(function(pdf) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
addObjectInCanvas(canvas, textbox).setActiveObject(textbox);
|
addObjectInCanvas(canvas, textbox).setActiveObject(textbox);
|
||||||
|
textbox.keysMap[13] = "exitEditing";
|
||||||
|
textbox.lockScalingFlip = true;
|
||||||
textbox.enterEditing();
|
textbox.enterEditing();
|
||||||
textbox.selectAll();
|
textbox.selectAll();
|
||||||
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user