[wp-trac] [WordPress Trac] #49857: Groups disappear after inserting something inside it in Gutenberg

WordPress Trac noreply at wordpress.org
Thu Apr 9 14:59:44 UTC 2020


#49857: Groups disappear after inserting something inside it in Gutenberg
--------------------------+------------------------------
 Reporter:  ple33         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  5.4
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  ui
--------------------------+------------------------------
Changes (by Otto42):

 * severity:  major => normal


Comment:

 I would rate this as a user-interface issue, because the group is still
 there, it's just not easy to select it with the mouse.

 Example: Do your steps. Create a group, put a paragraph with some text in
 it.

 Now, the group appears to be gone, and indeed I see no way to select it
 with the mouse. However, click inside the paragraph, then hit the Home
 button to move to the beginning of the paragraph. Press the left arrow key
 one time, and you are now outside the paragraph and are in the group
 again. You will see the menu bar change as well as the sidebar show the
 group options.

 Another way to move into the group: click the cursor anywhere into the top
 line of the paragraph, and hit the up arrow. Same effect, you're in the
 group now.

 If you need test text for this, here's the code I used to test with:

 {{{
 <!-- wp:paragraph -->
 <p>Normal para.</p>
 <!-- /wp:paragraph -->

 <!-- wp:group -->
 <div class="wp-block-group"><div class="wp-block-group__inner-
 container"><!-- wp:paragraph -->
 <p>This is a para inside a group.</p>
 <!-- /wp:paragraph --></div></div>
 <!-- /wp:group -->

 <!-- wp:paragraph -->
 <p>Not in a group again.</p>
 <!-- /wp:paragraph -->
 }}}

 From a UI perspective, the group needs some spacing around it with some
 kind of distinctive color or other visual to set it apart and provide a
 place to click to select it, or indeed to even know that it exists.

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


More information about the wp-trac mailing list