Make WordPress Core

Opened 8 months ago

Closed 8 months ago

#56730 closed defect (bug) (fixed)

Twenty Ten: Pullquote block paragraph text is too small in editor with WP6.1

Reported by: sabernhardt's profile sabernhardt Owned by: audrasjb's profile audrasjb
Milestone: 6.1 Priority: normal
Severity: normal Version: 6.1
Component: Bundled Theme Keywords: has-patch needs-testing
Focuses: css Cc:

Description

On the front end, the Pullquote paragraph is 1.5em (24 pixels in the post content). In the editor, the paragraph's 16-pixel font size matches the citation's size with WordPress 6.1 beta 2.

In (at least) 5.9 and 6.0, the editor had set the font size to 28px, and Gutenberg PR 43195 removed the font size. Before that, the theme had specified 1.5em when the editor used the .editor-rich-text class, which was removed from the div wrapper (and the div is also gone in 6.1).

Attachments (3)

56730.patch (437 bytes) - added by sabernhardt 8 months ago.
setting paragraph font size to 1.5em
pullquote-2010-editor-before.png (22.5 KB) - added by sabernhardt 8 months ago.
Before: font size is 16 pixels in the editor
pullquote-2010-editor-with-patch.png (23.1 KB) - added by sabernhardt 8 months ago.
With patch: font size is 24px for paragraph, 16px for citation

Download all attachments as: .zip

Change History (5)

@sabernhardt
8 months ago

setting paragraph font size to 1.5em

@sabernhardt
8 months ago

Before: font size is 16 pixels in the editor

@sabernhardt
8 months ago

With patch: font size is 24px for paragraph, 16px for citation

#1 @sabernhardt
8 months ago

  • Keywords has-patch needs-testing added

Other themes may need to change the font size, too.

#2 @audrasjb
8 months ago

  • Owner set to audrasjb
  • Resolution set to fixed
  • Status changed from new to closed

In 54475:

Twenty Ten: Adjust Pullquote Block paragraph font size.

This changeset adjusts the size of paragraphs located inside the Pullquote block to account for changes introduced in Gutenberg PR 43195. This ensures the size of the paragraph is set to 1.5em in the editor.

Props sabernhardt.
Fixes #56730.

Note: See TracTickets for help on using tickets.