2024/11/14 13:49:41
|
---|
|
no editor in forumI just noticed that there is no more editor in the forums. Is that intentional or is there a malconfiguration somewhere along the line?
|
_________________
|
2024/11/19 19:51:06
|
---|
|
Re: no editor in forumI got an editor for this post, but it wasn't showing up before. Looking in other areas (wiki, news, content), I wasn't getting the editor there, either. |
2024/11/19 19:54:45
|
---|
|
Re: no editor in forumNo editor for this post. Firefox debug is showing request failed to load jquery.js
I haven't published any changes to the site.
|
2024/11/19 19:57:19
|
---|
|
Re: no editor in forumQuote:
|
2024/11/20 10:02:22
|
---|
|
Re: no editor in forumAre we using CloudFlare for the site? Sometimes jquery is loading, sometimes it isn't. This time it did and so did the editor. |
2024/11/20 10:04:04
|
---|
|
Re: no editor in forumI don't think we still do, I'll check.
|
_________________
|
2024/11/20 14:04:25
|
---|
|
Re: no editor in forumCloudflare confirmed that we aren't known on their systems, so not them. Let me check with a newer jQuery version.
|
_________________
|
2024/11/21 17:36:33
|
---|
|
Re: no editor in forumWe used to have a CloudFlare account - I'm not sure how we used it or if it was discarded. I ran another test and changed the theme I used - a little tricky because of the custom zones and navigation in the primary theme. I managed to get to the forum, and when I hit reply, the form loaded with the editor. Same when I went to SimplyWiki - the editor loaded every time. I switched back to icms-unify theme and started to get the editor, but then I didn't. Cancelling my reply and then starting again loaded the editor |
2024/11/23 5:54:47
|
---|
|
Re: no editor in forumThis is what is happening when there is no editor (it happened for this post) -
Uncaught TypeError: $(...).ckeditor is not a function
https://www.impresscms.org/modules/iforum/newtopic.php?forum=55:64
The editor files are showing in the page source and in the browser debug.
???
|
2024/11/23 6:32:00
|
---|
|
Re: no editor in forumI don't see that error (on FireFox here, latest version on Windows), but the initial load of the page also doesn't show the editor. Reloading the page (sometimes multiple times) eventually shows the editor. I checked, and the forums are not using the cache, so it's not a cache issue either. |
_________________
|
2024/11/30 10:04:01
|
---|
|
Re: no editor in forumHave a look at how jQuery is being loaded. I had been doing some testing to improve page load speed and tried loading it with 'async' and 'defer'. When using CKeditor, both of those conditions would keep the editor from loading. I posted something in Slack about this - now you can find it in Discord In the page source here, I see jQuery included twice - the first time with async, the 2nd time without. Both before ckeditor.js is loaded. |
2024/12/3 3:13:02
|
---|
|
Re: no editor in forumYes, I'll have to review the theme on that account. Part of it is because the way ImpressCMS includes a whole load of CSS and Javascript that can't be configured. For example, jquery is included in a bundled javascript file, but I can't shut off the automatic inclusion of the jquery by the core, which might be the reason that there are 2 jquery instances. It has been a long time since I really worked on the theme so my knowledge is a bit spotty now.
It's strange that this suddenly happened, because I haven't made changes to the website theme in production as far as I know. I'll check if there is a quick fix, I've been working on a rewrite of the theme these last few months, on and off. Perhaps that should get more priority once 2.0 is out (which is soon hopefully, pending a working content module)
|
_________________
|