Skip to content

How to use Tiny Cloud (CDN) version? #494

@rez0n

Description

@rez0n

Hi,
Thank you for this great package.

Can you please advice how to correctly load CND version of the TinyMCE with this package?
Following instructions from TinyMCE website I have set

TINYMCE_JS_URL = 'https://cdn.tiny.cloud/1/api_key/tinymce/8/tinymce.min.js'
TINYMCE_COMPRESSOR = False

But this end with loading error.

Image Image

This happens because script tag have no referrerpolicy="origin" crossorigin="anonymous". When I manually add a script tag to the template, it seems to work fine. However, I am curious whether it is possible to correctly load tinymce.min.js from the CDN using django-tinymce itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions