Custom code SVG as component unable to edit code

Not sure if this a Webflow bug within it’s UI, but if I add a Custom Code element, add in my code for a simple SVG icon, eg LinkedIn icon - then make that a component to use across my site - I can’t edit the code any more when within the component ‘editing’ mode.

I guess a work around would be to wrap it in a DIV, but that now means swapping out the component across the site…

Feels like this is a UI bug, as clicking on the cog icon does nothing when you’re in the ‘component’ mode.