When editing Lexemes (Lemmas, Form representations or Sense glosses), whitespace is stripped while typing. This means I keep losing spaces or deleting too many characters when trying to fix typos.
Elsewhere in Wikidata, whitespace is only stripped when saving. We should be consistent with that.
Steps to reproduce:
- Edit a lemma, form or sense on a lexeme
- Enter "cat dog" into the field
- Backspace three times
- Type "mouse"
Expected result: The field contains "cat mouse" because I only deleted three characters
Actual result: The field contains "catmouse"
The same behaviour happens at the beginning of the string if you use the delete key instead.
- whitespace is only stripped at the beginning and end of words on saving, not while typing