This component is under active development and currently being tested on meta. Frequent changes will occur.
![]() |
Summary | Adds a direct-copy button to the post menu actions. |
![]() |
Repository | GitHub - chapoi/discourse-post-direct-copy |
![]() |
Install Guide | How to install a theme or theme component |
Install this theme component
A small component that will copy the link of a post directly to your clipboard, circumventing the original share modal popup.
Replaced the share functionality with a direct copy functionality. Same icon, different action.
On click it shows a toast notification and a little checkmark on the copy button, to indicate the copy action happened.
Desktop only ā mobile has native copy popup support.
Only the post menu button is impacted, the timestamp and topic share button remain the same.
Previous version changes
- The previous version had similar functionality on mobile, but decided to drop this in favor of the native support.
- It also had the option to keep the original share-modal button in the post menu actions, but removed that for now to avoid confusion and complexity. So in the latest version, you choose either type A or type B functionality.
- The toasty was shown in the bottom right corner, but on large screens this was too far from the action, so moved it closer