You’ll first need to generate keys for the selected frame. If you don’t know how to, please read this guide.
Once you have generated keys, you can manage them using the Gleef Plugin.
The Gleef Figma Plugin allows you to display keys on the selected frame. This is useful for debugging purposes as well as when coding the frame.
You can toggle this option on and off using the toggle option in the overview.
If you don’t toggle back, keys will stay until you toggle again. Keys are hard written in the frame, meaning you can’t access original text below.
You can’t lose content using Gleef, as everything is saved in the database. you just need to use toggle in order to go back to the previous step.
You can also use ctrl + Z (or cmd + Z for Mac users) to go back to previous state.
No worries, everything is saved in Figma, if you want to know more, check this out.
Once generated, you’ll be able to access the generated lists. You can access 4 different lists:
All keys: All keys and text elements taken into account. This is the default list.
Keys in sync: Text elements that have a key assigned, and that are currently in sync (meaning taken into account for the display and in the export).
Text elements ignored: Text elements (with or without a key assigned) that are ignored (meaning not taken into account for the display and in the export).
Text elements not in sync: Text elements that have no key assigned. This can happen when you generate keys, then add a text element to the frame, meaning this element has no keys generated.
Existing keys - meaning keys that you have uploaded in Gleef with an import (see more here) - are displayed in the list with a tag ‘Existing’.
It’s a reminder that this key already exists in the database, and thus, the value linked to that key will be the one saved in the knowledge base.
If you want to add new keys in the knowledge base, see this topic.
If you don’t want to take into account a text element for the display and the export, you can ignore it. To do so, click on the ignore button (syncro button crossed out).
By clicking on a key name, you can focus and select the corresponding text element in the canvas. This is useful when you have a lot of text elements in your screen.