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

File in shared folder isn't rendered with Chrome and Edge #658

Open
yasuhirokimura opened this issue Jul 21, 2023 · 1 comment
Open

File in shared folder isn't rendered with Chrome and Edge #658

yasuhirokimura opened this issue Jul 21, 2023 · 1 comment

Comments

@yasuhirokimura
Copy link

yasuhirokimura commented Jul 21, 2023

I installed Asciidoctor.js Live Preview extension 2.7.1 to following Browsers.

  • Google Chrome 115.0.5790.99
  • Microsoft Edge 114.0.1823.86
  • Mozila Firefox 115.0.2

All of them works on 64bit Windows 10 22H2. I also checked Allow access to file URLs with Chrome and Edge.

With Firefox .adoc file is successfully rendered wherever it is. With Chrome and Edge both local file and file on web server are successfully rendered too. But if I open file in shared folder (file://remotehost/foldername/foo.adoc), then it isn't rendered and source text is displayed as is.

@yasuhirokimura yasuhirokimura changed the title Local file isn't rendered with Chrome and Edge File in shared folder isn't rendered with Chrome and Edge Jul 21, 2023
@ggrossetie
Copy link
Member

Probably the same issue: #94 (comment)

Browsers do not allow loading file from shared folder using XMLHttpRequest. As mentioned in #94, the only workaround is to copy files elsewhere or setup a webserver.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants