Focus the code editor on mount
This commit is contained in:
parent
654f807d33
commit
986eba7a50
|
@ -239,6 +239,8 @@
|
|||
extensions: buildExtensions(baseExtensions),
|
||||
parent: textarea,
|
||||
})
|
||||
|
||||
editor.focus()
|
||||
}
|
||||
|
||||
$: editorHeight = typeof height === "number" ? `${height}px` : height
|
||||
|
|
Loading…
Reference in New Issue