Skip to content

Oxygen 6: text fields has redundant newline characters at the start & end #3671

@voed

Description

@voed

Describe the bug
Text fields (Tested on Text and Heading) has newline characters on both ends.
Normal one-line text:
Image

How it looks in the devtools:
Image

The problem is it creates extra whitespaces when rendered. Appending text via ::after leads to extra spacing between the text:

Image

A link to a Sandbox site where the bug has been reproduced https://oxygenbuilder.com/try? (REQUIRED)
https://optimistic-crab-3f9a8d.instawp.site/

IF YOU CAN'T PROVIDE A SANDBOX REPRODUCTION: Steps required to reproduce the bug:
Steps to reproduce the behavior:

  1. Create any text field
  2. Open it in frontend
  3. Open devtools and inspect the text

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions