docusaurus-plugin-image-zoom icon indicating copy to clipboard operation
docusaurus-plugin-image-zoom copied to clipboard

Getting the plugin to work with ThemedImage

Open suntudo opened this issue 2 years ago • 0 comments

Hi there, great plugin, thanks so much for making it!

I'm trying to get it to work with the docusaurus ThemedImage component, which I'm using for light/dark mode images as outlined here.

I tried swizzling the component and adding the medium-zoom-image class, but that doesn't seem to work. It now shows the cursor change on hover, but doesn't zoom. Is there another way it might be possible to get this to work?

Could this be done by changing the selector option in docusaurus config?

thanks

suntudo avatar Jun 02 '22 21:06 suntudo