lazy-blocks
lazy-blocks copied to clipboard
Gutenberg edits all blocks at the same time
Issue description:
We generate accordions using a simple lazy block loop. Works great until one block per page is used. If we generate multiple accordion blocks in the same page, all blocks content will be edited at the same time.
Lazy Blocks Version:
2.4.3
WordPress Version:
5.8.1
Any helpful information to reproduce the issue (screenshots, code parts)

Hey.
Do you use the Save in Meta option? If yes, this is the reason. https://lazyblocks.com/documentation/blocks-controls/#custom-meta-field
Hi! Thanks for answering!
No, we're not using that option.
Unfortunately, I can't reproduce this issue. If you can provide a step-by-step guide on how to create this block (from scratch) and how to insert it in the post to reproduce this bug, I will be able to fix it.
I think that happens when using field type Classic Editor (WYSIWYG ).
+1, I have the same problem. Three blocks in a page, when I edit a block, all 3 are modified identically.
I don't know if this is the same problem, but when there are two or more Classic Editor (WYSIWYG ), pressing Ctrl+A selects the contents of all WYSIWYGs except the one that is selected, and then the contents of all WYSIWYGs are the same. No paste, just Ctrl+A to force rewrite to the last edited WYSIWYG content Translated by DeepL