Export rendition to SVG - Presentation Attributes setting

renditions

#1

Hi there, working on the Export features

const renditionOptions = [
        {
            node: node,
            outputFile: file,
            type: application.RenditionType.SVG,
            minify: true,
            embedImages: true,
            background:false,
            scale: 1
        }
    ];

Would have
inline ,<style>.a{fill:#ff7b6e;}</style>

But in the manual options, I have “Prsentation Attributes” which is exactly what i wanted.

Try all options, no lucky.

Please advice.


#2

There’s no way to control that setting from the plugins API currently. I’ll raise this with the team to see when we might be able to add it to the API. In the meantime, I’ve changed this thread into a feature request so people can upvote it to help raise its priority.