Moodle
  1. Moodle
  2. MDL-1999

Images in Resources render them uneditable in WYSIWYG mode by the html editor

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: None
    • Component/s: HTML Editor (TinyMCE)
    • Labels:
      None
    • Environment:
      All
    • Affected Branches:
      MOODLE_14_STABLE
    • Rank:
      8335

      Description

      If a resource includes an image, and it has been saved, if I return to edit it, it is impossible to do so using the html editor in WYSIWYG mode, only in text mode. This renders the editing of some resources nearly impossible. This seems to only happen if an image has been inserted into the resource.

        Activity

        Hide
        Martin Dougiamas added a comment -

        From non non (nbhansen at midway.uchicago.edu) Saturday, 25 September 2004, 09:36 PM:

        I should add if I go to text mode, and back to wysiwyg mode, I am able to edit it.

        From non non (nbhansen at midway.uchicago.edu) Sunday, 26 September 2004, 04:30 PM:

        Actually, it isn't always so easily fixable as I said in my last post. I sometimes have to save and reopen a resource more than once to be able to actually edit it. This is a serious hassle.

        From Janne Mikkonen (janne.mikkonen at julmajanne.com) Sunday, 26 September 2004, 05:04 PM:

        What browser brand?

        From non non (nbhansen at midway.uchicago.edu) Sunday, 26 September 2004, 05:47 PM:

        Firefox on Windows.

        From non non (nbhansen at midway.uchicago.edu) Sunday, 26 September 2004, 05:50 PM:

        Just tried it in IE, doesn't seem to be a problem there. I never enabled the ability to cut and paste in my browser in Firefox. Perhaps I should try that and see if it fixes it?

        From Janne Mikkonen (janne.mikkonen at julmajanne.com) Sunday, 26 September 2004, 09:49 PM:

        Confirmed! I have this too. Cut and paste has nothing to do with this.

        Actually when we load multible editors in one page in Moodle all the related scripts are also loaded each time we'll call print_textarea function. It just might be part of a solution to get rid of these unnecessary loaded scripts...

        From Janne Mikkonen (janne.mikkonen at julmajanne.com) Monday, 27 September 2004, 12:24 AM:

        I think I found a fix for this.

        Download the attachment and rename it to htmlarea.php and replace your older one with this (remember to backup your older version).

        From non non (nbhansen at midway.uchicago.edu) Tuesday, 28 September 2004, 11:53 AM:

        It seems to work! Thanks.

        From Janne Mikkonen (janne.mikkonen at julmajanne.com) Thursday, 30 September 2004, 06:34 AM:

        Fix can be found from CVS in branches MAIN and MOODLE_14_STABLE

        Show
        Martin Dougiamas added a comment - From non non (nbhansen at midway.uchicago.edu) Saturday, 25 September 2004, 09:36 PM: I should add if I go to text mode, and back to wysiwyg mode, I am able to edit it. From non non (nbhansen at midway.uchicago.edu) Sunday, 26 September 2004, 04:30 PM: Actually, it isn't always so easily fixable as I said in my last post. I sometimes have to save and reopen a resource more than once to be able to actually edit it. This is a serious hassle. From Janne Mikkonen (janne.mikkonen at julmajanne.com) Sunday, 26 September 2004, 05:04 PM: What browser brand? From non non (nbhansen at midway.uchicago.edu) Sunday, 26 September 2004, 05:47 PM: Firefox on Windows. From non non (nbhansen at midway.uchicago.edu) Sunday, 26 September 2004, 05:50 PM: Just tried it in IE, doesn't seem to be a problem there. I never enabled the ability to cut and paste in my browser in Firefox. Perhaps I should try that and see if it fixes it? From Janne Mikkonen (janne.mikkonen at julmajanne.com) Sunday, 26 September 2004, 09:49 PM: Confirmed! I have this too. Cut and paste has nothing to do with this. Actually when we load multible editors in one page in Moodle all the related scripts are also loaded each time we'll call print_textarea function. It just might be part of a solution to get rid of these unnecessary loaded scripts... From Janne Mikkonen (janne.mikkonen at julmajanne.com) Monday, 27 September 2004, 12:24 AM: I think I found a fix for this. Download the attachment and rename it to htmlarea.php and replace your older one with this (remember to backup your older version). From non non (nbhansen at midway.uchicago.edu) Tuesday, 28 September 2004, 11:53 AM: It seems to work! Thanks. From Janne Mikkonen (janne.mikkonen at julmajanne.com) Thursday, 30 September 2004, 06:34 AM: Fix can be found from CVS in branches MAIN and MOODLE_14_STABLE
        Hide
        Michael Blake added a comment -

        assign to a valid user

        Show
        Michael Blake added a comment - assign to a valid user

          People

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

            Dates

            • Created:
              Updated:
              Resolved: