Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: the white space is not preserved when typing on some white space preserved text #6092

Open
1 task done
adilJamshad opened this issue Feb 11, 2025 · 1 comment
Open
1 task done
Labels
Category: Open Source The issue or pull reuqest is related to the open source packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug

Comments

@adilJamshad
Copy link

Affected Packages

core, starterkit, react, text align, color, underline, link

Version(s)

2.7.1

Bug Description

https://github.com/user-attachments/assets/4396aada-60b8-48e8-bc91-ef8a4285f391
As visible in the video, the next line text is concatenated. This should be the behavior. it should maintain the white space between lines.

Browser Used

Chrome

Code Example URL

https://codesandbox.io/p/sandbox/happy-stitch-mdwzxx?file=%2Fsrc%2FApp.js%3A6%2C32-7%2C29

Expected Behavior

it should not break the preserveWhiteSpace behavior.

Additional Context (Optional)

No response

Dependency Updates

  • Yes, I've updated all my dependencies.
@adilJamshad adilJamshad added Category: Open Source The issue or pull reuqest is related to the open source packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug labels Feb 11, 2025
@Simon-He95
Copy link
Contributor

Only the Paragraph with this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Open Source The issue or pull reuqest is related to the open source packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug
Projects
None yet
Development

No branches or pull requests

2 participants