jazzband / django-tinymce

TinyMCE integration for Django
http://django-tinymce.readthedocs.org/
MIT License
1.28k stars 317 forks source link

init_tinymce.js not coming over CDN #462

Closed Natgho closed 6 months ago

Natgho commented 6 months ago

I'm trying to configure tinymce's css and js files to come through the CDN, but no matter what I do, the "init_tinymce.js" file does not come through the CDN. Could it be a bug?

settings.py;

TINYMCE_JS_URL = "https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.0.0/tinymce.min.js"
TINYMCE_COMPRESSOR = False

TINYMCE_DEFAULT_CONFIG = {
    'theme': 'silver',  # Magic here
}

Proof; image

claudep commented 6 months ago

init_tinymce.js is not a file from TinyMCE, it is specific to this package, so it cannot come from a CDN (unless your project static files are on a CDN).