Fixed code editor creation policy.