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

ATTO selecting a word for linking, selects the entire sentence.

    XMLWordPrintable

Details

    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • Hide
      1. Create a course
      2. Add a label
      3. In Label text enter the following content: My super text
      4. Highlight the word "super"
      5. Press the Link button in the editor
      6. Confirm the Text to display input in the modal shows "super"
      7. Enter a URL (e.g. http://moodle.org) and press Create link
      8. In the Label text field click inside the word "super" (do not select it)
      9. Press the Link button in the editor
      10. Confirm the Text to display input in the modal shows "super"
      11. Change the URL (e.g. http://google.com) and press Create link
      12. Move the cursor to the end of the "My super text" line of the Label text field
      13. With no text selected press the Link button in the editor
      14. Confirm the Text to display input in the modal is empty
      15. Enter "Another link" in the Text to display field
      16. Enter a URL (e.g. http://youtube.com) and press Create link
      17. Press Save and return to course
      18. Confirm the label text looks like the following:
        My super textAnother link
      Show
      Create a course Add a label In Label text enter the following content: My super text Highlight the word "super" Press the Link button in the editor Confirm the Text to display input in the modal shows "super" Enter a URL (e.g. http://moodle.org ) and press Create link In the Label text field click inside the word "super" (do not select it) Press the Link button in the editor Confirm the Text to display input in the modal shows "super" Change the URL (e.g. http://google.com ) and press Create link Move the cursor to the end of the "My super text" line of the Label text field With no text selected press the Link button in the editor Confirm the Text to display input in the modal is empty Enter "Another link" in the Text to display field Enter a URL (e.g. http://youtube.com ) and press Create link Press Save and return to course Confirm the label text looks like the following: My super text Another link

    Description

      Using the ATTO editor, when I select a word or a few words, and then click the "link" button, I get the entire sentence displayed in the suggested link text, instead of the word(s) I manually selected.

      Looks like a regression caused by MDL-66539

      Attachments

        Issue Links

          Activity

            People

              pholden Paul Holden
              nadavkav Nadav Kavalerchik
              Nadav Kavalerchik Nadav Kavalerchik
              Adrian Greeve Adrian Greeve
              Angelia Dela Cruz Angelia Dela Cruz
              David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                19/Apr/22

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 46 minutes
                  46m