mirror of
https://github.com/smartxworks/sunmao-ui.git
synced 2024-11-21 03:15:49 +08:00
make state editor read only
This commit is contained in:
parent
3be10c22a7
commit
52359f7d29
@ -29,6 +29,7 @@ export const StateEditor: React.FC<{ code: string }> = ({ code }) => {
|
||||
name: 'javascript',
|
||||
json: true,
|
||||
},
|
||||
readOnly: true,
|
||||
foldGutter: true,
|
||||
lineWrapping: true,
|
||||
lineNumbers: true,
|
||||
|
Loading…
Reference in New Issue
Block a user