chipzoller / hugo-clarity

A theme for Hugo based on VMware Clarity
Other
572 stars 263 forks source link

Code block "Copy to clipboard" function is not working #312

Closed georgew509 closed 2 years ago

georgew509 commented 2 years ago

I have checked all the prerequisites below and I'm yet experiencing a problem

However, I am still having an issue with Code blocks. The "Copy to clipboard" function is not working for me. I am on macOS using Safari. I also have tried using Chrome. Here are some example code blocks on my site.

The "Copy Code" icon blinks when I click on it, but I don't see the code when I try to paste it to a file.

Here are some details about my development environment:

george@imac1:~ $ hugo version hugo v0.99.1+extended darwin/amd64 BuildDate=unknown

george@imac1:~ $ go version go version go1.18.2 darwin/amd64

george@imac1:~/Hugo/clarity $ hugo mod graph clarity github.com/chipzoller/hugo-clarity@v0.0.0-20220519120232-e511e14db7a1

Thanks for all the hard work that's been done over the last couple of weeks.

jbowdre commented 2 years ago

I'm seeing the same as well with hugo v0.96.0+extended linux/amd64 and a local clone of this repo as of e511e14.

Other code functions work fine, just not the copying.

chipzoller commented 2 years ago

cc @onweru

chipzoller commented 2 years ago

Closed by #298