Hey @Tiger_ShenTai - sorry for the trouble, but could you post a screen recording of what you’re seeing? I wasn’t sure if I understood your post correctly, and want to make sure I address the correct problem.
Thanks for your attention. 🥹 🥹
Sry, hard to upload video, cause the size limited. Let me explain with screen shot
Step 1 : i wrote down the code at the component description area. and set the content as code.
Step 2: I change to Dev mode. check the code if it can be copy or not. The result is can’t. But, just few weeks ago I can copy at the Dev mode. We can set the content as code, But can’t copy, it’s weird. The code is for help developer to copy easily. but now can’t copy anymore.
Sounds like you should rather use Code Snippets for that: Code Snippet Editor | Figma
Thanks a lot 🙏 🙏 @Stan5 , but this is a plugin, there have so many developers need to know this plugin and how it works, it will cost resource. and the description of component already support set content as code mode. it will be better than the plugin. 🤔 🤔
The developers won’t have to play with the plugin. They’ll just see the code snippet in the dev mode panel. The main advantage is that the code will be dynamically generated based on the instance’s props.
As you said it definitely adds a bit of workload for the design system maintainer.
Let me try this plugin first. thanks dude.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.