Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-778 META: Migrate to Ionic
  3. MOBILE-1004

Handle links present in external content using mmFormatText

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0
    • 2.0
    • Libraries

    Description

      The links present in any external content can contain external links. MM1 was adding target="_blank" to them but it's a bit weak. We can add the directive mmBrowser to them so that they will always open in an external browser.

      However, we might want to think about another directive which would open a door for handling links to course content. For instance, a teacher copies a link to another module somewhere, the link should really send the user to that module within the app, not in the external browser.

      We can:

      1. Add mm-browser and forget about the rest
      2. Add mm-something that adds mm-browser to the links and would serve as link handler for the future.

      Having said that, I realise that it will not be a problem to replace mm-browser later because it's part of core and done automatically in mm-format text. So let's just stick with mmBrowser.

      Attachments

        Issue Links

          Activity

            People

              fred Frédéric Massart
              fred Frédéric Massart
              Dani Palou Dani Palou
              Juan Leyva Juan Leyva
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                31/Jul/15