•  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>

    • This topic was modified 3 years, 3 months ago by Ivo Francisco.
Viewing 1 replies (of 1 total)
  • That coming from one of the group boxes on your page. There are two area where code is generated in the blocks Edit and Save. The edit is on the backend and the save is what you see when the block is rendered on the front end. I found an issue that might be causing the problem on git https://github.com/WordPress/gutenberg/issues/39051. it was caused by a blank target attribute. it suggest that either the rel or target attribute was blank when the block was created.

    not sure if there is a solution to it. It looks like it was brought up as an issue before.

    • This reply was modified 3 years, 3 months ago by mrtom414.
Viewing 1 replies (of 1 total)

The topic ‘New Post Creation Page (Group Block CSS Issue)’ is closed to new replies.