This issue has been created
There is 1 update, 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-ef0e899d-4599-404f-8a14-576c3227d7c7 XWIKI-23338 Open

The Standalone WYSIWYG editor doesn't load in Firefox after enabling the "Load JavaScript Skin Extensions" configuration

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-1333ecbb-c49d-4a7f-8c8a-789fc8a988e7 Marius Dumitru Florea created this issue on 26/Jun/25 09:22
 
Summary: The Standalone WYSIWYG editor doesn't load in Firefox after enabling the "Load JavaScript Skin Extensions" configuration
Issue Type: cid:jira-generated-image-avatar-ef0e899d-4599-404f-8a14-576c3227d7c7 Bug
Affects Versions: 15.10.10
Assignee: Unassigned
Components: CKEditor
Created: 26/Jun/25 09:22
Priority: cid:jira-generated-image-static-critical-34045f13-784e-485d-94a7-4eb134705cca Critical
Reporter: Marius Dumitru Florea
Description:

This affects only the standalone WYSIWYG edit mode when using Firefox, after enabling the "Load JavaScript Skin Extensions" CKEditor configuration from the wiki administration.

It's very easy to reproduce: just edit the Sandbox home page in standalone WYSIWYG mode before and after enabling the "Load JavaScript Skin Extensions" configuration. Outcome: the editing area is empty and read-only.

 
 

1 update

 
cid:jira-generated-image-avatar-1333ecbb-c49d-4a7f-8c8a-789fc8a988e7 Changes by Marius Dumitru Florea on 26/Jun/25 09:32
 
Labels: regression
 
 

1 comment

 
cid:jira-generated-image-avatar-1333ecbb-c49d-4a7f-8c8a-789fc8a988e7 Marius Dumitru Florea on 26/Jun/25 09:32
 

The problem seems to be that the "load" event for the iframe used by the standalone CKEditor is not triggered anymore when enabling JavaScript skin extensions, so the editor waits forever to enable the editing area. I removed one by one the loaded JavaScript extensions and in the end it seems that the culprit is require.js . Once we load require.js inside the iframe the load event is not fired.

I managed to reproduce with an XWiki 15.10.10 instance I had locally, but also with 16.4.6 and 17.5.0-SNAPSHOT. What puzzles me is that:

  • I'm pretty sure I tested this since 15.10.10, and it used to work
  • We have a test to prove this works... which passes when running all the tests but fails when running separately. I'm referring to MacroIT.
  • It doesn't reproduce with Chrome

Based on this my suspicion is that this is caused by a recent behavior change in Firefox regarding how the load event is fired for iframe. But since we're using an EOL version of CKEditor we can't get updates on this..