Modifications pour le document ContentSheet

Modifié par Florent Charton le 2025/08/19 15:16

Depuis la version 2.1
modifié par Florent Charton
sur 2024/08/08 18:44
Commentaire de modification : Install extension [org.xwiki.platform:xwiki-platform-ckeditor-ui/15.10.11]
À la version 1.1
modifié par superadmin
sur 2022/06/20 08:49
Commentaire de modification : Install extension [org.xwiki.contrib:application-ckeditor-ui/1.63.1]

Résumé

Détails

Propriétés de la Page
Auteur du document
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.fcharton
1 +XWiki.superadmin
Contenu
... ... @@ -21,7 +21,7 @@
21 21   #else
22 22   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
23 23   #end
24 - <html xmlns="http://www.w3.org/1999/xhtml" lang="$xcontext.locale.toLanguageTag()" xml:lang="$xcontext.locale.toLanguageTag()">
24 + <html xmlns="http://www.w3.org/1999/xhtml" lang="$xcontext.locale" xml:lang="$xcontext.locale">
25 25   <head>
26 26   <meta http-equiv="Content-Type" content="text/html; charset=$xwiki.encoding" />
27 27   ## Add HTML tags inside the page's head element, provided by UI Extensions implementing the
XWiki.StyleSheetExtension[0]
Code
... ... @@ -1,4 +1,4 @@
1 -body[role="textbox"] {
1 +#body[contenteditable="true"] {
2 2   /* We use padding (instead of margin) in order to support Bootstrap grid layouts and accomodate for the use of
3 3   negative margins used by the .row class. */
4 4   /* We need more space at the bottom in order to be sure that the magic line is visible all the time (see CKEDITOR-283:
... ... @@ -18,7 +18,7 @@
18 18  }
19 19  a[data-linktype="create"]::after {
20 20   background-color: #08C;
21 - border-radius: 10px;
21 + border-radius: 8px;
22 22   color: white;
23 23   content: "?";
24 24   display: inline-block;
... ... @@ -28,14 +28,6 @@
28 28   text-decoration: none;
29 29  }
30 30  
31 -[contenteditable="true"] [data-xwiki-focusedplaceholder]::before {
32 - /* Show the value of the focused line placeholder attribute */
33 - position: absolute;
34 - opacity: .8;
35 - color: #aaa;
36 - content: attr(data-xwiki-focusedplaceholder);
37 -}
38 -
39 39  .macro-placeholder {
40 40   /* Hide the placeholder by default and show it only if the macro is editable. */
41 41   display: none;
... ... @@ -62,3 +62,10 @@
62 62  del ins span.cke_widget_inline {
63 63   text-decoration-line: underline line-through;
64 64  }
57 +
58 +/* Prevent the horizontal scroll bar on IE11. We already limit the image width from the skin (in order to have
59 + responsive images) but this is not enough for IE11 because the image element has a wrapper.
60 + See CKEDITOR-143: Horizontal scroll bar displayed when inserting a large image on IE11 */
61 +.cke_widget_image {
62 + max-width: 100%;
63 +}