var IsCtrl =false;
$(document).off(“keydown”, “.txt”).on(“keydown”, “.txt”, function (e) {
IsCtrl = e.ctrlKey;
});
$(document).off("keyup", ".txt").on("keyup", ".txt", function (e) {
if (IsCtrl && e.key == "v") {
$(e.target).html($(e.target).html().replace(/<[^>]*>/g, ""));
}
if (e.key != "Control") {
IsCtrl = false;
}
});