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

What is Framer? Join the Community
Return to index
Tim Numan
Posted Aug 26 - Read on Facebook

Is it possible to reach and change the text in a textfield from Sketch? I'd like to draw re-usable elements in sketch and duplicate em a few times with different text in it as fast as possible.


Daniel Rakh

As far as I know, you need to dig into some html and create an input or textarea to make any text editable. Check this example:

Also, someone made an awesome "TextLayer' module that abstracts that away from you:

Anubhav Saxena

Create a new layer with html content, preferably with a div containing input field. Create a new function with this layer code, and return the layer from the function. Reuse the function as many times to create editable textboxes.

Tim Numan

Alright, this still requires me to position / size the textfield(s) for each element but I guess that's the only way at the moment.

Anubhav Saxena

So, in the html give the input field a class. Now go to your framer folder and open index.html..add a css file there like an ordinary html page to style your html elements in the layers.

Tim Numan

Ahhhh Allright cheers ill try that

Read the entire post on Facebook