guardian/scribe
Auf GitHub ansehen`underline` command is "enabled" when cursor is inside an <a> link
Open
#206 geöffnet am 20. Juni 2014
browser inconsistencybughelp wantedpatch needed
Repository-Metriken
- Stars
- (3.516 Stars)
- PR-Merge-Metriken
- (Keine gemergten PRs in 30 T)
Beschreibung
It seems like the default "underline" command checks the enabled CSS of the current selection, rather than looking for an explicit <u> element.
We were able to fix this locally easily by overriding the default "underline" queryState() command to look for an explicit <u> tag instead of relying on the default behavior.