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

Atto HTML Editor - Allow open in new window on links.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.6
    • Component/s: HTML Editor (TinyMCE)
    • Labels:
    • Testing Instructions:
      Hide
      1. Edit the course settings page with Atto as the text editor.
      2. Enter some text.
      3. Select it.
      4. Click on the link button.
      5. Verify the popup has a checkbox for open in new window (default to off).
      6. Enter a url, leave the checkbox unchecked and create the link.
      7. Switch to HTML view and verify there is no target for the link.
      8. Switch back to normal mode and click somewhere in the link.
      9. Click the link button again and verify the url is prepopulated and the checkbox is not checked.
      10. Check the checkbox and click create link again.
      11. Switch to HTML view and verify there is a target for the link (_blank).
      12. Switch back to normal mode and click somewhere in the link.
      13. Click the link button again and verify the url is prepopulated and the checkbox is checked.
      Show
      Edit the course settings page with Atto as the text editor. Enter some text. Select it. Click on the link button. Verify the popup has a checkbox for open in new window (default to off). Enter a url, leave the checkbox unchecked and create the link. Switch to HTML view and verify there is no target for the link. Switch back to normal mode and click somewhere in the link. Click the link button again and verify the url is prepopulated and the checkbox is not checked. Check the checkbox and click create link again. Switch to HTML view and verify there is a target for the link (_blank). Switch back to normal mode and click somewhere in the link. Click the link button again and verify the url is prepopulated and the checkbox is checked.
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-41241-master

      Description

      Add a checkbox for "open in new window" on the link dialogue.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/Nov/13