Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-13766 META: Develop new Repository API
  3. MDL-20603

Create a new simpler 'moodlemedia' dialog for TinyMCE

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: HTML Editor (TinyMCE)
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      The new, simpler media dialog for TinYMCE would be a new plugin to avoid conflicts with the existing one (which would not be used any more).

      1) Make a copy of the plugin 'media' and call it 'moodlemedia'
      2) Remove all the patches from the old one and restore it to standard TinyMCE condition in CVS
      3) Hide the 'media' plugin from the standard toolbars and show 'moodlemedia' instead.
      4) Strip the interface down to
      a) A button called "Find or upload a sound, video or applet"
      b) A preview window that shows the media
      c) An explanation at the bottom that says "Your media will be inserted into your HTML text as a link. The Moodle Media filter will convert this into embedded media when the text is displayed."
      5) The filepicker should be told that EXTERNALURL or LOCALURL are required.
      6) The returned URL should be stored invisibly since we don't need to see it.
      7) The submit button will turn the URL into a named link in the HTML.

        Balsamiq Wireframes

          Attachments

            Activity

              People

              Assignee:
              dongsheng Dongsheng Cai
              Reporter:
              dougiamas Martin Dougiamas
              Tester:
              Nobody
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10