Fixed shortcuts for crome developer console.
This commit is contained in:
parent
3bd736d283
commit
74ef86f14f
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue