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

TinyMCE noautolink plugin behaves differently to atto version

XMLWordPrintable

    • MOODLE_403_STABLE, MOODLE_404_STABLE, MOODLE_405_STABLE
    • MOODLE_403_STABLE, MOODLE_404_STABLE
    • MDL-81739-403
    • MDL-81739-404
    • MDL-81739-main
    • Hide

      Automated testing

      Automated testing covers this issue in lib/editor/tiny/plugins/noautolink/tests/behat/noautolink.feature

       

      Manual testing

      1. Log in as admin
      2. Go to System admin -> Plugins -> Text editors -> TinyMCE editor
      3. Enable 'Tiny no auto-link'
      4. Create a course
      5. Create a 'Folder' resource called 'Test folder'
      6. Create a 'Page' resource called 'Test page' and add the words 'Test folder' to the page content
      7. CONFIRM that the auto-link is working (text will appear as a link and link to the folder resource).
      8. Go to the 'Test page' and click 'Settings' to edit the contents. 
      9. Highlight the words 'Test folder' and click the '!' icon to apply the no auto-link feature.
      10. Click 'Save and display'
      11. CONFIRM that the text no longer appears or behaves as a link.
      Show
      Automated testing Automated testing covers this issue in lib/editor/tiny/plugins/noautolink/tests/behat/noautolink.feature   Manual testing Log in as admin Go to System admin -> Plugins -> Text editors -> TinyMCE editor Enable 'Tiny no auto-link' Create a course Create a 'Folder' resource called 'Test folder' Create a 'Page' resource called 'Test page' and add the words 'Test folder' to the page content CONFIRM that the auto-link is working (text will appear as a link and link to the folder resource). Go to the 'Test page' and click 'Settings' to edit the contents.  Highlight the words 'Test folder' and click the '!' icon to apply the no auto-link feature. Click 'Save and display' CONFIRM that the text no longer appears or behaves as a link.
    • 6
    • Team Hedgehog 2024 Sprint 2.1, Team Hedgehog 2024 Sprint 2.2
    • Small

      The plugin tiny_noautolink does not behave in the same way that atto_noautolink does.

      Atto current behaviour:

      1. In a course section, create a page called 'Test' and a folder called 'Auto-link test'
      2. Ensure the 'Activity names auto-linking' is on for page 'Test' then add text to the page content "Auto-link test" and save and display the page. 
      3. Verify that the 'Auto-link test' text is auto-linked and that it links to the folder created called 'Auto-link test'. 
      4. Edit the 'Auto-link test' page, add a new paragraph below the existing text. Enter the same text "Auto-link test", then select only that second line/phrase and click the Prevent auto-linking '!' button. Click save settings and display.
      5. Verify - The page source and note that the text IS surrounded by a span with class="nolink" and the text IS NOT a link.

       

      TinyMCE current behaviour

      1. Change the preferred editor by going to Preferences -> editor preferences and choosing TinyMCE.
      2. Edit the previously created 'Auto-link test' page, add a new paragraph below the existing text. Enter the same text "Auto-link test" then select only that third line/phrase and click the Prevent auto-linking '!' button.
      3. Verify - Notification displays showing "The selected content is not a URL please try again." Then click save settings.
      4. Verify - The page source and note that the text is NOT surrounded by a span with class="nolink" and the text IS linking to the folder.
      5. Expected - The text IS surrounded by a span with class="nolink" and the text IS NOT a link.

            david.woloszyn@moodle.com David Woloszyn
            simonadams Simon Adams
            Huong Nguyen Huong Nguyen
            Andrew Lyons Andrew Lyons
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            6 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 54 minutes
                1d 54m

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