Merge pull request #3 from Bouncey/fix/editorLayout
Remove minimap and wrap lines
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
c72e1fdd5f
commit
b1cc6ff6cd
@ -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);
|
||||
|
@ -16,7 +16,8 @@ const options = {
|
||||
scrollbar: {
|
||||
vertical: 'hidden',
|
||||
horizontal: 'hidden'
|
||||
}
|
||||
},
|
||||
wordWrap: 'on'
|
||||
};
|
||||
|
||||
function Output({ output, defaultOutput }) {
|
||||
|
Reference in New Issue
Block a user