Image only drafts
This commit is contained in:
@@ -95,12 +95,14 @@ export function DraftItem({
|
|||||||
paddingTop: 20 + a.pt_md.paddingTop,
|
paddingTop: 20 + a.pt_md.paddingTop,
|
||||||
},
|
},
|
||||||
]}>
|
]}>
|
||||||
<RichText
|
{!!post.text.trim().length && (
|
||||||
style={[a.text_md, a.leading_snug, a.pointer_events_none]}
|
<RichText
|
||||||
value={post.text}
|
style={[a.text_md, a.leading_snug, a.pointer_events_none]}
|
||||||
enableTags
|
value={post.text}
|
||||||
disableMentionFacetValidation
|
enableTags
|
||||||
/>
|
disableMentionFacetValidation
|
||||||
|
/>
|
||||||
|
)}
|
||||||
|
|
||||||
{!mediaExistsOnOtherDevice && <DraftMediaPreview post={post} />}
|
{!mediaExistsOnOtherDevice && <DraftMediaPreview post={post} />}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user