diff --git a/packages/ui/components/editor/Editor.tsx b/packages/ui/components/editor/Editor.tsx index 260cc8fe8f..ecc6a43aa2 100644 --- a/packages/ui/components/editor/Editor.tsx +++ b/packages/ui/components/editor/Editor.tsx @@ -90,7 +90,11 @@ export const Editor = (props: TextEditorProps) => { className="editor-input" /> } - placeholder={
{props.placeholder || ""}
} + placeholder={ + props?.placeholder ? ( +
{props.placeholder}
+ ) : null + } ErrorBoundary={LexicalErrorBoundary} />