You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe it is a result of efforts to actually reduce and simplify the DOM in the editor to better match the frontend. Per the discussion in https://github.com/WordPress/gutenberg/pull/21167/files#r398432208, there's still some work to do, and it has to do with refactoring how alignments work. In that vein, I'm going to close this ticket in favor of #20650, which has been created exactly to address this and related issues.
I agree that div seems completely unnecesary, and I expect it will be removed once #20655 lands.
However that div is only classless when the image is block level, wide or full-wide, so in effect it should be mostly transparent, and you can continue to target .wp-block-image to style the image. This worked before, and it will continue to work both with the div, and when the div gets fixed!
Hey, I just updated to the new version and noticed that the Image block is now wrapped in a div:
I assume this is a bug?
The text was updated successfully, but these errors were encountered: