guardian/scribe

`underline` command is "enabled" when cursor is inside an <a> link

Open

#206 geöffnet am 20. Juni 2014

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (265 Forks)batch import
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.

Contributor Guide