Skip to content

Paragraph spacing #3986

@mhenrylucero

Description

@mhenrylucero

Issue Overview

I have a page with several groups of a heading, then a line of italic text, then a paragraph. Then a separator. For some reason, the paragraphs in different groupings on the actual page are spaced different, even though I have created each group the same way.

Also, some of the paragraphs show the following error if you refresh the Editor page, or if you open it anew, after publishing:

This block appears to have been modified externally. Overwrite the external changes or Convert to Classic Text or Custom HTML to keep your changes.

When this happens, I'll click "Convert to Classic Text" then select "Convert to Blocks" from the side drop-down menu. Then publish again, and it does the same thing next time I refresh the Editor or open it from scratch.

Steps to Reproduce (for bugs)

  1. Create a new page and give it a title.
  2. Add a heading block and enter text in it.
  3. Add a paragraph block, enter text, and italicize it, then click Block on the sidebar and change the font size. (I used 18.)
  4. Add another paragraph block, then enter a bunch of text about three or four lines long.
  5. Add a separator block.
  6. Repeat steps 2-5 at least one other time.
  7. Publish the page.

Using Google Chrome, but it also occurs with Safari (on iPhone and Macbook Air).

Expected Behavior

For each set of blocks (steps 2-5 above), the blocks should have the same spacing.

Also, the paragraphs should not give the "modified externally" error if you have not actually modified them externally.

Current Behavior

Some of the sets of blocks have the normal spacing, but others do not.

The "modified externally" error often, if not always, appears for the longer paragraphs, and sometimes the italicized ones.

Possible Solution

Screenshots / Video

gutenberg

site

guten2

I've also attached a screenshot of the code just in case it's useful to see what's going on.

guten3

Related Issues and/or PRs

Todos

  • Tests
  • Documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions