Audit of block markup between frontend and editor #23256
Labels
[Package] Block library
/packages/block-library
[Type] Tracking Issue
Tactical breakdown of efforts across the codebase and/or tied to Overview issues.
I thought it would be a good idea to keep track of the blocks with mismatching DOM elements between frontend and editor. Some of these are obviously not fixable (shortcode, html). I err on the side of caution (and need to log off) so just let me know and I can
strikea block that's impossible to match.Also I havent tested any of the FSE blocks, just let me know if I should mark something. Otherwise I'll get to them at some point I guess.
<Disabled>
,<ServerSideRender>
, Block<Disabled>
, is this fine?<div>
instead of<a>
but that's fine since they share a class I think<Disabled>
,<ServerSideRender>
, Blockdiv.wp-block-file__content-wrapper
figcaption.blocks-gallery-item__caption
HTML<img>
is nested within one extra div<Disabled>
,<ServerSideRender>
, BlockMissingMore<div>
instead of<a>
but that's fine I guess?<cite>
<cite>
. Partially #23034<Disabled>
,<ServerSideRender>
, BlockShortcode<button>
instead of<a>
, and as this has no class there's no common selector for it<div>
. Classnames fixed in #23235 but need assistance about wrapper div<ServerSideRender>
, Block<Disabled>
, is this fine?The text was updated successfully, but these errors were encountered: