Enable word wrapping in Monaco editors
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -142,6 +142,7 @@ function CloudInitRawUserData(p: CloudInitProps): React.ReactElement {
|
|||||||
options={{
|
options={{
|
||||||
readOnly: !p.editable,
|
readOnly: !p.editable,
|
||||||
quickSuggestions: { other: true, comments: true, strings: true },
|
quickSuggestions: { other: true, comments: true, strings: true },
|
||||||
|
wordWrap: "on",
|
||||||
}}
|
}}
|
||||||
language="yaml"
|
language="yaml"
|
||||||
height={"30vh"}
|
height={"30vh"}
|
||||||
@ -178,6 +179,7 @@ function CloudInitNetworkConfig(p: CloudInitProps): React.ReactElement {
|
|||||||
options={{
|
options={{
|
||||||
readOnly: !p.editable,
|
readOnly: !p.editable,
|
||||||
quickSuggestions: { other: true, comments: true, strings: true },
|
quickSuggestions: { other: true, comments: true, strings: true },
|
||||||
|
wordWrap: "on",
|
||||||
}}
|
}}
|
||||||
language="yaml"
|
language="yaml"
|
||||||
height={"30vh"}
|
height={"30vh"}
|
||||||
|
Reference in New Issue
Block a user