mirror of
git://develop.git.wordpress.org/
synced 2025-01-19 05:38:07 +01:00
Gecko paste fix. fixes #2051
git-svn-id: https://develop.svn.wordpress.org/trunk@3287 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2c6e4421b4
commit
a0fd8d74eb
4
wp-includes/js/tinymce/tiny_mce.js
vendored
4
wp-includes/js/tinymce/tiny_mce.js
vendored
@ -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…
x
Reference in New Issue
Block a user