You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When rendering this the first error I had was Uncaught ReferenceError: django is not defined, this seemed similar to this issue on another project: jazzband/django-tinymce#124
Adding the following to my template fixed this first issue, (not sure if it's normal I have to add this.)
At this point I don't see anymore errors in the console, I do not see the original text area anymore, but I do not see the editor either. I'm not sure how to get this to work.
I suspect this is not made to work outside the django admin, if that's the case it would be cool to but that in the README ;-)
Best,
The text was updated successfully, but these errors were encountered:
This widget looks very useful and exactly what I'm looking for, thank you for sharing this!
Trying it out I ran into some trouble and wasn't able to get it working outside of django admin.
I have something like:
And my template looks something like:
When rendering this the first error I had was
Uncaught ReferenceError: django is not defined
, this seemed similar to this issue on another project: jazzband/django-tinymce#124Adding the following to my template fixed this first issue, (not sure if it's normal I have to add this.)
Next I was getting
Uncaught ReferenceError: initJsonKeyValueWidget is not defined
, I figured out I had to load some more scripts:I ended up with:
At this point I don't see anymore errors in the console, I do not see the original text area anymore, but I do not see the editor either. I'm not sure how to get this to work.
I suspect this is not made to work outside the django admin, if that's the case it would be cool to but that in the README ;-)
Best,
The text was updated successfully, but these errors were encountered: