Skip to main content

Allow FigJam code block to be used in Figma files


owilliams

I like to leave CSS snippets in my design files for developers to reference.
The code block in FigJam works really well but it’s not possible to use it in Figma design files which I find very annoying.


9 replies

lepdev
  • 57 replies
  • April 28, 2022

Now you can : I tested 😉


Oliver_Williams

Just tested. I’m on the latest version of Figma desktop app and it didn’t work - I get exactly the same error message as before


lepdev
  • 57 replies
  • April 28, 2022

Weird in my case it worked, only new section blocks cannot be copied (in the past I did get the same message as you). I’m on Windows 10 Desktop.


lepdev
  • 57 replies
  • April 28, 2022

maybe try on a brand new figma design file.


lepdev
  • 57 replies
  • May 1, 2022

Wow you’re right it’s still not possible but I inadvently found a way to do so as I was playing with new section : put code blocks within a section and paste the whole it will then work 😂


owilliams
  • Author
  • 12 replies
  • May 13, 2022

You’re right - putting it in a section made it work for me. Very strange.

They seem to be working perfectly well in Figma design. I wonder if there is some reason why they disallow pasting into Figma design files? Absolutely love specifying code for developers implementing designs rather than having them only rely on inspect


lepdev
  • 57 replies
  • May 15, 2022

Well it’s 2 different environments they may not have time to garantee that it works well in both. Remark that section labels for example are NOT copied (tips: they’re copied though if you export).


owilliams
  • Author
  • 12 replies
  • June 29, 2022

Even though the latest Figma updated made it so we can now use widgets in Figma design files, it doesn’t include code blocks 😦


  • 0 replies
  • September 27, 2022

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.


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