Skip to content

Commit

Permalink
fix(code-input): wrap text inside code input
Browse files Browse the repository at this point in the history
  • Loading branch information
katherineoelsner authored and bjoerge committed Apr 26, 2021
1 parent 7b052df commit 717becf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/@sanity/code-input/src/CodeInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ export default class CodeInput extends PureComponent {
onLoad={this.handleEditorLoad}
readOnly={readOnly}
tabSize={2}
wrapEnabled
setOptions={ACE_SET_OPTIONS}
editorProps={ACE_EDITOR_PROPS}
/>
Expand Down

0 comments on commit 717becf

Please sign in to comment.