Allow editing of text before mentions.

Fixes #1