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

Cannot cut and paste if H5P button is added to the Atto toolbar

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. log in as admin
      2. Add a new course C1
      3. Add a new page "PageOne"
      4.  Type 2 paragraphs of text in the Page content editor
      5. Go to the end of paragraph 1 and press 'Enter'
      6. Click the "Insert H5P" button in the Atto toolbar
      7. Paste the following URL in the "URL or embed code" field, and click on the "Insert H5P" button
      8. Add some text after the H5P placeholder
      9. Verify that you can delete the H5P placeholder using the backspace button if you move the cursor to after the placeholder and press backspace
      10. Press ctrl-Z so that the placeholder is back again
      11. Verify that you can delete the H5P placeholder using the delete button
      12. Verify that you can cut and paste some text in the editor, both with right-click menu and with Ctrl-Z and Ctrl-V
      Show
      log in as admin Add a new course C1 Add a new page "PageOne"  Type 2 paragraphs of text in the Page content editor Go to the end of paragraph 1 and press 'Enter' Click the "Insert H5P" button in the Atto toolbar Paste the following URL in the "URL or embed code" field, and click on the "Insert H5P" button https://h5p.org/h5p/embed/612 Add some text after the H5P placeholder Verify that you can delete the H5P placeholder using the backspace button if you move the cursor to after the placeholder and press backspace Press ctrl-Z so that the placeholder is back again Verify that you can delete the H5P placeholder using the delete button Verify that you can cut and paste some text in the editor, both with right-click menu and with Ctrl-Z and Ctrl-V
    • Affected Branches:
      MOODLE_38_STABLE, MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_38_STABLE
    • Pull from Repository:
    • Pull 3.8 Branch:
    • Pull Master Branch:
      MDL-67675-master
    • Story Points:
      0
    • Sprint:
      International 3.9 - Sprint 4, International 3.9 - Sprint 5

      Description

      As reported https://moodle.org/mod/forum/discuss.php?d=393952 the Atto Editor in Moodle 3.8 does not support cutting.

       

      To reproduce:

      • open up the Atto editor in any activity
      • type some text
      • select some of this text
      • hit Ctrl and X to cut
      • Further down the page attempt to paste this text 

      What should happen:

      • Text is pasted

      What does happen:

      • Nothing

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rezaie9 Shamim Rezaie
              Reporter:
              cb526 cb526
              Peer reviewer:
              Jun Pataleta
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Janelle Barcega
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              2 Vote for this issue
              Watchers:
              13 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/Mar/20

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 28 minutes
                  1d 28m