mirror of
https://github.com/makeplane/plane.git
synced 2026-05-05 07:29:38 -05:00
fix: editor image block condition (#6645)
This commit is contained in:
committed by
GitHub
parent
214692f5b2
commit
6303847026
@@ -282,7 +282,7 @@ export const CustomImageBlock: React.FC<CustomImageBlockProps> = (props) => {
|
||||
...(size.aspectRatio && { aspectRatio: size.aspectRatio }),
|
||||
}}
|
||||
/>
|
||||
{showUploadStatus && <ImageUploadStatus editor={editor} nodeId={node.attrs.id} />}
|
||||
{showUploadStatus && node.attrs.id && <ImageUploadStatus editor={editor} nodeId={node.attrs.id} />}
|
||||
{showImageUtils && (
|
||||
<ImageToolbarRoot
|
||||
containerClassName={
|
||||
|
||||
Reference in New Issue
Block a user