Display non-post embeds in composer preview (#5647)
* Display non-post embeds in composer preview * Remove starter pack special case from ExternalLinkEmbed This should not be needed because starter pack composer preview now goes through the record preview codepath, just like in the feed/post view. * Hide record ext links if quote is present * Align remove buttons Remove the implicit top padding in record embeds and make it conditional, which is similar to how we treat external link embeds. This makes the X button appear in the same place for record embeds as with links.
This commit is contained in:
@@ -668,6 +668,7 @@ export const ComposePost = ({
|
||||
<View style={a.relative} key={extLink}>
|
||||
<ExternalEmbedLink
|
||||
uri={extLink}
|
||||
hasQuote={!!quote}
|
||||
onRemove={() => {
|
||||
dispatch({type: 'embed_remove_link'})
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user