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

Working in 51.3? #2

Open
evandiamond opened this issue Jan 11, 2019 · 7 comments
Open

Working in 51.3? #2

evandiamond opened this issue Jan 11, 2019 · 7 comments

Comments

@evandiamond
Copy link

Hi there! Was trying to use this plugin to export class attributes but it doesn't seem to be working in Sketch 51.3. Maybe I'm doing something wrong.

I've installed the plugin. Inside my group I have two layers, named .ring-01, and .ring-02, I export the group as svg, but the class names aren't added. Is there a step I'm missing or does this plugin not work in the version I'm running? Any help is appreciated!

@mathisonian
Copy link
Owner

Hey @evandiamond,

That should be all you need to do... I'll try to reproduce this to see what's going wrong.

@mathisonian
Copy link
Owner

Hey @evandiamond -- I'm not seeing any issues with the current release of the plugin after reinstalling it. However, I'm on version 52.6 of sketch, so it may be a version thing?

Could you post a screenshot of the scene that you're exporting just to check that there are no obvious issues?

@mathisonian
Copy link
Owner

Could you also confirm you see something like this in the plugins menu? If its not there, this would possibly be an issue during installation

screen shot 2019-01-18 at 2 51 20 pm

@evandiamond
Copy link
Author

Hey @mathisonian thanks for getting back to me! I'm just not even sure what's supposed to happen. I select interactive-export > Attribute Export but nothing happens. I've tried selecting svg's, new boxes, etc. Nothing happens. :(

screen shot 2019-01-18 at 10 58 34 pm

I've tried class names and everything, :(
Can you list the steps to get this to work? Either way, I'm sure it's a version issue.

@mathisonian
Copy link
Owner

Thanks @evandiamond - you shouldn't need to interact with the item in the menu, for the plugin to do its thing just make a slice as you would normally and export to SVG.

I wonder if anything strange shows up in the sketch debug output? https://blog.magicsketch.io/debugging-sketch-plugins-11cafc86df87

@mathisonian
Copy link
Owner

I just tried it with v51.3 from the sketch archives and it seemed to be functioning as expected.

This GIF shows the steps taken:

screenflow 2

(i'm not doing anything with the plugin menu item at the beginning, just confirming that the plugin exists)

@chriscohoat
Copy link

I was having issues on Sketch 55 ... but I think it may be because of the OS version and not the version of Sketch.

I created a simple PR here @mathisonian : #3

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

3 participants