mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-01-27 00:43:26 +00:00
fix(editor): Set placeholder fallback
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
6cbd8d68c5
commit
410e5b2222
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ export const EditorPane: React.FC<ScrollProps> = ({ scrollState, onScroll, onMak
|
|||
<ToolBar />
|
||||
<ReactCodeMirror
|
||||
editable={firstUpdateHappened && connectionSynced}
|
||||
placeholder={t('editor.placeholder')}
|
||||
placeholder={t('editor.placeholder') ?? ''}
|
||||
extensions={extensions}
|
||||
width={'100%'}
|
||||
height={'100%'}
|
||||
|
|
Loading…
Reference in a new issue