Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-4685

Journal html editor does not allow upload of images

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.8
    • Fix Version/s: None
    • Component/s: Module: Journal
    • Labels:
      None
    • Plugin Version:
      2013022700
    • Affected Branches:
      MOODLE_23_STABLE

      Description

      The HTML editor for journal entries has a button to insert images; however, it only allows you to link to an image somewhere on the web. By adding a few parameters to the journal html editor element, users can have the option to upload an image with the entry.

      In mod/journal/edit_form.php, change:
      $this->_form->addElement('editor', 'text');

      to:
      $this->_form->addElement('editor', 'text', '',null, array('maxfiles'=>EDITOR_UNLIMITED_FILES));

        Attachments

          Activity

            People

            Assignee:
            dmonllao David Monllaó
            Reporter:
            thelowlow Nicole Harris
            Participants:
            Component watchers:
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: