Skip to main content
Question

Codegen plugin: double indenting


Hello everyone!

I’ve been working on a Codegen plugin for my team. It takes a group of elements and exports them as a React component.

Everything seems to be working perfectly, including its display within the FIGMA interface. However, when I copy the generated code and paste it elsewhere, I notice it has double the intended indentation. Instead of the expected two-space indentation, it’s coming out with four.

Is there a setting or solution to address this?

Thanks in advance!

Marlus

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings