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

"Paste and replace" in H5P editor is not working as expected with images

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.9.1
    • Content bank, H5P
    • MOODLE_39_STABLE

      Steps to reproduce

      1. Login as admin.
      2. Access to the Content bank.
      3. Upload the attached file.
      4. Edit the content and click over the "Copy" button (near "Paste and replace" button).
      5. Access to the main page of the Content bank
      6. Add a new "Greeting card" content.
      7. Click the "Paste and replace" button.

      Expected behaviour

      The content and the image should be displayed properly.

       

      Current behaviour

      The content is pasted but the image doesn't appear in the preview (see attached screenshot). If the content is saved, the image neither appear.

        1. greetingcard_noimage.png
          47 kB
          Sara Arjona (@sarjona)
        2. greeting-card.h5p
          35 kB
          Sara Arjona (@sarjona)

            Unassigned Unassigned
            sarjona Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

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