Select text in attribute when editing