Select Moodle version:

TinyMCE: Manage embedded files

tinymce_managefiles
This plugin will add a button to the TinyMCE text editor in Moodle that allows to manage files embedded in the current text area.
Maintained by: Picture of Marina Glancy Marina Glancy

Plugin "Manage embedded files" is included in standard distribution of Moodle 2.6

This plugin will add a button to the TinyMCE text editor in Moodle that allows to manage files embedded in the current text area.

It also will scan the text in the text area looking for references to the files and list the missing or unused embedded files.

To install copy folder managefiles/ to lib/editor/tinymce/plugins/, login as admin and run upgrade script.

Works very good together with repository Embedded files

How to use Repository "Embedded files", TinyMCE plugin "Manage embedded files" and Repository "Embedded files plus":

Screenshots

screenshot
screenshot
screenshot

Contributors

Picture of Marina Glancy
Marina Glancy (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of steve miley
    Wed, Jul 24, 2013, 3:21 AM
    Hi - I really like this, and am excited that it may become part of the core in the future. I found at least one bug in 2.5.1+, If you have the clean theme as the default, create a label, add an image in the embedded popup, then save, All seems fine. But if you then edit that label, then click on the tinymce embedded plugin button, you'll get a blank popup.

    if you change your theme to a non-bootstrap theme it works.

    the error we get is -
    Default exception handler: Coding error detected, it must be fixed by a programmer: The course you passed to $PAGE->set_cm does not correspond to the $cm. Debug:
    Error code: codingerror
    * line 952 of /lib/pagelib.php: coding_exception thrown
    * line 3697 of /lib/navigationlib.php: call to moodle_page->set_cm()


    Lastly, there is a quirk, where if I have the default theme set to clean, but the course i'm in set to afterburner, when I click on the embedded tinymce button, i get a popup with the clean theme (not the afterburner theme).

    I could make a video demo of this if it'd be useful.

    THANK YOU FOR your work on this, I really like it.
  • Picture of Marina Glancy
    Wed, Jul 24, 2013, 1:25 PM
    Hi Steve, thanks for reporting it. I will look at it ASAP. Actually the plugin is in integration now so such bugs become issues already, I will just copy the patch and update the plugin here. I created an issue for this MDL-40850
  • Picture of Marina Glancy
    Mon, Dec 2, 2013, 9:31 AM
    Version 1.3 released, it includes all fixes integrated in now-standard-plugin in 2.6
  • Picture of Rodney Wolford
    Sun, Jan 5, 2014, 12:13 AM
    Need some help. I am using Moodle 2.6+ on a Linux system. Did an update to last week's release. Now when I go to update database, I am getting a statement that a "Higher version already installed!"

    The current version is given as: 2013120200, which I take to mean December 2, 2013

    The new version is given as: 2013110500, which I take to mean November 11, 2013

    And the required version is given as: 2013110500, again which I take to mean November 11, 2013

    As it happens I have versions of this going back to early 2013 and I have even downloaded a zip version of the latest Moodle 2.6 release. No matter which version I install, I still always get the "Higher Version already installed!" error.

    The path I am using is: /lib/editor/tinymce/plugins/managefiles. What can I do to fix this?

    Thanks,

    Rod Wolford
  • Picture of Marina Glancy
    Wed, Jan 8, 2014, 2:14 PM
    Thanks Rodney for reporting this. At this moment you need to uninstall this plugin before upgrading to 2.6.
    Meanwhile I will fix the plugin version in 2.6 asap, I created an issue MDL-43606 for it
Please login to post comments