TinyMCE: when clicking on a character in the Charmap modal, don't close it if the Crtl key is pressed. Makes it possible to insert several special chars in a row. See #27107.
Built from https://develop.svn.wordpress.org/trunk@27179 git-svn-id: http://core.svn.wordpress.org/trunk@27041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
eae1d5641d
commit
4aeae869dd
|
@ -313,7 +313,9 @@ tinymce.PluginManager.add('charmap', function(editor) {
|
|||
if (target.nodeName == 'DIV') {
|
||||
editor.execCommand('mceInsertContent', false, target.firstChild.nodeValue);
|
||||
// WP, see #27107
|
||||
win.close();
|
||||
if ( ! e.ctrlKey ) {
|
||||
win.close();
|
||||
}
|
||||
}
|
||||
},
|
||||
onmouseover: function(e) {
|
||||
|
|
File diff suppressed because one or more lines are too long
Binary file not shown.
Loading…
Reference in New Issue