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

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Libraries
    • Labels:

      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

              Assignee:
              fred Frédéric Massart
              Reporter:
              fred Frédéric Massart
              Peer reviewer:
              Dani Palou Dani Palou
              Tester:
              Juan Leyva Juan Leyva
              Participants:
              Component watchers:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                31/Jul/15