Add class to restrict breaking of opened blocks