问题是,当我禁用materialize.js Summernote Modals可以正常工作时,当我启用materialize.js Modals不能正常工作时,同样在Summernote Modals可以正常工作时,materialize可折叠也无法正常工作, 任何建议将不胜感激。
我希望他们一起工作
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="backend/js/materialize.min.js"></script>
<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" />
<script type="text/javascript" src="https://netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
<!-- include summernote css/js-->
<link href="http://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.4/summernote.css" rel="stylesheet">
<script src="http://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.4/summernote.js"></script>
$(document).ready(function() {
$('.modal').modal({
dismissible: true
});
$('.summernote').summernote({
height: 500,
});
});
这是错误
Method show does not exist on jQuery.modal