Changes for page EditSheet

Last modified by teamwire004 on 2026/04/07 07:16

From version 11.1
edited by teamwire004
on 2026/04/07 07:16
Change comment: Install extension [org.xwiki.platform:xwiki-platform-ckeditor-ui/17.10.4]
To version 10.1
edited by teamwire004
on 2026/01/13 09:12
Change comment: Install extension [org.xwiki.platform:xwiki-platform-ckeditor-ui/17.10.2]

Summary

Details

XWiki.JavaScriptExtension[0]
Code
... ... @@ -140,7 +140,7 @@
140 140   // We have to overwrite both appendChild and insertBefore because depending on the presence of the BASE element
141 141   // RequireJS uses one or the other.
142 142   ckeditor.on('instanceReady', ({editor}) => {
143 - if (editor.mode === 'wysiwyg' && editor.document.$ !== document) {
143 + if (editor.document.$ !== document) {
144 144   // This editor instance is using a separate DOM document for editing which means it's a standalone editor.
145 145   const initialHead = editor.document.$.head;
146 146   const originalAppendChild = initialHead.appendChild;