feat(reply modal): greentext by selecting text

This commit is contained in:
Tom (plebeius.eth)
2024-06-26 18:20:25 +02:00
parent c8f62a754d
commit 972964deda
5 changed files with 38 additions and 10 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ const PostInfoAndMedia = ({ openReplyModal, post, roles }: PostProps) => {
{!cid ? (
<span className={styles.pendingCid}>{state === 'failed' || stateString === 'Failed' ? 'Failed' : 'Pending'}</span>
) : (
<span className={styles.replyToPost} title={t('reply_to_post')} onClick={() => openReplyModal && openReplyModal(cid)}>
<span className={styles.replyToPost} title={t('reply_to_post')} onMouseDown={() => openReplyModal && openReplyModal(cid)}>
{shortCid}
</span>
)}