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
This commit is contained in:
Hailey 2024-03-01 16:04:20 -08:00 committed by GitHub
parent e950463f71
commit f016cdbca9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 22 additions and 25 deletions

View file

@ -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],
)