implemented back to editor after preview