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.
git-svn-id: https://develop.svn.wordpress.org/trunk@27179 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
31d3af406c
commit
5a9624b834
src/wp-includes/js/tinymce/plugins/charmap
@ -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
Loading…
x
Reference in New Issue
Block a user