mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 06:43:45 +02:00
Fix design and auto-selection of file format type
This commit is contained in:
@@ -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}`)}
|
||||
>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user