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
Trying to add new inlines just shows up as text areas. Could be similar to an earlier issue #90
Comments
Having the same issue. Pretty sure it's a new one as TinyMCE works fine in projects that don't use Django 1.6 |
Seems that Django's upgrade to jQuery 1.9 is causing the cloned inline javascript to not be executed. |
Yep, it's because of jQuery 1.9. The execution of cloned inline javascript tags is no longer supported: http://jquery.com/upgrade-guide/1.9/#loading-and-running-scripts-inside-html-content Not sure how to fix that as django-jquery relies on the previous behaviour for the inline tinymce fields to initialize. |
@jonashagstedt can you try the current git version? It should be fixed in there |
using version 1.5.3, and adding inlines using the 'Add another inline' does not initialize the tinymce widget correctly, it seems to be disabled. Do we need a custom onAfterAdded to initialize it properly every time you add a new inline? |
I'm experiencing the same problem. |
http://stackoverflow.com/a/19663437/50175 fixed it for me. |
Can you try if this is fixed with current master? |
I just tried with the latest Grappelli and the current master of django-tinymce, no dice. I also tried without Grappelli, still doesn't work. |
I'm using an old version 1.5.3, but this fixed it for me, just changing the javascript to find the correct row that contained the tinymce to initialize: |
I would suggest creating a new ticket (you can reference this one). It would help if you could tell if any JS error occurs, or if you could debug what's happening in your case in the click handler at the bottom of the |
Trying to add new inlines just shows up as text areas, no TinyMCE in sight.
Could be similar to an earlier issue, however it was closed years ago so perhaps this is a new one.
I've put a project on Github so all settings etc. can be seen: https://github.com/jonashagstedt/tinymceissue
Versions:
The text was updated successfully, but these errors were encountered: