diff --git a/src/inputs-ext/wysihtml5/wysihtml5.js b/src/inputs-ext/wysihtml5/wysihtml5.js index 12dc33c..8e00647 100644 --- a/src/inputs-ext/wysihtml5/wysihtml5.js +++ b/src/inputs-ext/wysihtml5/wysihtml5.js @@ -1,10 +1,13 @@ /** Bootstrap wysihtml5 editor. Based on [bootstrap-wysihtml5](https://github.com/jhollingworth/bootstrap-wysihtml5). -You should include this input **manually** with dependent js and css files from `inputs-ext` directory. +You should include **manually** distributives of `wysihtml5` and `bootstrap-wysihtml5`: <link href="js/inputs-ext/wysihtml5/bootstrap-wysihtml5-0.0.2/bootstrap-wysihtml5-0.0.2.css" rel="stylesheet" type="text/css"></link> <script src="js/inputs-ext/wysihtml5/bootstrap-wysihtml5-0.0.2/wysihtml5-0.3.0.min.js"></script> - <script src="js/inputs-ext/wysihtml5/bootstrap-wysihtml5-0.0.2/bootstrap-wysihtml5-0.0.2.min.js"></script> + <script src="js/inputs-ext/wysihtml5/bootstrap-wysihtml5-0.0.2/bootstrap-wysihtml5-0.0.2.min.js"></script> + +And also include `wysihtml5.js` from `inputs-ext` directory of x-editable: + <script src="js/inputs-ext/wysihtml5/wysihtml5.js"></script> **Note:** It's better to use fresh bootstrap-wysihtml5 from it's [master branch](https://github.com/jhollingworth/bootstrap-wysihtml5/tree/master/src) as there is update for correct image insertion.