Skip to content

support copy button for LLM response and text inside code fences - #257

Merged
ericdallo merged 5 commits into
editor-code-assistant:masterfrom
ChetanKoneru:master
Jun 17, 2026
Merged

ericdallo merged 5 commits into
editor-code-assistant:masterfrom
ChetanKoneru:master

Conversation

@ChetanKoneru

Copy link
Copy Markdown
Contributor
image

Hi @ericdallo ,
Had to open a new PR

@ericdallo

Copy link
Copy Markdown
Member

That works better @CsBigDataHub, some points:

  • it only works for me clicking it, not when hitting enter like other eca buttons (not sure if you can use eca-buttonize which creates buttons whtat should work)
  • there is a weird behavior, if I hold arrow to navigate in the chat, it stops when reaching the start of the code block, the funny thing is that if I go it starts working again until I move cursor to inside the code block again, check the video.
recording-2026-06-17.13.42.04.mp4

@ChetanKoneru

Copy link
Copy Markdown
Contributor Author

@ericdallo, Thanks for the testing this. Fixed all these quirks.
Please re-test.

@ericdallo ericdallo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works great now, thank you!

@ericdallo
ericdallo merged commit b9539d2 into editor-code-assistant:master Jun 17, 2026
15 checks passed
@ChetanKoneru

Copy link
Copy Markdown
Contributor Author

Thanks

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 this pull request may close these issues.

2 participants