guardian/scribe
`underline` command is "enabled" when cursor is inside an <a> link
開放
#206 建立於 2014年6月20日
browser inconsistencybughelp wantedpatch needed
倉庫指標
- 星標
- (3,516 顆星)
- PR 合併指標
- (30 天內沒有已合併 PR)
描述
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.