Make WordPress Core

Opened 15 months ago

Last modified 15 months ago

#57889 assigned defect (bug)

New Post Creation Page (Group Block CSS Issue)

Reported by: ivomaz's profile ivomaz Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.1.1
Component: Editor Keywords: move-to-github close
Focuses: javascript Cc:

Description (last modified by sabernhardt)

Hi
I am having this issue, every time a try to create a new post I see this error/warning in the console. I am confused if this is coming from a mistake I've done or is something else. Tested different browsers and still get the same error:

blocks.min.js?ver=69022aed79bfd45b3b1d:10 Block validation: Block validation failed for `core/group` ({name: 'core/group', icon: {…}, keywords: Array(4), attributes: {…}, providesContext: {…}, …}).

Content generated by save function:

<div class="wp-block-group alignfull has-contrast-color has-text-color" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--60);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--50)"></div>

Content retrieved from post body:

<div class="wp-block-group alignfull has-contrast-color has-text-color" style="min-height:40vh;margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--60);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--50)">



</div>[[Image([[Image([[Image([[Image([[Image()]])]])]])]])]]

Change History (2)

#1 @sabernhardt
15 months ago

  • Description modified (diff)
  • Focuses ui css administration removed
  • Keywords move-to-github close added

Hi and welcome to Trac! Thanks for the report!

Could you open this as an issue in the Gutenberg GitHub Repository?
https://github.com/WordPress/gutenberg/issues/new/choose

You shared post body content in the ticket description, but I think some of it might be missing. GitHub's code formatting might be a little more intuitive, though they have a Preview tab instead of showing the preview automatically with Trac tickets.

#2 @Mamaduka
15 months ago

The issue was already reported in the Gutenberg repo but needs to be resolved by the Patterns Directory. See https://github.com/WordPress/gutenberg/issues/48911#issuecomment-1461275723.

Note: See TracTickets for help on using tickets.