guardian/scribe

Browser inconsistency when inserting SPACE char

Open

#293 创建于 2014年11月17日

在 GitHub 查看
 (5 评论) (0 反应) (0 负责人)JavaScript (265 fork)batch import
browser inconsistencybugformattershelp wanted

仓库指标

Star
 (3,516 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Using Chromium 34.0.1847.116, clicking to move caret, then entering a SPACE results in " " but moving the caret using arrow keys then entering a SPACE results in " ".

To reproduce: if I go to http://guardian.github.io/scribe/ click after the "H" in "Hello" and type SPACE, I get <p>H&nbsp;ello, World!</p>, but if I then press RIGHT ARROW and type SPACE, I get <p>H&nbsp;e llo, World!</p>

On Firefox 30.0 both result in a " " character being inserted.

贡献者指南