Prevent ctrl + enter shortuct when no grammar highlights are present #4
This commit is contained in:
parent
04cd5f2e7d
commit
b99d233abc
@ -354,7 +354,9 @@ class BesService {
|
||||
}
|
||||
break
|
||||
case 'Enter':
|
||||
// Handle Ctrl + Enter
|
||||
if (e.ctrlKey) {
|
||||
if (!this.highlightElements.length) return
|
||||
e.preventDefault()
|
||||
e.stopPropagation()
|
||||
this.acceptReplacement()
|
||||
|
Loading…
x
Reference in New Issue
Block a user