[wp-trac] [WordPress Trac] #57889: New Post Creation Page (Group Block CSS Issue)

WordPress Trac noreply at wordpress.org
Wed Mar 8 18:44:51 UTC 2023


#57889: New Post Creation Page (Group Block CSS Issue)
----------------------------------+------------------------------
 Reporter:  ivomaz                |       Owner:  (none)
     Type:  defect (bug)          |      Status:  assigned
 Priority:  normal                |   Milestone:  Awaiting Review
Component:  Editor                |     Version:  6.1.1
 Severity:  normal                |  Resolution:
 Keywords:  move-to-github close  |     Focuses:  javascript
----------------------------------+------------------------------
Changes (by sabernhardt):

 * keywords:   => move-to-github close
 * focuses:  ui, javascript, css, administration => javascript


Old description:

> 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()]])]])]])]])]]

New description:

 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()]])]])]])]])]]
 }}}

--

Comment:

 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57889#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list