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

No linebreaks in frozen textareas

XMLWordPrintable

    • MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE
    • MOODLE_36_STABLE, MOODLE_37_STABLE
    • MDL-66543-master
    • Hide
      1. Copy the file frozen-textarea.php ( frozen-textarea.php ) to the root folder of your installation.
      2. Browse: YOURMOODLEINSTALLATION/frozen-textarea.php
      3. Confirm that:
        • All three textareas should show a multiline content
        • The frozen text area can't be edited, but you can still tab to it.
        • The hard frozen text area can't be edited and you can't tab to it.
      Show
      Copy the file frozen-textarea.php ( frozen-textarea.php ) to the root folder of your installation. Browse: YOURMOODLEINSTALLATION/frozen-textarea.php Confirm that: All three textareas should show a multiline content The frozen text area can't be edited, but you can still tab to it. The hard frozen text area can't be edited and you can't tab to it.

      If you enter multi-line text into a textarea and view it in a read-only (frozen) context, the whole text will be displayed as a single line.
      Other elements such as element-text apply readonly/disabled flags to the html element and do not just simply output the saved unformatted text.
      In the attachment you can see a (hard) frozen Textarea before and after the patch.

        1. After.png
          After.png
          11 kB
        2. Before.png
          Before.png
          10 kB
        3. frozen-textarea.php
          2 kB
        4. Confirmed and verified.PNG
          Confirmed and verified.PNG
          9 kB

            tobias.reischmann Tobias Reischmann
            tobias.reischmann Tobias Reischmann
            Luca Bösch Luca Bösch
            Jun Pataleta Jun Pataleta
            Gladys Basiana Gladys Basiana
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 15 minutes
                1h 15m

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