The included media seemed dated and I was unable to get it to work out of the box. I made updates to make the included media work. I also added two options:
FROALA_STORAGE_BACKEND - This allows for the storage used for uploaded images and files to be changed through settings. If nothing is provided it uses default_storage, otherwise it uses this backend. For me this is useful when uploading to S3, since by default everything is private, but I have a public storage backend I can use for froala uploaded files (useful if sending emails with froala for instance).
FROALA_JS_COOKIE - default False. If set to True it assumes js-cookie is installed and included to get the CSRF token using js-cookie.
The included media seemed dated and I was unable to get it to work out of the box. I made updates to make the included media work. I also added two options:
FROALA_STORAGE_BACKEND - This allows for the storage used for uploaded images and files to be changed through settings. If nothing is provided it uses default_storage, otherwise it uses this backend. For me this is useful when uploading to S3, since by default everything is private, but I have a public storage backend I can use for froala uploaded files (useful if sending emails with froala for instance).
FROALA_JS_COOKIE - default False. If set to True it assumes js-cookie is installed and included to get the CSRF token using js-cookie.