File tree 1 file changed +10
-3
lines changed 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -26,14 +26,21 @@ http://trantorliu.github.io/bootstrap-editor
26
26
27
27
## Files to reference
28
28
``` html
29
- <script src = " lib/js/ wysihtml5-0.3.0.js " ></ script >
29
+ <!-- Both bootstrap- wysihtml5 and jQuery-File-Upload need jQuery -- >
30
30
<script src =" lib/js/jquery-1.7.2.min.js" ></script >
31
- <script src =" lib/js/prettify.js" ></script >
31
+
32
+ <!-- Dependencies of bootstrap-wysihtml5 -->
33
+ <link rel =" stylesheet" type =" text/css" href =" lib/css/bootstrap-wysihtml5.css" ></link >
34
+ <link rel =" stylesheet" type =" text/css" href =" lib/css/bootstrap.min.css" ></link >
35
+ <script src =" lib/js/wysihtml5-0.3.0.js" ></script >
32
36
<script src =" lib/js/bootstrap.min.js" ></script >
33
37
<script src =" lib/js/bootstrap-wysihtml5.js" ></script >
38
+
39
+ <!-- Dependencies of jQuery-File-Upload -->
34
40
<script src =" lib/js/jquery.ui.widget.js" ></script >
35
41
<script src =" lib/js/jquery.iframe-transport.js" ></script >
36
42
<script src =" lib/js/jquery.fileupload.js" ></script >
43
+
37
44
<script src =" src/bootstrap-editor.js" ></script >
38
45
```
39
46
@@ -66,7 +73,7 @@ The `done` callback should return an object or an array of objects with the foll
66
73
``` javascript
67
74
{
68
75
src: ' /path/to/the/image' ,
69
- alt: ' some alt text ' // optional
76
+ alt: ' img alt' // optional
70
77
}
71
78
```
72
79
You can’t perform that action at this time.
0 commit comments