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

Iframes not visible when using TinyMCE to insert the code

XMLWordPrintable

      If TinyMCE is used to insert code with an Iframe in a section or label it is not displayed.

      If TinyMCE is disabled and Atto is used to insert the same code the problem does not occur and the Iframe is displayed correctly.

      Example

      <div style="left: 0; width: 100%; height: 0; position: relative; padding-bottom: 56.25%;"><iframe src="https://www.canva.com/design/DACHZTlgWkU/view?embed&meta" style="top: 0; left: 0; width: 100%; height: 100%; position: absolute; border: 0;" allowfullscreen allow="fullscreen;"></iframe></div> 

      I have verified that this is also happening at https://sandbox.moodledemo.net/

            dobedobedoh Andrew Lyons
            Lyle Sam
            Luca Bösch Luca Bösch
            Safat Shahin Safat Shahin
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            7 Vote for this issue
            Watchers:
            22 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 48 minutes
                48m

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