Make WordPress Core

Opened 4 weeks ago

Last modified 13 days ago

#61437 new defect (bug)

Twenty Nineteen: Button block Appearance setting (font-weight) is not working.

Reported by: pranitdugad's profile pranitdugad Owned by:
Milestone: Future Release Priority: normal
Severity: minor Version:
Component: Bundled Theme Keywords: has-patch changes-requested
Focuses: css Cc:

Description

In Twenty Nineteen, Button Block's Appearance setting option is not working on both frontend and backend.

Steps to reproduce the issue -

  1. Add a Button Block to the editor
  2. Add some text to the button
  3. Go to block setting and enable appearance setting
  4. Select Any Appearance option.

Its Not showing any font-weight added to text in button block

Attachments (3)

61437.patch (704 bytes) - added by pranitdugad 4 weeks ago.
After applying this patch , this issue is resolved
61437.1.patch (583 bytes) - added by pitamdey 4 weeks ago.
Updated Patch
Button blocks font weight and text decoration.txt (4.0 KB) - added by sabernhardt 4 weeks ago.
sample blocks for default styles plus custom font weight and text decoration settings

Download all attachments as: .zip

Change History (7)

@pranitdugad
4 weeks ago

After applying this patch , this issue is resolved

@pitamdey
4 weeks ago

Updated Patch

This ticket was mentioned in PR #6831 on WordPress/wordpress-develop by @sabernhardt.


4 weeks ago
#1

  • Keywords has-patch added

Inherits custom font weight and text decoration settings, both on the front end and within the editor.

Trac 61437

#2 @sabernhardt
4 weeks ago

  • Focuses css added
  • Keywords needs-testing added
  • Milestone changed from Awaiting Review to 6.7

The default font-weight needs to remain bold, while adding support for other weights.

The custom text-decoration would need an adjustment too, at least on the front end (I updated both front end and editor styles).

@sabernhardt
4 weeks ago

sample blocks for default styles plus custom font weight and text decoration settings

#3 @karmatosed
13 days ago

  • Keywords changes-requested added
  • Milestone changed from 6.7 to Future Release

I think we need to have some adjustments made for this based on the last comment so for now moving this out into future release.

#4 @karmatosed
13 days ago

  • Keywords needs-testing removed
Note: See TracTickets for help on using tickets.