Make WordPress Core

Opened 15 months ago

Closed 12 months ago

Last modified 11 months ago

#51760 closed enhancement (fixed)

Block Editor: port custom-spacing theme support

Reported by: oandregal Owned by: oandregal
Milestone: 5.7 Priority: normal
Severity: normal Version:
Component: Editor Keywords: has-patch commit
Focuses: Cc:


The property custom-spacing was deemed stable so it's ready to be ported to WordPress core during the 5.7 cycle, when trunk is open.

Change History (15)

#1 @desrosj
15 months ago

  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to 5.7
  • Version trunk deleted

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

13 months ago

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

12 months ago

#4 @noisysocks
12 months ago

Hi @nosolosw. Are you able to add a patch for this? Not sure which PHP code needs to be copied over 🙂

#5 @prbot
12 months ago

nosolosw commented on PR #951:

I've also prepared the changes in Gutenberg.

#6 @oandregal
12 months ago

:wave: @noisysocks this needs two things:

#7 @gziolo
12 months ago

  • Keywords has-patch commit added; needs-patch removed

#8 @gziolo
12 months ago

This is ready to go with the patch included. I can commit it tomorrow unless @noisysocks beats me to it  😃

#9 @noisysocks
12 months ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 50070:

Block Editor: Add enableCustomSpacing

Adds the enableCustomSpacing editor setting. This enables the custom block
spacing feature from Gutenberg.

Props nosolosw, gziolo.
Fixes #51760.

#10 @noisysocks
12 months ago

Done. I think GB28548 needs some work though as that wasn't working for me when I tested it.

This ticket was mentioned in Slack in #core-editor by gziolo. View the logs.

12 months ago

#12 @oandregal
12 months ago

I pushed a fix and https://github.com/WordPress/gutenberg/pull/28548 is working fine now. Will be part of Gutenberg 9.9RC.

#13 @TimothyBlynJacobs
12 months ago

Ideally, we should be registering these in create_initial_theme_features.

This ticket was mentioned in Slack in #core-editor by nosolosw. View the logs.

12 months ago

#15 @a4jp.com
11 months ago

Thank you so much for doing this and if it's okay can you also make


clickable and add the missing plus when you mouse over the top of the first block? It's missing now so impossible to add blocks before the first block. Thank you so much for making the accessibility option in WordPress heaps better with every update.

Last edited 11 months ago by a4jp.com (previous) (diff)
Note: See TracTickets for help on using tickets.