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

Allow TinyMCE to access wiki files from HTML format page

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 2.1.2
    • Wiki (2.x)
    • MOODLE_21_STABLE
    • Hide

      This test requires a wiki activity for which the page format is not forced. It also requires students to be given the permission to manage wiki files (via the Settings block > Wiki administration > Permissions).

      1. Login as a student and browse to the wiki.
      2. Click the files tab and upload an image.
      3. Edit a page in HTML format and add the image to it.
      4. Save the page and check that the image displays correctly.

      Show
      This test requires a wiki activity for which the page format is not forced. It also requires students to be given the permission to manage wiki files (via the Settings block > Wiki administration > Permissions). 1. Login as a student and browse to the wiki. 2. Click the files tab and upload an image. 3. Edit a page in HTML format and add the image to it. 4. Save the page and check that the image displays correctly.

      A wiki can have files shared globally with all pages.

      Currently there are three page formats, with the default generally being the HTML format.

      The TinyMCE editor is used to edit an HTML format page, so this relies on the Files API for adding images. There is no access to the wiki's files area from this.

      Two possible alternatives I can think of are as follows.

      • The files area needs to be accessible as a repository through the files API
      • A TinyMCE plugin is created to access the files in the wiki's files area

      I think I would prefer option 1. It would be more intuitive.

            Unassigned Unassigned
            salvetore Michael de Raadt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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