Changes for page EditSheet
Last modified by superadmin on 2025/02/27 10:46
From version 11.1
edited by Thomas Coelho (local)
on 2025/02/13 15:10
on 2025/02/13 15:10
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-ckeditor-ui/17.0.0]
To version 12.1
edited by superadmin
on 2025/02/27 10:46
on 2025/02/27 10:46
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-ckeditor-ui/17.1.0]
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. coelho1 +XWiki.superadmin
- XWiki.StyleSheetExtension[0]
-
- Code
-
... ... @@ -463,3 +463,20 @@ 463 463 border-color: @table-border-color; 464 464 border-style: solid; 465 465 } 466 + 467 +/* CKEditor contains a CSS reset. It works with its own style sheets and does not use the ones in XWiki. 468 +However, we want `.sr-only` from XWiki to still be usable in our CKEditor environment. 469 +We need to redefine the XWiki styles of this class to have better priority than the CKEditor CSS reset. 470 +Without this, the elements with this class are still shown which would be different from the behaviour 471 +of `.sr-only` anywhere else in XWiki (as described in our doc). 472 +This redefinition allows for a more consistent behaviour of the `.sr-only` class. */ 473 +.cke_reset_all .sr-only { 474 + position: absolute; 475 + width: 1px; 476 + height: 1px; 477 + padding: 0; 478 + margin: -1px; 479 + overflow: hidden; 480 + clip: rect(0, 0, 0, 0); 481 + border: 0; 482 +}