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

Better handling of link names and urls with Atto

XMLWordPrintable

    • MOODLE_35_STABLE
    • MOODLE_400_STABLE
    • MDL-66539-master
    • Hide

      Initial setup

      1. Create a course.
      2. Create a Forum activity (Or anything else).

      Insert a link without providing text to display (Case 1)

      1. Login as admin. (Or any other user).
      2. Go to the created Course.
      3. Go to the created Forum.
      4. Click on Add a new topic button.
      5. In the Atto editor, click on the Link button.
      6. Verify that there is a new label called Text to display.
      7. Verify that there is a new text field that allows the user to input the text to display value.
      8. Type http://moodle.org/ in the Enter a URL text field.
      9. Verify that the Text to display text field will have the same value as the Enter a URL text field.
      10. Click Create link button.
      11. Verify that you will see http://moodle.org/ in the Atto editor.
      12. Click on Show more buttons button.
      13. Click on HTML button.
      14. Verify that you will see <a href="http://moodle.org/" ...  >http://moodle.org/</a>

      Insert a link without providing text to display (Case 2)

      1. Repeat the steps from 1-9 in Case 1.
      2. Delete all the value in the Text to display text field.
      3. Click Create link button.
      4. Verify that you will see http://moodle.org/ in the Atto editor.
      5. Click on Show more buttons button.
      6. Click on HTML button.
      7. Verify that you will see <a href="http://moodle.org/" ...  >http://moodle.org/</a>

      Insert a link with providing text to display

      1. Login as admin. (Or any other user).
      2. Go to the created Course.
      3. Go to the created Forum.
      4. Click on Add a new topic button.
      5. In the Atto editor, click on the Link button.
      6. Set the Text to display text field with this value: Moodle - Open-source learning platform.
      7. Set the Enter a URL text field with this value: https://moodle.org/.
      8. Click Create link button.
      9. Verify that you will see Moodle - Open-source learning platform in the Atto editor.
      10. Click on Show more buttons button.
      11. Click on HTML button.
      12. Verify that you will see <a href="http://moodle.org/" ...  >Moodle - Open-source learning platform</a>

      Edit a link that already had a custom text to display

      1. Login as admin. (Or any other user).
      2. Go to the created Course.
      3. Go to the created Forum.
      4. Click on Add a new topic button.
      5. Click on Show more buttons button.
      6. Click on HTML button.
      7. Delete all the content in the editor.
      8. Set the Atto editor content to: <a href="https://moodle.org/">Moodle - Open-source learning platform</a>.
      9. Click on HTML button.
      10. Verify that you will see Moodle - Open-source learning platform in the Atto editor.
      11. Select the Moodle - Open-source learning platform in the Atto editor.
      12. Click on the Link button.
      13. Verify that the Text to display text field value is: Moodle - Open-source learning platform.
      14. Verify that the Enter a URL text field value is: https://moodle.org/
      Show
      Initial setup Create a course. Create a Forum activity (Or anything else). Insert a link without providing text to display (Case 1) Login as admin. (Or any other user). Go to the created Course. Go to the created Forum. Click on  Add a new topic button. In the Atto editor, click on the Link button. Verify that there is a new label called  Text to display . Verify that there is a new text field that allows the user to input the text to display value. Type http://moodle.org/  in the  Enter a URL text field. Verify that the Text to display text field will have the same value as the Enter a URL text field. Click Create link button. Verify that you will see  http://moodle.org/  in the Atto editor. Click on  Show more buttons button. Click on HTML button. Verify that you will see <a href=" http://moodle.org/ " ...  > http://moodle.org/ </a> Insert a link without providing text to display (Case 2) Repeat the steps from 1-9 in Case 1. Delete all the value in the Text to display text field. Click Create link button. Verify that you will see  http://moodle.org/  in the Atto editor. Click on  Show more buttons button. Click on HTML button. Verify that you will see <a href=" http://moodle.org/ " ...  > http://moodle.org/ </a> Insert a link with providing text to display Login as admin. (Or any other user). Go to the created Course. Go to the created Forum. Click on  Add a new topic button. In the Atto editor, click on the Link button. Set the Text to display text field with this value: Moodle - Open-source learning platform. Set the Enter a URL text field with this value: https://moodle.org/. Click Create link button. Verify that you will see  Moodle - Open-source learning platform in the Atto editor. Click on  Show more buttons button. Click on HTML button. Verify that you will see <a href=" http://moodle.org/ " ...  >Moodle - Open-source learning platform</a> Edit a link that already had a custom text to display Login as admin. (Or any other user). Go to the created Course. Go to the created Forum. Click on  Add a new topic button. Click on  Show more buttons button. Click on HTML button. Delete all the content in the editor. Set the Atto editor content to: <a href="https://moodle.org/">Moodle - Open-source learning platform</a>. Click on HTML button. Verify that you will see  Moodle - Open-source learning platform in the Atto editor. Select the  Moodle - Open-source learning platform in the Atto editor. Click on the Link button. Verify that the Text to display text field value is: Moodle - Open-source learning platform. Verify that the Enter a URL text field value is: https://moodle.org/
    • 0
    • Internationals - 4.0 Sprint 1, HQ Team International Sprint 2, HQ Team International Sprint 3

      User clicks Link button in Atto editor and only gets option to set destination address.

      Link is created with the link address as link name. This is especial unpleasant when selecting a Moodle file as the link destination due to the nature of the URLs.

       

      Should contain field to specify link name.

       

      Work around: Enter link name directly in Atto editor, select link name text then click on Link button. Destination address is no longer used as link name.

            huongn@moodle.com Huong Nguyen
            rob@skills4stem.co.uk Rob Davis
            Dongsheng Cai Dongsheng Cai
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            2 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 2 hours, 20 minutes
                2d 2h 20m

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