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

Upgrade jsbeautify to 1.13.0

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Testing instructions copied from MDL-51177 (some extra tests have been added related to the library upgrade).

      You will need an Atto WYSIWYG editor (e.g. Add a new forum post) for this testing

      1. Enter a wide range of content, which includes:
        1. Numbered lists
        2. Unordered lists
        3. Indented lists
        4. Tables
        5. HTML copied and pasted from somewhere else
        6. Bold
        7. Italic
        8. Underlined
        9. Headings
        10. Anything else you like...
      2. View the full Atto Toolbar
      3. View the HTML source of the editor
      4. Confirm that the resultant HTML source is coloured
      5. Confirm that the resultant HTML source is indented as you would expect
        Note: Things like Body, Italic, Underline will not be indented in the same that a list with a sublist will be indented.
      6. Add the following code at the end:

        <ul><li>ab<li>cd</ul><dl><dt>ef<dt>gh</dt></dl>

      7. Switch back to the normal view
      8. Confirm that the changes were made in the normal view
      9. Switch back to HTML source of the editor
      10. Confirm that previous code is displayed indented (more information about the expected output can be found here).
      Show
      Testing instructions copied from MDL-51177  (some extra tests have been added related to the library upgrade). You will need an Atto WYSIWYG editor (e.g. Add a new forum post) for this testing Enter a wide range of content, which includes: Numbered lists Unordered lists Indented lists Tables HTML copied and pasted from somewhere else Bold Italic Underlined Headings Anything else you like... View the full Atto Toolbar View the HTML source of the editor Confirm that the resultant HTML source is coloured Confirm that the resultant HTML source is indented as you would expect Note: Things like Body, Italic, Underline will  not  be indented in the same that a list with a sublist will be indented. Add the following code at the end: <ul><li>ab<li>cd</ul><dl><dt>ef<dt>gh</dt></dl> Switch back to the normal view Confirm that the changes were made in the normal view Switch back to HTML source of the editor Confirm that previous code is displayed indented (more information about the expected output can be found here ).
    • Affected Branches:
      MOODLE_311_STABLE, MOODLE_38_STABLE
    • Fixed Branches:
      MOODLE_311_STABLE
    • Epic Link:
    • Pull from Repository:
    • Pull 3.11 Branch:
      MDL-65776-311
    • Pull Master Branch:
      MDL-65776-master
    • Story Points:
      1
    • Sprint:
      Moppies Kanban, International 4.0 - Sprint 7

      Description

      jsbeautify (/lib/editor/atto/plugins/html/yui/src/beautify/) 1.7.5 --> 1.13.0 : https://github.com/beautify-web/js-beautify/releases

      https://github.com/beautify-web/js-beautify/compare/v1.7.5...v1.13.0

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sarjona Sara Arjona (@sarjona)
              Reporter:
              dobedobedoh Andrew Lyons
              Peer reviewer:
              Carlos Escobedo Carlos Escobedo
              Integrator:
              Andrew Lyons Andrew Lyons
              Tester:
              Janelle Barcega Janelle Barcega
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                17/May/21

                  Time Tracking

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