Modifications pour le document EditSheet
Modifié par Florent Charton le 2026/03/13 11:04
Depuis la version 6.1
modifié par Florent Charton
sur 2026/01/13 15:01
sur 2026/01/13 15:01
Commentaire de modification :
Install extension [org.xwiki.platform:xwiki-platform-ckeditor-ui/17.10.2]
À la version 7.1
modifié par Florent Charton
sur 2026/03/13 11:04
sur 2026/03/13 11:04
Commentaire de modification :
Install extension [org.xwiki.platform:xwiki-platform-ckeditor-ui/17.10.4]
Résumé
-
Objets (1 modifications, 0 ajouts, 0 suppressions)
Détails
- 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.document.$ !== document) { 143 + if (editor.mode === 'wysiwyg' && 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;