From 0ecc98d0de4bcc086902f83e14da529ce6569730 Mon Sep 17 00:00:00 2001 From: dan Date: Thu, 24 Oct 2024 20:44:24 +0100 Subject: 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. --- src/view/com/composer/Composer.tsx | 1 + 1 file changed, 1 insertion(+) (limited to 'src/view/com/composer/Composer.tsx') diff --git a/src/view/com/composer/Composer.tsx b/src/view/com/composer/Composer.tsx index 88052addc..249ba99e5 100644 --- a/src/view/com/composer/Composer.tsx +++ b/src/view/com/composer/Composer.tsx @@ -668,6 +668,7 @@ export const ComposePost = ({ { dispatch({type: 'embed_remove_link'}) }} -- cgit 1.4.1