Disable settings in code editor menu when offline