Fix text edits wrapping