HarshithGamini opened a new pull request, #33971:
URL: https://github.com/apache/superset/pull/33971

   ### Summary
   This PR fixes a crash in the CSS Template editor where invalid CSS (like 
malformed selectors) caused a runtime error during querySelector evaluation.
   
   ### Related Issue
   Fixes #33970
   
   ### Screenshot
   [Attach any screenshot or recording if needed]
   
   ### Test Plan
   - Navigate to a Dashboard → Edit CSS
   - Load a CSS Template (even with potentially broken or malformed CSS)
   - Expected: App no longer crashes; editor handles input gracefully
   
   ### Before/After
   Before: Runtime crash  
   
![image](https://github.com/user-attachments/assets/5c614567-88d8-457c-9ed5-368204c8764b)
   
   After: App gracefully handles invalid CSS; no runtime crash
   
![image](https://github.com/user-attachments/assets/cb995e79-d4a1-455a-9884-2a4a5f96db99)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to