Enable word wrapping in Monaco editors
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-06-16 21:53:43 +02:00
parent c968b64b51
commit a2845ddafe

View File

@ -142,6 +142,7 @@ function CloudInitRawUserData(p: CloudInitProps): React.ReactElement {
options={{
readOnly: !p.editable,
quickSuggestions: { other: true, comments: true, strings: true },
wordWrap: "on",
}}
language="yaml"
height={"30vh"}
@ -178,6 +179,7 @@ function CloudInitNetworkConfig(p: CloudInitProps): React.ReactElement {
options={{
readOnly: !p.editable,
quickSuggestions: { other: true, comments: true, strings: true },
wordWrap: "on",
}}
language="yaml"
height={"30vh"}