How To Disable Copy Paste in Editor?
SakshamSahgal opened this issue · 13 comments
SakshamSahgal commented
It seems that there is no way to disable copy paste in the editor : Link
jaywcjlove commented
@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
SakshamSahgal commented
@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.
jaywcjlove commented
The 'events' extension can achieve this, I think that's enough."