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(blocks): update list number prefix when updating a block #6790

Merged
merged 2 commits into from
Apr 18, 2024

Conversation

lawvs
Copy link
Member

@lawvs lawvs commented Apr 17, 2024

Fix #6697

This pull request fixes the list number prefix expires by listening to the blockUpdated event.

Screen.Recording.2024-04-17.at.18.12.37.mov

Limits

  • Not work when reordering blocks by drag handle
Screen.Recording.2024-04-17.at.18.20.38.mov
  • Not work in some cases of undo/redo
Screen.Recording.2024-04-17.at.18.25.27.mov

Copy link

vercel bot commented Apr 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
blocksuite ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 18, 2024 1:24am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
blocksuite-docs ⬜️ Ignored (Inspect) Visit Preview Apr 18, 2024 1:24am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Stale state in resorted numbered list
2 participants