mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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
@ -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…
Reference in New Issue
Block a user