fixes: about section unnecessary scrollbar (#10043)
parent
6d35750784
commit
a9ee5d6f7f
|
@ -90,7 +90,11 @@ export const Editor = (props: TextEditorProps) => {
|
|||
className="editor-input"
|
||||
/>
|
||||
}
|
||||
placeholder={<div className="text-muted -mt-11 p-3 text-sm">{props.placeholder || ""}</div>}
|
||||
placeholder={
|
||||
props?.placeholder ? (
|
||||
<div className="text-muted -mt-11 p-3 text-sm">{props.placeholder}</div>
|
||||
) : null
|
||||
}
|
||||
ErrorBoundary={LexicalErrorBoundary}
|
||||
/>
|
||||
<ListPlugin />
|
||||
|
|
Loading…
Reference in New Issue