fix revert button in editor
Merge pull request #435 from typesafehub/wip/fix-revert

fix revert button in editor