vodoosky Hi I was on the forum and had some problem, copying the example codes. When browsing on a smartphone, so I was wondering if you could make it better, to get the help codes. Regards
vimanuelt When Eric has time he could implement a "Copy" button to code blocks in Flarum, by using the FFans Clipboardjs extension. To help, I've provided the installation steps below. Installation Steps: Install via Composer: composer require ffans/clipboardjs Enable the Extension: Navigate to the Flarum Admin Panel. Go to the Extensions section. Locate and enable the FFans Clipboardjs extension. Configure Settings (Optional): Access the extension's settings to select your preferred button style and adjust other configurations as needed. Additional Resources: - GitHub Repository: FFans/clipboardjs - Packagist Page: https://packagist.org/packages/ffans/clipboardjs
vodoosky I will install GhostBSD soon but for now I am just browsing. Still in the process of finalising my multi OS layout.
ericbsd FFans/clipboardjs has not been maintained for a while and is marked as not compatible with the next version of Flarum. I installed nearata/flarum-ext-copy-code-to-clipboard. It is more likely to be updated for Flarum v2.0.0.