fixes: about section unnecessary scrollbar (#10043)
This commit is contained in:
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user