[wp-trac] [WordPress Trac] #61360: Backport: Output post classes in the editor
WordPress Trac
noreply at wordpress.org
Mon Jun 3 22:28:18 UTC 2024
#61360: Backport: Output post classes in the editor
---------------------------+-----------------------------
Reporter: antonvlasenko | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: trunk
Severity: normal | Keywords: needs-patch
Focuses: rest-api |
---------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61360>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list