From f84c6f818a9ce9f4ae6ba23d350978352cc3d4d3 Mon Sep 17 00:00:00 2001 From: Paulo Castellano Date: Fri, 17 Jul 2026 14:32:40 -0300 Subject: [PATCH] feat(posts): show link preview card in the X and Threads editors X and Threads auto-generate link cards server-side from the URL's meta tags, so no publish-side work is needed. Reuse the shared useLinkCard composable to render the card in their editor previews, gated on no attached media. --- .../components/posts/previews/ThreadsPreview.vue | 16 +++++++++++++++- .../js/components/posts/previews/XPreview.vue | 16 +++++++++++++++- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/resources/js/components/posts/previews/ThreadsPreview.vue b/resources/js/components/posts/previews/ThreadsPreview.vue index c2fab739..72977c58 100644 --- a/resources/js/components/posts/previews/ThreadsPreview.vue +++ b/resources/js/components/posts/previews/ThreadsPreview.vue @@ -1,7 +1,9 @@