Skip to content

Commit ce2b9a9

Browse files
committed
Edit README: the img src returned by the fileupload callback must be a full absolute url.
1 parent 6c2a438 commit ce2b9a9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,14 @@ The `done` callback should return an object or an array of objects with the foll
7272

7373
```javascript
7474
{
75-
src: '/path/to/the/image',
75+
src: 'http://example.com/path/to/the/image',
7676
alt: 'img alt' // optional
7777
}
7878
```
7979

80+
Note that **`src` must be a full absolute url**,
81+
or it would be stripped out by wysihtml5.
82+
8083
All other options are same as [bootstrap-wysihtml5](https://github.com/jhollingworth/bootstrap-wysihtml5/).
8184

8285
## Server

0 commit comments

Comments
 (0)