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 whiteSpace style of NodeViewContent should be set to break-spaces #5587

Open
1 task done
geminate opened this issue Sep 4, 2024 · 0 comments
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

@geminate
Copy link

geminate commented Sep 4, 2024

Affected Packages

react, vue

Version(s)

2.6.6

Bug Description

When editing content within an editable NodeViewContent, if the content is long enough to wrap to a second line, placing the cursor at the beginning of the second line and attempting to enter a space will result in the space not being successfully inserted.

Browser Used

Chrome

Code Example URL

No response

Expected Behavior

packages/vue-2/src/NodeViewContent.ts
style: { whiteSpace: 'pre-wrap'}
should be break-spaces

Additional Context (Optional)

image

Dependency Updates

  • Yes, I've updated all my dependencies.
@geminate geminate 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 Sep 4, 2024
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
Status: Triage open
Development

No branches or pull requests

1 participant