Manage embedded files

TinyMCE ::: tinymce_managefiles
Maintained by Marina Glancy
This plugin will add a button to the TinyMCE text editor in Moodle that allows to manage files embedded in the current text area.
Latest release:
1 sites
28 downloads
3 fans
Moodle 2.4, 2.5

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 #0
Screenshot #1
Screenshot #2

Contributors

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

Comments RSS

Show comments
  • 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.
  • 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
  • Mon, Dec 2, 2013, 9:31 AM
    Version 1.3 released, it includes all fixes integrated in now-standard-plugin in 2.6
  • 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
  • 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
  • Wed, Oct 8, 2014, 4:17 PM
    Hi Marina,
    We're using atto_managefiles in Moodle 2.7.2 (as it's included in the standard distribution), and we've noticed that when a file's name uses non-ASCII characters the file is incorrectly reported both as not used and as missing by the plugin. I also tested this on qa.moodle.net, and the problem persists. I couldn't work out how to fix this in moodle-atto_managefiles-usedfiles.js. A screenshot shows this at http://www.imagesup.net/?di=1014127561490 .
  • Wed, Oct 8, 2014, 4:27 PM
    Hi Nicolas, please create an issue about it on https://tracker.moodle.org . Thanks in advance
  • Wed, Oct 8, 2014, 7:23 PM
    Hi Marina, and thanks. I just created MDL-47583 and assigned it to you.
Please login to post comments