Wysihtml5 doesn't work, Uncaught TypeError: $ (...). Wysihtml5 is not a function

This is my application.html.erb application. I think I have all the files I need, but it doesn't recognize the ".wysihtml5" function.        

<link rel="stylesheet" type="text/css" href="/css/bootstrap-wysihtml5.css"></link>
<link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css"></link>
<script src="javascripts/wysihtml5-0.3.0.min.js"></script>

<script src="javascripts/bootstrap.min.js"></script>
<script src="javascripts/bootstrap-wysihtml5.js"></script>

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">

      

+3


source to share


1 answer


You are not adding jquery to your script. Make sure jquery is added to your script with another wise $ selector. This does not work.



+1


source







All Articles