|
|
@ -293,6 +293,8 @@ class Editor extends React.Component {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
applyPreset = ({ id: preset, ...settings }) => this.updateState({ preset, ...settings })
|
|
|
|
|
|
|
|
|
|
|
|
format = () =>
|
|
|
|
format = () =>
|
|
|
|
formatCode(this.state.code)
|
|
|
|
formatCode(this.state.code)
|
|
|
|
.then(this.updateCode)
|
|
|
|
.then(this.updateCode)
|
|
|
|