Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to TinyMCE 6 #391

Closed
romintomasetti opened this issue Apr 14, 2022 · 1 comment
Closed

Update to TinyMCE 6 #391

romintomasetti opened this issue Apr 14, 2022 · 1 comment

Comments

@romintomasetti
Copy link

It seems that TinyMCE 6 is out.

I used

TINYMCE_JS_URL     = f'https://cdnjs.cloudflare.com/ajax/libs/tinymce/6.0.1/tinymce.min.js'

and it doesn't work. I get:

Uncaught TypeError: tinyMCE.editors is undefined
    initTinyMCE http://0.0.0.0:8000/static/django_tinymce/init_tinymce.js:39
    <anonymous> http://0.0.0.0:8000/static/django_tinymce/init_tinymce.js:59
    <anonymous> http://0.0.0.0:8000/static/django_tinymce/init_tinymce.js:58
[init_tinymce.js:39:11](http://0.0.0.0:8000/static/django_tinymce/init_tinymce.js)
    initTinyMCE http://0.0.0.0:8000/static/django_tinymce/init_tinymce.js:39
    <anonymous> http://0.0.0.0:8000/static/django_tinymce/init_tinymce.js:59
    forEach self-hosted:167
    <anonymous> http://0.0.0.0:8000/static/django_tinymce/init_tinymce.js:58
claudep added a commit to claudep/django-tinymce that referenced this issue Apr 15, 2022
@claudep
Copy link
Contributor

claudep commented Apr 15, 2022

Not sure if it's enough for TinyMCE 6 compat, but the patch above should at least fix the reported error.

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

No branches or pull requests

2 participants