Is there any way to set Moodle so that this will not an be an issue? I do not think modifying the browser is the correct answer, is there update (possibly coming?) or add-on to correct this issue? Many people in course I am involved with write answers with seperate word-procressing program, and find it annoying that they have to switch to Internet Explorer to by-pass the issue.
Secondly, I act as an assisting student to a teacher on moodle course (so I have not been involved in installing and setting up the program myself). Is there any easy way to see what version out school network is using? I have failed to find any version note.
Thank you in advance.
Vastuses Ville K
Re: Cut & Paste not working with Firefox (without editing browser)
The problem is in Firefox, not Moodle. Note that the Edit menu still works by default.
Vastuses Martin Dougiamas
Re: Cut & Paste not working with Firefox (without editing browser)
Ville K –
Interesting, good observation. If this is in your opinion a bug in Firefox, have they been informed? (I fear I could not explain the problem with needed technical detail why it occurs without using edit feature).
Vastuses Ville K
Re: Cut & Paste not working with Firefox (without editing browser)
It's not a bug, it's their security feature to stop bad sites stealing data from your clipboard using Javascript.
I don't like the current implementation any more than you do - it should have an easy way to enable/disable it for each site like cookies. Once you've edited user.js everything is OK (so I forget about it).
But it annoys many people using many sites across the Internet, so I'm sure something will happen eventually. You can help by finding the issue number in their bug tracker and adding more comments there to raise attention to the matter (post the link here too!)
I don't like the current implementation any more than you do - it should have an easy way to enable/disable it for each site like cookies. Once you've edited user.js everything is OK (so I forget about it).
But it annoys many people using many sites across the Internet, so I'm sure something will happen eventually. You can help by finding the issue number in their bug tracker and adding more comments there to raise attention to the matter (post the link here too!)
Vastuses Martin Dougiamas
Re: Cut & Paste not working with Firefox (without editing browser)
As soon as I have extra time (like thats gonna happen) I'm going to try if this could be made much easier to users to set up by using UniversalBrowserAccess and UniversalSystemClipboardAccess compination (eg then it should ask confirmation for it).
Vastuses Martin Dougiamas
Re: Cut & Paste not working with Firefox (without editing browser)
Yes, people are usually quite happy once I tell them that they can just use Edit->Paste. Should we change the popup message to point that out to users?
Vastuses Gustav W Delius
Re: Cut & Paste not working with Firefox (without editing browser)
That popup message is Firefox too ...
Or do you mean http://moodle.org/help.php?file=richtext.html in which case I agree!
Vastuses Martin Dougiamas
Re: Cut & Paste not working with Firefox (without editing browser)
Try shift insert instead of cntl v
Vastuses Randall Kindley
Re: Cut & Paste not working with Firefox (without editing browser)
Thank you Randall! You have solved my very old problem. I appreciate it.
G
G
Vastuses Gyorgy Konczei
Re: Cut & Paste not working with Firefox (without editing browser)
Ctrl-V does NOT work in 1.0.3 (Win-XP and I've never made any changes to any files)
Shift-Insert DOES-nice to know.
Gustav--this would be really good to add to the pop-up and maybe also that you can use Edit>Paste from the Firefox toolbar.
Shift-Insert DOES-nice to know.
Gustav--this would be really good to add to the pop-up and maybe also that you can use Edit>Paste from the Firefox toolbar.
Vastuses Martin Dougiamas
Re: Cut & Paste not working with Firefox (without editing browser)
That popup message refers to a moodle discussion forum. I knew Moodle was important but still ... 
In reality that popup is made by htmlarea.php (see line 1898). So it would be easy for me to change the text. I like Randall's observation that Shift-Insert works. I think that is what the popup box should say first before going on to the complicated stuff.

In reality that popup is made by htmlarea.php (see line 1898). So it would be easy for me to change the text. I like Randall's observation that Shift-Insert works. I think that is what the popup box should say first before going on to the complicated stuff.
Vastuses Gustav W Delius
Re: Cut & Paste not working with Firefox (without editing browser)
Ah, so it is!
I haven't seen the dialogue in such a long time ... it might not have had the moodle link in there then.
I tried to get it to come up by closing Firefox, removing user.js and restarting the browser, but cut and paste (Ctrl-V) is still working fine for me in Firefox 1.0.3. Same for every other Moodle site I try.
Can you guys test this again yourselves with Firefox 1.0.3? Perhaps it's been fixed and this is a non-issue (gosh I hope so).

I tried to get it to come up by closing Firefox, removing user.js and restarting the browser, but cut and paste (Ctrl-V) is still working fine for me in Firefox 1.0.3. Same for every other Moodle site I try.
Can you guys test this again yourselves with Firefox 1.0.3? Perhaps it's been fixed and this is a non-issue (gosh I hope so).
Vastuses Martin Dougiamas
Re: Cut & Paste not working with Firefox (without editing browser)
Hi,
Ctrl-V is working for me in user.js-free Firefox 1.0.3 on Windows XP, but NOT working on FreeBSD.
I need to use Edit->Paste menu to insert this string:
Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050421 Firefox/1.0.3
Hiroto
Ctrl-V is working for me in user.js-free Firefox 1.0.3 on Windows XP, but NOT working on FreeBSD.
I need to use Edit->Paste menu to insert this string:
Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050421 Firefox/1.0.3
Hiroto
Vastuses Hiroto Kagotani
Re: Cut & Paste not working with Firefox (without editing browser)
Thanks! Anyone else? What's going on here?
Vastuses Martin Dougiamas
Re: Cut & Paste not working with Firefox (without editing browser)
Same here: Cntrl-V does not work in FF on Win XP, but Shift-Insert does! Good to know (although I have edited "user.js" anyways as I am so darn used to using Cntrl-V).
Vastuses Hiroto Kagotani
Re: Cut & Paste not working with Firefox (without editing browser)
Well, Ctrl-V does NOT work for me in Firefox 1.0.3 on Windows XP. But Shift-Insert does.
Vastuses Gustav W Delius
Re: Cut & Paste not working with Firefox (without editing browser)
I'm with Gustav on this:
Ctrl-V does NOT work for me in Firefox 1.0.3 on Windows XP. But Shift-Insert does.
Ctrl-V does NOT work for me in Firefox 1.0.3 on Windows XP. But Shift-Insert does.
Vastuses Gustav W Delius
Re: Cut & Paste not working with Firefox (without editing browser)
Vastuses Gustav W Delius
Re: Cut & Paste not working with Firefox (without editing browser)
Same setup, same result as Gustav.
Vastuses Gustav W Delius
Re: Cut & Paste not working with Firefox (without editing browser)
N Hansen –
Ditto, same setup, and works from menu as well.
Vastuses Gustav W Delius
Re: Cut & Paste not working with Firefox (without editing browser)
Firefox 1.03 on Windows 2000, never got user.js to work
ctrl-v doesn't work
shift-ins does the trick.
Thanks
ctrl-v doesn't work
shift-ins does the trick.
Thanks
Vastuses koen roggemans
Re: Cut & Paste not working with Firefox (without editing browser)
OK, I don't know how many more people you need to add a post on this thread to finally be convinced that ctrl-v definitely does NOT work with Firefox 1.03
but just in case you need one more, it doesn't work for me either. Thanks Randall for the tip about Shift-insert. This does work!
Josep M.

Josep M.
Vastuses Josep M. Fontana
Re: Cut & Paste not working with Firefox (without editing browser)
Sean S –
Just for the record, I am using 1.03 and ctrl-V is working for me without a problem. I edit the user.js back in 0.8 and haven't looked back. It is rather strange that the problem happens for some, but not for others though...
Vastuses Josep M. Fontana
Re: Cut & Paste not working with Firefox (without editing browser)
Thanks, every one. Unfortunately we are no closer to finding out why this works for some people and not others.
In any case, the text needs to be fixed. I've just added a clearer explanation that mentions all three workarounds, and put it in the language packs so it can be translated (it was English-only before).
The OK button sends the user to http://moodle.org/mozillahelp, which currently redirects to the Mozilla help but we could also put a more detailed information page there in future.
In any case, the text needs to be fixed. I've just added a clearer explanation that mentions all three workarounds, and put it in the language packs so it can be translated (it was English-only before).
The OK button sends the user to http://moodle.org/mozillahelp, which currently redirects to the Mozilla help but we could also put a more detailed information page there in future.
Vastuses Martin Dougiamas
Re: Cut & Paste not working with Firefox (without editing browser)
Hi All,
I just wanted to point out a problem I had when editing "user.js". Perhaps this will help out some of those who have not been able to get Ctrl-V to work even after editing "user.js".
First off I should point out that I used (and would recommend using) the chromEdit extension in Firefox to edit "user.js" because this helped to ensure that I was making the change to the correct file (without having to search all over my computer to find it).
The problem that I had when editing "user.js" is that in the following line:
I added the full address to our moodle installation when I should have just added the root address to our moodle installation.
So, for example I did this:
When I should have done this:
I also read in a related post that people were placing quotes around each address, when in fact only one set of quotes should be placed around all addresses (as you can see above). Also, you should not place commas between multiple addresses. And one more thing: after you make any changes to "user.js" (even if you are using chromEdit) you must quit Firefox and open it again before the changes will take place.
Perhaps this is obvious to some, but it definitely tripped me up when editing "user.js". I hope this will help some of you.
I just wanted to point out a problem I had when editing "user.js". Perhaps this will help out some of those who have not been able to get Ctrl-V to work even after editing "user.js".
First off I should point out that I used (and would recommend using) the chromEdit extension in Firefox to edit "user.js" because this helped to ensure that I was making the change to the correct file (without having to search all over my computer to find it).
The problem that I had when editing "user.js" is that in the following line:
user_pref("capability.policy.allowclipboard.sites", "http://www.mozilla.org");
I added the full address to our moodle installation when I should have just added the root address to our moodle installation.
So, for example I did this:
user_pref("capability.policy.allowclipboard.sites", "http://www.mozilla.org http://www.ourmoodle.com/moodle/");
When I should have done this:
user_pref("capability.policy.allowclipboard.sites", "http://www.mozilla.org http://www.ourmoodle.com");
I also read in a related post that people were placing quotes around each address, when in fact only one set of quotes should be placed around all addresses (as you can see above). Also, you should not place commas between multiple addresses. And one more thing: after you make any changes to "user.js" (even if you are using chromEdit) you must quit Firefox and open it again before the changes will take place.
Perhaps this is obvious to some, but it definitely tripped me up when editing "user.js". I hope this will help some of you.
Vastuses Derek Collins
Re: Cut & Paste not working with Firefox (without editing browser)
in fact only one set of quotes should be placed around all addresses (as you can see above). Also, you should not place commas between multiple addresses.
Thanks a lot: this one did the trick! I also tried every combination with komma's quotes etc, but a space didn't cross my mind. The italic text above is my first past with firefox using CTRL-v.
Thanks a lot: this one did the trick! I also tried every combination with komma's quotes etc, but a space didn't cross my mind. The italic text above is my first past with firefox using CTRL-v.
Vastuses Martin Dougiamas
Re: Cut & Paste not working with Firefox (without editing browser)
Aha, found the reason in my case - these lines were also in prefs.js!
user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "AllAccess");
user_pref("capability.policy.allowclipboard.Clipboard.paste", "AllAccess");
user_pref("capability.policy.allowclipboard.sites", "http://moodle.org");
user_pref("capability.policy.default.Clipboard.cutcopy", "AllAccess");
user_pref("capability.policy.default.Clipboard.paste", "AllAccess");
user_pref("capability.policy.policynames", "allowclipboard");
user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "AllAccess");
user_pref("capability.policy.allowclipboard.Clipboard.paste", "AllAccess");
user_pref("capability.policy.allowclipboard.sites", "http://moodle.org");
user_pref("capability.policy.default.Clipboard.cutcopy", "AllAccess");
user_pref("capability.policy.default.Clipboard.paste", "AllAccess");
user_pref("capability.policy.policynames", "allowclipboard");