-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Detect unavailable extensions in dragged PNGs #3335
Comments
@ewpatton I'm working on this Issue. Could you assign it to me? |
@ewpatton, could you please provide guidance on the following points?
|
@d1vyanshu-kumar You want to take a look at the importPngAsBlock function exportBlocksImage.js:
This already provides the logic needed to import the images as this has been a feature in App Inventor for quite some time.
|
Describe the bug
From the forum: If a PNG file containing blocks from an extension is dragged into a project that doesn't contain that extension, mayhem ensues.
Affects
Expected behavior
Given that the project doesn't contain the extension, we should probably show an error of some kind and refuse to instantiate the blocks.
Steps to reproduce
The text was updated successfully, but these errors were encountered: