i have this problem: i cannot paste any text into the coloured sql-query-textarea with the middle mousebutton.
it seems, the javascript is blocking the pasting by middle-click
copy-paste with Ctrl+C and V works.
tested on linux Ubuntu 11.4 on phpmyadmin ver. 4.0.0-dev
Unfortunately CodeMirror does not support this, see http://comments.gmane.org/gmane.comp.web.codemirror/1602
is there an option to disable codemirror then?
i suggest this solution:
automatically show the normal textarea, if someone middleclicks on the colored text
Created rfe #3517354
https://sourceforge.net/tracker/?func=detail&aid=3517354&group_id=23067&atid=377411
i think this is really important, cause everyone on linux uses the middle button.
i cannot work like this ;)
can't you simply capture middleclicks and if so, then switch over to a normal textarea, where i can paste with middle mousebutton?
Hi,
As the feature had been implemented by JM, do we need to keep this ticket open?
Or is it still open to implement the Ruben solution: capture middleclick and paste?
Thanks.
Ruben Barkow did not seem satisfied with the possibility of disabling CodeMirror.
The issue is present in Firefox but not in Chrome
https://github.com/codemirror/CodeMirror/issues/931is the corresponding CodeMirror bug.
According to Firefox bugs https://bugzilla.mozilla.org/show_bug.cgi?id=953389 and https://bugzilla.mozilla.org/show_bug.cgi?id=846674 Firefox only captures paste event on editable fields. However CodeMirror element is a div which is unable to capture the paste event.
Due to the same reason phpMyAdmin would be unable to implement the solution indicated by Ruben Barkow.
Please re-open this.
There is needed a possibility to disable CodeMirror in Firefox on Linux!
Another suggestion:
just add a button to change the DIV to a standard TEXTAREA