Disable Paste

Disable Paste

por Vishnu Learning -
Número de respuestas: 7

Is there any way to disable Paste in ace code editor during quiz?

Thanks

En respuesta a Vishnu Learning

Re: Disable Paste

por Michael Backus -

I am also looking to disable Paste functionality for some questions. Is it possible?

En respuesta a Michael Backus

Re: Disable Paste

por Richard Lobb -

You could consider using the Safe Exam Browser (see here) but that would disable paste for the entire quiz. I should mention I've never tried the safe exam browser myself and it may or may not work with Ace.

Richard

En respuesta a Vishnu Learning

Re: Disable Paste

por Ricardo Cruz -
I think on recent versions of CR that copy-paste is now disabled. Can anyone confirm?

(It is funny that we are in a different situation. We want our students to use Spyder and copy-paste the code, but our version of CR shows a popup saying copy-paste is disabled.)
En respuesta a Ricardo Cruz

Re: Disable Paste

por Richard Lobb -

No, copy and paste shouldn't be disabled. This sounds like a browser "feature", such as with safe exam browser. Do other question types in the same quiz permit copy/paste? What about if you type ctrl/alt/m to turn off the Ace editor - what happens then?

En respuesta a Richard Lobb

Re: Disable Paste

por Ricardo Cruz -
Dear Richard,
It seems one of the admins enabled the following quiz option: "Extra restrictions on attempt" -> "Browser security" -> "Full screen pop-up with some JavaScript security."
We disabled it and it is now working fine!
Sorry for taking your time. This is the first time we are using CodeRunner and we are very happy with it. :)