Fixed shortcuts for crome developer console.

This commit is contained in:
Martin Edenhofer 2014-10-06 15:59:51 +02:00
parent 3bd736d283
commit 74ef86f14f

View file

@ -255,7 +255,11 @@
// check if rich text key is pressed // check if rich text key is pressed
Plugin.prototype.richTextKey = function(e) { Plugin.prototype.richTextKey = function(e) {
if ( ( e.ctrlKey || e.metaKey ) && this.options.richTextFormatKey[ e.keyCode ] ) { // e.altKey
// e.ctrlKey
// e.metaKey
// on mac block e.ctrlKey + i/b/u
if ( !e.altKey && e.metaKey && this.options.richTextFormatKey[ e.keyCode ] ) {
return true return true
} }
return false return false