Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-11804

Cannot write CSS in the "Style" property of the XWiki default skin

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Major
    • None
    • 6.4
    • Flamingo Skin
    • Unknown

    Description

      Steps to reproduce:

      • edit the XWiki default skin inline mode (the base skin must be set to "flamingo")
      • copy the following CSS table rules in the "Style" field
      th, td {
       border: 1px solid black; 
       text-align: center;
      }
      
      th {
       background: rgb(149, 179, 215);
      }
      
      • after saving the page notice how the display is broken (see the attached screenshot)

      Should we not write CSS in the skin but LESS? Could we have a solution like the one implemented for "XWiki.StyleSheetExtensions" objects i.e. choose whether the content is LESS or CSS?

      Attachments

        Issue Links

          Activity

            People

              gdelhumeau Guillaume Delhumeau
              raluca.moisa Raluca Moisa
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: