-
Notifications
You must be signed in to change notification settings - Fork 50
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
Block inspector behaves erratically when using multiple editors #220
Comments
You will need to design your system so this cross over is avoided. |
ouch 😓 But it happens because the toggle actions uses the same interface store, maybe? |
Undoubtedly it is because of shared state. However, it is difficult to fully separate this as Gutenberg is just not designed for that kind of thing. Attempts have been made and some of these used to work well, but changes to Gutenberg along the way have meant that some things do bleed through. Is your example above a real thing or just theoretical? |
Yep, I understand that. The examples above are taken from this repository storybook (Multiple editors) with inspector enabled. |
Ah ok, yes. It's a moving target so things will change. Hopefully full isolation can be brought back, but currently it's tricky. |
Hello! I can report the same issue when using multiple instances of the Isolated Block Editor on the same page (within WordPress). Did you find any workaround @vonloxx? Thanks! |
@hawkidoki Actually I ended using the block editor component (wrapped on my own components) since a lot of work was done so the block editor can work in a more "isolated" way. More info at WordPress/gutenberg#53874 |
When using multiple editors, the block inspector component behaves erratically:
The text was updated successfully, but these errors were encountered: