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

hyperlinking an Image using the HTML Editor does not work.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6.3, 1.7, 1.8
    • Fix Version/s: 1.8.3, 1.9
    • Component/s: HTML Editor (TinyMCE)
    • Labels:
      None
    • Affected Branches:
      MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      Hyperlinking an image using the html editor gives strange behaviour using different browsers.....

      In Firefox (I'm using 1.0.7), try this.

      insert an image, give it a useful alt text - eg "image"
      then make sure the image is selected and use the hyperlink button to create a hyperlink for the image.
      for the hyperlink title use some useful text like "URL" - then hit ok.
      Instead of creating a hyperlink, in Firefox, the Image disapears, however the image alt text appears in place of the image as "text" (If that makes sense!)

      In IE 6 you get a JS error like mentioned here:
      http://moodle.org/mod/forum/discuss.php?d=55696

      In IE 7 (Beta 2) you don't get a JS error, but when you try to add a link to an image, the insert Link window doesn't do anything when you hit "OK" - it just sits there, and makes no changes to the underlying window (this is possibly just an IE 7 quirk, - might be improved in the next version....) - I'll upgrade to RC 1 to see If I can get any more debug info out! ( I will upgrade FF as well to see if that makes any difference.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  8 Vote for this issue
                  Watchers:
                  16 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    11/Oct/07