django-tinymce icon indicating copy to clipboard operation
django-tinymce copied to clipboard

When using compression icons break

Open rnmhdn opened this issue 5 years ago • 2 comments

when using compression the name of the icon file becomes something.min.js but the code expects something.js so all the icons appear as "NOT FOUND"

rnmhdn avatar Dec 13 '20 03:12 rnmhdn

I have the same problem but in my case it's the theme that it can't find. Exactly the same issue: the frontend requests theme.js, but in the static files on the server there exists only theme.min.js

abeforgit avatar Apr 14 '21 21:04 abeforgit

I had the same issue, but found that putting 'suffix': '.min', in my TINYMCE_DEFAULT_CONFIG in settings.py solved the not found errors when compression was turned on. This should probably be noted in either the documentation, or the suffix should automatically be configured when using compression.

violetcode avatar Jul 28 '21 18:07 violetcode