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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 3.0
    • Component/s: None
    • Labels:
      None
    • Similar issues:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: