regenerate editor