Upgrade autosave to support react editor focusout events