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

Create TinyMCE Media manager functionality in the tiny_media plugin

XMLWordPrintable

    • 3
    • Team Hedgehog 4.1 sprint 0.2, Team Hedgehog 4.1 sprint 0.3, Team Hedgehog 4.1 sprint 0.4

      Once the first part of our custom TinyMCE media plugin is implemented (MDL-75258, which adds image functionality), we can introduce media manager functionality, which allows you to manage all media (image/video/audio) content that has been added to the current instance of the editor using the new media plugin.

      For this iteration of the TinyMCE integration project, this just requires porting the existing media manager functionality from Atto over to TinyMCE 6. Since Atto simply displays that manager in an iframe, this should just be a matter of finding the relevant place in TinyMCE to add this, and taking the same approach (ie displaying an iframe of the file manager in the same way).

      One of the reasons the manager is required, is that when you delete an image within the editor, the file still exists in the draft area, so is carried over when the content is saved. To avoid that, you must go into the media manager, and delete the image. There are possibly ways this could be handled automatically in future, but this is out of scope for the current work.

      This may form part of the plugin created in MDL-75258, or will possibly need to be a separate plugin, so deciding that forms part of this issue.

       

      Note: To work on this issue, you will need to create a branch based on both MDL-75071 and  MDL-75258 (assuming this is not worked on before those land in core, which is likely).

            stevani.andolo@moodle.com Stevani Andolo
            dobedobedoh Andrew Lyons
            Andrew Lyons Andrew Lyons
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 1 day, 3 hours, 45 minutes Original Estimate - 1 day, 3 hours, 45 minutes
                1d 3h 45m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 week, 3 hours
                1w 3h

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