Merge pull request #3 from Bouncey/fix/editorLayout

Remove minimap and wrap lines
This commit is contained in:
Stuart Taylor
2018-04-08 22:37:10 +01:00
committed by Mrugesh Mohapatra
parent c72e1fdd5f
commit b1cc6ff6cd
2 changed files with 9 additions and 2 deletions

View File

@ -35,9 +35,15 @@ const modeMap = {
class Editor extends PureComponent {
constructor(...props) {
super(...props);
this.options = {
selectOnLineNumbers: true
minimap: {
enabled: false
},
selectOnLineNumbers: true,
wordWrap: 'on'
};
this._editor = null;
this.focusEditor = this.focusEditor.bind(this);

View File

@ -16,7 +16,8 @@ const options = {
scrollbar: {
vertical: 'hidden',
horizontal: 'hidden'
}
},
wordWrap: 'on'
};
function Output({ output, defaultOutput }) {