overrideit-sketchplugin icon indicating copy to clipboard operation
overrideit-sketchplugin copied to clipboard

Overrides for text blocks appear inline in overrideit

Open suit4 opened this issue 5 years ago • 2 comments

If I override the content of a text block with lone breaks, the OverrideIt text box contains the correct text, but line breaks are not shown correctly.

Screenshot 2019-06-07 at 14 38 11

suit4 avatar Jun 07 '19 12:06 suit4

Hello @suit4 this is happening with any text or just this one? can you try example like in the picture image and tell me if it work for you or not

ahmedmigo avatar Jun 07 '19 13:06 ahmedmigo

ok, here is what I did:

  1. created a text block with default values like an numbered list
  2. created a symbol from that textblock
  3. added that symbol to my artboard (Sketch shows the override value in single text field, maybe that is a problem in the first place)
  4. launched OverrideIt
  5. had to resize the overrideit text box, but looks ok. screenshot attached

Screenshot 2019-06-10 at 17 11 20

  1. added some override text. To get the line breaks, I used Ctrl+Return
  2. launched OverrideIt again
  3. the overridden value appears in one row. screenshot attached

Screenshot 2019-06-10 at 17 12 13

  1. used OverrideIt to correct the text one one line, adding line breaks. In OverrideIt, I have to use Alt+Return
  2. the resulting text block now has different line breaks. screenshot attached

Screenshot 2019-06-10 at 17 19 46

suit4 avatar Jun 10 '19 15:06 suit4