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

What is Framer? Join the Community
Return to index
David Keegan
Posted Jul 05 - Read on Facebook

I might be missing something obvious, but is there a way to change the string of a text layer in code? This is in Framer v95. Only thing I've gotten to work so far is this: TextLayer._element.innerText = "Hi!"

1 Comments

Jonas Treub

There is only a hacky way for now:
textLayer.html = textLayer.html.replace("original", "new text")

A better workflow is in the works.

Read the entire post on Facebook