diff --git a/client/modules/IDE/components/Editor.jsx b/client/modules/IDE/components/Editor.jsx index 23b0e0f8..6fd6ad12 100644 --- a/client/modules/IDE/components/Editor.jsx +++ b/client/modules/IDE/components/Editor.jsx @@ -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]);