Modifications pour le document EditSheet

Modifié par Florent Charton le 2026/03/13 11:04

Depuis la version 7.1
modifié par Florent Charton
sur 2026/03/13 11:04
Commentaire de modification : Install extension [org.xwiki.platform:xwiki-platform-ckeditor-ui/17.10.4]
À la version 5.1
modifié par Florent Charton
sur 2026/01/08 10:59
Commentaire de modification : Install extension [org.xwiki.platform:xwiki-platform-ckeditor-ui/17.4.8]

Résumé

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.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;
XWiki.StyleSheetExtension[0]
Code
... ... @@ -179,25 +179,6 @@
179 179  }
180 180  
181 181  /**
182 - * Handle the layout and display of the warning message for headerless tables.
183 - * This message is added by the xwiki-table plugin.
184 - * Some of the default styles are just overridden by the CKEditor reset.
185 - */
186 -.cke_dialog_container span.box.warningmessage {
187 - .alert-warning;
188 - /* Default warning boxes are not meant to be used in a strict layout like the one of this table dialog.
189 - * We need an extra customization to avoid breaking this layout. */
190 - white-space: break-spaces;
191 - /* By default, the warning is not shown. */
192 - display: none;
193 -}
194 -
195 -/* When the value of the previous field is the one we want to avoid, we show the warning. */
196 -.cke_dialog_container tr:has(select [value=""]:checked) + tr span.box.warningmessage {
197 - display: unset;
198 -}
199 -
200 -/**
201 201   * Link Options Toggle
202 202   */
203 203