Fix design and auto-selection of file format type
This commit is contained in:
parent
4e3e9a95e4
commit
9b80546c0c
2 changed files with 1 additions and 6 deletions
|
@ -117,7 +117,7 @@ export default ({ style, initialContent, initialModePath, fetchContent, onConten
|
|||
<div className={'m-3 rounded bg-neutral-900 border border-black'}>
|
||||
<select
|
||||
className={'input-dark'}
|
||||
defaultValue={mode}
|
||||
value={mode.split('/').pop()}
|
||||
onChange={e => setMode(`ace/mode/${e.currentTarget.value}`)}
|
||||
>
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue