mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-10 03:10:44 +00:00
removed mjx context menu
This commit is contained in:
parent
648b5f6752
commit
b5f114303f
@ -4,7 +4,7 @@ SVGElement.prototype.getTransformToElement = SVGElement.prototype.getTransformTo
|
||||
return elem.getScreenCTM().inverse().multiply(this.getScreenCTM());
|
||||
};
|
||||
window.MathJax = {
|
||||
loader: {load: ['[tex]/bussproofs', '[tex]/unicode']},
|
||||
loader: {load: ['input/tex-full', 'output/svg', '[tex]/bussproofs', '[tex]/unicode']},
|
||||
tex: {
|
||||
packages: {'[+]': ['bussproofs', 'unicode']},
|
||||
inlineMath: [['$', '$'], ['\\(', '\\)']]
|
||||
@ -144,3 +144,10 @@ mjx-container {\
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
(function () {
|
||||
let script = document.createElement('script');
|
||||
script.src = 'http://cdn.jsdelivr.net/npm/mathjax@3.1.2/es5/startup.js';
|
||||
// script.async = true;
|
||||
document.head.appendChild(script);
|
||||
})();
|
||||
|
File diff suppressed because one or more lines are too long
@ -28,7 +28,6 @@ import java.util.List;
|
||||
@CssImport("./styles/view/main/main-view.css")
|
||||
@JsModule("./styles/shared-styles.js")
|
||||
@JavaScript("./src/svg-pan-zoom.min.js")
|
||||
@JavaScript("./src/tex-svg-full.js")
|
||||
@PageTitle("Typicalc")
|
||||
public class MainViewImpl extends AppLayout implements MainView, HasErrorParameter<NotFoundException> {
|
||||
private static final long serialVersionUID = -2411433187835906976L;
|
||||
|
Loading…
Reference in New Issue
Block a user