feat: first stab at editor history
fix: adapt to new behaviour in localstorage lib