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

After including <iframe> in the label content of Activity:Feedback, when I click on edit question, all tags in the content are gone.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.1.5, 4.3.1
    • Feedback
    • MOODLE_401_STABLE, MOODLE_403_STABLE
    • Hide

      Go to "Administration > Security > Site security settings" and enable enabletrusttext

       

      Attention: this change will also impact in other activities, not just feedback

      Show
      Go to "Administration > Security > Site security settings" and enable enabletrusttext   Attention: this change will also impact in other activities, not just feedback

      1. Go to "Administration > Security > Site security settings" and disable enabletrusttext.
      2. Create a course.
      3. Add an activity or resource > Feedback > Save and display
      4. Edit questions > Choose...Label
      5. Edit HTML

        <iframe width="560" height="315" src="https://www.youtube.com/embed/jAfG5s3iR7w?si=ipztETCxYt99QLyc" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

      6. Save changes
      7. Go to Edit > Edit question

       

      Expected result

      The video is displayed in the editor.

      Current result

      The contents area is empty.

            Unassigned Unassigned
            tsukamotoc@e-learning.co.jp CHIE TSUKAMOTO
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:

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