divio/djangocms-text-ckeditor — pull request #198 by ojii (2014-12-10 17:35:31+00:00)
Title: Sane add plugin

This will only work in conjunction with https://github.com/divio/django-cms/pull/3516

Changes the way sub plugins are added to text plugins by using a custom view. This view will subclass the plugin class of the plugin to be added so the ``add_response`` method can be overwritten. In that method, we return a response that calls ``CMS.CKEditor.addSubPlugin`` in the parent frame to actually add the plugin.

@FinalAngel would love comments on the JS changes