guardian/scribe

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

Aberta

#206 aberto em 20 de jun. de 2014

 (1 comentário) (0 reação) (0 responsável)JavaScript (265 forks)batch import
browser inconsistencybughelp wantedpatch needed

Métricas do repositório

Stars
 (3.516 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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.

Guia do colaborador