Content-generator-sketch-plugin
Content-generator-sketch-plugin copied to clipboard
Persona isn't working with sketch 52
Hi guys, Perosnas aren't working with new Sketch version.
Thanks for fixing it.
Hello Guys,
I was trying to use Persona > Photos but is not working. I'm using Sketch 52.1 in macOS Mojave version 10.14
Thanks,
Still no working in version 52.2
Please, try to fix it :((
Thanks a lot.
Hi guys. Sketch 52 already comes with native dummy data functionality. Why would you need the plugin?
It’s not the same. The plugin is specific, you select female or male for example.
You could do the same by simply adding the your own pictures. You find the pictures used in the plugin here https://github.com/timuric/Content-generator-sketch-plugin/tree/master/CG.sketchplugin/Contents/Sketch/data/images/persona
Oh! Thanks good to know!
Still not working :(
In my version 52.6 the code is not passing this line, because it's returning MSRectangleShape
rather than the expected MSShapeGroup
. I tweaked my local copy, but I'm largely ignorant of the way all this works, otherwise I'd submit a PR.
https://github.com/timuric/Content-generator-sketch-plugin/blob/766cebd18c261105e513090f8e7cf5abc76640aa/CG.sketchplugin/Contents/Sketch/js/loadImage.js#L57
@nomad3k you can extend your snippet by adding an OR into the conditional:
|| [layer class] == MSOvalShape
Looking forward to news of an update. 👍
This plugin no longer works as of sketch 53.2 They've added this feature to replace the need for timuric's plugin
Make a rectangle click "data" in the upper left click "sketch data" click "faces"