Open k98kurz opened 9 years ago
Raptor is currently designed to use jQuery UI, there is probably a conflict between jQuery UI's modal and bootstrap's modal.
This is not the case. This only occurs when Raptor is loaded; jQuery UI can load safely with bootstrap. I don't know why. It is really bizarre.
If raptor is loaded after bootstrap, $.fn.modal becomes undefined. If it loads before bootstrap, raptor breaks entirely. Very strange behavior.
Currently, the only work-around I've found is to insert
<script>window.modal = $.fn.modal;</script>
before loading raptor.js and<script>$.fn.modal = window.modal;</script>
after it. This is a pretty serious compatibility issue; I may have to use a different editor if I encounter more incompatibilities.