fixed up styling of component highlighting and contenteditable