config option will reset the url
wwj718 opened this issue · comments
before adding config option
new IDE_Morph().openIn(world);
the url is https://127.0.0.1:8000/snap.html#run:http://wwj718.github.io/post/img/snap-eclipse.xml
After adding config option:
new IDE_Morph({lang: "zh_CN", noCloud: true}).openIn(world);
The content after the hashtag in the URL will disappear: https://127.0.0.1:8000/snap.html#
Thank you! I'll investigate...
hmm... this seems to be a somewhat "hairy" issue. I'm seeing a bunch of complicated tweaks from people who feel strongly about using Snap in their localized versions, and I'm afraid to touch them. I'm not even sure if this behavior might not have been introduced by someone on purpose...
Thank you for your investigation!
I'm not sure if it's a feature or a bug. I encountered the following complaints from users:
- After refreshing browser(Want to return to the original state of the project), it will no longer be the previous project.
- Unable to share the project to others with the url