Copy SVG code to clipboard using Refokus

Hello, I’m building a design system in webflow and want to use the Refokus copy-to-clipboard guides to copy SVG code using the custom attribute feature.

It works a treat for the icon examples in the original site but when I try to replicate it webflow doesn’t allow the SVG code in the ‘value’ field due to double quotes (“”). The original Refokus example clearly has double quotes so I can’t determine why the error is happening.

Link to the Refokus example: Webflow - Christopher's Ultra-Awesome Site

Appreciate any thoughts on this

Screenshot 2023-02-13 at 17.28.51


Here is my site Read-Only: [LINK]1
(how to share your site Read-Only link)