-
Notifications
You must be signed in to change notification settings - Fork 106
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
Issue with Sensei Image Hotspot blocks #1976
Comments
Thanks for logging @westnz. To debug and replicate the issue, we need a link to an existing lesson where this is happening. Are you able to share such a link? |
Ah, I did originally fill in the reproduction steps. Fixed! ⏫ |
Thanks @westnz, I have also been able to replicate this on a test lesson https://learn.wordpress.org/wp-admin/post.php?post=50087&action=edit @adamwoodnz After looking into this, it looks like the Sensei image hotspot block sets a
What's interesting is that when I test this on my local development environment, I cannot replicate this error, which makes me think it's either to something elsewhere in the .org codebase and not something in the wporg-learn theme or plugin. |
Description
When editing specific lessons in a course, I encounter an issue where certain blocks do not display correctly in the backend, accompanied by the message: 'This block contains unexpected or invalid content.'
Step-by-step reproduction instructions
Please list the steps needed to reproduce the bug. For example:
Please note, this is only one example but also happens with other blocks such as Flashcard block: https://learn.wordpress.org/wp-admin/post.php?post=32844&action=edit & even the Video block: https://learn.wordpress.org/wp-admin/post.php?post=12045&action=edit
Expected behaviour
The blocks appear correctly.
Actual behaviour
The block needs to be recovered and you see the message: 'This block contains unexpected or invalid content.' You can recover the block, but it appears incorrectly again when you refresh or return to the lesson at a later stage.
Screenshots or screen recording (optional)
Environment information
The text was updated successfully, but these errors were encountered: