guardian/scribe

Browser inconsistency when inserting SPACE char

Ouverte

#293 ouverte le 17 nov. 2014

 (5 commentaires) (0 réaction) (0 personne assignée)JavaScript (265 forks)batch import
browser inconsistencybugformattershelp wanted

Métriques du dépôt

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

Description

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.

Guide contributeur