Problem/Motivation

When I edit a paragraph entity content which uses mathjax, MathJax.Hub is undefined, causing a script error in setup.js.

This happens only when using the CDN. When using local file, the script runs smoothly (even though nothing is rendered... so maybe the library should not load at all in edit mode?).

Comments

Dakwamine created an issue. See original summary.

cilefen’s picture

No matter the use-case, we should check if MathJax.Hub is defined before trying to use it in setup.js.

cilefen’s picture

Status: Active » Closed (duplicate)
Related issues: +#2904023: Check if CDN has loaded