spinkube / documentation

Site and Docs for the SpinKube community project
https://www.spinkube.dev/
Apache License 2.0
15 stars 24 forks source link

fix "click to copy" not copying content #217

Closed bacongobbler closed 1 month ago

bacongobbler commented 1 month ago

Fixes ReferenceError: Cannot access 'copyCode' before initialization.

Also fixes the issue where "click to copy" was not being applied to the code block unless its parent had the data-plausible attribute applied.

bacongobbler commented 1 month ago

I agree. I'd love to add that in a follow-up.

bacongobbler commented 1 month ago

filed https://github.com/spinkube/documentation/issues/220 to track that