Hi everyone, we translate Figma designs using AI. We've tried both a home-made Dust plugin and AI agents (Claude / Cursor) that write back to Figma via the plugin API and MCP. Both hit the same limitation: when a text node has mixed styles (different weights, sizes or colours within the same node), replacing the text flattens everything to a single style.
Is there a reliable way to preserve or restore mixed styles after replacing text content?
Would love to hear if others have found a workaround, or if this is just a current API constraint.

