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

fix: ctrl+backspace in list item on firefox #5962

Closed

Conversation

luka-nextcloud
Copy link
Contributor

@luka-nextcloud luka-nextcloud commented Jun 27, 2024

📝 Summary

The issue came from old version of package prosemirror-view. It triggered "Enter" key from wrong detection logic. This issue was fixed on new prosemirror-view release.

🖼️ Screenshots

🏚️ Before 🏡 After
B A

🚧 TODO

  • ...

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits
  • Tests (unit, integration and/or end-to-end) passing and the changes are covered with tests
  • Documentation (README or documentation) has been updated or is not required

src/nodes/Paragraph.js Outdated Show resolved Hide resolved
Signed-off-by: Luka Trovic <luka@nextcloud.com>
@luka-nextcloud luka-nextcloud force-pushed the bugfix/ctrl-backspace-in-listitem-on-firefox branch from e11a7ea to 3ec4e80 Compare June 28, 2024 11:50
@juliusknorr
Copy link
Member

Thanks for checking that.

Let me put some references here as well:
https://github.com/ProseMirror/prosemirror-view/blob/master/CHANGELOG.md#1337-2024-05-31
ProseMirror/prosemirror-view@8c9a7d2

Was bumped in tiptap upstream for the upcoming 2.5.0 release with ueberdosis/tiptap@747985b

@juliusknorr
Copy link
Member

@luka-nextcloud @max-nextcloud Any oppinion on having direct prosemirror dependencies again in our package.json? I feel this could cause issues in the future if tiptap ships another version. Shall we just wait for the upstream update? Or merge and revert fixed in upstream?

@luka-nextcloud
Copy link
Contributor Author

I think if this issue is not urgent, we'd better wait for the new tiptap release.

@juliusknorr
Copy link
Member

Left a comment about this in the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ctrl+Backspace inserts new item into unordered list with Firefox
2 participants