field attribute modifications synced with changes from contenteditable