Posted 7 February 2023, 3:06 am EST
- Updated 7 February 2023, 3:11 am EST
Hi,
We have tried the below code snippet, and it is working fine on our end. Please refer to the following code snippet and an attached gif of the observation and if the issue persists please share a working sample that replicates the issue so that we could investigate it further and help you accordingly.
shortcuts: {
"V": {
ctrl: true,
tool: function () {
viewer.execPasteAction({ x: 10, y: 10, pageIndex: 1 }).then(function (e) {
// flag variable for checking the paste operation
console.log(e);
});
}
}
}
For the second issue, we are unable to find any public API to achieve this hence, we have escalated this issue to the concerned team for further investigation. We will update you as soon as we get any information from the team. the internal ID for this issue will be DOC-5118
Regards,
Avinash
