forked from XiaoMo/ChatGPT-Next-Web
Merge pull request #213 from leedom92/copy-content-in-mobile
feat: setUserInput with onDoubleClickCapture in mobile phone
This commit is contained in:
commit
fe858621f2
@ -439,6 +439,7 @@ export function Chat(props: {
|
||||
className="markdown-body"
|
||||
style={{ fontSize: `${fontSize}px` }}
|
||||
onContextMenu={(e) => onRightClick(e, message)}
|
||||
onDoubleClickCapture={() => setUserInput(message.content)}
|
||||
>
|
||||
<Markdown content={message.content} />
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user