Moin
January 14, 2025, 4:47pm
22
I think it doesnât work when you select âeveryoneâ in the dropdown. At least I couldnât find the button until I selected another group. (I know that problem also affects other plugins and components)
4 Likes
keegan
(Keegan George)
January 15, 2025, 3:40am
23
Thanks for identifying that @Moin . Iâve pushed a fix:
discourse:main
â discourse:fix-everyone-group
opened 06:55PM - 14 Jan 25 UTC
### :mag: Overview
This update fixes an issue where the copy post button does n⌠ot show up when it is set to the "everyone" group. This is because the "everyone" group is not a `visible_group`, and only visible groups are attached to the current user's serializer. Hence, we must explicitly check for the everyone group when comparing against the current user's groups.
### đ Related links
https://meta.discourse.org/t/copy-post-component/218883/22?u=keegan
6 Likes
Shauny
(Shaun Robinson)
February 17, 2025, 11:37pm
24
I just get this error message whenever I click the copy button:
1 Like
Do you see any error in the browserâs console?
Don
February 18, 2025, 8:32am
26
I mentioned this issue on the other topic.
I think the issue is that on iOS the copy only works if it comes from user interaction⌠It fails when it try to copy the quote. I will look for a solution if there are. There is the same issue in Copy Post Component .
I tried a lots of way to fix this on iOS but it always fails on copy to clipboard because that wasnât a real user interaction. So Iâve separated the actions and switches buttons between a prepare quote (which is fetching the quote) and copy quote (which is copy the quote to clipboard). This works fine. I also added a tooltip when the copy button appears.
1 Like
I noticed an error on a site using the component as anonymous:
I made a PR to fix it:
main
â Arkshine:fix-anonymous
opened 08:13PM - 17 Mar 25 UTC
This PR fixes the following error:

And restores the original behavior before the modernization in https://github.com/discourse/discourse-copy-post/pull/2/commits/e856422cd6c1fc4da60de5cb44faf216490c6c84.
3 Likes
The PR is now merged; thanks, Keegan!
2 Likes