Skip to content

Spaces do overflow, instead of getting moved to the next line #4637

@Pedrobusou

Description

@Pedrobusou

Description

See how between the "f" and the "Experience a modern..." I have inserted a bunch of spaces (" ") that arent able to generate a new line. Instead, they are kept on the same line, past the editor right box limit.

Reproduction URL

https://platejs.org/

Reproduction steps

1. Write a word
2. Set the cursor in the center of it
3. Insert spaces until the half of the word at the right side of your cursor jumps to the next line
4. See that if you keep inserting spaces, they do not appear on the next line, but instead, keep being inserted on the current line past the editor's right limit

Plate version

21.3.2

Slate React version

0.95.0

Screenshots

The Plate webpage:
Image

The Plate implementation on my page:
Image

Browsers

Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcore

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions