Only enable editor in development mode