Reply New Topic
2024/11/14 13:49:41
#1
Offline
Webmaster

no editor in forum

I just noticed that there is no more editor in the forums. Is that intentional or is there a malconfiguration somewhere along the line?

_________________

Me on OpenHub


2024/11/19 19:51:06
#2
Offline
Home away from home

Re: no editor in forum

I 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.


_________________
Christian Web Resources
Facebook

2024/11/19 19:54:45
#3
Offline
Home away from home

Re: no editor in forum

No editor for this post. Firefox debug is showing request failed to load jquery.js I haven't published any changes to the site.

_________________
Christian Web Resources
Facebook

2024/11/19 19:57:19
#4
Offline
Home away from home

Re: no editor in forum

Quote:

skenow wrote:

I 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.

Using quote doesn't quite work, either. A clarification to my above statement - adding a news post is done from the admin area, and the editor does show there, even with the jquery errors.

_________________
Christian Web Resources
Facebook

2024/11/20 10:02:22
#5
Offline
Home away from home

Re: no editor in forum

Are we using CloudFlare for the site? Sometimes jquery is loading, sometimes it isn't. This time it did and so did the editor.


_________________
Christian Web Resources
Facebook

2024/11/20 10:04:04
#6
Offline
Webmaster

Re: no editor in forum

I don't think we still do, I'll check.

_________________

Me on OpenHub


2024/11/20 14:04:25
#7
Offline
Webmaster

Re: no editor in forum

Cloudflare confirmed that we aren't known on their systems, so not them. Let me check with a newer jQuery version.

_________________

Me on OpenHub


2024/11/21 17:36:33
#8
Offline
Home away from home

Re: no editor in forum

We 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


_________________
Christian Web Resources
Facebook

2024/11/23 5:54:47
#9
Offline
Home away from home

Re: no editor in forum

This 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. ???

_________________
Christian Web Resources
Facebook

2024/11/23 6:32:00
#10
Offline
Webmaster

Re: no editor in forum

I 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.


_________________

Me on OpenHub


2024/11/30 10:04:01
#11
Offline
Home away from home

Re: no editor in forum

Have 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.


_________________
Christian Web Resources
Facebook

Reply New Topic extras
 Previous Topic   Next Topic
You can view topic.
You can start a new topic.
You can reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You can post without approval.