I am trying this plugin with Bootstrap 3 and i am getting too many issue, i think i can not use it but i report you all the problems...
1/ Using with modal, the picture upload button's css is not modified, so, i cna do it by myself with
$("#TheModal").bind("shown.bs.modal", function() {
if( $(this).data("modal_loaded") ) { return; }
$("#editor").wysiwyg();
var btn = $("#pictureUploadBtn");// ID pictureUploadBtn to visual Upload button
// ID pictureUploadInput to real hidden upload button (add css display: none to it)
$("#pictureUploadInput").css({"width": btn.outerWidth(), "height": btn.outerHeight(), "margin-left": (-btn.outerWidth())+"px", "opacity": 0, "float": "left", "cursor": "pointer", "display": "block"});
$(this).data("modal_loaded", 1);
});
2/ I am using FF 28.0 and when i try to type a text, the editor become crazy and do sh*ts. If i open the DOM, i see a lot of empty div, a blockquote and many others tags in it, i did not enter them, i just tried to type "Test", the editor does not even display it.
I also tried with Chrome 34 and it does not work better.
3/ Finally, please make a real example with Bootstrap 3 compatibility
Hi,
I am trying this plugin with Bootstrap 3 and i am getting too many issue, i think i can not use it but i report you all the problems...
1/ Using with modal, the picture upload button's css is not modified, so, i cna do it by myself with $("#TheModal").bind("shown.bs.modal", function() { if( $(this).data("modal_loaded") ) { return; } $("#editor").wysiwyg(); var btn = $("#pictureUploadBtn");// ID pictureUploadBtn to visual Upload button // ID pictureUploadInput to real hidden upload button (add css display: none to it) $("#pictureUploadInput").css({"width": btn.outerWidth(), "height": btn.outerHeight(), "margin-left": (-btn.outerWidth())+"px", "opacity": 0, "float": "left", "cursor": "pointer", "display": "block"}); $(this).data("modal_loaded", 1); });
2/ I am using FF 28.0 and when i try to type a text, the editor become crazy and do sh*ts. If i open the DOM, i see a lot of empty div, a blockquote and many others tags in it, i did not enter them, i just tried to type "Test", the editor does not even display it. I also tried with Chrome 34 and it does not work better.
3/ Finally, please make a real example with Bootstrap 3 compatibility
So... I really can't use it.