Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Copy code" button not appearing on codeblocks #416

Closed
alnandr opened this issue Apr 4, 2023 · 1 comment · Fixed by #427
Closed

"Copy code" button not appearing on codeblocks #416

alnandr opened this issue Apr 4, 2023 · 1 comment · Fixed by #427

Comments

@alnandr
Copy link

alnandr commented Apr 4, 2023

I noticed that the "Copy code" button for generated codeblocks is not appearing. I've tried multiple instances of asking the AI to generate code and it won't appear no matter what I try, this is both in a local build and in live production (Vercel) as of the latest commit.

image

thomasleveil added a commit to thomasleveil/chatbot-ui that referenced this issue Apr 4, 2023
@thomasleveil
Copy link
Contributor

I can reproduce this on d5ce8e3 by asking "write 5 random lines in a code block"

image

mckaywrigley pushed a commit that referenced this issue Apr 4, 2023
* update README regarding GOOGLE_API_KEY and GOOGLE_CSE_ID

* 🐛 fix copy button not showing up on code block with no recognized language

fixes #416
jpzhangvincent pushed a commit to jpzhangvincent/chatbot-ui that referenced this issue Apr 7, 2023
* update README regarding GOOGLE_API_KEY and GOOGLE_CSE_ID

* 🐛 fix copy button not showing up on code block with no recognized language

fixes mckaywrigley#416
meooxx pushed a commit to meooxx/chatbot-ui that referenced this issue Apr 9, 2023
* update README regarding GOOGLE_API_KEY and GOOGLE_CSE_ID

* 🐛 fix copy button not showing up on code block with no recognized language

fixes mckaywrigley#416
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants