Skip to main content
Participant
Jan 20, 2023 2:43 PM UTC
Answered

Is it possible to save SVG without the enable-background style property being added?

The enable-background property seems to be automatically added into the svg code when created. That attribute is deprecated and no longer recommended to be used. There doesn't seem to be a way to avoid it being in there, and the only option is to manually strip it out of the svg code. Could a feature update be made to stop automatically adding this property?

This topic is closed to new replies. Start a new post to keep the conversation going.
Doug A Roberts
Doug A RobertsCorrect answer
Community Expert
Jan 20, 2023 3:42 PM UTC

This property appears if you Save As SVG, but I don't see it when I use Export As or Export for Screens. Can you try those methods?

8 replies

Doug A Roberts
Community Expert
Doug A RobertsCommunity ExpertCorrect answer
Community Expert
Jan 20, 2023 3:42 PM UTC

This property appears if you Save As SVG, but I don't see it when I use Export As or Export for Screens. Can you try those methods?

Translate
Participant
Jan 20, 2023 3:54 PM UTC

Thanks for pointing that out! Looks like that is correct, if you Export instead of Save, it no longer shows that property. I'll use that option for now, and hopefully an update can come in the future for when using Save too. Thanks again!

Translate
Doug A Roberts
Community Expert
Community Expert
Jan 20, 2023 4:07 PM UTC

As I understand it, the Save As SVG method uses outdated code and has done for years now. I understand that Save As SVG exists so that sidecar SVG/AI files can be created, but I don't know why there's a discrepancy between the code in Save and Export -- It's just confusing for users.

Translate
Monika Gause
Community Expert
Community Expert
Jan 20, 2023 2:54 PM UTC

Please report this as a feature request: https://illustrator.uservoice.com

Translate
Participant
Jan 20, 2023 3:04 PM UTC

Thank you. Just submitted the request.

Translate
Monika Gause
Community Expert
Community Expert
Jan 20, 2023 3:10 PM UTC

Thank you! Could you perhaps post the URL in this thread, so we all can vote on it?

Translate