forked from Gitlink/forgeplus-react
Change Editor word break
This commit is contained in:
parent
403e20ea99
commit
0354377539
|
@ -24,6 +24,7 @@ class m_editor extends Component {
|
|||
const { readOnly, editorType, language } = this.props;
|
||||
const editor_options = {
|
||||
lineNumbers: "on",
|
||||
wordWrap: true, //强制换行
|
||||
selectOnLineNumbers: true,
|
||||
lineHeight: 24,
|
||||
renderLineHighlight: "line",
|
||||
|
|
Loading…
Reference in New Issue