[Bug]: The whiteSpace style of NodeViewContent should be set to break-spaces #5587
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
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)
Dependency Updates
The text was updated successfully, but these errors were encountered: