guardian/scribe

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

Open

#206 ouverte le 20 juin 2014

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)JavaScript (265 forks)batch import
browser inconsistencybughelp wantedpatch needed

Métriques du dépôt

Stars
 (3 516 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur