Open magnusart opened 12 years ago
same here for me...
FYI: I forgot to mention here that I added this issue in Twitter Bootstrap, where I think it should be fixed, please comment there if you want to push for a fix: https://github.com/twitter/bootstrap/issues/3233
In the end I choose to go with CKEditor instead with a Twitter Bootstrap css layout. It uses different libraries for it's popups so it works but adds extra deps. The image and URL dialog was a bit too simple in bootstrap-wysihtml5 for my needs. But I'll be keeping an eye on this project as it matures...
I have a wysihtml5-bootstrap enabled textarea in a modal. When I click the insert link or image I get a new modal box on top of my existing modal box. Now click I close or save and all modals gets dismissed instead of the top on that I would expect.
I have not looked into the code but from the top of my head a solution would be to create modal box and close the modal box with a jQuery snippet like so:
$("#wysihtml5-add-image").modal('hide');
instead of usingdata-dismiss="modal"