fix #301, remove sublime text shortcuts that are the same as the shortcuts for run and stop
This commit is contained in:
parent
9f178eaf48
commit
89972bf2ae
1 changed files with 5 additions and 0 deletions
|
@ -71,6 +71,11 @@ class Editor extends React.Component {
|
|||
}
|
||||
});
|
||||
|
||||
this._cm.setOption('extraKeys', {
|
||||
'Cmd-Enter': () => null,
|
||||
'Shift-Cmd-Enter': () => null
|
||||
});
|
||||
|
||||
this.initializeDocuments(this.props.files);
|
||||
this._cm.swapDoc(this._docs[this.props.file.id]);
|
||||
|
||||
|
|
Loading…
Reference in a new issue