Skip to content

Commit 1f4d5b7

Browse files
committed
changes to README.md
1 parent 2dc1785 commit 1f4d5b7

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ To use this code you have to write to server side handlers. One gives you the fi
1313
The second handles the file uploads and returns result in json too.
1414

1515
Files to reference
16+
------------------
1617

1718
```html
1819
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.0/css/bootstrap-combined.min.css" rel="stylesheet">
@@ -29,18 +30,18 @@ Files to reference
2930

3031

3132
Usage
32-
33+
-----
3334
```html
3435
<textarea class="wysi" placeholder="Enter text ..."></textarea>
3536
```
3637

3738

3839
Handlers
39-
40+
--------
4041
You have to write your own handlers. See examples files included: imagelist.php and upload.php
4142

4243
imagelist.php
43-
44+
-------------
4445
When you change the name / uri you have to change it in custom_image_and_upload_wysihtml5.js too
4546
returns a list of images in json format
4647
```json
@@ -51,7 +52,7 @@ returns a list of images in json format
5152

5253

5354
upload.php
54-
55+
----------
5556
When you change the name / uri you have to change it in custom_image_and_upload_wysihtml5.js too
5657
A multipart/form-data request is send to the handler like: Content-Disposition: form-data; name="file1"; filename="images.png" you can catch this with any server side language.
5758
Returns status:0 on failure or status:1 on success both json encoded.

0 commit comments

Comments
 (0)