diff options
author | Mary <148872143+mary-ext@users.noreply.github.com> | 2024-01-11 13:56:45 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-10 22:56:45 -0800 |
commit | 0b2daa787cc6ee7c9fe597aee8ccf9168bada7e7 (patch) | |
tree | 42c9e0b747326ee2187cc9b484f9051f5b96dc57 /src/view/com/post/Post.tsx | |
parent | f7b01c3542f701930764c57b7b2f6bff54a9b675 (diff) | |
download | voidsky-0b2daa787cc6ee7c9fe597aee8ccf9168bada7e7.tar.zst |
Use the RichText facets when copying post text (#2481)
* feat: serialize rich text to string * feat: wire richTextToString to copy post text
Diffstat (limited to 'src/view/com/post/Post.tsx')
-rw-r--r-- | src/view/com/post/Post.tsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/view/com/post/Post.tsx b/src/view/com/post/Post.tsx index 0e5a459fa..f035c32ad 100644 --- a/src/view/com/post/Post.tsx +++ b/src/view/com/post/Post.tsx @@ -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> |