Gecko paste fix. fixes #2051
git-svn-id: http://svn.automattic.com/wordpress/trunk@3287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e6bcf0632d
commit
4e4739b918
|
@ -1027,6 +1027,10 @@ TinyMCE.prototype.handleEvent = function(e) {
|
|||
tinyMCE.cancelEvent(e);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (e.charCode == 118) { // Ctrl+V
|
||||
tinyMCE.selectedInstance.execCommand("mceInsertContent", false, '<geckopastefix/>');
|
||||
}
|
||||
}
|
||||
|
||||
// Return key pressed
|
||||
|
|
Loading…
Reference in New Issue