um yeah. not much else to say, except try it and tell me what you think!
For once in my life I cannot import this into Snap! (this is my first time with this problem). When I open the image in new tab, it links me to: https://cdn.forum.snap.berkeley.edu/optimized/3X/f/f/ff129c70022647fd6232aa23bc95432b4155a86e_2_1035x57.png
When I try to put "original" in the URL instead it fails. Could somebody for whom this works post the URL of the image that the forum is giving them?
PS: From now on, I'm going to try to include link to the script pictures I am posting as well as attaching the image itself, like so:
EDIT: I was able to quote the script pic and then get the original image! Yippee! Others who experience this problem may wish to try this solution.
EDIT 2:
When I try to put "original" in the URL instead it fails.
It turns out that I needed to delete everything after and including the underscores as well. So that's another solution, folks!
I'm not exactly sure why one would want this... Is it so that you can figure out what to type into the make a block dialog to create the inputs you want?
Clever idea, going to the github files to determine the blockspec.
The input name of your block is "blk", but you use the variable "block" for custom blocks. This causes an error. Should be an easy fix.
Here's the original image
https://cdn.forum.snap.berkeley.edu/original/3X/f/f/ff129c70022647fd6232aa23bc95432b4155a86e.png
Well anyway, I looked in the code and saw how it's doing it, and by the way, you don't need to use a cors proxy for this https://api.allorigins.win/raw?url=https://raw.githubusercontent.com/jmoenig/Snap/refs/heads/master/src/objects.js
, you can just use src/objects.js
since that's not blocked and the actual file that is being used in the current snap instance (so it'll work in snap mods).
Thanks...
Does not work for me.
Drag a fresh copy of the modified "blockspec". Block variables are slightly wicked...
snap.berkeley.edu/snap/src/objects.js
works for me.
Aah - yes - it didn't work on a new instance of the block
Used snap.berkeley.edu/snap/src/objects.js
and that works fine
what?