Skip to main content
owilliams
Apr 3, 2022 12:17 AM UTC

Allow FigJam code block to be used in Figma files

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
Apr 28, 2022 2:08 PM UTC

Now you can : I tested 😉

Oliver_Williams
New Member
Apr 28, 2022 2:25 PM UTC

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
Apr 28, 2022 10:01 PM UTC

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
Apr 28, 2022 10:04 PM UTC

maybe try on a brand new figma design file.

lepdev
May 1, 2022 7:41 AM UTC

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
owilliamsAuthor
May 13, 2022 9:36 AM UTC

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
May 15, 2022 12:07 PM UTC

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
owilliamsAuthor
Jun 29, 2022 2:35 PM UTC

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

Sep 27, 2022 2:35 PM UTC

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