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

Create TinyMCE Media plugin with Image editing


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

      Eventually this should be a single plugin which adds:

      • Insert Image
      • Insert Video
      • Drag/Drop handling
      • Media management

      See https://www.tiny.cloud/docs/tinymce/6/upload-images/ for information on drag/drop uploading within TinyMCE.
      We should find a way to disable the native drag/drop handling when the editor does not support file uploads at all.

      This should integrate with the Repository API.

      Decision to be made on whether our custom plugins should use the Moodle dialogues, or the TinyMCE ones.

      In this issue

      This issue is all about getting the image insertion working. That is:

      • drag/drop upload
      • replicating the current TinyMCE standard / Atto standard image features into a Moodle modal
      • ideally displaying a preview

      If context menus are easy, then they can be done here too, otherwise we can move that to a separate issue.

      Note: The epic contains a start on the above to get the drag/drop working and to add a fake implementation of the button.

            huongn@moodle.com Huong Nguyen
            dobedobedoh Andrew Lyons
            Andrew Lyons Andrew Lyons
            0 Vote for this issue
            3 Start watching this issue


                Original Estimate - 2 days Original Estimate - 2 days
                Remaining Estimate - 0 minutes
                Time Spent - 1 week, 1 day, 7 hours, 5 minutes
                1w 1d 7h 5m

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