-
Notifications
You must be signed in to change notification settings - Fork 10
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
Request to MathJax.js responds with 404 and breaks the viewer #10
Comments
Can confirm this on my side. OS: Max OS X |
I can also confirm this in Linux. I can't make it work with anything "chrome-like" (I've tried Chrome, Thorium and Vivaldi). But with Firefox I have found a very weird behavior: When I tried to show several pages of the same diagram, I noticed that the first one appears to be blank (and when you click the "Fullscreen" button, it appears there; it's just the embedded drawio which doesn't work). The rest, though, appears perfectly. Both in the embedded viewer and in fullscreen. import Drawio from '@theme/Drawio'
import sampleGraph from '!!raw-loader!./assets/test.drawio';
<div style={{opacity: 0, height: "1px"}}>
<Drawio content={sampleGraph}
page={0}
toolbar={"zoom lightbox"}/>
</div>
Leyenda:
<Drawio content={sampleGraph}
page={0}
toolbar={"zoom lightbox"}/>
Diagrama de Contexto
<Drawio content={sampleGraph}
page={1}
toolbar={"zoom lightbox"}/>
DFD-0
<Drawio content={sampleGraph}
page={2}
toolbar={"zoom lightbox"}/>
|
@ddadaal Hi |
Describe the bug
The plugin is currently broken seemingly because viewer.js requests a MathJax.js from https://app.diagrams.net/math/MathJax.js?config=TeX-MML-AM_SVG-full which is now 404. Since the viewer.js is maintained in this repo, should this issue be resolved from here?
Thanks!
To Reproduce
The demo page is already broken. The viewer is not shown.
Expected behavior
The viewer should appear and show the image.
Screenshots
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: