Make WordPress Core

Opened 8 months ago

Closed 8 months ago

Last modified 6 months ago

#64530 closed defect (bug) (fixed)

Backport: Paragraph: Add text column support

Reported by: scruffian Owned by: audrasjb
Priority: normal Milestone: 7.0
Component: General Version:
Severity: normal Keywords: has-patch has-unit-tests gutenberg-merge commit add-to-field-guide needs-dev-note
Cc: Focuses:

Description

Backport for https://github.com/WordPress/gutenberg/pull/74656/
GitHub PR: https://github.com/WordPress/wordpress-develop/pull/10756

## What?
Enables columns support in paragraph blocks

## Why?
<!-- Why is this PR necessary? What problem is it solving? Reference any existing previous issue(s) or PR(s), but please add a short summary here, too -->
This is a useful control for the paragraph block.

## How?
<!-- How is your PR addressing the issue at hand? What are the implementation details? -->
Add support for textColumns to the block

## Testing Instructions

  1. Select a paragraph block
  2. Enable columns in the paragraph typography block
  3. Confirm that changes to the number of columns are reflected in the frontend and editor

Change History (10)

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


8 months ago
#1

  • Keywords has-patch has-unit-tests added

#2 @wildworks
8 months ago

  • Keywords gutenberg-merge added
  • Milestone Awaiting Review7.0

#3 @wildworks
8 months ago

  • Keywords commit added

#4 @wildworks
8 months ago

Please note that PR 10756 does not actually add textColumns support to the Paragraph block. The PR simply add the block support to appearance tools opt-ins.

#5 @audrasjb
8 months ago

  • Owner set to audrasjb
  • Status newreviewing

Self assigning for final review and commit.

#6 @audrasjb
8 months ago

  • Resolutionfixed
  • Status reviewingclosed

In 61570:

Editor: Add textColumn block support to appearance tools opt-ins.

This changeset adds textColumn block support to appearance tools opt-ins.
Backports Gutenberg PR 74656: https://github.com/WordPress/gutenberg/pull/74656/

Props scruffian, wildworks.
Fixes #64530

#7 @audrasjb
8 months ago

In 61571:

Editor: Fix an indentation issue after [61570].

Follow-up to [61570].

See #64530.

#8 @SergeyBiryukov
8 months ago

In 61573:

Tests: Correct unit tests for textColumn block support in appearance tools opt-ins.

Follow-up to [61570].

See #64530.

#9 @audrasjb
7 months ago

  • Keywords add-to-field-guide needs-dev-note added

This is worth mentioning in the Field Guide.
Also adding needs-dev-note just in case we can mention it in a more general note.

#10 @wildworks
6 months ago

A dev note for this feature is being tracked in Gutenberg, and a draft dev note has already been completed.

Note: See TracTickets for help on using tickets.