mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-28 07:07:38 +02:00
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
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…
Reference in New Issue
Block a user