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.

5 Comments

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: http://framerjs.com/examples/preview/#type-tester.framer

Also, someone made an awesome "TextLayer' module that abstracts that away from you: https://github.com/awt2542/textLayer-for-Framer

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