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

Journal html editor does not allow upload of images

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • 2.3.8
    • Module: Journal
    • None
    • 2013022700
    • MOODLE_23_STABLE

      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));

            dmonllao David Monllaó
            thelowlow Nicole Harris (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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