Home: htmlArea 3 (beta): htmlArea 2 & 3 archive (read only): htmlArea v3.0 - Discussion:
Paste in Firefox



agf
User

Feb 1, 2005, 12:21 PM


Views: 33374
Paste in Firefox

Has anyone found a workaround for Pasting in FF that does not include changing the .js file on the client's computer?

I have a small function that is triggered by the paste button and by ^V

Code
  function getPaste(){ 
if(document.all){
window.open("paste.htm",null,"height=150,width=290,status=no,toolbar=no,menubar=no,location=no");
} else if(!document.all){
editor.execCommand(cmdID, UI, param);
}
}


This will pop open a new window Tongue for IE users, and paste at the curson for FF/Moz users... however, when I try to use JUST


Code
editor.execCommand(cmdID, UI, param);


I get errors ... what should the paste values be for that function???


cli_man
Novice

Feb 14, 2005, 6:10 PM


Views: 33194
Re: [agf] Paste in Firefox

I know this is not a solution in any way to your question but I have been telling my users of firefox to do a shift ins to paste in firefox and that seems to work just fine in windows and linux.