make state editor read only

This commit is contained in:
Yanzhen Yu 2021-10-19 00:20:05 +08:00
parent 3be10c22a7
commit 52359f7d29

View File

@ -29,6 +29,7 @@ export const StateEditor: React.FC<{ code: string }> = ({ code }) => {
name: 'javascript',
json: true,
},
readOnly: true,
foldGutter: true,
lineWrapping: true,
lineNumbers: true,