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

Handle the @lessCode variable in the Flamingo Theme preview

    Details

    • Tests:
      Integration
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Currently, the @lessCode variable is not taken into account in the live preview, and it is very confusing for the user.

      The objective is to have this:

      The way I propose to do it is by creating a less plugin that append the content of the @lessCode variable to the code to render.

      See: http://lesscss.org/usage/#plugins

        Attachments

        1. ie10.png
          ie10.png
          90 kB
        2. ie11.png
          ie11.png
          94 kB
        3. ie9.png
          ie9.png
          109 kB
        4. live-preview.png
          live-preview.png
          92 kB
        5. live-preview-2.png
          live-preview-2.png
          69 kB

          Issue Links

            Activity

              People

              • Assignee:
                gdelhumeau Guillaume Delhumeau
                Reporter:
                gdelhumeau Guillaume Delhumeau
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: