#61360 closed defect (bug) (fixed)
Backport: Output post classes in the editor
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.6 | Priority: | normal |
Severity: | normal | Version: | trunk |
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.
5 weeks 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.
5 weeks ago
@ellatrix commented on PR #6716:
5 weeks ago
#3
Looks good to me to and works.
#4
@
5 weeks ago
- Owner set to ellatrix
- Resolution set to fixed
- Status changed from new to closed
In 58326:
#6
@
5 weeks 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