abstract the float label pattern, apply to contenteditable elements in admin