guardian/scribe

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

Open

#206 创建于 2014年6月20日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)JavaScript (3,516 star) (265 fork)batch import
browser inconsistencybughelp wantedpatch needed

描述

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.

贡献者指南