This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Matthias Gieselmann
Posted Jul 10 - Read on Facebook

When I create a text layer in Designer, can I manipulate its text later in Code? As in,

myTextLayer.text = "my modified text" # doesn't work


print # prints "Layer", not "TextLayer"


Juan J. Ramirez

Designer Mode generated text is not a TextLayer but a normal unwrapped html layer; unfortunately...
I don't know why they did it like this and I hope they change it in a future update.

Your can manipulate the html through layer.html but you will need extra manipulation to conserve the style.

Or simply create the TextLayer in code mode and add your desired properties there. That way you can change the text as you originally intended.

Brent Riddell
Read the entire post on Facebook