mirror of https://github.com/langgenius/dify.git
chore: edit code support line wrap
This commit is contained in:
parent
ebbb30de44
commit
c8f51dd6db
|
|
@ -100,6 +100,7 @@ const CodeEditor: FC<Props> = ({
|
|||
quickSuggestions: false,
|
||||
minimap: { enabled: false },
|
||||
lineNumbersMinChars: 1, // would change line num width
|
||||
wordWrap: 'on', // auto line wrap
|
||||
// lineNumbers: (num) => {
|
||||
// return <div>{num}</div>
|
||||
// }
|
||||
|
|
|
|||
Loading…
Reference in New Issue