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

Add a TinyMCE link plugin (backport of MDL-76520)

XMLWordPrintable

    • MOODLE_401_STABLE
    • MOODLE_401_STABLE
    • MDL-78554-401
    • Hide

      This is mostly covered by Behat already. The following scenario tests something that was not easily covered by Behat but which also tests most of the functionality.

      1. Type a sentence. Example: This is a test for TinyMCE.
      2. Select a word. Example: Select the TinyMCE word.
      3. Click on the Link button in the TinyMCE editor toolbar.
      4. Verify that the Test to display value is: TinyMCE.
      5. Set the Enter a URL to: https://moodle.org/
      6. Click the Update link.
      7. Verify that the TinyMCE word has become a hyperlink.
      Show
      This is mostly covered by Behat already. The following scenario tests something that was not easily covered by Behat but which also tests most of the functionality. Type a sentence. Example: This is a test for TinyMCE. Select a word. Example: Select the TinyMCE word. Click on the Link button in the TinyMCE editor toolbar. Verify that the Test to display value is: TinyMCE. Set the Enter a URL to: https://moodle.org/ Click the Update link. Verify that the TinyMCE word has become a hyperlink.

      When we implemented Tiny in 4.1 we missed the fact that the Atto link plugin links in to the repository API.

      We added our own, new, link plugin in MDL-76520.

      I feel that we should backport this new plugin to 4.1 as it is makes the transition from Atto to Tiny more seamless.

      This has already been requested by the community in https://moodle.org/mod/forum/discuss.php?d=446819

      We will also need to backport:

        1. Verify 1.png
          Verify 1.png
          188 kB
        2. Verify 2.png
          Verify 2.png
          87 kB

            dobedobedoh Andrew Lyons
            dobedobedoh Andrew Lyons
            Paul Holden Paul Holden
            Huong Nguyen Huong Nguyen
            Stevani Andolo Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 25 minutes
                1h 25m

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