Make WordPress Core

Opened 2 months ago

Last modified 2 months ago

#46861 new defect (bug)

Block Editor: Classic block missing content in Preview

Reported by: joyously Owned by:
Milestone: 5.3 Priority: normal
Severity: normal Version: 5.1
Component: Editor Keywords:
Focuses: Cc:


Tracking https://github.com/WordPress/gutenberg/issues/14861 here since it appears that the problem could be in content filters.

The content is visible in the editor, but the Preview is missing some content.

To reproduce

  1. I was using the Theme Unit Test data from https://github.com/WPTRT/theme-unit-test/
  2. Click to edit the Post titled "Markup: HTML Tags and Formatting"
  3. Scroll down to see that the Table follows the Block Quote.
  4. Click on Preview.
  5. See that there is no Table heading following the Block Quote and the formatting of the rest of the page is for blockquote.

Expected behavior
The preview should match the content in the editor.

This is how it looks in the editor:

And this is how the preview looks:

Change History (3)

This ticket was mentioned in Slack in #forums by joyously. View the logs.

2 months ago

This ticket was mentioned in Slack in #core by joyously. View the logs.

2 months ago

#3 @SergeyBiryukov
2 months ago

  • Milestone changed from Awaiting Review to 5.3
Note: See TracTickets for help on using tickets.