Skip to content
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

CSS files not loaded in AJAX mode #19

Open
parasshah195 opened this issue Mar 21, 2020 · 2 comments
Open

CSS files not loaded in AJAX mode #19

parasshah195 opened this issue Mar 21, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@parasshah195
Copy link

@nk-o, We use Ghostkit alongside the DocsPress plugin to enable hints, notes and changelog in our documentation, but the styles aren't loaded when the pages are visited via AJAX (which is more common than people directly visiting the changelog URL).

When the page is visited directly, the styles are loaded just fine.

I've recorded a short screencast to explain - https://www.loom.com/share/8aa591d7cd54460093130b92766b97bc

Can this be put on a priority please?

Thanks.

@nk-o
Copy link
Collaborator

nk-o commented Mar 22, 2020

Hey.

Yes, I know about this problem and because of it, we turned off the AJAX option in all our documentations.

If you have a working solution, I'm glad to see it. Currently, I don't have a good solution.

@nk-o nk-o added the enhancement New feature or request label Mar 22, 2020
@parasshah195
Copy link
Author

Sad to hear that.

I don't have any solution for that. And I have a bunch of things to be focusing at the moment so can't dig into the plugin to search for one.

But glad to know that you're aware of the problem. Guess I'll have to switch to a no AJAX solution too. The AJAX docs looks pretty neat though. Especially for the fact that revisited pages don't need to be queried again. Feels like an SPA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants