Uploaded image for project: 'Wiki Editor Tools'
  1. Wiki Editor Tools
  2. WIKIEDITOR-14

Use webjars instead of adding the code mirror zip to a XWiki page

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 3.0
    • 2.0
    • None
    • None

    Description

      See http://www.webjars.org/documentation

      The idea is to have:

          <!-- Include the codemirror webjars packaging in order to be able to use it through requirejs -->
          <dependency>
            <groupId>org.webjars</groupId>
            <artifactId>codemirror</artifactId>
            <version>3.14</version>
            <scope>runtime</scope>
          </dependency>
      

      And then use requirejs to load it.

      However this will require a Servlet 3.0 container...

      Attachments

        Issue Links

          Activity

            People

              enygma Eduard Moraru
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: