typeahead: Replace code block language hint text with more clear options

This commit
- Replace the blank option with an italicized option that's the current
   default language, if there is one selected with "default" label.
- Make the "text" option more informative by adding (no highlighting)
   to the label.
- Remove the hint for "text".
- Prioritize as left to right, before start typing:
   blank/default language, text, quote, spoiler, math, everything else...

fixes: #33682
This commit is contained in:
Harsh
2025-04-27 03:20:42 +05:30
committed by Tim Abbott
parent 1dcda2ba9d
commit cfdb80ed48
9 changed files with 93 additions and 32 deletions

View File

@@ -2349,6 +2349,7 @@ body:not(.spectator-view) {
}
}
.default-language-display,
.empty-topic-display,
.empty-topic-placeholder-display::placeholder {
font-style: italic;