[wp-trac] [WordPress Trac] #46861: Block Editor: Classic block missing content in Preview

WordPress Trac noreply at wordpress.org
Wed Jun 26 19:42:19 UTC 2019


#46861: Block Editor: Classic block missing content in Preview
--------------------------+-----------------------------
 Reporter:  joyously      |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  accepted
 Priority:  normal        |   Milestone:  5.3
Component:  Editor        |     Version:  5.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+-----------------------------
Description changed by SergeyBiryukov:

Old description:

> 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:
> [[Image(https://user-
> images.githubusercontent.com/7957680/55698679-a16bc980-598c-11e9-9add-
> 17bbcccdb6ff.jpg)]]
>
> And this is how the preview looks:
> [[Image(https://user-
> images.githubusercontent.com/7957680/55698680-a16bc980-598c-
> 11e9-9431-a35f99cbda13.jpg)]]

New description:

 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:
 [[Image(1.jpg)]]

 And this is how the preview looks:
 [[Image(2.jpg)]]

--

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


More information about the wp-trac mailing list