Lightbox filtering no longer working/isn't disallowing editing #59837
Labels
[Feature] Interactivity API
API to add frontend interactivity to blocks.
[Type] Regression
Related to a regression in the latest release
Pulling this out of a separate issue and copying/pasting from @justintadlock (let's make sure to create separate issues here for 6.5 problems).
It looks like the filter itself works. However, the implementation in the editor might be broken. I'm testing against WP 6.5 RC2.
This combination isn't disallowing editing:
allowEditing
:false
enabled
:true
With those two settings, I'm still able to change the lightbox status of an existing Image block and a newly-added Image block in the editor.
Tested with filter:
I also tested this without the filter but setting it in
theme.json
:CC: @artemiomorales
This is a change in previous behavior from WordPress 6.4 and seems to be a regression and bug to me. I don't know if it's related to a change in the Lightbox toggle in the sidebar to the new location in the Link dropdown. #57608 Or something else altogether.
The text was updated successfully, but these errors were encountered: