Wiki Editor Tools
  1. Wiki Editor Tools
  2. WIKIEDITOR-37

Split the Syntax Highlighting extension in two extensions

    Details

    • Type: Task Task
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.2
    • Component/s: None
    • Labels:
      None
    • Similar issues:

      Description

      Keep in the current extension only the code which transforms each textarea in XWiki 'edit' mode into CodeMirror instances.
      Create a new extension which contains a RequireJS module allowing the user to transform a given textarea into a CodeMirror instance. This extension will be used as a dependency for the first one.

      Other extensions that require CodeMirror instances, such as the Web IDE application, could then use the new RequireJS module as a dependency instead of the whole Syntax Highlighting extension.

        Issue Links

          Activity

          Show
          Eduard Moraru added a comment - Applied Yann Flory 's PR https://github.com/xwiki-contrib/wiki-editor-devtools/pull/7 Thanks!

            People

            • Assignee:
              Yann Flory
              Reporter:
              Yann Flory
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: