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 {
|
class Editor extends PureComponent {
|
||||||
constructor(...props) {
|
constructor(...props) {
|
||||||
super(...props);
|
super(...props);
|
||||||
|
|
||||||
this.options = {
|
this.options = {
|
||||||
selectOnLineNumbers: true
|
minimap: {
|
||||||
|
enabled: false
|
||||||
|
},
|
||||||
|
selectOnLineNumbers: true,
|
||||||
|
wordWrap: 'on'
|
||||||
};
|
};
|
||||||
|
|
||||||
this._editor = null;
|
this._editor = null;
|
||||||
|
|
||||||
this.focusEditor = this.focusEditor.bind(this);
|
this.focusEditor = this.focusEditor.bind(this);
|
||||||
|
@ -16,7 +16,8 @@ const options = {
|
|||||||
scrollbar: {
|
scrollbar: {
|
||||||
vertical: 'hidden',
|
vertical: 'hidden',
|
||||||
horizontal: 'hidden'
|
horizontal: 'hidden'
|
||||||
}
|
},
|
||||||
|
wordWrap: 'on'
|
||||||
};
|
};
|
||||||
|
|
||||||
function Output({ output, defaultOutput }) {
|
function Output({ output, defaultOutput }) {
|
||||||
|
Reference in New Issue
Block a user