Add editing for text items.

Fixes: #12