about summary refs log tree commit diff
path: root/src/view/com/util/post-embeds/QuoteEmbed.tsx
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-03-01 16:04:20 -0800
committerGitHub <noreply@github.com>2024-03-01 16:04:20 -0800
commitf016cdbca9660d9e10faefae5c34c8574795419e (patch)
tree7bee44655fb39b0ec5a7626d69787147ac5dcb07 /src/view/com/util/post-embeds/QuoteEmbed.tsx
parente950463f71bddbcf83926dcfd681320a53192c7a (diff)
downloadvoidsky-f016cdbca9660d9e10faefae5c34c8574795419e.tar.zst
Enable tags inside of quotes (#3041)
* enable tags for quote posts

* mentions too

* just disable pointer events instead

* apply fix for both web and native

* minimize diff
Diffstat (limited to 'src/view/com/util/post-embeds/QuoteEmbed.tsx')
-rw-r--r--src/view/com/util/post-embeds/QuoteEmbed.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/view/com/util/post-embeds/QuoteEmbed.tsx b/src/view/com/util/post-embeds/QuoteEmbed.tsx
index 35b091269..10718fe93 100644
--- a/src/view/com/util/post-embeds/QuoteEmbed.tsx
+++ b/src/view/com/util/post-embeds/QuoteEmbed.tsx
@@ -91,7 +91,10 @@ export function QuoteEmbed({
   const richText = React.useMemo(
     () =>
       quote.text.trim()
-        ? new RichTextAPI({text: quote.text, facets: quote.facets})
+        ? new RichTextAPI({
+            text: quote.text,
+            facets: quote.facets,
+          })
         : undefined,
     [quote.text, quote.facets],
   )