Open AdamWill opened 10 years ago
The reason for this was at the time that Askbot has two extensions (upload file and image) to TinyMCE and the extensions were required to be placed in the TinyMCE source tree. Afaik there was no way to put extensions outside of the TinyMCE tree. So I've copied the tree and placed extensions there.
TinyMCE version in Askbot was not upgraded since and most likely won't be as soon there will be support of the new CKEditor. TinyMCE support likely won't be upgraded unless there is a compelling reason.
This...seems sub-optimal. See https://bugzilla.redhat.com/show_bug.cgi?id=1000735#c10 .
Why does askbot ship with a copy of tinymce in one place, and then use the django staticfiles mechanism to copy it somewhere else when collectstatic is run? If you're going to bundle a modified copy of tinymce, why not just put it in the correct location in the first place, so you don't have to have it copied from the 'wrong' place to the 'right' place as part of 'collectstatic'? And it would probably be a good idea to stop including python-django-tinymce's own copy of tinymce and then doing nothing at all with it.