SVG rendering instead of showing code

Up until today SVGs have always opened as code in Cursor, now they’re being rendered. I’m sure that’s helpful for some people but I really need to be able edit the code, how do I switch it back to the default code editor?

The fix for anyone else wanting to do this:

Open settings, search for “Editor Associations” and add an item:
Item: *.svg
Value: default

5 Likes