Skip to content
This repository has been archived by the owner on Oct 23, 2021. It is now read-only.

Tinymce not working with ManifestStaticFilesStorage #63

Open
nikolaysm opened this issue Jul 16, 2020 · 4 comments
Open

Tinymce not working with ManifestStaticFilesStorage #63

nikolaysm opened this issue Jul 16, 2020 · 4 comments

Comments

@nikolaysm
Copy link

nikolaysm commented Jul 16, 2020

Hi everyone, I am using django 1.11, django-tinymce4-lite 1.7.4.

### This problem only occurs in internet explorer 11.

ManifestStaticFilesStorage is a subclass of the StaticFilesStorage storage backend which stores the file names it handles by appending the MD5 hash of the file’s content to the filename. For example, the file js/tinymce.min.js would also be saved as js/tinymce.min.500c07cb726a.js.

If I switch my storage to StaticFilesStorage it works fine.

Has anyone come across that yet? Or a suggestion how that can be solved (with ManifestStaticFilesStorage to keep)

@romanvm
Copy link
Owner

romanvm commented Jul 17, 2020

"Not working" is a rather vague description. Please describe your issue with as much details as possible.

@nikolaysm
Copy link
Author

So no error in console or anywhere else. Textarea is not displayed, no tinymce wrapper added.

@merwok
Copy link
Contributor

merwok commented Jul 17, 2020

Is this the problem: The generated HTML contains links like js/tinymce.min.js but it should be ss/tinymce.min.500c07cb726a.js to match how the storage class saved it

(Probably not, as you wrote that the problem is browser-specific, which wouldn’t be the case with that)

@nikolaysm
Copy link
Author

Yes, the problem only occurs in internet explorer and only when I use renamed tinymce.js.
Actually the problem has nothing to do with ManifestStaticFilesStorage.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants