docs: `Open in Editor` is not working.
Closed this issue · 3 comments
zztkm commented
When I click on "open in editor", it takes me to a page like this link.
example:
- https://glisp.app/docs/#/en/get-started?id=draw-a-circle
Open in Editor
: https://glisp.app/stable/?code=%28circle+%5B50+50%5D+40%29
clicked
It is probably expected to go to the glisp editor screen, but currently it is not possible.
zztkm commented
zztkm commented
I was able to access it after modifying the link as follows.
- NG -> https://glisp.app/stable/?code=%28circle+%5B50+50%5D+40%29
- OK -> https://glisp.app/?code=%28circle+%5B50+50%5D+40%29
But in the development environment, it met our expectations.
baku89 commented
Thank you for reporting. Once I thought it'd be useful to use glisp.app/stable
as a link to the latest stable version, but in the directory, there's only embed.html (for docs) for now -- and the URL of 'Open in Editor' is dynamically calculated based on location.href
. This might be why the link does not work.