Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto compress when right clicking 'Copy SVG Code' #7

Open
adamgravita opened this issue Sep 20, 2016 · 10 comments
Open

Auto compress when right clicking 'Copy SVG Code' #7

adamgravita opened this issue Sep 20, 2016 · 10 comments

Comments

@adamgravita
Copy link

adamgravita commented Sep 20, 2016

Great plugin!

I noticed right clicking Copy SVG Code shows the original uncompressed code, however it would be great to override this somehow. The flexibility of having this as a quick 'SVG copy' with compression would be really useful.

@ScottSavarie
Copy link

ScottSavarie commented Sep 20, 2016

  • 1 on this @bomberstudios. The first thing I checked was if it also worked for 'Copy SVG Code'. Awesome stuff so far!

@bomberstudios
Copy link
Contributor

I used the 'Copy SVG Code' as an easy way to compare uncompressed code with the resulting compressed code, so I guess I forgot the most obvious use case 😅

I'll see what I can do, thanks for filing!

@adamgravita
Copy link
Author

thanks @bomberstudios that is epic!

@rnarian
Copy link

rnarian commented Mar 7, 2017

👍

Any update on this? This would come in super handy.

@chrisrowe
Copy link

Yep, I could really use this to

@arorayash
Copy link

Is anyone working on this? If not, I can dig deeper and get a PR ready.

@phaistonian
Copy link

Same should be the case when dragging (as opposed to hitting export) the SVG to, say, desktop.

@dvdsmpsn
Copy link

I'd love this - I didn't realise that there was another way to export to SVG, so couldn't figure out why "the plugin didn't work".

@chenxsan
Copy link

chenxsan commented Mar 4, 2020

I just wrote a plugin here https://github.com/chenxsan/copy-optimized-svg-code, you can copy optimized svg code with it :)

@christianheine
Copy link

Inspired by the plugin from @chenxsan I just submitted a pull request (#72) which adds a new menu-option and shortcut to copy the currently selected layer as SVG to the clipboard.

It will use the same settings as the existing plugin does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants