Automatically adds events on 'contenteditable' fields and returns the changed data for further processing (and saving)