Closed ptr0x1 closed 6 years ago
All JavaScript callbacks must be defined via TINYMCE_CALLBACKS
config option: http://romanvm.github.io/django-tinymce4-lite/configuration.html#application-configuration
This solved it in a second, I read through the documentation multiple times but must have carefully missed this section.
Thank you! 👍
Hi,
I ran into a problem where I can't add callback functions to the default config because it always returns with an error:
The callback function is defined as a string, and it looks like TInymce treats it as a string rather than a function which causes the problem. Am I doing something wrong?
Looks like the same issue has been fixed in django-tinyme before: https://github.com/aljosa/django-tinymce/issues/152 I'm not sure if the same thing is happening here or not.