[wp-trac] [WordPress Trac] #63615: Twenty Twenty: Inline image in paragraph renders as block on frontend

WordPress Trac noreply at wordpress.org
Mon Jun 23 09:30:39 UTC 2025


#63615: Twenty Twenty: Inline image in paragraph renders as block on frontend
---------------------------+-----------------------------
 Reporter:  rishabhwp      |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Bundled Theme  |    Version:
 Severity:  normal         |   Keywords:
  Focuses:  ui, css        |
---------------------------+-----------------------------
 In the **Twenty Twenty** theme, when an image is inserted **inline within
 a paragraph block** in the WordPress block editor, it is rendered with
 `display: inline` in the backend (editor), which matches WYSIWYG
 expectations.

 However, on the **frontend**, the same image is rendered with `display:
 block`, causing layout issues and breaking the inline flow of the
 paragraph.

 This behavior is inconsistent and violates the **WYSIWYG principle**.

 === Steps to Reproduce

 1. Create or edit a post.
 2. Add a paragraph block and insert an image inline with the text.
 3. Save and view the post on the frontend.

 === Editor
 [[Image(https://i.ibb.co/QvfBxWWR/backend.png)]]

 === Frontend
 [[Image(https://i.ibb.co/zW8NXX3n/frontend.png)]]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63615>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list