Merge pull request #1083 from danielyxie/dev

Fix monaco jumping to end of file.
This commit is contained in:
hydroflame
2021-08-22 23:57:16 -04:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -287,7 +287,7 @@ export function Root(props: IProps): React.ReactElement {
loading={<p>Loading script editor!</p>} loading={<p>Loading script editor!</p>}
height="80%" height="80%"
defaultLanguage="javascript" defaultLanguage="javascript"
value={code} defaultValue={code}
onChange={updateCode} onChange={updateCode}
theme={options.theme} theme={options.theme}
options={options} options={options}