This issue has been created
There are 2 updates, 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-caae0389-db97-47d9-8869-3961584c4499 XWIKI-22781 Open

Load JavaScript skin extensions in standalone WYSIWYG editor by default

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-cc0fc908-b506-4d2e-9819-fee5942be6dc Marius Dumitru Florea created this issue on 14/Jan/25 11:16
 
Summary: Load JavaScript skin extensions in standalone WYSIWYG editor by default
Issue Type: cid:jira-generated-image-avatar-caae0389-db97-47d9-8869-3961584c4499 Improvement
Affects Versions: 16.10.2
Assignee: Unassigned
Components: CKEditor, Flamingo Skin
Created: 14/Jan/25 11:16
Priority: cid:jira-generated-image-static-major-6ba9f46d-8b79-454b-beb9-e6938156e51b Major
Reporter: Marius Dumitru Florea
Description:

We have an inconsistency between the standalone WYSIWYG edit mode (currently used when creating a new page and for TextArea properties) and the in-place WYSIWYG edit mode: the JavaScript code is loaded when editing in-place, but not when editing standalone. We have a configuration to enable JavaScript, but it affects only the standalone WYSIWYG edit mode.

See also https://forum.xwiki.org/t/load-javascript-skin-extensions-in-standalone-wysiwyg-editor-by-default/16246 .

I propose we load JavaScript by default in standalone WYSIWYG edit mode, to be consistent with the in-place edit mode.

 
 

2 updates

 
cid:jira-generated-image-avatar-cc0fc908-b506-4d2e-9819-fee5942be6dc Changes by Marius Dumitru Florea on 14/Jan/25 11:16
 
Fix Version: 17.0.0-rc-1
Assignee: Marius Dumitru Florea
 
 

1 comment

 
cid:jira-generated-image-avatar-cc0fc908-b506-4d2e-9819-fee5942be6dc Marius Dumitru Florea on 14/Jan/25 11:19
 

FTR, the loadJavaScriptSkinExtensions configuration is used in 3 places:

  • to decide whether to include the javascript.vm template in the CKEditor content sheet
  • to decide whether to unprotect scripts tags that are by default protected (neutralized) by CKEditor
  • to decide whether to allow script tags in the advanced content filter