You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,8 @@ In your `<body/>`:
41
41
</script>
42
42
```
43
43
44
+
About images: `width` and `height` define the size in pixels that images in messages are crop-scaled to. If not present, the image will scale to the maximum width of the container and the image.
45
+
44
46
It is recommended to use a particular version (i.e. "webchat-<version>.js") however the file "webchat-latest.js"
45
47
is also available and is updated continuously with the latest version.
46
48
@@ -80,7 +82,6 @@ function CustomWidget = () => {
80
82
81
83
- Make sure to have the prop `embedded`
82
84
set to `true` if you don't want to see the launcher.
83
-
-`width` and `height` define the size in pixels that images in messages are crop-scaled to. If set to `null`, the image will scale to the maximum width of the container and the image.
0 commit comments