• Icon: Task Task
    • Resolution: Fixed
    • Icon: Major Major
    • 4.4.0
    • 4.3.0
    • None
    • None
    • 4.4 M1

      We currently use 3.24-ametys-2
      The latest version at this moment is 5.49.0

      (See https://codemirror.net/mode/javascript/index.html)

      It could be very useful to upgrade this dependency as with RUNTIME-3225 resolved, our JS scripts are compatible with ES2015.
      And with the current version of CodeMirror, it does not handle well the backticks (the whole text from a backtick is orange, even though there is a second backtick to 'close' the template literal).
      And maybe some other missing features for ES2015+.

          [RUNTIME-3265] Upgrade CodeMirror version

          Le but de ce ticket est d'upgrader codemiror sans regression
          Puisque c'est le cas, on ferme
          Pour le pb de scroll, il y a l'autre ticket

          Raphaël Franchet added a comment - Le but de ce ticket est d'upgrader codemiror sans regression Puisque c'est le cas, on ferme Pour le pb de scroll, il y a l'autre ticket

          I just packaged the 5.53.2 version

          Raphaël Franchet added a comment - I just packaged the 5.53.2 version

          Simon Prieul (Inactive) added a comment - - edited

          The attached patch allows to test very quickly version 5.49.0 of CodeMirror for manual non-regression tests.

          Simon Prieul (Inactive) added a comment - - edited The attached patch allows to test very quickly version 5.49.0 of CodeMirror for manual non-regression tests.

            Unassigned Unassigned
            sprieul Simon Prieul (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: