Atto editor not showing up

Re: Atto editor not showing up

by Ken Task -
Number of replies: 1
Picture of Particularly helpful Moodlers

Those are cloudflare content delivery network - javascript - errors.

Moodle, by default, isn't setup to run behind cloudflare, but doesn't mean that the makers of mathjax don't.

So, if you have ssh to your server, login and try using wget with one of those URL's:

Like this:

ktask$ wget https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js
--2018-01-16 14:19:24--  https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js
Resolving cdnjs.cloudflare.com... 2400:cb00:2048:1::6813:c166, 2400:cb00:2048:1::6813:c066, 2400:cb00:2048:1::6813:c466, ...
Connecting to cdnjs.cloudflare.com|2400:cb00:2048:1::6813:c166|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/javascript]
Saving to: 'MathJax.js'

MathJax.js              [ <=>                  ]  61.76K  --.-KB/s   in 0.07s 

2018-01-16 14:19:24 (943 KB/s) - 'MathJax.js' saved [63244]

wget does acquire the file so don't do that inside your moodle code directory.

I see link that shows 'Learn More'!    Uhhhhh ... does that link 'learn ya' any?

I also see it says there's an error ... but I don't program either.

Is your site set to use CloudFlare? Do you have access to CF 'control panel' for your site?   IF so, turn off whatever is related to javascript caching and see if your problems go away?

'spirit of sharing', Ken




Average of ratings: Useful (1)
In reply to Ken Task

Re: Atto editor not showing up

by Miro Iliaš -

Hi,

our smart admin got solution : the MathJax configuration was wrong and it had to be fixed to the form:


MathJax.Hub.Config({

    config: ["Accessible.js", "Safe.js"],

    errorSettings: { message: ["!"] },

    skipStartupTypeset: true,

    messageStyle: "none",

    TeX: { extensions: ["AMSmath.js","AMSsymbols.js","mhchem.js","noErrors.js","noUndefined.js"] },

});



Average of ratings: Useful (1)