-
Notifications
You must be signed in to change notification settings - Fork 46
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
[semi] protect system pages (about, help) #101
Comments
While at it, it'd be nice for Help to appear in side pane. |
Of course, I also need to protect the front page ( |
|
Turns out "view any URL" is hard because of cross-origin security. Even rendering |
Yes, digging some more into file:// XHR or iframes shows that even if it would ever work, it'll be a can of cross-browser worms.
It's tempting to just call such files => Going with requiring a local server (with some kind of fallback for file:// to at least explain why Help didn't work). |
proof of concept for #101. Needs fallback for file://. Not sure UX is good. Needs indication the editor is read-only (gray bg?). Need link to Edit on Github.
http://mathdown.net/?doc=help now shows random content someone put there.
Should recover old content, and find way to make it read-only (or ideally read-write but somehow moderated?). The obvious way is store it in a file and adding a "view file" (or better view any url) mode.
The text was updated successfully, but these errors were encountered: