Use the RichText facets when copying post text (#2481)

* feat: serialize rich text to string

* feat: wire richTextToString to copy post text
This commit is contained in:
Mary 2024-01-11 13:56:45 +07:00 committed by GitHub
parent f7b01c3542
commit 0b2daa787c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 60 additions and 5 deletions

View file

@ -213,7 +213,12 @@ function PostInner({
</ContentHider>
) : null}
</ContentHider>
<PostCtrls post={post} record={record} onPressReply={onPressReply} />
<PostCtrls
post={post}
record={record}
richText={richText}
onPressReply={onPressReply}
/>
</View>
</View>
</Link>