Magic edit uses AI to enforce your style guide rules and suggests edits to the text in your projects as you write.
Magic edit suggestions
Magic edit automatically suggests changes based on the style guides enabled in your project. If a rule applies to the text you’ve selected, the style guide button will turn into suggested edit. If the text already follows your guidelines, no suggestion will appear. When a suggestion is made, Ditto will also show the specific rules that could be applied so you can see exactly why the change was recommended.
💡 Click the style guide button to manually check the text item against your style guide rules
Ditto surfaces magic edit suggestions even before you’ve imported a text item into your project. By selecting a single Figma text layer, Ditto’s AI will check it against your style guides and make relevant suggestions. By accepting the suggestion, Ditto will apply the edit and simultaneously import the text into your project.
Respond to a suggested edit:
Select a text item and click suggested edits
See the rule that contribute to the suggestion and preview the edit
Accept (✓) or reject (✕) the suggestion. Accepting the suggestion will apply the edit to the text item and create the text item in your project
💡 If multiple rules apply to the selected text item, all the rules will be displayed in the suggested edit
After accepting a magic edit suggestion, Ditto will check if there are any other matching text layers in your Figma page. If any are found, Ditto will prompt you to update those matching text with the suggested edit, import them, and link all the repeated text items together to keep them consistent.
Enable magic edit
Magic edit is enabled by default for all Ditto workspaces. You can toggle this feature by going into your Settings → AI → Magic Edit.




