Install file manager plugin for TinyMCE

File manager for TinyMCE When you already have TinyMCE installed, you can just install Flmngr add-on for TinyMCE. In order to install file manager plugin for TinyMCE, first download it:

and then unpack it into plugins/ directory this way:

tinymce/
  plugins/
     file-manager/
        plugin.js
        plugin.min.js

Enable it in the TinyMCE initialization parameters:

tinymce.init({
    plugins: "file-manager",
    Flmngr: {
        urlFileManager: 'https://fm.flmngr.com/fileManager',
        urlFiles: 'https://fm.flmngr.com/files/'
    },
    toolbar: "Upload, Flmngr, ImgPen"
});

Add plugins option if you do not have one. If this option already exists in your config you pass to TinyMCE, just append file-manager to existing configuration like plugins: "links,code,file-manager"

That's it. Now you are ready to install file manager backend.