Closed
Is there any way to restrict all keyboard and mouse events from RTE Control
Is there any way to restrict all keyboard and mouse events from RTE Control.
I want to restrict the shortcut keys for a particular div element which is in RTE.Please let me know if this can be done or not.
Hi Sharmistha Pal,
You can do it with some customization. I have done the above in this way:
1. use the code in the userworkform for a specific RTE.
<style>
#rte-default{
pointer-events: none !important;
}
</style>
2. You can also use as inline CSS for that RTE but then you would have to click "Remove Inline CSS" to remove the CSS from RTE as click event wont work on the RTE.
Hi Sharmistha Pal,
You can do it with some customization. I have done the above in this way:
1. use the code in the userworkform for a specific RTE.
<style>
#rte-default{
pointer-events: none !important;
}
</style>
2. You can also use as inline CSS for that RTE but then you would have to click "Remove Inline CSS" to remove the CSS from RTE as click event wont work on the RTE.
Let me know if this helps.