Closed Bug 772697 Opened 13 years ago Closed 13 years ago

"Syntax highlighter" button confusing

Categories

(developer.mozilla.org Graveyard :: Wiki pages, defect, P3)

x86_64
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: openjck, Unassigned)

References

Details

(Whiteboard: u= c= s= p=)

A user mentioned not understanding why the syntax highlighter button of the WYSIWYG is sometimes disabled. I actually had the same confusion when I first started using it. It looks like the button cannot be used unless <pre> text is selected. Some discussion would help here. The user requested that we just add a tooltip to the button (like "Button is disabled because <pre> text is not selected") but I would only use that as a last result (it's sort of like sticking the word "Push" on a confusing door). What if the syntax highlighter just wrapped selected text in a <pre> under the hood?
I would like this as well, if it would automatically add a <pre> and just work.
Priority: -- → P3
Oh, this was fixed a while ago.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Yep. Looks great.
Version: Kuma → unspecified
Component: Website → Landing pages
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.