Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-1934

Modify the shortener from format text directive to show always HTML

XMLWordPrintable

    • Hide
      • Check that shortened texts has now "Show more" text.
      • Check "show more" text is readable with the white gradient background.
      • Check that shortened texts don't follow links, play videos, open images... and instead of that the text is expanded.
      • Check that expanded texts do the right click action (follow links, etc) inside them and the text does not collapse.
      • Check that expanded texts click outside a link, video, etc collapses the text.
      • Check that shortened texts with "fullview-on-click" opens a new state with the whole text (e.g. Assignment online texts or feedback).
      Show
      Check that shortened texts has now "Show more" text. Check "show more" text is readable with the white gradient background. Check that shortened texts don't follow links, play videos, open images... and instead of that the text is expanded. Check that expanded texts do the right click action (follow links, etc) inside them and the text does not collapse. Check that expanded texts click outside a link, video, etc collapses the text. Check that shortened texts with "fullview-on-click" opens a new state with the whole text (e.g. Assignment online texts or feedback).
    • MOODLE_32_STABLE
    • MOODLE_32_STABLE
    • Moodle Mobile 3.2.1

      Currently the shortening is done using the character length of the string. This is done cleaning HTML tags before.

      We can shorten HTML using max-height and overflow attributes on CSS and adding visual indicators to show the text has been shortened.

      Amazon does that on comments.

            pferre22 Pau Ferrer
            pferre22 Pau Ferrer
            Dani Palou Dani Palou
            Juan Leyva Juan Leyva
            Berta Maroto Berta Maroto
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 2 days, 1 hour
                2d 1h
                Remaining:
                0m
                Logged:
                Time Not Required
                Not Specified

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