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

Atto Text Editor: Pasting plain text urls into a single line, breaks word wrapping

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • 4.1.6, 4.3
    • Text editor Atto
    • None
    • MOODLE_401_STABLE, MOODLE_403_STABLE

      I've found what looks to be a cosmetic issue with the atto text editor.

      When you paste in this one lined URL string as plain text, the word wrapping in the editor stops working. Instead, the text box expands all the way to the end of the line.

       

      https://portal.azure.com/#view/Microsoft_AAD_UsersAndTenants/UserManagementMenuBlade/~/AllUsers/filter%randomString1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZrandomString1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZrandomString1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZrandomString1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZrandomString1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZrandomString1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZrandomString1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZrandomString1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZrandomString1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ 

       

      {{}}

      This appears to occur anywhere where the text editor is used. In this example we'll be

      Steps to replicate:
      Prerequisite:Ensure that the editor preference is set to Atto Text Editor

      1. Go anywhere that allows you to input text with the editor
      2. Paste the above string

       

      Observed:
      The text does not wrap inside the border of the text box, instead the border expands to the end of the line.
      This occurs on a client site, as well as sandbox.moodledemo.net

      Expected:
      The text should be wrapping and honouring the set boundaries

       

       

        1. Communication Network Research .docx
          26 kB
        2. Expected.png
          Expected.png
          15 kB
        3. Observed.png
          Observed.png
          28 kB
        4. Observed HTML View.png
          Observed HTML View.png
          47 kB

            Unassigned Unassigned
            samual.preiss Samual Preiss
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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