WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 11 months ago

#47741 closed defect (bug) (reported-upstream)

Empty Paragraph created under a block

Reported by: montviso Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.2.2
Component: Editor Keywords: reporter-feedback
Focuses: Cc:

Description

I like to work with the Gutenberg editor, but a few things cause me problems. I know how to help myself, but when customers need to maintain content, it gets difficult.

One point is that often an empty paragraph is created under a block I'm editing, so code looks like this:

<!-- wp paragraph -->
<p></p>
<!-- /wp paragraph -->

I work with blocks of different background colors. If an empty container slips in between, it has the background color of the page (see attached picture).

In the Visible Editor, "Write something or type / for block selection" appears at the position.

When I place the cursor there and use the return key, I sometimes get rid of the container, sometimes not. The only safe method is to go into the code editor and delete the paragraph. But this is no method for customers without HTML dxperience.

Attachments (3)

gutenberg-leerer-container.jpg3.JPG (16.0 KB) - added by montviso 2 years ago.
Gutenberg Empty Paragraph
gutenberg-leerer-container.jpg2.JPG (19.3 KB) - added by montviso 2 years ago.
Little Block with Background color of page
gutenberg-leerer-container.jpg1.JPG (21.6 KB) - added by montviso 2 years ago.
This is visible under the block

Download all attachments as: .zip

Change History (6)

@montviso
2 years ago

Gutenberg Empty Paragraph

@montviso
2 years ago

Little Block with Background color of page

@montviso
2 years ago

This is visible under the block

#1 @SergeyBiryukov
2 years ago

  • Component changed from General to Editor

#2 @isabel_brison
2 years ago

  • Keywords reporter-feedback added

Hi @montviso, thanks for the report. This ticket is related to the block editor so it belongs in the Gutenberg repo. There are already a couple of tickets that may be related over there:

https://github.com/WordPress/gutenberg/issues/15918

https://github.com/WordPress/gutenberg/issues/16736

Is your particular situation already covered by either of those tickets? If not, could you please add some more details as to how it differs from them?

#3 @noisysocks
11 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.