There is 1 comment.
 
 
Wiki Editor Tools / cid:jira-generated-image-avatar-2c28451f-4074-4128-a443-c875bf70b02f WIKIEDITOR-87 Open

Syntax Highlighting and/or Autocompletion failed to load

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-830fe49b-2882-4bf4-b647-95554e9cd183 Rob Ostapiuk on 09/Sep/26 22:22
 

This is still a problem on version 18.7.0 and I am seeing it on three different servers running on Ubnutu 22.04 and 24.04.

When I look at the JS console as I try to edit a page, the broken (404 not found) code mirror URLs all look like this:

https://example.com/xwiki/webjars/wiki%3Atools/codemirror/5.65.21-xwiki/mode/htmlmixed/htmlmixed.js 

Apparently a colon ':' isn't getting changed to a '/' and instead is getting encoded as '%3A' which breaks the URL.

I suspect that this is something in the source code and not something in my configuration, but please let me know if I am wrong so I can fix it.  It is only codemirror JS resources that are having this problem. Uninstalling and reinstalling the codemirror extension did not fix the problem for me.