FramerInput icon indicating copy to clipboard operation
FramerInput copied to clipboard

.wrap method not preserving TextLayer design properties

Open toddjreynolds opened this issue 7 years ago • 2 comments

When using the wrap method, the placeholder text layer discards the property used in the design tab and seems to revert to a default font size, and font weight.

toddjreynolds avatar Feb 09 '18 21:02 toddjreynolds

Second that.

As a workaround you can add something like this in framer/style.css

input, textarea { font-family: "Comic Sans" !important; }
div[name="yourTextLayerName"] ~ input { font-weight: 700 !important; }

bruskowski avatar Mar 02 '18 12:03 bruskowski

Adding the following line as line no. 188 in the Module ( input.coffee ) seems to work as well:

		@_inputElement.style.fontFamily = layer.fontFamily

bruskowski avatar Apr 20 '18 16:04 bruskowski