Fix merging of class attribute on edit page textbox