feat(Editor): save history in local storage