Kuma: Localization UI - If you edit a header with custom class/ID, they get lost

RESOLVED WONTFIX

Status

RESOLVED WONTFIX
6 years ago
6 years ago

People

(Reporter: sheppy, Unassigned)

Tracking

Details

(Reporter)

Description

6 years ago
If you edit a header that has a custom class or ID (such as the ones that automatically get icons next to them, as seen here: https://developer-new.mozilla.org/en-US/docs/CSS), the custom class and ID get lost. In the case of landing pages like this one, that means those special icons and fonts get lost.
ID's are generated out of the content of headings, so changing to CSS classes would be recommended.

Per classes getting stripped, I'll look into that.
After testing, I'm seeing that custom CSS classes are *not* being stripped.  I'm tempted to WONTFIX this, to be honest.

I really, really think setting IDs should be avoided;  I'm not seeing a compelling argument for setting using them over classes.
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → WONTFIX
(Assignee)

Updated

6 years ago
Version: Kuma → unspecified
(Assignee)

Updated

6 years ago
Component: Website → Landing pages
Product: Mozilla Developer Network → Mozilla Developer Network
You need to log in before you can comment on or make changes to this bug.