#61360 closed defect (bug) (fixed)
Backport: Output post classes in the editor
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.6 | Priority: | normal |
Severity: | normal | Version: | 6.6 |
Component: | REST API | Keywords: | has-patch has-unit-tests |
Focuses: | rest-api | Cc: |
Description
Original PR: https://github.com/WordPress/gutenberg/pull/60642
A new REST API class_list
field needs to be added to the posts endpoint to return classes related to the given post type. This allows users to target specific elements and apply custom styles to them in the editor.
Change History (6)
This ticket was mentioned in PR #6716 on WordPress/wordpress-develop by @antonvlasenko.
8 months ago
#1
- Keywords has-patch has-unit-tests added; needs-patch removed
This ticket was mentioned in Slack in #core-editor by antonvlasenko. View the logs.
8 months ago
@ellatrix commented on PR #6716:
8 months ago
#3
Looks good to me to and works.
#4
@
8 months ago
- Owner set to ellatrix
- Resolution set to fixed
- Status changed from new to closed
In 58326:
#6
@
8 months ago
Follow-up Trac ticket: https://core.trac.wordpress.org/ticket/61369
Note: See
TracTickets for help on using
tickets.
This PR is a backport of https://github.com/WordPress/gutenberg/pull/61757 to WordPress Core.
Trac ticket: https://core.trac.wordpress.org/ticket/61360