mirror of
https://github.com/langgenius/dify.git
synced 2026-04-06 07:59:50 +08:00
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
Block a user