PrismJS copy-to-clipboard error

I tried from ubuntu on windows, and on some vps with fedora and ubuntu, I encountered the same problem.

is a problem when I write an example of code with parameters to be modified based on user preferences, if the command starts automatically, the user will use the example parameters, and probably will not work.

The code you gave me solves the problem, initially I didn’t want to solve using javascript, I thought it was a different problem, but for now it’s ok.
thanks a lot

1 Like