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

Wrong block is edited when using multiple blocks of same type #392

Closed
freshleafmedia opened this issue May 31, 2024 · 1 comment · Fixed by #421
Closed

Wrong block is edited when using multiple blocks of same type #392

freshleafmedia opened this issue May 31, 2024 · 1 comment · Fixed by #421
Labels
bug Something isn't working

Comments

@freshleafmedia
Copy link

freshleafmedia commented May 31, 2024

Filament Version

v3.2.85

Plugin Version

v3.3.5

PHP Version

8.3.6

Problem description

Add multiple of the same type of block to an editor and then editing one of them will cause the wrong block to be updated

Expected behavior

Edits to a block are on the correct block

Steps to reproduce

repro-3-2024-05-31_09.15.24.mp4

Reproduction repository

https://github.com/freshleafmedia/tiptap-repro/tree/alt

Relevant log output

No response

@freshleafmedia freshleafmedia added the bug Something isn't working label May 31, 2024
@awcodes
Copy link
Owner

awcodes commented May 31, 2024

Interesting, this appears to only happen if a block is the first item in the content. I've replicated locally, will see what I can figure out.

Thanks.

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

Successfully merging a pull request may close this issue.

2 participants