StarCraft MacBook Air M2 chip problems with editor

So I have been able to open Starcraft 2 and play it just fine with the MacBook Air with the M2 chip; but I still haven’t been able to open the StarCraft 2 Editor because it keeps saying “Error StarCraft 2 has encountered while initializing your video card. Please try restarting StarCraft 2 again, or restarting your machine” Please if someone knows how to fix this please help.