#27822 closed defect (bug) (wontfix)
Editor doesn't use HTML 5 elements for Galleries and Captions when enabled
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.9 |
Component: | Editor | Keywords: | |
Focuses: | administration | Cc: |
Description
If a theme uses HTML 5 Galleries or captions, the editor continues to output the HTML 4 elements rather than use HTML 5 elements. Aside from the inconsistency, this could create backwards-compatibility issues in the future if theme devs start styling the editor based on the HTML 4 elements (although most theme devs should use classes to style galleries and captions).
Ideally, in 3.9, the editor should output the same elements for galleries and captions both in the editor and front-end.
Change History (3)
This ticket was mentioned in IRC in #wordpress-dev by nacin. View the logs.
10 years ago
#3
@
10 years ago
- Milestone Awaiting Review deleted
- Resolution set to wontfix
- Status changed from new to closed
Replied at https://core.trac.wordpress.org/ticket/26642#comment:40: the DL node is used in JS to manage the caption.
Note: See
TracTickets for help on using
tickets.
Previously: ticket:26642:38
IRC log: http://irclogs.wordpress.org/chanlog.php?channel=wordpress-dev&day=2014-04-07&sort=asc#m826692