Sync the value of the editor