Install Flmngr file manager for Froala
The installation of the file manager and image editor is the same as for any other Froala plugin.
Include plugin scripts
Include this script into your document near the place where you include the main script of Froala:
<script src="https://cdn.jsdelivr.net/gh/edsdk/froala-file-manager@latest/js/froala-file-manager.js"></script>
<script src="https://cdn.jsdelivr.net/gh/edsdk/froala-image-editor@latest/js/froala-image-editor.js"></script>
Configure Froala file manager
Initialize Froala adding parameters about Flmngr server side destination in this way:
let editor = FroalaEditor('#editor', {
Flmngr: {
apiKey: "FLMNFLMN", // default free key
urlFileManager: 'https://fm.flmngr.com/fileManager', // demo server
urlFiles: 'https://fm.flmngr.com/files', // demo file storage
}
});
Install the backend
Now you need to install the Flmngr file manager backend somewhere on your server. Behind the link, there is a manual on how to do it and link with Flmngr Froala add-on.