Anyone knows how can one change a text layer's properties created in *Design*, in *Code*? 🙃
I think you can access any property by using the syntax layername.property ; for eg you can set the text by using layername.html = "new text". Refer to the docs for the list of properties of layers and text layers
There is only a hacky way to do it right now:textLayer.html = textLayer.html.replace("original", "new text")
Seems easier right now to just create text you want to manipulate in code mode. To my knowledge you can't change properties like color etc.
Seems like Framer flattens the text when importing from design mode. Hopefully this is on the shortlist of fixes! Would be awesome to have text imported as a fully text layer.
Indeed. It's on the roadmap.
Replace is the best way to do this at the moment but still not ideal