Open SakshamSahgal opened 2 months ago
@SakshamSahgal I don't understand what you mean, I don't know if the following method can solve your problem.
https://uiwjs.github.io/react-codemirror/#/extensions/events
@jaywcjlove I apologize if my initial inquiry wasn't clear. It seems there's no built-in option in @uiw/react-codemirror
to disable copy-paste while allowing typing. Maybe adding a parameter to define this behavior could be beneficial.
The 'events' extension can achieve this, I think that's enough."
It seems that there is no way to disable copy paste in the editor : Link