Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-84170

Upgrade TinyMCE codemirror and beautify to 1.15.3

XMLWordPrintable

    • MOODLE_500_STABLE
    • MOODLE_500_STABLE
    • MDL-84170-main
    • Hide

      Library testing

      1. Navigate to Site Administrator > Development > Third party libraries.
      2. VERIFY that you will see Libraries below with the new version:
        Lib Version
        codemirror/autocomplete 6.18.6
        codemirror/commands 6.8.0
        codemirror/lang-css 6.3.1
        codemirror/lang-javascript 6.2.3
        codemirror/language 6.10.8
        codemirror/lint 6.8.4
        codemirror/search 6.5.10
        codemirror/state 6.5.2
        codemirror/view 6.36.4
        js-beautify  1.15.3

      Testing text formarting (copied from MDL-78613)

      1. Log into Moodle as an administrator
      2. Navigate to edit profile page
      3. At the description field, add text, tables and a mixture of differently formatted content to the WYSIWYG editor
      4. From the TinyMCE editor menu select "view > Source code"
      5. VERIFY the "Source code" modal appears
      6. VERIFY that the HTML for the content you entered in WYSIWYG mode is "pretty" formatted (indented etc.) and that the code tags are colored.

      Tag completion and suggestion (copied from MDL-78613)

      1. While the source code modal is open from the previous test. If it isn't follow the same setup instructions from that test
      2. In code view of the editor start to enter a new HTML tag. For example '<di'
      3. VERIFY as you enter the partial tag a list of matching potential tags appears
      4. Select one of the tags with either your mouse or arrow keys and enter.
      5. VERIFY that the tag is completed by the editor (without the closing >)
      6. Enter the closing '>' and VERIFY that a mathing closing tag for the one you entered is automatically generated
      7. Finish entering your content then click "save"
      8. VERIFY that your new content is displayed in the WYSIWYG editor
      9. From the TinyMCE editor menu select "view > Source code"
      10. VERIFY the newly entered HTML code has been formatted and contains coloring.
      Show
      Library testing Navigate to Site Administrator > Development > Third party libraries. VERIFY that you will see Libraries below with the new version: Lib Version codemirror/autocomplete 6.18.6 codemirror/commands 6.8.0 codemirror/lang-css 6.3.1 codemirror/lang-javascript 6.2.3 codemirror/language 6.10.8 codemirror/lint 6.8.4 codemirror/search 6.5.10 codemirror/state 6.5.2 codemirror/view 6.36.4 js-beautify  1.15.3 Testing text formarting (copied from MDL-78613 ) Log into Moodle as an administrator Navigate to edit profile page At the description field, add text, tables and a mixture of differently formatted content to the WYSIWYG editor From the TinyMCE editor menu select "view > Source code" VERIFY the "Source code" modal appears VERIFY that the HTML for the content you entered in WYSIWYG mode is "pretty" formatted (indented etc.) and that the code tags are colored. Tag completion and suggestion (copied from MDL-78613 ) While the source code modal is open from the previous test. If it isn't follow the same setup instructions from that test In code view of the editor start to enter a new HTML tag. For example '<di' VERIFY  as you enter the partial tag a list of matching potential tags appears Select one of the tags with either your mouse or arrow keys and enter. VERIFY  that the tag is completed by the editor (without the closing > ) Enter the closing '>' and  VERIFY that a mathing closing tag for the one you entered is automatically generated Finish entering your content then click "save" VERIFY  that your new content is displayed in the WYSIWYG editor From the TinyMCE editor menu select "view > Source code" VERIFY  the newly entered HTML code has been formatted and contains coloring.
    • Hide

      Code verified against automated checks.

      Checked MDL-84170 using repository: https://github.com/meirzamoodle/moodle.git

      More information about this report

      Built on: Tue Mar 4 06:16:15 UTC 2025

      Show
      Code verified against automated checks. Checked MDL-84170 using repository: https://github.com/meirzamoodle/moodle.git main (0 errors / 0 warnings) [branch: MDL-84170-main | CI Job ] More information about this report Built on: Tue Mar 4 06:16:15 UTC 2025
    • Show
      Launching automatic jobs for branch MDL-84170 -main https://ci.moodle.org/view/Testing/job/DEV.02%20-%20Developer-requested%20PHPUnit/18300/ PHPUnit (sqlsrv) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/62563/ Behat (NonJS - boost and classic) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/62564/ Behat (Firefox - boost) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/62565/ Behat (Firefox - classic) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/62566/ App tests (stable app version) Built on: Wed Feb 19 08:25:16 AM UTC 2025
    • 1
    • Team Dragons 2025 Sprint 1.2

      • lib/editor/tiny/plugins/html/amd/src/codemirror-lazy.js core library 6.0.1 is not changing. Only dependencies   https://github.com/codemirror/CodeMirror
      • lib/editor/tiny/plugins/html/amd/src/beautify/beautify.js : 1.15.1 => v1.15.3

        1. (1) 2 Passed -- (Main)MDL-84170.png
          121 kB
          Kim Jared Lucas
        2. (2) 6 Passed -- (Main)MDL-84170.png
          103 kB
          Kim Jared Lucas
        3. (3) 10 Passed -- (Main)MDL-84170.png
          51 kB
          Kim Jared Lucas
        4. (3) 3 Passed -- (Main)MDL-84170.png
          47 kB
          Kim Jared Lucas
        5. (3) 5 Passed -- (Main)MDL-84170.png
          33 kB
          Kim Jared Lucas
        6. (3) 6 Passed -- (Main)MDL-84170.png
          52 kB
          Kim Jared Lucas
        7. (3) 8 Passed -- (Main)MDL-84170.png
          52 kB
          Kim Jared Lucas

            meirza.arson@moodle.com Meirza
            sarjona Sara Arjona (@sarjona)
            Laurent David Laurent David
            Jun Pataleta Jun Pataleta
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 21 minutes
                2h 21m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.